src: update help text of commands.nested.brackets

The shift part only applied to people on American keyboard and not all
users are on that, so it only caused confusion.

Strong historical motivations should be enough for most of people as I
wasn't able to remember the correct brackets when I tried changing them
to `<>` which I feel are the easiest to type on Finnish/Swedish keyboard.

Also update messages.pot & l10n-fi.
This commit is contained in:
Mikaela Suomalainen 2014-08-13 21:30:30 +03:00 committed by Valentin Lorentz
parent e51e45de4d
commit 4abc35dbfc
3 changed files with 37 additions and 42 deletions

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: 2014-08-01 20:08+EEST\n" "POT-Creation-Date: 2014-08-13 21:40+EEST\n"
"PO-Revision-Date: 2014-08-01 20:16+0200\n" "PO-Revision-Date: 2014-08-13 21:43+0200\n"
"Last-Translator: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>\n" "Last-Translator: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>\n"
"Language-Team: Finnish <>\n" "Language-Team: Finnish <>\n"
"Language: fi\n" "Language: fi\n"
@ -1095,26 +1095,21 @@ msgstr ""
#: src/conf.py:680 #: src/conf.py:680
msgid "" msgid ""
"Supybot allows you to specify what brackets are\n" "Supybot allows you to specify what brackets\n"
" used for your nested commands. Valid sets of brackets include [], <>, " " are used for your nested commands. Valid sets of brackets include\n"
"and\n" " [], <>, and {} (). [] has strong historical motivation, but <> or\n"
" {} (). [] has strong historical motivation, as well as being the " " () might be slightly superior because they cannot occur in a nick.\n"
"brackets\n" " If this string is empty, nested commands will not be allowed in this\n"
" that don't require shift. <> or () might be slightly superior because " " channel."
"they\n"
" cannot occur in a nick. If this string is empty, nested commands will\n"
" not be allowed in this channel."
msgstr "" msgstr ""
"Supybot sallii sinun määrittää millaisia sulkuja käytetään sisäkkäisille " "Supybot sallii sinun määrittää millaisia sulkuja käytetään sisäkkäisille "
"komennoille.\n" "komennoille.\n"
" Kelvollinen sarja sulkuja sisältää merkit [], <> ja {} (). []:lla on vahva\n" " Kelvolliset sulkusarjat ovat [], <> ja {} (). []:lla on vahva\n"
" historiallinen motivaatio, kuten myös suluilla, jotka eivät vaadi \"vaihto" " historiallinen motivaatio mutta <> tai () voi olla huomattavasti parempi, "
"\"-näppäimen\n" "koska se\n"
" käyttöä. <> tai () voivat olla huomattavasti parempia, koska ne eivät voi " " ei voi olla nimimerkissä. Mikäli tämä asetusarvo on tyhjä, sisäkkäiset "
"olla\n" "komennot\n"
" nimimerkeissä. Jos tämä merkkiketju on tyhjä, sisäkkäisiä komentoja ei " " eivät ole sallittuja kanavalla."
"sallita tällä\n"
" kanavalla."
#: src/conf.py:687 #: src/conf.py:687
msgid "" msgid ""
@ -1856,7 +1851,7 @@ msgstr ""
"tälle\n" "tälle\n"
" pyynnölle ole määritetty käsittelijää." " pyynnölle ole määritetty käsittelijää."
#: src/httpserver.py:300 #: src/httpserver.py:309
msgid "" msgid ""
"\n" "\n"
" I am a pretty clever IRC bot, but I suck at serving Web pages, " " I am a pretty clever IRC bot, but I suck at serving Web pages, "
@ -1873,19 +1868,19 @@ msgstr ""
"virheen, ja minua ei ole koulutettu\n" "virheen, ja minua ei ole koulutettu\n"
" auttamaan sinua sellaisessa tapauksessa." " auttamaan sinua sellaisessa tapauksessa."
#: src/httpserver.py:321 #: src/httpserver.py:330
msgid "Request not handled." msgid "Request not handled."
msgstr "Pyyntöä ei hyväksytty." msgstr "Pyyntöä ei hyväksytty."
#: src/httpserver.py:325 #: src/httpserver.py:334
msgid "No plugins available." msgid "No plugins available."
msgstr "Ei lisäosia saatavilla." msgstr "Ei lisäosia saatavilla."
#: src/httpserver.py:342 src/httpserver.py:359 #: src/httpserver.py:351 src/httpserver.py:368
msgid "Request not handled" msgid "Request not handled"
msgstr "Pyyntöä ei käsitelty." msgstr "Pyyntöä ei käsitelty."
#: src/httpserver.py:384 #: src/httpserver.py:393
#, fuzzy #, fuzzy
msgid "No favicon set." msgid "No favicon set."
msgstr "Faviconia ei ole asetettu." msgstr "Faviconia ei ole asetettu."

