diff options
-rw-r--r-- | doc/docgen.pl | 9 | ||||
-rw-r--r-- | po/cs.po | 32 | ||||
-rw-r--r-- | po/de.po | 24 | ||||
-rw-r--r-- | po/es.po | 20 | ||||
-rw-r--r-- | po/fr.po | 30 | ||||
-rw-r--r-- | po/hu.po | 40 | ||||
-rw-r--r-- | po/it.po | 28 | ||||
-rw-r--r-- | po/pl.po | 32 | ||||
-rw-r--r-- | po/ru.po | 24 | ||||
-rw-r--r-- | po/weechat.pot | 15 | ||||
-rw-r--r-- | src/core/wee-command.c | 6 | ||||
-rw-r--r-- | src/core/wee-config-file.c | 7 |
12 files changed, 161 insertions, 106 deletions
diff --git a/doc/docgen.pl b/doc/docgen.pl index e8409c2af..951c4a67b 100644 --- a/doc/docgen.pl +++ b/doc/docgen.pl @@ -181,6 +181,7 @@ sub get_options $options{$config}{$section}{$option}{"default_value"} = weechat::infolist_string($infolist, "default_value"); $options{$config}{$section}{$option}{"min"} = weechat::infolist_integer($infolist, "min"); $options{$config}{$section}{$option}{"max"} = weechat::infolist_integer($infolist, "max"); + $options{$config}{$section}{$option}{"null_value_allowed"} = weechat::infolist_integer($infolist, "null_value_allowed"); $options{$config}{$section}{$option}{"description"} = weechat::infolist_string($infolist, "description"); } } @@ -416,6 +417,7 @@ sub docgen my $default_value = $plugin_options{$config}{$section}{$option}{"default_value"}; my $min = $plugin_options{$config}{$section}{$option}{"min"}; my $max = $plugin_options{$config}{$section}{$option}{"max"}; + my $null_value_allowed = $plugin_options{$config}{$section}{$option}{"null_value_allowed"}; my $description = $plugin_options{$config}{$section}{$option}{"description"}; $description = $d->get($description) if ($description ne ""); my $type_nls = $type; @@ -453,7 +455,12 @@ sub docgen print FILE "** ".weechat_gettext("description").": ".$description."\n"; print FILE "** ".weechat_gettext("type").": ".$type_nls."\n"; print FILE "** ".weechat_gettext("values").": ".$values." " - ."(".weechat_gettext("default value").": ".$default_value.")\n\n"; + ."(".weechat_gettext("default value").": ".$default_value.")\n"; + if ($null_value_allowed eq 1) + { + print FILE "** ".weechat_gettext("undefined value allowed (null)")."\n"; + } + print FILE "\n"; } } #weechat::print("", "docgen: file ok: '$filename'"); @@ -20,14 +20,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: Czech\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: Czech\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. TRANSLATORS: "%s %s" after "compiled on" is date and time @@ -348,6 +348,10 @@ msgstr "barva" msgid "a color name" msgstr "jméno barvy" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "%sNení dostupná žádná nápověda, \"%s\" není příkaz nebo volba" @@ -5017,8 +5021,8 @@ msgstr[2] "minut" msgid "" "%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -"%s%s[%s%s%s]%s nečinný: %s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s" -"%s" +"%s%s[%s%s%s]%s nečinný: %s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s%" +"s" #, c-format msgid "%sMode %s%s %s[%s%s%s]" @@ -5822,8 +5826,8 @@ msgstr "%sMůžete smazat tento soubor, pokud je plugin \"%s\" starý/neplatný" #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%sChyba: chyba API v pluginu \"%s\" (aktuální API: \"%s\", API pluginu: \"%s" "\"), načtení selhalo" @@ -5924,8 +5928,8 @@ msgstr "Klienti pro přenos:" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" "%3d. %s%s%s (%s%s%s), spuštěn v: %s, poslední aktivita: %s, bytů: %lu " "přijato, %lu odebráno" @@ -6569,8 +6573,8 @@ msgstr "Xfer seznam:" msgid "" "%3d. %s (%s), file: \"%s\" (local: \"%s\"), %s %s, status: %s%s%s (%lu %%)" msgstr "" -"%3d. %s (%s), soubor: \"%s\" (lokální: \"%s\"), %s %s, status: %s%s%s (%lu " -"%%)" +"%3d. %s (%s), soubor: \"%s\" (lokální: \"%s\"), %s %s, status: %s%s%s (%lu %" +"%)" #. TRANSLATORS: "%s" after "started on" is date #, c-format @@ -6583,8 +6587,8 @@ msgid "" " plugin: %s (id: %s), file: %lu bytes (position: %lu), address: %d.%d.%d." "%d (port %d)" msgstr "" -" plugin: %s (id: %s), soubor: %lu bytů (pozice: %lu), adresa: %d.%d.%d." -"%d (port %d)" +" plugin: %s (id: %s), soubor: %lu bytů (pozice: %lu), adresa: %d.%d.%d.%" +"d (port %d)" #. TRANSLATORS: "%s" after "started on" is date #, c-format @@ -6697,8 +6701,8 @@ msgstr "konvertovat mezery na podtržítka při odesílání souborů" msgid "rename incoming files if already exists (add \".1\", \".2\", ...)" msgstr "" -"přejmenovat příchozí soubory, jestliže již existují (přídat \".1\", " -"\".2\", ...)" +"přejmenovat příchozí soubory, jestliže již existují (přídat \".1\", \".2" +"\", ...)" msgid "" "automatically resume file transfer if connection with remote host is lost" @@ -22,14 +22,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Nils G. <weechatter@arcor.de>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: German\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: German\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: KBabel 1.11.4\n" "X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n" @@ -358,6 +358,10 @@ msgstr "Farbe" msgid "a color name" msgstr "ein Farbname" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "%sKeine Hilfe verfügbar, \"%s\" ist weder ein Befehl noch eine Option" @@ -5372,8 +5376,8 @@ msgstr "" #, c-format msgid "%s%s: nickname \"%s\" is unavailable, trying nickname #%d (\"%s\")" msgstr "" -"%s%s: Der Nickname \"%s\" ist nicht verfügbar. Versuche nun den Nicknamen #" -"%d (\"%s\")" +"%s%s: Der Nickname \"%s\" ist nicht verfügbar. Versuche nun den Nicknamen #%" +"d (\"%s\")" #, c-format msgid "%s%s: command \"%s\" not found:" @@ -6043,8 +6047,8 @@ msgstr "" #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%sFehler: API Unverträglichkeit für Erweiterung \"%s\" (genutzte API: \"%s" "\", Erweiterungs-API: \"%s\"), Installation fehlgeschlagen" @@ -6147,8 +6151,8 @@ msgstr "Clients für Relay:" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" "%3d. %s%s%s (%s%s%s), gestartet am: %s, letzte Aktivität: %s, Bytes: %lu " "empfangen, %lu gesendet" @@ -6809,8 +6813,8 @@ msgstr "" #, c-format msgid "%3d. %s, chat with %s (local nick: %s), started on %s, status: %s%s" msgstr "" -"%3d. %s, Der Chat mit %s (lokaler Nick: %s), wurde am %s gestartet, Status: " -"%s%s" +"%3d. %s, Der Chat mit %s (lokaler Nick: %s), wurde am %s gestartet, Status: %" +"s%s" #, c-format msgid "" @@ -21,14 +21,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: Spanish\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: Spanish\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. TRANSLATORS: "%s %s" after "compiled on" is date and time @@ -351,6 +351,10 @@ msgstr "color" msgid "a color name" msgstr "nombre de un color" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "%sNo hay ayuda disponible, \"%s\" no es un comando o una opción" @@ -5897,8 +5901,8 @@ msgstr "%sSi el plugin \"%s\" es viejo/obsoleto, puedes borrar este archivo." #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%sError: API del plugin \"%s\" es incompatible (API actual: \"%s\", API del " "plugin: \"%s\"), no se puede cargar" @@ -6002,8 +6006,8 @@ msgstr "Clientes para retransmitir:" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" "%3d. %s%s%s (%s%s%s), iniciado en: %s, última actividad: %s, bytes: %lu " "recibidos, %lu enviados" @@ -6670,8 +6674,8 @@ msgid "" " plugin: %s (id: %s), file: %lu bytes (position: %lu), address: %d.%d.%d." "%d (port %d)" msgstr "" -" plugin: %s (id: %s), archivo: %lu bytes (posición: %lu), dirección: %d." -"%d.%d.%d (puerto %d)" +" plugin: %s (id: %s), archivo: %lu bytes (posición: %lu), dirección: %d.%" +"d.%d.%d (puerto %d)" #. TRANSLATORS: "%s" after "started on" is date #, c-format @@ -21,14 +21,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" -"PO-Revision-Date: 2010-08-11 13:16+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" +"PO-Revision-Date: 2010-08-14 11:20+0200\n" "Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: French\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: French\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. TRANSLATORS: "%s %s" after "compiled on" is date and time @@ -351,6 +351,10 @@ msgstr "couleur" msgid "a color name" msgstr "un nom de couleur" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "valeur non définie autorisée (null)" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "%sPas d'aide disponible, \"%s\" n'est pas une commande ou une option" @@ -951,8 +955,8 @@ msgstr "" " clear: efface le contenu du tampon (un numéro pour un tampon, -merged " "pour les tampons mélangés, -all pour tous les tampons, ou rien pour le " "tampon courant)\n" -" move: déplace le tampon dans la liste (peut être relatif, par exemple " -"-1)\n" +" move: déplace le tampon dans la liste (peut être relatif, par exemple -" +"1)\n" " merge: mélange le tampon courant avec un autre tampon (la zone de " "discussion sera un mélange des deux tampons)\n" " (par défaut ctrl-x bascule entre les tampons mélangés)\n" @@ -5118,8 +5122,8 @@ msgstr[1] "minutes" msgid "" "%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -"%s%s[%s%s%s]%s inactivité: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signé le: %s" -"%s" +"%s%s[%s%s%s]%s inactivité: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signé le: %s%" +"s" #, c-format msgid "%sMode %s%s %s[%s%s%s]" @@ -5933,8 +5937,8 @@ msgstr "" #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%sErreur: API non concordante pour l'extension \"%s\" (API courante: \"%s\", " "API extension: \"%s\"), échec de chargement" @@ -6038,8 +6042,8 @@ msgstr "Clients pour le relai:" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" "%3d. %s%s%s (%s%s%s), démarré le: %s, dernière activité: %s, octets: %lu " "reçus, %lu envoyés" @@ -6716,8 +6720,8 @@ msgid "" " plugin: %s (id: %s), file: %lu bytes (position: %lu), address: %d.%d.%d." "%d (port %d)" msgstr "" -" extension: %s (id: %s), fichier: %lu octets (position: %lu), addresse: " -"%d.%d.%d.%d (port %d)" +" extension: %s (id: %s), fichier: %lu octets (position: %lu), addresse: %" +"d.%d.%d.%d (port %d)" #. TRANSLATORS: "%s" after "started on" is date #, c-format @@ -20,14 +20,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: Hungarian\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: Hungarian\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. TRANSLATORS: "%s %s" after "compiled on" is date and time @@ -369,6 +369,10 @@ msgstr "üzenetek színe" msgid "a color name" msgstr "gépnevek színe" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, fuzzy, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "Nem érhető el segítség, a \"%s\" ismeretlen parancs\n" @@ -946,8 +950,8 @@ msgstr "" " close: puffer bezárása (esetleges argumentum egy kilépő üzenet szoba " "esetén)\n" " list: nyitott pufferek listája (paraméter hiányában is ez fut le)\n" -" notify: értesítési szint beállítása (0=soha, 1=highlight, 2=1+üzenet, " -"3=2+ki/belépés)\n" +" notify: értesítési szint beállítása (0=soha, 1=highlight, 2=1+üzenet, 3=2" +"+ki/belépés)\n" " (ha a szerver pufferben kerül lefuttatásra, akkor az egész " "szerverre állítja az értesítési szintet)\n" " scroll: puffertörténet görgetése (lehet relatív és végződhet betűvel: " @@ -5201,8 +5205,8 @@ msgstr "" #, fuzzy, c-format msgid "Connecting to server %s/%d%s%s via %s proxy %s/%d%s..." msgstr "" -"Csatlakozás a(z) %s:%d%s%s szerverhez %s proxy kiszolgálón keresztül: %s:%d" -"%s...\n" +"Csatlakozás a(z) %s:%d%s%s szerverhez %s proxy kiszolgálón keresztül: %s:%d%" +"s...\n" #, fuzzy, c-format msgid "%s: connecting to server %s/%d%s%s..." @@ -5561,8 +5565,8 @@ msgstr "" #, fuzzy, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%s a \"plugin_name\" szimbólum nem található a \"%s\" modulban, betöltés " "sikertelen\n" @@ -5670,8 +5674,8 @@ msgstr "" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" #, fuzzy, c-format @@ -6214,15 +6218,15 @@ msgstr "%s nincs elegendő memória új DCC számára\n" #, fuzzy, c-format msgid "%s: incoming file from %s (%d.%d.%d.%d): %s, %lu bytes (protocol: %s)" msgstr "" -"Beérkező DCC fájl a következőtől: %s%s%s (%s%d.%d.%d.%d%s)%s: %s%s%s, %s%lu" -"%s bájt\n" +"Beérkező DCC fájl a következőtől: %s%s%s (%s%d.%d.%d.%d%s)%s: %s%s%s, %s%lu%" +"s bájt\n" #, fuzzy, c-format msgid "" "%s: sending file to %s: %s (local filename: %s), %lu bytes (protocol: %s)" msgstr "" -"DCC fájl küldése a következőnek: %s%s%s: %s%s%s (helyi fájlnév: %s%s%s), %s" -"%lu%s bájt\n" +"DCC fájl küldése a következőnek: %s%s%s: %s%s%s (helyi fájlnév: %s%s%s), %s%" +"lu%s bájt\n" #, fuzzy, c-format msgid "%s: incoming chat request from %s (%d.%d.%d.%d)" @@ -6275,8 +6279,8 @@ msgid "" "%s%s: unable to resume file \"%s\" (port: %d, start position: %lu): xfer not " "found or not ready for transfer" msgstr "" -"%s nem sikerült a(z) \"%s\" fájlra visszatérni (port: %d, indulási pozíció: " -"%u): DCC nem található vagy véget ért\n" +"%s nem sikerült a(z) \"%s\" fájlra visszatérni (port: %d, indulási pozíció: %" +"u): DCC nem található vagy véget ért\n" #, fuzzy, c-format msgid "%s: file %s resumed at position %lu" @@ -6287,8 +6291,8 @@ msgid "" "%s%s: unable to accept resume file \"%s\" (port: %d, start position: %lu): " "xfer not found or not ready for transfer" msgstr "" -"%s nem sikerült a(z) \"%s\" fájlra visszatérni (port: %d, indulási pozíció: " -"%u): DCC nem található vagy véget ért\n" +"%s nem sikerült a(z) \"%s\" fájlra visszatérni (port: %d, indulási pozíció: %" +"u): DCC nem található vagy véget ért\n" #, fuzzy, c-format msgid "%s%s: aborting active xfer: \"%s\" from %s" @@ -20,14 +20,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: Italian\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: Italian\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. TRANSLATORS: "%s %s" after "compiled on" is date and time @@ -347,6 +347,10 @@ msgstr "colore" msgid "a color name" msgstr "un nome colore" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "%sNessun aiuto disponibile, \"%s\" non è un comando/opzione" @@ -5089,8 +5093,8 @@ msgstr[1] "minuti" msgid "" "%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -"%s%s[%s%s%s]%s inattivo: %s%02d %s%s %s%02d %s%s %s%02d %s%s, connesso dal: " -"%s%s" +"%s%s[%s%s%s]%s inattivo: %s%02d %s%s %s%02d %s%s %s%02d %s%s, connesso dal: %" +"s%s" #, c-format msgid "%sMode %s%s %s[%s%s%s]" @@ -5900,8 +5904,8 @@ msgstr "" #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%sErrore: API non corrispondente per il plugin \"%s\" (API corrente: \"%s\", " "API del plugin: \"%s\"), impossibile effettuare il caricamento" @@ -6005,8 +6009,8 @@ msgstr "Client per relay:" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" "%3d, %s%s%s (%s%s%s), avviato il %s, attività recente: %s byte: %lu " "ricevuti, %lu inviati" @@ -6615,8 +6619,8 @@ msgid "" "%s%s: unable to resume file \"%s\" (port: %d, start position: %lu): xfer not " "found or not ready for transfer" msgstr "" -"%s%s: impossibile riprendere il file \"%s\" (porta: %d, posizione di avvio: " -"%lu): xfer non trovato o non pronto per il trasferimento" +"%s%s: impossibile riprendere il file \"%s\" (porta: %d, posizione di avvio: %" +"lu): xfer non trovato o non pronto per il trasferimento" #, c-format msgid "%s: file %s resumed at position %lu" @@ -6665,8 +6669,8 @@ msgid "" " plugin: %s (id: %s), file: %lu bytes (position: %lu), address: %d.%d.%d." "%d (port %d)" msgstr "" -" plugin: %s (id: %s), file: %lu byte (posizione: %lu), indirizzo: %d.%d." -"%d.%d (porta %d)" +" plugin: %s (id: %s), file: %lu byte (posizione: %lu), indirizzo: %d.%d.%" +"d.%d (porta %d)" #. TRANSLATORS: "%s" after "started on" is date #, c-format @@ -21,14 +21,14 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: Polish\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: Polish\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" @@ -350,6 +350,10 @@ msgstr "kolor" msgid "a color name" msgstr "nazwa koloru" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "%sNie ma dostępnej pomocy, \"%s\" nie jest komenda ani opcją" @@ -746,8 +750,8 @@ msgstr[2] "dni" #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" -"Czas działania WeeChat: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, uruchomiono %s" -"%s" +"Czas działania WeeChat: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, uruchomiono %s%" +"s" msgid "compiled on" msgstr "skompilowano" @@ -5845,8 +5849,8 @@ msgstr "" #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%sBłąd: niedopasowane API \"%s\" (obecne API: \"%s\", API wtyczki: \"%s\"), " "nie udało się załadować" @@ -5949,8 +5953,8 @@ msgstr "Klienci do przekazania:" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" "%3d. %s%s%s (%s%s%s), rozpoczęto: %s,ostatnia aktywność: %s, bajtów: %lu " "odebrano, %lu wysłano" @@ -6422,8 +6426,8 @@ msgstr "%s: skryptów wyładowano" msgid "" "%s%s: unable to call function \"%s\", script is not initialized (script: %s)" msgstr "" -"%s%s: nie można wywołać funcji \"%s\", skrypt nie zainicjalizowany (skrypt: " -"%s)" +"%s%s: nie można wywołać funcji \"%s\", skrypt nie zainicjalizowany (skrypt: %" +"s)" #, c-format msgid "%s%s: wrong arguments for function \"%s\" (script: %s)" @@ -6604,8 +6608,8 @@ msgid "" " plugin: %s (id: %s), file: %lu bytes (position: %lu), address: %d.%d.%d." "%d (port %d)" msgstr "" -" wtyczka: %s (id: %s), plik: %lu bajtów (pozycja: %lu), adres: %d.%d.%d." -"%d (port %d)" +" wtyczka: %s (id: %s), plik: %lu bajtów (pozycja: %lu), adres: %d.%d.%d.%" +"d (port %d)" #. TRANSLATORS: "%s" after "started on" is date #, c-format @@ -6717,8 +6721,8 @@ msgstr "zamień spacje na podkreślenia wysyłając plik" msgid "rename incoming files if already exists (add \".1\", \".2\", ...)" msgstr "" -"zmień nazwę pliku przychodzącego jeśli juz istnieje (dodaj \".1\", " -"\".2\", ...)" +"zmień nazwę pliku przychodzącego jeśli juz istnieje (dodaj \".1\", \".2" +"\", ...)" msgid "" "automatically resume file transfer if connection with remote host is lost" @@ -20,16 +20,16 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: 2010-08-07 10:46+0200\n" "Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" -"Language: Russian\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Language: Russian\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Poedit-Bookmarks: -1,-1,608,-1,-1,-1,-1,-1,-1,-1\n" #. TRANSLATORS: "%s %s" after "compiled on" is date and time @@ -372,6 +372,10 @@ msgstr "цвет чата" msgid "a color name" msgstr "цвет hostname" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, fuzzy, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "Справка недоступна, \"%s\" не является командой\n" @@ -949,8 +953,8 @@ msgid "" " /buffer +1" msgstr "" "действие: выполняемое действие:\n" -" move: передвинуть буфер в списке (может быть относительным, например " -"-1)\n" +" move: передвинуть буфер в списке (может быть относительным, например -" +"1)\n" " close: закрыть буфер (необязательный аргумент - сообщение покидания " "канала)\n" " list: перечислить открытые буферы (отсутствие параметров подразумевает " @@ -5570,8 +5574,8 @@ msgstr "" #, fuzzy, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" "%s символ \"plugin_name\" не найден в plugin'е \"%s\", загрузка не удалась\n" @@ -5679,8 +5683,8 @@ msgstr "" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" #, fuzzy, c-format diff --git a/po/weechat.pot b/po/weechat.pot index e7d5e1cd1..40e0193f9 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,11 +7,10 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-08-11 14:49+0200\n" +"POT-Creation-Date: 2010-08-14 11:40+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" @@ -314,6 +313,10 @@ msgstr "" msgid "a color name" msgstr "" +#. TRANSLATORS: please do not translate "(null)" +msgid "undefined value allowed (null)" +msgstr "" + #, c-format msgid "%sNo help available, \"%s\" is not a command or an option" msgstr "" @@ -4835,8 +4838,8 @@ msgstr "" #, c-format msgid "" -"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: " -"\"%s\"), failed to load" +"%sError: API mismatch for plugin \"%s\" (current API: \"%s\", plugin API: \"%" +"s\"), failed to load" msgstr "" #, c-format @@ -4933,8 +4936,8 @@ msgstr "" #, c-format msgid "" -"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, " -"%lu sent" +"%3d. %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %lu recv, %" +"lu sent" msgstr "" #, c-format diff --git a/src/core/wee-command.c b/src/core/wee-command.c index e9b8bd23b..7e11d4054 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1806,6 +1806,12 @@ command_help (void *data, struct t_gui_buffer *buffer, case CONFIG_NUM_OPTION_TYPES: break; } + if (ptr_option->null_value_allowed) + { + gui_chat_printf (NULL, " %s", + /* TRANSLATORS: please do not translate "(null)" */ + _("undefined value allowed (null)")); + } return WEECHAT_RC_OK; } diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index 54e362f43..ad1551d8f 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -2641,6 +2641,13 @@ config_file_add_to_infolist (struct t_infolist *infolist, return 0; } if (!infolist_new_var_integer (ptr_item, + "null_value_allowed", + ptr_option->null_value_allowed)) + { + free (option_full_name); + return 0; + } + if (!infolist_new_var_integer (ptr_item, "value_is_null", (ptr_option->value) ? 0 : 1)) |