diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-29 11:27:58 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-29 11:27:58 +0200 |
commit | 8eefea424bafc94acd80b7d81f1c39d191429d7e (patch) | |
tree | 297037b395253d286f16405e87ba7fbc4cbdc382 | |
parent | ce8ae83e17ecd332c1277330fcf0c4a8225d362d (diff) | |
download | weechat-8eefea424bafc94acd80b7d81f1c39d191429d7e.zip |
core: display a message when mouse state is changed with command /mouse
-rw-r--r-- | po/cs.po | 10 | ||||
-rw-r--r-- | po/de.po | 10 | ||||
-rw-r--r-- | po/es.po | 10 | ||||
-rw-r--r-- | po/fr.po | 10 | ||||
-rw-r--r-- | po/hu.po | 10 | ||||
-rw-r--r-- | po/it.po | 10 | ||||
-rw-r--r-- | po/pl.po | 10 | ||||
-rw-r--r-- | po/pt_BR.po | 10 | ||||
-rw-r--r-- | po/ru.po | 10 | ||||
-rw-r--r-- | po/weechat.pot | 8 | ||||
-rw-r--r-- | src/core/wee-command.c | 14 |
11 files changed, 101 insertions, 11 deletions
@@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" "PO-Revision-Date: 2011-10-22 12:21+0200\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -484,6 +484,14 @@ msgstr "Rozložení bufferů resetováno" msgid "Layout reset for windows" msgstr "Rozložení oken resetováno" +#, fuzzy +msgid "Mouse enabled" +msgstr "1 pokud jsou filtry povoleny" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Filtrování zpráv zakázáno" + msgid "Plugins loaded:" msgstr "Načtené pluginy:" @@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Nils Görs\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -500,6 +500,14 @@ msgstr "Layout für Buffer zurücksetzen" msgid "Layout reset for windows" msgstr "Zurücksetzen des Fensterlayouts" +#, fuzzy +msgid "Mouse enabled" +msgstr "Maus ist aktiviert" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Maus ist deaktiviert" + msgid "Plugins loaded:" msgstr "Installierte Erweiterungen:" @@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -486,6 +486,14 @@ msgstr "Esquema de buffers reiniciado" msgid "Layout reset for windows" msgstr "Esquema de ventanas reiniciado" +#, fuzzy +msgid "Mouse enabled" +msgstr "Ratón activado" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Ratón desactivado" + msgid "Plugins loaded:" msgstr "Plugins cargados:" @@ -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-10-29 10:32+0200\n" -"PO-Revision-Date: 2011-10-29 10:34+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" +"PO-Revision-Date: 2011-10-29 11:24+0200\n" "Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: French\n" @@ -491,6 +491,12 @@ msgstr "Disposition réinitialisée pour les tampons" msgid "Layout reset for windows" msgstr "Disposition réinitialisée pour les fenêtres" +msgid "Mouse enabled" +msgstr "Souris activée" + +msgid "Mouse disabled" +msgstr "Souris désactivée" + msgid "Plugins loaded:" msgstr "Extensions chargées:" @@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\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" @@ -505,6 +505,14 @@ msgid "Layout reset for windows" msgstr "a /who lista vége" #, fuzzy +msgid "Mouse enabled" +msgstr "a felhasználók le lettek tiltva" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Nincs aliasz definiálva.\n" + +#, fuzzy msgid "Plugins loaded:" msgstr "Betöltött modulok:\n" @@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -485,6 +485,14 @@ msgstr "Reset del layout per i buffer" msgid "Layout reset for windows" msgstr "Reset del layout per le finestre" +#, fuzzy +msgid "Mouse enabled" +msgstr "Mouse abilitato" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Mouse disabilitato" + msgid "Plugins loaded:" msgstr "Plugin caricati:" @@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -490,6 +490,14 @@ msgstr "Zresetowano układ dla buforów" msgid "Layout reset for windows" msgstr "Zresetowano układ dla okien" +#, fuzzy +msgid "Mouse enabled" +msgstr "Obsługa myszy włączona" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Obsługa myszy wyłączona" + msgid "Plugins loaded:" msgstr "Załadowane wtyczki:" diff --git a/po/pt_BR.po b/po/pt_BR.po index a9001400d..626216357 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\n" "PO-Revision-Date: 2011-10-26 19:30+0200\n" "Last-Translator: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -512,6 +512,14 @@ msgstr "Restauração da disposição dos buffers" msgid "Layout reset for windows" msgstr "Restauração da disposição das janelas" +#, fuzzy +msgid "Mouse enabled" +msgstr "Filtro de mensagens habilitado" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Filtro de mensagens desabilitado" + msgid "Plugins loaded:" msgstr "Plugins carregados:" @@ -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-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+0200\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" @@ -508,6 +508,14 @@ msgid "Layout reset for windows" msgstr "конец списка /who" #, fuzzy +msgid "Mouse enabled" +msgstr "команда users отключена" + +#, fuzzy +msgid "Mouse disabled" +msgstr "Сокращения не заданы.\n" + +#, fuzzy msgid "Plugins loaded:" msgstr "Загруженные plugin'ы\n" diff --git a/po/weechat.pot b/po/weechat.pot index a763324cd..61f20666d 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: 2011-10-29 10:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:24+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" @@ -441,6 +441,12 @@ msgstr "" msgid "Layout reset for windows" msgstr "" +msgid "Mouse enabled" +msgstr "" + +msgid "Mouse disabled" +msgstr "" + msgid "Plugins loaded:" msgstr "" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index f59a54314..6d438498b 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -3121,6 +3121,7 @@ COMMAND_CALLBACK(mouse) if (string_strcasecmp (argv[1], "enable") == 0) { gui_mouse_enable (); + gui_chat_printf (NULL, _("Mouse enabled")); if (argc > 2) command_mouse_timer (argv[2]); return WEECHAT_RC_OK; @@ -3130,6 +3131,7 @@ COMMAND_CALLBACK(mouse) if (string_strcasecmp (argv[1], "disable") == 0) { gui_mouse_disable (); + gui_chat_printf (NULL, _("Mouse disabled")); if (argc > 2) command_mouse_timer (argv[2]); return WEECHAT_RC_OK; @@ -3139,14 +3141,26 @@ COMMAND_CALLBACK(mouse) if (string_strcasecmp (argv[1], "toggle") == 0) { if (gui_mouse_enabled) + { gui_mouse_disable (); + gui_chat_printf (NULL, _("Mouse disabled")); + } else + { gui_mouse_enable (); + gui_chat_printf (NULL, _("Mouse enabled")); + } if (argc > 2) command_mouse_timer (argv[2]); return WEECHAT_RC_OK; } + gui_chat_printf (NULL, + _("%sError: unknown option for \"%s\" " + "command"), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + "mouse"); + return WEECHAT_RC_OK; } |