View File

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2014-08-01 20:08+EEST\n" "POT-Creation-Date: 2014-08-13 21:40+EEST\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -750,12 +750,12 @@ msgstr ""
#: src/conf.py:680 #: src/conf.py:680
msgid "" msgid ""
"Supybot allows you to specify what brackets are\n" "Supybot allows you to specify what brackets\n"
" used for your nested commands. Valid sets of brackets include [], <>, and\n" " are used for your nested commands. Valid sets of brackets include\n"
" {} (). [] has strong historical motivation, as well as being the brackets\n" " [], <>, and {} (). [] has strong historical motivation, but <> or\n"
" that don't require shift. <> or () might be slightly superior because they\n" " () might be slightly superior because they cannot occur in a nick.\n"
" cannot occur in a nick. If this string is empty, nested commands will\n" " If this string is empty, nested commands will not be allowed in this\n"
" not be allowed in this channel." " channel."
msgstr "" msgstr ""
#: src/conf.py:687 #: src/conf.py:687
@ -1197,7 +1197,7 @@ msgid ""
" neither overriden this message or defined an handler for this query." " neither overriden this message or defined an handler for this query."
msgstr "" msgstr ""
#: src/httpserver.py:300 #: src/httpserver.py:309
msgid "" msgid ""
"\n" "\n"
" I am a pretty clever IRC bot, but I suck at serving Web pages, particulary\n" " I am a pretty clever IRC bot, but I suck at serving Web pages, particulary\n"
@ -1206,19 +1206,19 @@ msgid ""
" trained to help you in such a case." " trained to help you in such a case."
msgstr "" msgstr ""
#: src/httpserver.py:321 #: src/httpserver.py:330
msgid "Request not handled." msgid "Request not handled."
msgstr "" msgstr ""
#: src/httpserver.py:325 #: src/httpserver.py:334
msgid "No plugins available." msgid "No plugins available."
msgstr "" msgstr ""
#: src/httpserver.py:342 src/httpserver.py:359 #: src/httpserver.py:351 src/httpserver.py:368
msgid "Request not handled" msgid "Request not handled"
msgstr "" msgstr ""
#: src/httpserver.py:384 #: src/httpserver.py:393
msgid "No favicon set." msgid "No favicon set."
msgstr "" msgstr ""

View File

@ -677,12 +677,12 @@ class ValidBrackets(registry.OnlySomeStrings):
validStrings = ('', '[]', '<>', '{}', '()') validStrings = ('', '[]', '<>', '{}', '()')
registerChannelValue(supybot.commands.nested, 'brackets', registerChannelValue(supybot.commands.nested, 'brackets',
ValidBrackets('[]', _("""Supybot allows you to specify what brackets are ValidBrackets('[]', _("""Supybot allows you to specify what brackets
used for your nested commands. Valid sets of brackets include [], <>, and are used for your nested commands. Valid sets of brackets include
{} (). [] has strong historical motivation, as well as being the brackets [], <>, and {} (). [] has strong historical motivation, but <> or
that don't require shift. <> or () might be slightly superior because they () might be slightly superior because they cannot occur in a nick.
cannot occur in a nick. If this string is empty, nested commands will If this string is empty, nested commands will not be allowed in this
not be allowed in this channel."""))) channel.""")))
registerChannelValue(supybot.commands.nested, 'pipeSyntax', registerChannelValue(supybot.commands.nested, 'pipeSyntax',
registry.Boolean(False, _("""Supybot allows nested commands. Enabling this registry.Boolean(False, _("""Supybot allows nested commands. Enabling this
option will allow nested commands with a syntax similar to UNIX pipes, for option will allow nested commands with a syntax similar to UNIX pipes, for