From 4bb788b98bd1dc1e595fc07e0ea3796877085e57 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Fri, 22 Jul 2011 21:19:22 +0300 Subject: [PATCH 1/4] MoobotFacroids: added template for ln18n-fi. --- plugins/MoobotFactoids/locale/fi.po | 267 ++++++++++++++++++++++++++++ 1 file changed, 267 insertions(+) create mode 100644 plugins/MoobotFactoids/locale/fi.po diff --git a/plugins/MoobotFactoids/locale/fi.po b/plugins/MoobotFactoids/locale/fi.po new file mode 100644 index 000000000..edfed28fe --- /dev/null +++ b/plugins/MoobotFactoids/locale/fi.po @@ -0,0 +1,267 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# Mika Suomalainen , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2011-02-26 09:49+CET\n" +"PO-Revision-Date: 2011-07-22 21:17+0200\n" +"Last-Translator: Mika Suomalainen \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: pygettext.py 1.5\n" + +#: config.py:46 +msgid "" +"Determines whether\n" +" or not the factoid value will be shown when a listkeys search returns only\n" +" one factoid key." +msgstr "" + +#: config.py:50 +msgid "" +"Determines how many items are shown\n" +" when the 'most' command is called." +msgstr "" + +#: plugin.py:289 +msgid "" +"Add the help for \"@help MoobotFactoids\" here (assuming you don't implement a MoobotFactoids\n" +" command). This should describe *how* to use this plugin." +msgstr "" + +#: plugin.py:346 +msgid "%s is %s" +msgstr "" + +#: plugin.py:365 +msgid "Factoid %q is locked." +msgstr "" + +#: plugin.py:372 +msgid "Factoid %q not found." +msgstr "" + +#: plugin.py:382 +msgid "Missing an 'is' or '_is_'." +msgstr "" + +#: plugin.py:398 +msgid "Factoid %q already exists." +msgstr "" + +#: plugin.py:432 +msgid "%s, or %s" +msgstr "" + +#: plugin.py:453 +msgid "" +"[] \n" +"\n" +" Returns the literal factoid for the given factoid key. No parsing of\n" +" the factoid value is done as it is with normal retrieval. \n" +" is only necessary if the message isn't sent in the channel itself.\n" +" " +msgstr "" + +#: plugin.py:466 +msgid "" +"[] \n" +"\n" +" Returns the various bits of info on the factoid for the given key.\n" +" is only necessary if the message isn't sent in the channel\n" +" itself.\n" +" " +msgstr "" + +#: plugin.py:477 +#: plugin.py:517 +msgid "No such factoid: %q" +msgstr "" + +#: plugin.py:486 +msgid "Created by %s on %s." +msgstr "" + +#: plugin.py:492 +msgid " Last modified by %s on %s." +msgstr "" + +#: plugin.py:500 +msgid " Last requested by %s on %s, requested %n." +msgstr "" + +#: plugin.py:507 +msgid " Locked by %s on %s." +msgstr "" + +#: plugin.py:522 +msgid "Factoid %q is already locked." +msgstr "" + +#: plugin.py:525 +msgid "Factoid %q is not locked." +msgstr "" + +#: plugin.py:535 +msgid "Cannot %s someone else's factoid unless you are an admin." +msgstr "" + +#: plugin.py:547 +msgid "" +"[] \n" +"\n" +" Locks the factoid with the given factoid key. Requires that the user\n" +" be registered and have created the factoid originally. is\n" +" only necessary if the message isn't sent in the channel itself.\n" +" " +msgstr "" + +#: plugin.py:558 +msgid "" +"[] \n" +"\n" +" Unlocks the factoid with the given factoid key. Requires that the\n" +" user be registered and have locked the factoid. is only\n" +" necessary if the message isn't sent in the channel itself.\n" +" " +msgstr "" + +#: plugin.py:569 +msgid "" +"[] {popular|authored|recent}\n" +"\n" +" Lists the most {popular|authored|recent} factoids. \"popular\" lists the\n" +" most frequently requested factoids. \"authored\" lists the author with\n" +" the most factoids. \"recent\" lists the most recently created factoids.\n" +" is only necessary if the message isn't sent in the channel\n" +" itself.\n" +" " +msgstr "" + +#: plugin.py:591 +msgid "author" +msgstr "" + +#: plugin.py:593 +msgid "authors" +msgstr "" + +#: plugin.py:594 +msgid "Most prolific %s: %L" +msgstr "" + +#: plugin.py:596 +#: plugin.py:608 +msgid "There are no factoids in my database." +msgstr "" + +#: plugin.py:603 +msgid "latest factoid" +msgstr "" + +#: plugin.py:605 +msgid "latest factoids" +msgstr "" + +#: plugin.py:606 +msgid "%s: %L" +msgstr "" + +#: plugin.py:615 +msgid "requested factoid" +msgstr "" + +#: plugin.py:617 +msgid "requested factoids" +msgstr "" + +#: plugin.py:618 +msgid "Top %s: %L" +msgstr "" + +#: plugin.py:620 +msgid "No factoids have been requested from my database." +msgstr "" + +#: plugin.py:624 +msgid "" +"[] \n" +"\n" +" Lists the keys of the factoids with the given author. Note that if an\n" +" author has an integer name, you'll have to use that author's id to use\n" +" this function (so don't use integer usernames!). is only\n" +" necessary if the message isn't sent in the channel itself.\n" +" " +msgstr "" + +#: plugin.py:637 +msgid "No factoids by %q found." +msgstr "" + +#: plugin.py:640 +msgid "Author search for %q (%i found): %L" +msgstr "" + +#: plugin.py:647 +msgid "" +"[] \n" +"\n" +" Lists the keys of the factoids whose key contains the provided text.\n" +" is only necessary if the message isn't sent in the channel\n" +" itself.\n" +" " +msgstr "" + +#: plugin.py:655 +msgid "No keys matching %q found." +msgstr "" + +#: plugin.py:662 +msgid "Key search for %q (%i found): %L" +msgstr "" + +#: plugin.py:669 +msgid "" +"[] \n" +"\n" +" Lists the keys of the factoids whose value contains the provided text.\n" +" is only necessary if the message isn't sent in the channel\n" +" itself.\n" +" " +msgstr "" + +#: plugin.py:677 +msgid "No values matching %q found." +msgstr "" + +#: plugin.py:680 +msgid "Value search for %q (%i found): %L" +msgstr "" + +#: plugin.py:687 +msgid "" +"[] \n" +"\n" +" Deletes the factoid with the given key. is only necessary\n" +" if the message isn't sent in the channel itself.\n" +" " +msgstr "" + +#: plugin.py:700 +msgid "" +"[]\n" +"\n" +" Displays a random factoid (along with its key) from the database.\n" +" is only necessary if the message isn't sent in the channel\n" +" itself.\n" +" " +msgstr "" + +#: plugin.py:708 +msgid "No factoids in the database." +msgstr "" + From 339e2622a1d50410ff90b2fb7a43dea03d0297f0 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 23 Jul 2011 00:41:09 +0300 Subject: [PATCH 2/4] MoobotFactoids: ln18-n 44% translated. --- plugins/MoobotFactoids/locale/fi.po | 55 +++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 15 deletions(-) diff --git a/plugins/MoobotFactoids/locale/fi.po b/plugins/MoobotFactoids/locale/fi.po index edfed28fe..d626c3998 100644 --- a/plugins/MoobotFactoids/locale/fi.po +++ b/plugins/MoobotFactoids/locale/fi.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2011-02-26 09:49+CET\n" -"PO-Revision-Date: 2011-07-22 21:17+0200\n" +"PO-Revision-Date: 2011-07-23 00:40+0200\n" "Last-Translator: Mika Suomalainen \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -20,42 +20,49 @@ msgid "" " or not the factoid value will be shown when a listkeys search returns only\n" " one factoid key." msgstr "" +"Määrittää näytetöönkö\n" +" vaiko eikö factoidin arvo kun \"listkeys\" haku\n" +" palauttaa vain yhden factoidin avaimen." #: config.py:50 msgid "" "Determines how many items are shown\n" " when the 'most' command is called." msgstr "" +"Määrittää montako asiaa näytetään\n" +" kun 'most' komentoa kutsutaan." #: plugin.py:289 msgid "" "Add the help for \"@help MoobotFactoids\" here (assuming you don't implement a MoobotFactoids\n" " command). This should describe *how* to use this plugin." msgstr "" +"Lisää ohje \"@help MoobotFactoids\":lle tähän (olettaen ettet luo MoobotFactoids\n" +" komentoa). Tämän pitäisi kertoa *kuinka* tätä laajennusta käytetään." #: plugin.py:346 msgid "%s is %s" -msgstr "" +msgstr "%s on %s" #: plugin.py:365 msgid "Factoid %q is locked." -msgstr "" +msgstr "Factoidi %q on lukittu." #: plugin.py:372 msgid "Factoid %q not found." -msgstr "" +msgstr "Factoidia %q ei löytynyt." #: plugin.py:382 msgid "Missing an 'is' or '_is_'." -msgstr "" +msgstr "Puuttuva 'is' tai '_is_'." #: plugin.py:398 msgid "Factoid %q already exists." -msgstr "" +msgstr "Factoidi %q on jo olemassa." #: plugin.py:432 msgid "%s, or %s" -msgstr "" +msgstr "%s, tai %s" #: plugin.py:453 msgid "" @@ -66,6 +73,12 @@ msgid "" " is only necessary if the message isn't sent in the channel itself.\n" " " msgstr "" +"[] \n" +"\n" +" Palauttaa kirjaimellisen factoidin annetulle factoidi avaimelle. Factoidin jäsentämistä\n" +" ei tehdä, koska se on normaalilla palautuksella. on vaadittu vain, jos viestiä ei lähetetä\n" +" kanavalla itsellään.\n" +" " #: plugin.py:466 msgid "" @@ -76,39 +89,45 @@ msgid "" " itself.\n" " " msgstr "" +"[] \n" +"\n" +" Palauttaa muutamia tiedonmurusia factoidista annetulle avaimelle.\n" +" on vaadittu vain jos viestiä ei lähetetä kanavalla\n" +" itsellään.\n" +" " #: plugin.py:477 #: plugin.py:517 msgid "No such factoid: %q" -msgstr "" +msgstr "Ei sellaista factoidia: %q" #: plugin.py:486 msgid "Created by %s on %s." -msgstr "" +msgstr "%s:än luoma kanavalla %s." #: plugin.py:492 msgid " Last modified by %s on %s." -msgstr "" +msgstr "Viimeeksi %s:än muokkaama kanavalla %s." #: plugin.py:500 msgid " Last requested by %s on %s, requested %n." -msgstr "" +msgstr "Viimeeksi pyytänyt %s kanavalla %s, pyytänyt %n." #: plugin.py:507 msgid " Locked by %s on %s." -msgstr "" +msgstr "%s:än lukitsema %s:llä." #: plugin.py:522 msgid "Factoid %q is already locked." -msgstr "" +msgstr "Factoidi %q on jo lukittu." #: plugin.py:525 msgid "Factoid %q is not locked." -msgstr "" +msgstr "Factoidi %q is not locked." #: plugin.py:535 msgid "Cannot %s someone else's factoid unless you are an admin." -msgstr "" +msgstr "Ei voi %s jonkun muun factoidia paitsi, jos olet admin." #: plugin.py:547 msgid "" @@ -119,6 +138,12 @@ msgid "" " only necessary if the message isn't sent in the channel itself.\n" " " msgstr "" +"[] \n" +"\n" +" Lukitsee factoidin annetulla factoidi avaimella. Vaatii käyttäjän olevan rekisteröitynyt\n" +" ja että hän on alunperin luonut sen. on\n" +" vaadittu vain jos viestiä ei lähetetä kanavalla itsellään.\n" +" " #: plugin.py:558 msgid "" From c44496f3c6ec508d02f95ce0b146084907b8ba57 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 23 Jul 2011 11:46:43 +0300 Subject: [PATCH 3/4] MoobotFactoids: improved readme file from default. --- plugins/MoobotFactoids/README.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/MoobotFactoids/README.txt b/plugins/MoobotFactoids/README.txt index d60b47a97..fd36d8ad6 100644 --- a/plugins/MoobotFactoids/README.txt +++ b/plugins/MoobotFactoids/README.txt @@ -1 +1,8 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This plugin keeps factoids in your bot. + +To add factoid say +"@factoids something is something" And when you call @something the bot says +"something is something". + +If you want factoid to be in different format say (for example): +"@factoids Hi is Hello" And when you call @hi the bot says "Hello." From 7574faedd161841f8e725dc397b77108f19b1ee0 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 23 Jul 2011 12:14:28 +0300 Subject: [PATCH 4/4] MoobotFactoids: added ln18n-fi. --- plugins/MoobotFactoids/locale/fi.po | 82 ++++++++++++++++++++++------- 1 file changed, 63 insertions(+), 19 deletions(-) diff --git a/plugins/MoobotFactoids/locale/fi.po b/plugins/MoobotFactoids/locale/fi.po index d626c3998..3f2edffc6 100644 --- a/plugins/MoobotFactoids/locale/fi.po +++ b/plugins/MoobotFactoids/locale/fi.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2011-02-26 09:49+CET\n" -"PO-Revision-Date: 2011-07-23 00:40+0200\n" +"PO-Revision-Date: 2011-07-23 12:13+0200\n" "Last-Translator: Mika Suomalainen \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -154,6 +154,12 @@ msgid "" " necessary if the message isn't sent in the channel itself.\n" " " msgstr "" +"[] \n" +"\n" +" Avaa factoidin annetulla factoidi avaimella. Vaatii, että käyttäjä\n" +" on rekisteröitynyt ja lukinnut factoidin. on vaadittu\n" +" vain jos viestiä ei lähetetä kanavalla itsellään.\n" +" " #: plugin.py:569 msgid "" @@ -166,51 +172,59 @@ msgid "" " itself.\n" " " msgstr "" +"[] {popular|authored|recent}\n" +"\n" +" Luettelee {suosituimmat (\"popular\")|kirjoitetuimmat (\"authored\")|viimeisimmät (\"recent\")} factoidit. \"popular\" luettelee\n" +" useimmiten pyydetyt factoidit. \"authored\" luettelee kirjoittajat, joilla on eniten\n" +" factoideja. \"recent\" luettelee uusimmat kirjoitetut factoidit.\n" +" on vaadittu vain, jos viestiä ei lähetetä kanavalla\n" +" itsellään.\n" +" " #: plugin.py:591 msgid "author" -msgstr "" +msgstr "kirjoittaja" #: plugin.py:593 msgid "authors" -msgstr "" +msgstr "kirjoittaja" #: plugin.py:594 msgid "Most prolific %s: %L" -msgstr "" +msgstr "Tuottoisimmat %s: %L" #: plugin.py:596 #: plugin.py:608 msgid "There are no factoids in my database." -msgstr "" +msgstr "Tietokannassani ei ole factoideja." #: plugin.py:603 msgid "latest factoid" -msgstr "" +msgstr "Viimeisin factoidi" #: plugin.py:605 msgid "latest factoids" -msgstr "" +msgstr "viimeisimmät factoidit" #: plugin.py:606 msgid "%s: %L" -msgstr "" +msgstr "%s: %L" #: plugin.py:615 msgid "requested factoid" -msgstr "" +msgstr "pyydetty factoidi" #: plugin.py:617 msgid "requested factoids" -msgstr "" +msgstr "pyydetyt factoidit" #: plugin.py:618 msgid "Top %s: %L" -msgstr "" +msgstr "Huippu %s: %L" #: plugin.py:620 msgid "No factoids have been requested from my database." -msgstr "" +msgstr "Factoideja ei ole pyydetty tietokannastani." #: plugin.py:624 msgid "" @@ -222,14 +236,21 @@ msgid "" " necessary if the message isn't sent in the channel itself.\n" " " msgstr "" +"[] \n" +"\n" +" Luettelee kaikki annetun kirjailijan kirjoittamat factoidit. Huomaa, että\n" +" jos kirjoittajalla on kokonaisluku nimi, sinun täytyy käyttää kirjoittajan id:tä käyttääksesi\n" +" tätä toimintoa (joten älä käytä kokonaisluku käyttäjätunnuksia!). on vaadittu vain jos\n" +" viestiä ei lähetetä kanavalla itsellään.\n" +" " #: plugin.py:637 msgid "No factoids by %q found." -msgstr "" +msgstr "%q:n kirjoittamia factoideja ei löytynyt." #: plugin.py:640 msgid "Author search for %q (%i found): %L" -msgstr "" +msgstr "Kirjoittaja haku %q:lle (%i löytynyt): %L" #: plugin.py:647 msgid "" @@ -240,14 +261,20 @@ msgid "" " itself.\n" " " msgstr "" +"[] \n" +"\n" +" Luettelee kaikki factoidit, joiden avain sisältää annetun tekstin.\n" +" on vaadittu vain, jos viestiä ei lähetetä kanavalla\n" +" itsellään.\n" +" " #: plugin.py:655 msgid "No keys matching %q found." -msgstr "" +msgstr "Avaimia, jotka täsmäävät %q:un ei löytynyt." #: plugin.py:662 msgid "Key search for %q (%i found): %L" -msgstr "" +msgstr "Avain haku %q:lle (%i löytynyt): %L" #: plugin.py:669 msgid "" @@ -258,14 +285,20 @@ msgid "" " itself.\n" " " msgstr "" +"[] \n" +"\n" +" Luettelee factoidien avaimet, joiden arvo sisältää annetun tekstin.\n" +" on vaadittu vain, jos viestiä ei lähetetä\n" +" kanavalla itsellään.\n" +" " #: plugin.py:677 msgid "No values matching %q found." -msgstr "" +msgstr "%q:un täsmääviä avaimia ei löytynyt." #: plugin.py:680 msgid "Value search for %q (%i found): %L" -msgstr "" +msgstr "Arvo haku %q:lle (%i löytynyt): %L" #: plugin.py:687 msgid "" @@ -275,6 +308,11 @@ msgid "" " if the message isn't sent in the channel itself.\n" " " msgstr "" +"[] \n" +"\n" +" Poistaa factoidin annetulla avaimella. on vaadittu vain, jos\n" +" viestiä ei lähetetä kanavalla itsellään.\n" +" " #: plugin.py:700 msgid "" @@ -285,8 +323,14 @@ msgid "" " itself.\n" " " msgstr "" +"[]\n" +"\n" +" Näyttää satunnaisen factoidin (avaimensa kanssa) tietokannasta.\n" +" on vaadittu vain jos viestiä ei lähetetä kanavalla\n" +" itsellään.\n" +" " #: plugin.py:708 msgid "No factoids in the database." -msgstr "" +msgstr "Tietokannassa ei ole factoideja."