From b15818fd4c1e2f5bb3b4a4b05fc36d68e5e05b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 11 Apr 2015 18:58:44 +0200 Subject: [PATCH] aspell: add bar item "aspell_suggest" in /help aspell (closes #390) --- doc/de/autogen/user/aspell_commands.asciidoc | 24 +++++++++++--------- doc/en/autogen/user/aspell_commands.asciidoc | 2 ++ doc/fr/autogen/user/aspell_commands.asciidoc | 2 ++ doc/it/autogen/user/aspell_commands.asciidoc | 24 +++++++++++--------- doc/ja/autogen/user/aspell_commands.asciidoc | 22 ++++++++++-------- doc/pl/autogen/user/aspell_commands.asciidoc | 22 ++++++++++-------- po/cs.po | 4 +++- po/de.po | 5 +++- po/es.po | 4 +++- po/fr.po | 9 ++++++-- po/hu.po | 4 +++- po/it.po | 5 +++- po/ja.po | 5 +++- po/pl.po | 5 +++- po/pt_BR.po | 4 +++- po/ru.po | 4 +++- po/tr.po | 4 +++- po/weechat.pot | 4 +++- src/plugins/aspell/weechat-aspell-command.c | 3 +++ 19 files changed, 101 insertions(+), 55 deletions(-) diff --git a/doc/de/autogen/user/aspell_commands.asciidoc b/doc/de/autogen/user/aspell_commands.asciidoc index 22a2c46d5..52100259e 100644 --- a/doc/de/autogen/user/aspell_commands.asciidoc +++ b/doc/de/autogen/user/aspell_commands.asciidoc @@ -12,20 +12,22 @@ deldict addword [] - enable: Aspell wird aktiviert - disable: Aspell wird deaktiviert - toggle: Aspell Funktionalität umschalten -listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet - setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden) - deldict: Wörterbuch für den aktuellen Buffer entfernen - addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu + enable: enable aspell + disable: disable aspell + toggle: toggle aspell +listdict: show installed dictionaries + setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) + deldict: delete dictionary used on current buffer + addword: add a word in personal aspell dictionary -Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands). +Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). -Um Aspell auf alle Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und Aspell aktiviert werden: - /set aspell.check.default_dict "de_DE-neu" +To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: + /set aspell.check.default_dict "en" /aspell enable -Die Standardtastaturbelegung zum Umschalten der Aspell Funktionalität lautet alt-s. +To display a list of suggestions in a bar, use item "aspell_suggest". + +Default key to toggle aspell is alt-s. ---- diff --git a/doc/en/autogen/user/aspell_commands.asciidoc b/doc/en/autogen/user/aspell_commands.asciidoc index a51a8f1bd..bf756c665 100644 --- a/doc/en/autogen/user/aspell_commands.asciidoc +++ b/doc/en/autogen/user/aspell_commands.asciidoc @@ -26,6 +26,8 @@ To enable aspell on all buffers, use option "default_dict", then enable aspell, /set aspell.check.default_dict "en" /aspell enable +To display a list of suggestions in a bar, use item "aspell_suggest". + Default key to toggle aspell is alt-s. ---- diff --git a/doc/fr/autogen/user/aspell_commands.asciidoc b/doc/fr/autogen/user/aspell_commands.asciidoc index cf12c2bd5..f2528f330 100644 --- a/doc/fr/autogen/user/aspell_commands.asciidoc +++ b/doc/fr/autogen/user/aspell_commands.asciidoc @@ -26,6 +26,8 @@ Pour activer aspell sur tous les tampons, utilisez l'option "default_dict", par /set aspell.check.default_dict "en" /aspell enable +Pour afficher une liste des suggestions dans une barre, utilisez l'objet "aspell_suggest". + La touche par défaut pour activer/désactiver aspell est alt-s. ---- diff --git a/doc/it/autogen/user/aspell_commands.asciidoc b/doc/it/autogen/user/aspell_commands.asciidoc index 0071be38b..b510b4354 100644 --- a/doc/it/autogen/user/aspell_commands.asciidoc +++ b/doc/it/autogen/user/aspell_commands.asciidoc @@ -12,20 +12,22 @@ deldict addword [] - enable: abilita aspell - disable: disabilita aspell - toggle: abilita/disabilita aspell -listdict: mostra i dizionari installati - setdict: imposta dizionario per il buffer corrente (più dizionari vanno separati da virgola) - deldict: elimina dizionario usato per il buffer corrente - addword: aggiunge una parola nel dizionario personale aspell + enable: enable aspell + disable: disable aspell + toggle: toggle aspell +listdict: show installed dictionaries + setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) + deldict: delete dictionary used on current buffer + addword: add a word in personal aspell dictionary -La riga di input che comincia con '/' non viene controllata, tranne che per alcuni comandi (consultare /set aspell.check.commands). +Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). -Per abilitare aspell su tutti i buffer, usare l'opzione "default_dict", poi abilita aspell, ad esempio: - /set aspell.check.default_dict "it" +To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: + /set aspell.check.default_dict "en" /aspell enable -Il tasto predefinito per (dis)abilitare aspell è alt-s. +To display a list of suggestions in a bar, use item "aspell_suggest". + +Default key to toggle aspell is alt-s. ---- diff --git a/doc/ja/autogen/user/aspell_commands.asciidoc b/doc/ja/autogen/user/aspell_commands.asciidoc index 3d780d6cc..948181432 100644 --- a/doc/ja/autogen/user/aspell_commands.asciidoc +++ b/doc/ja/autogen/user/aspell_commands.asciidoc @@ -12,20 +12,22 @@ deldict addword [] - enable: aspell の有効化 - disable: aspell の無効化 - toggle: aspell の有効無効を切り替え -listdict: インストール済み辞書を表示 - setdict: 現在のバッファ用の辞書を設定 (コンマで区切れば複数の辞書を指定可能) - deldict: 現在のバッファ用の辞書を削除 - addword: aspell の個人辞書に単語を追加 + enable: enable aspell + disable: disable aspell + toggle: toggle aspell +listdict: show installed dictionaries + setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) + deldict: delete dictionary used on current buffer + addword: add a word in personal aspell dictionary -いくつかのコマンドを除いて '/' で始まる入力行はチェックされません (/set aspell.check.commands を参照)。 +Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). -全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例: +To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: /set aspell.check.default_dict "en" /aspell enable -aspell の有効無効を切り替えるデフォルトのキーは alt-s です。 +To display a list of suggestions in a bar, use item "aspell_suggest". + +Default key to toggle aspell is alt-s. ---- diff --git a/doc/pl/autogen/user/aspell_commands.asciidoc b/doc/pl/autogen/user/aspell_commands.asciidoc index 8163e05ad..5f3edcb78 100644 --- a/doc/pl/autogen/user/aspell_commands.asciidoc +++ b/doc/pl/autogen/user/aspell_commands.asciidoc @@ -12,20 +12,22 @@ deldict addword [] - enable: włącza aspell - disable: wyłącza aspell - toggle: przełącza aspell -listdict: pokazuje zainstalowane słowniki - setdict: ustawia słownik dla obecnego buforu (kilka słowników może być podanych po przecinku) - deldict: usuwa słownik używany w obecnym buforze - addword: dodaje słowo do osobistego słownika aspell + enable: enable aspell + disable: disable aspell + toggle: toggle aspell +listdict: show installed dictionaries + setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) + deldict: delete dictionary used on current buffer + addword: add a word in personal aspell dictionary -Jeśli wprowadzany tekst zaczyna się od '/' nie będzie on sprawdzany, za wyjątkiem kilku komend (zobacz /set aspell.check.commands). +Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). -W celu włączenia aspell dla wszystkich buforów, należy użyć opcji "default_dict", następnie włączyć aspell, na przykład: +To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: /set aspell.check.default_dict "en" /aspell enable -Domyślny skrót klawiszowy przełączający aspell to alt-s. +To display a list of suggestions in a bar, use item "aspell_suggest". + +Default key to toggle aspell is alt-s. ---- diff --git a/po/cs.po b/po/cs.po index 6004162e6..8b5480a7c 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -4551,6 +4551,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" "dictlist: zobrazí nainstalované slovníky\n" diff --git a/po/de.po b/po/de.po index 4d1d84c8a..23351a83c 100644 --- a/po/de.po +++ b/po/de.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-31 09:13+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German <>\n" @@ -5267,6 +5267,7 @@ msgstr "" "enable|disable|toggle || listdict || setdict [,...] || deldict " "|| addword [] " +#, fuzzy msgid "" " enable: enable aspell\n" " disable: disable aspell\n" @@ -5285,6 +5286,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" " enable: Aspell wird aktiviert\n" diff --git a/po/es.po b/po/es.po index e0a58d852..942941b52 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -4770,6 +4770,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" "dictlist: muestra diccionarios instalados\n" diff --git a/po/fr.po b/po/fr.po index 39062042e..b01a0567f 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" -"PO-Revision-Date: 2015-04-11 18:42+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" +"PO-Revision-Date: 2015-04-11 18:57+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5190,6 +5190,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" " enable : activer aspell\n" @@ -5209,6 +5211,9 @@ msgstr "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"Pour afficher une liste des suggestions dans une barre, utilisez l'objet " +"\"aspell_suggest\".\n" +"\n" "La touche par défaut pour activer/désactiver aspell est alt-s." msgid "list of all languages supported by aspell" diff --git a/po/hu.po b/po/hu.po index 1b58add41..7cdc8ee7c 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4152,6 +4152,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" diff --git a/po/it.po b/po/it.po index c5511f0a1..5bfe78a80 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -4879,6 +4879,7 @@ msgstr "" "enable|disable|toggle || listdict || setdict [,...] " "|| deldict || addword [] " +#, fuzzy msgid "" " enable: enable aspell\n" " disable: disable aspell\n" @@ -4897,6 +4898,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" " enable: abilita aspell\n" diff --git a/po/ja.po b/po/ja.po index c7ebe3c4e..87d79010b 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-04-01 23:14+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -4934,6 +4934,7 @@ msgstr "" "enable|disable|toggle || listdict || setdict [,...] || deldict " "|| addword [] " +#, fuzzy msgid "" " enable: enable aspell\n" " disable: disable aspell\n" @@ -4952,6 +4953,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" " enable: aspell の有効化\n" diff --git a/po/pl.po b/po/pl.po index 6d133948b..cdb7f1c98 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -5048,6 +5048,7 @@ msgstr "" "enable|disable|toggle || listdict || setdict [,...] || deldict " "|| addword [] " +#, fuzzy msgid "" " enable: enable aspell\n" " disable: disable aspell\n" @@ -5066,6 +5067,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" " enable: włącza aspell\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 61fd8b8db..e049191e2 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -4721,6 +4721,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" diff --git a/po/ru.po b/po/ru.po index 28b8146a4..d028a7c14 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4186,6 +4186,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" diff --git a/po/tr.po b/po/tr.po index 3da801b95..5e74462c1 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2015-03-10 21:33+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -3750,6 +3750,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index 99a9ce38e..f280abc72 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-04-11 18:40+0200\n" +"POT-Creation-Date: 2015-04-11 18:55+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -3747,6 +3747,8 @@ msgid "" " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" +"To display a list of suggestions in a bar, use item \"aspell_suggest\".\n" +"\n" "Default key to toggle aspell is alt-s." msgstr "" diff --git a/src/plugins/aspell/weechat-aspell-command.c b/src/plugins/aspell/weechat-aspell-command.c index ba9fd831e..f7547cbfb 100644 --- a/src/plugins/aspell/weechat-aspell-command.c +++ b/src/plugins/aspell/weechat-aspell-command.c @@ -488,6 +488,9 @@ weechat_aspell_command_init () " /set aspell.check.default_dict \"en\"\n" " /aspell enable\n" "\n" + "To display a list of suggestions in a bar, use item " + "\"aspell_suggest\".\n" + "\n" "Default key to toggle aspell is alt-s."), "enable" " || disable"