From 5947ba03649b1be46d1c150e36a86fe1a70fb893 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 4 May 2009 19:21:59 +0200 Subject: [PATCH] Remove messages displayed when hiding/showing a bar --- po/cs.po | 16 +++++++--------- po/de.po | 10 +--------- po/es.po | 10 +--------- po/fr.po | 16 +++++++--------- po/hu.po | 10 +--------- po/pl.po | 16 +++++++--------- po/ru.po | 10 +--------- po/weechat.pot | 10 +--------- src/core/wee-command.c | 16 ++-------------- 9 files changed, 28 insertions(+), 86 deletions(-) diff --git a/po/cs.po b/po/cs.po index 473d3f095..cde9f28ca 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -170,14 +170,6 @@ msgstr "Pole bylo smazáno" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%sChyba: nemohu nastavit volbu \"%s\" pro pole \"%s\"" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "Pole \"%s\" je nyní schováno" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "Pole \"%s\" je nyní viditelné" - #, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%sChyba: buffer nenalezen pro příkaz \"%s\"" @@ -5721,6 +5713,12 @@ msgstr "%s DCC: nemohu nastavit 'neblokovaci' volbu na soket\n" msgid "%s%s: timeout for \"%s\" with %s" msgstr "%s chybí argument pro volbu \"%s\"\n" +#~ msgid "Bar \"%s\" is now hidden" +#~ msgstr "Pole \"%s\" je nyní schováno" + +#~ msgid "Bar \"%s\" is now visible" +#~ msgstr "Pole \"%s\" je nyní viditelné" + #~ msgid "notify: debug: set notify for buffer %s to %d (%s)" #~ msgstr "notify: debug: nastavit notifikaci pro buffer %s na %d (%s)" diff --git a/po/de.po b/po/de.po index e533ef253..98cb9a67f 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Thomas Schuetz \n" "Language-Team: weechat-dev \n" @@ -182,14 +182,6 @@ msgstr "/users wurde deaktiviert" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%s unbekannte Option für den \"%s\"-Befehl\n" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "" - #, fuzzy, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%s Puffer nicht gefunden für den \"%s\"-Befehl\n" diff --git a/po/es.po b/po/es.po index c73c2e750..eb2760f5c 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" @@ -178,14 +178,6 @@ msgstr "los usuarios han sido desactivados" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%s opción desconocida para el comando \"%s\"\n" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "" - #, fuzzy, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%s nombre de usuario no encontrado para el comando \"%s\"\n" diff --git a/po/fr.po b/po/fr.po index 72d3f0892..bd5681c60 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-05-03 16:24+0200\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" @@ -172,14 +172,6 @@ msgstr "Barre supprimée" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%sErreur: impossible de modifier l'option \"%s\" pour la barre \"%s\"" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "La barre \"%s\" est maintenant cachée" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "La barre \"%s\" est maintenant visible" - #, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%sErreur: tampon non trouvé pour la commande \"%s\"" @@ -5822,3 +5814,9 @@ msgstr "%s%s: impossible de positionner l'option \"nonblock\" pour la socket" #, c-format msgid "%s%s: timeout for \"%s\" with %s" msgstr "%s%s: délai d'attente dépassé pour \"%s\" avec %s" + +#~ msgid "Bar \"%s\" is now hidden" +#~ msgstr "La barre \"%s\" est maintenant cachée" + +#~ msgid "Bar \"%s\" is now visible" +#~ msgstr "La barre \"%s\" est maintenant visible" diff --git a/po/hu.po b/po/hu.po index cd5ac66e5..e7aa5bfed 100644 --- a/po/hu.po +++ b/po/hu.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -183,14 +183,6 @@ msgstr "a felhasználók le lettek tiltva" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%s ismeretlen opció a \"%s\" parancsnak\n" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "" - #, fuzzy, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%s a(z) \"%s\". puffer nem található a(z) \"%s\" parancshoz\n" diff --git a/po/pl.po b/po/pl.po index afc38f9a2..6bd256df9 100644 --- a/po/pl.po +++ b/po/pl.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-04-29 08:07+0200\n" "Last-Translator: \n" "Language-Team: Polish\n" @@ -176,14 +176,6 @@ msgstr "Pasek usunięty" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%sBłąd: nie można ustawić opcji \"%s\" dla paska \"%s\"" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "Pasek \"%s\" został ukryty" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "Pasek \"%s\" jest teraz widoczny" - #, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%sBłąd: nie znaleziono bufora dla komendy \"%s\"" @@ -4956,3 +4948,9 @@ msgstr "" #, c-format msgid "%s%s: timeout for \"%s\" with %s" msgstr "" + +#~ msgid "Bar \"%s\" is now hidden" +#~ msgstr "Pasek \"%s\" został ukryty" + +#~ msgid "Bar \"%s\" is now visible" +#~ msgstr "Pasek \"%s\" jest teraz widoczny" diff --git a/po/ru.po b/po/ru.po index 41a1148d6..6ce9241ec 100644 --- a/po/ru.po +++ b/po/ru.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -179,14 +179,6 @@ msgstr "команда users отключена" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "%s неизвестный параметр для команды \"%s\"\n" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "" - #, fuzzy, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "%s буфер номер \"%s\" не найден для команды \"%s\"\n" diff --git a/po/weechat.pot b/po/weechat.pot index b3398a234..419fa9ed9 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-03 16:24+0200\n" +"POT-Creation-Date: 2009-05-04 19:17+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -153,14 +153,6 @@ msgstr "" msgid "%sError: unable to set option \"%s\" for bar \"%s\"" msgstr "" -#, c-format -msgid "Bar \"%s\" is now hidden" -msgstr "" - -#, c-format -msgid "Bar \"%s\" is now visible" -msgstr "" - #, c-format msgid "%sError: buffer not found for \"%s\" command" msgstr "" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index e3fef60b6..90f81ae11 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -380,13 +380,7 @@ command_bar (void *data, struct t_gui_buffer *buffer, return WEECHAT_RC_ERROR; } if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) - { - if (gui_bar_set (ptr_bar, "hidden", "1")) - { - gui_chat_printf (NULL, _("Bar \"%s\" is now hidden"), - ptr_bar->name); - } - } + gui_bar_set (ptr_bar, "hidden", "1"); return WEECHAT_RC_OK; } @@ -413,13 +407,7 @@ command_bar (void *data, struct t_gui_buffer *buffer, return WEECHAT_RC_ERROR; } if (CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) - { - if (gui_bar_set (ptr_bar, "hidden", "0")) - { - gui_chat_printf (NULL, _("Bar \"%s\" is now visible"), - ptr_bar->name); - } - } + gui_bar_set (ptr_bar, "hidden", "0"); return WEECHAT_RC_OK; }