summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-10-29 11:27:58 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-10-29 11:27:58 +0200
commit8eefea424bafc94acd80b7d81f1c39d191429d7e (patch)
tree297037b395253d286f16405e87ba7fbc4cbdc382
parentce8ae83e17ecd332c1277330fcf0c4a8225d362d (diff)
downloadweechat-8eefea424bafc94acd80b7d81f1c39d191429d7e.zip
core: display a message when mouse state is changed with command /mouse
-rw-r--r--po/cs.po10
-rw-r--r--po/de.po10
-rw-r--r--po/es.po10
-rw-r--r--po/fr.po10
-rw-r--r--po/hu.po10
-rw-r--r--po/it.po10
-rw-r--r--po/pl.po10
-rw-r--r--po/pt_BR.po10
-rw-r--r--po/ru.po10
-rw-r--r--po/weechat.pot8
-rw-r--r--src/core/wee-command.c14
11 files changed, 101 insertions, 11 deletions
diff --git a/po/cs.po b/po/cs.po
index ec2caf673..f91d5b302 100644
--- a/po/cs.po
+++ b/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-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:"
diff --git a/po/de.po b/po/de.po
index b4151c7f0..a46eb1359 100644
--- a/po/de.po
+++ b/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-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:"
diff --git a/po/es.po b/po/es.po
index 3c4a1f2dd..cf78051a5 100644
--- a/po/es.po
+++ b/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-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:"
diff --git a/po/fr.po b/po/fr.po
index 7d9859a1e..3cb5a1cfb 100644
--- a/po/fr.po
+++ b/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-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:"
diff --git a/po/hu.po b/po/hu.po
index 25d456d9c..b8ea2c4ba 100644
--- a/po/hu.po
+++ b/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-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"
diff --git a/po/it.po b/po/it.po
index 0dc64651f..a5005fd1e 100644
--- a/po/it.po
+++ b/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-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:"
diff --git a/po/pl.po b/po/pl.po
index 8b1b1b64d..a83c728b0 100644
--- a/po/pl.po
+++ b/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-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:"
diff --git a/po/ru.po b/po/ru.po
index 5408beb30..897ce9a58 100644
--- a/po/ru.po
+++ b/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-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;
}