core: display an error and do nothing for command "/unset *"
This commit is contained in:
parent
034b216eee
commit
d3a37ea948
6
po/cs.po
6
po/cs.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -719,6 +719,10 @@ msgstr "Volba vytvořena: "
|
||||
msgid "Option changed"
|
||||
msgstr "Volba změněna"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sSelhalo odnastavení volby \"%s\""
|
||||
|
6
po/de.po
6
po/de.po
@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-11-08 22:03+0100\n"
|
||||
"Last-Translator: Nils Görs\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -732,6 +732,10 @@ msgstr "Option erstellt: "
|
||||
msgid "Option changed"
|
||||
msgstr "Option geändert"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sOption \"%s\" konnte nicht zurück gesetzt werden"
|
||||
|
6
po/es.po
6
po/es.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -718,6 +718,10 @@ msgstr "Opción creada: "
|
||||
msgid "Option changed"
|
||||
msgstr "Opción cambiada"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sNo se pudo deshacer la opción \"%s\""
|
||||
|
8
po/fr.po
8
po/fr.po
@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"PO-Revision-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-12-17 18:40+0100\n"
|
||||
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: French\n"
|
||||
@ -722,6 +722,10 @@ msgstr "Option créée: "
|
||||
msgid "Option changed"
|
||||
msgstr "Option modifiée"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr "%sLa réinitialisation de toutes les options n'est pas autorisée"
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sImpossible de supprimer/réinitialiser l'option \"%s\""
|
||||
|
6
po/hu.po
6
po/hu.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-10-22 12:21+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -758,6 +758,10 @@ msgstr "nincs a szobában"
|
||||
msgid "Option changed"
|
||||
msgstr "nincs a szobában"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%s nem sikerült a modul opciókat elmenteni\n"
|
||||
|
6
po/it.po
6
po/it.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-11-15 19:37+0100\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -716,6 +716,10 @@ msgstr "Opzione creata: "
|
||||
msgid "Option changed"
|
||||
msgstr "Opzione modificata"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sImpossibile disabilitare l'opzione \"%s\""
|
||||
|
6
po/pl.po
6
po/pl.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -727,6 +727,10 @@ msgstr "Opcja utworzona: "
|
||||
msgid "Option changed"
|
||||
msgstr "Zmieniono opcję"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sNie powiodło się wyzerowanie opcji \"%s\""
|
||||
|
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-11-03 16:58+0100\n"
|
||||
"Last-Translator: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -750,6 +750,10 @@ msgstr "Opção mudada: "
|
||||
msgid "Option changed"
|
||||
msgstr "Opção mudada"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%sFalhou ao desabilitar a opção \"%s\""
|
||||
|
6
po/ru.po
6
po/ru.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\n"
|
||||
"PO-Revision-Date: 2011-10-22 12:21+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -765,6 +765,10 @@ msgstr "не на канале"
|
||||
msgid "Option changed"
|
||||
msgstr "не на канале"
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr "%s не могу сохранить конфигурационный файл pluginов\n"
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:30+0100\n"
|
||||
"POT-Creation-Date: 2011-12-17 18:39+0100\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"
|
||||
@ -667,6 +667,10 @@ msgstr ""
|
||||
msgid "Option changed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sReset of all options is not allowed"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to unset option \"%s\""
|
||||
msgstr ""
|
||||
|
@ -4489,6 +4489,13 @@ COMMAND_CALLBACK(unset)
|
||||
|
||||
if (argc >= 2)
|
||||
{
|
||||
if (strcmp (argv_eol[1], "*") == 0)
|
||||
{
|
||||
gui_chat_printf (NULL,
|
||||
_("%sReset of all options is not allowed"),
|
||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
for (ptr_config = config_files; ptr_config;
|
||||
ptr_config = ptr_config->next_config)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user