summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--doc/de/includes/autogen_user_commands.de.adoc26
-rw-r--r--doc/en/includes/autogen_user_commands.en.adoc4
-rw-r--r--doc/fr/includes/autogen_user_commands.fr.adoc4
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc6
-rw-r--r--doc/ja/includes/autogen_user_commands.ja.adoc24
-rw-r--r--doc/pl/includes/autogen_user_commands.pl.adoc26
-rw-r--r--doc/sr/includes/autogen_user_commands.sr.adoc28
-rw-r--r--po/cs.po18
-rw-r--r--po/de.po51
-rw-r--r--po/es.po17
-rw-r--r--po/fr.po25
-rw-r--r--po/hu.po15
-rw-r--r--po/it.po21
-rw-r--r--po/ja.po44
-rw-r--r--po/pl.po44
-rw-r--r--po/pt.po22
-rw-r--r--po/pt_BR.po17
-rw-r--r--po/ru.po15
-rw-r--r--po/sr.po44
-rw-r--r--po/tr.po44
-rw-r--r--po/weechat.pot14
-rw-r--r--src/plugins/spell/spell-command.c18
-rw-r--r--src/plugins/spell/spell-completion.c3
-rw-r--r--src/plugins/spell/spell-config.c4
-rw-r--r--src/plugins/spell/spell-speller.c9
26 files changed, 414 insertions, 130 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index a18744c91..7cf0f30f1 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -29,6 +29,7 @@ New features::
* buflist: add variable `${hotlist_priority_number}` (integer version of `${hotlist_priority}`)
* irc: display SETNAME command in channels and private buffers, add options irc.color.message_setname and irc.look.smart_filter_setname (issue #1805)
* irc: add option irc.look.display_pv_nick_change
+ * spell: allow special dict value "-" to disable spell checking on a specific buffer (issue #1699)
* trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set, add option trigger.color.identifier (issue #1806)
Bug fixes::
diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc
index b0b758df5..d8eaaa794 100644
--- a/doc/de/includes/autogen_user_commands.de.adoc
+++ b/doc/de/includes/autogen_user_commands.de.adoc
@@ -3063,27 +3063,27 @@ Beispiele:
----
/spell enable|disable|toggle
listdict
- setdict <dict>[,<dict>...]
+ setdict -|<dict>[,<dict>...]
deldict
addword [<dict>] <word>
- enable: Rechtschreibprüfung wird aktiviert
- disable: Rechtschreibprüfung wird deaktiviert
- toggle: Funktionalität der Rechtschreibprüfung 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 hinzu
+ enable: enable spell checker
+ disable: disable spell checker
+ toggle: toggle spell checker
+listdict: show installed dictionaries
+ setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
+ deldict: delete dictionary used on current buffer
+ addword: add a word in personal dictionary
-Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set spell.check.commands).
+Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
-Um die Rechtschreibprüfung auf allen Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und die Rechtschreibprüfung aktiviert werden:
- /set spell.check.default_dict "de_DE-neu"
+To enable spell checker on all buffers, use option "default_dict", then enable spell checker, for example:
+ /set spell.check.default_dict "en"
/spell enable
-Um sich eine Liste von Vorschlägen in einer Bar anzeigen zu lassen nutzt man das Item "spell_suggest".
+To display a list of suggestions in a bar, use item "spell_suggest".
-Die Standardtastaturbelegung zum Umschalten der Rechtschreibprüfung lautet alt-s.
+Default key to toggle spell checker is alt-s.
----
// end::spell_commands[]
diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc
index da8017e48..ec2d4b99f 100644
--- a/doc/en/includes/autogen_user_commands.en.adoc
+++ b/doc/en/includes/autogen_user_commands.en.adoc
@@ -3063,7 +3063,7 @@ Examples:
----
/spell enable|disable|toggle
listdict
- setdict <dict>[,<dict>...]
+ setdict -|<dict>[,<dict>...]
deldict
addword [<dict>] <word>
@@ -3071,7 +3071,7 @@ Examples:
disable: disable spell checker
toggle: toggle spell checker
listdict: show installed dictionaries
- setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
+ setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc
index 2324e7671..860b2286c 100644
--- a/doc/fr/includes/autogen_user_commands.fr.adoc
+++ b/doc/fr/includes/autogen_user_commands.fr.adoc
@@ -3063,7 +3063,7 @@ Exemples :
----
/spell enable|disable|toggle
listdict
- setdict <dict>[,<dict>...]
+ setdict -|<dict>[,<dict>...]
deldict
addword [<dict>] <mot>
@@ -3071,7 +3071,7 @@ Exemples :
disable : désactiver le vérificateur d'orthographe
toggle : activer/désactiver le vérificateur d'orthographe
listdict : afficher les dictionnaires installés
- setdict : définir le dictionnaire pour le tampon courant (plusieurs dictionnaires peuvent être séparés par une virgule)
+ setdict : définir le dictionnaire pour le tampon courant (plusieurs dictionnaires peuvent être séparés par une virgule, la valeur spéciale "-" désactive la vérification orthographique sur le tampon courant)
deldict : supprimer le dictionnaire utilisé sur le tampon courant
addword : ajouter un mot dans le dictionnaire personnel
diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc
index c278d755f..538920751 100644
--- a/doc/it/includes/autogen_user_commands.it.adoc
+++ b/doc/it/includes/autogen_user_commands.it.adoc
@@ -3063,15 +3063,15 @@ Examples:
----
/spell enable|disable|toggle
listdict
- setdict <dizionario>[,<dizionario>...]
+ setdict -|<dict>[,<dict>...]
deldict
- addword [<dizionario>] <parola>
+ addword [<dict>] <word>
enable: enable spell checker
disable: disable spell checker
toggle: toggle spell checker
listdict: show installed dictionaries
- setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
+ setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc
index 2638097c4..decabcddf 100644
--- a/doc/ja/includes/autogen_user_commands.ja.adoc
+++ b/doc/ja/includes/autogen_user_commands.ja.adoc
@@ -3063,27 +3063,27 @@ Examples:
----
/spell enable|disable|toggle
listdict
- setdict <dict>[,<dict>...]
+ setdict -|<dict>[,<dict>...]
deldict
addword [<dict>] <word>
- enable: スペルチェックの有効化
- disable: スペルチェックの無効化
- toggle: スペルチェックの有効無効を切り替え
-listdict: インストール済み辞書を表示
- setdict: 現在のバッファ用の辞書を設定 (コンマで区切れば複数の辞書を指定可能)
- deldict: 現在のバッファ用の辞書を削除
- addword: 個人辞書に単語を追加
+ enable: enable spell checker
+ disable: disable spell checker
+ toggle: toggle spell checker
+listdict: show installed dictionaries
+ setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
+ deldict: delete dictionary used on current buffer
+ addword: add a word in personal dictionary
-一部のコマンドを除いて '/' で始まる入力行はチェックされません (/set spell.check.commands を参照してください)。
+Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
-全てのバッファでスペルチェックを有効化するには、"default_dict" オプションを設定した後に、スペルチェックを有効化してください。例:
+To enable spell checker on all buffers, use option "default_dict", then enable spell checker, for example:
/set spell.check.default_dict "en"
/spell enable
-バーの中にスペル候補リストを表示するには、"spell_suggest" 要素を使ってください。
+To display a list of suggestions in a bar, use item "spell_suggest".
-スペルチェックの有効無効を切り替えるデフォルトのキーは alt-s です。
+Default key to toggle spell checker is alt-s.
----
// end::spell_commands[]
diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc
index ae57e473c..4b7ae9531 100644
--- a/doc/pl/includes/autogen_user_commands.pl.adoc
+++ b/doc/pl/includes/autogen_user_commands.pl.adoc
@@ -3062,27 +3062,27 @@ Przykłady:
----
/spell enable|disable|toggle
listdict
- setdict <język>[,<język>...]
+ setdict -|<dict>[,<dict>...]
deldict
- addword [<język>] <słowo>
+ addword [<dict>] <word>
- enable: włącza sprawdzanie pisowni
- disable: wyłącza sprawdzanie pisowni
- toggle: przełącza sprawdzanie pisowni
-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
+ enable: enable spell checker
+ disable: disable spell checker
+ toggle: toggle spell checker
+listdict: show installed dictionaries
+ setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
+ deldict: delete dictionary used on current buffer
+ addword: add a word in personal dictionary
-Jeśli wprowadzany tekst zaczyna się od '/' nie będzie on sprawdzany, za wyjątkiem kilku komend (zobacz /set spell.check.commands).
+Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
-W celu włączenia sprawdzania pisowni dla wszystkich buforów, należy użyć opcji "default_dict", następnie włączyć sprawdzanie pisowni, na przykład:
+To enable spell checker on all buffers, use option "default_dict", then enable spell checker, for example:
/set spell.check.default_dict "en"
/spell enable
-W celu wyświetlenia listy sugestii na pasku, użyj elementu "spell_suggest".
+To display a list of suggestions in a bar, use item "spell_suggest".
-Domyślny skrót klawiszowy przełączający sprawdzanie pisowni to alt-s.
+Default key to toggle spell checker is alt-s.
----
// end::spell_commands[]
diff --git a/doc/sr/includes/autogen_user_commands.sr.adoc b/doc/sr/includes/autogen_user_commands.sr.adoc
index 5870fb964..771b40bec 100644
--- a/doc/sr/includes/autogen_user_commands.sr.adoc
+++ b/doc/sr/includes/autogen_user_commands.sr.adoc
@@ -3063,27 +3063,27 @@ toggleautoload: пребацивање аутоматског учитавања
----
/spell enable|disable|toggle
listdict
- setdict <речн>[,<речн>...]
+ setdict -|<dict>[,<dict>...]
deldict
- addword [<речн>] <реч>
+ addword [<dict>] <word>
- enable: укључивање програма за проверу правописа
- disable: искључивање програма за проверу правописа
- toggle: пребацивање програма за проверу правописа
-listdict: приказ инсталираних речника
- setdict: постављање речника за текући бафер (више речника може да се раздвоји запетама)
- deldict: брисање речника који се користи за текући бафер
- addword: додавање речи у лични речник
+ enable: enable spell checker
+ disable: disable spell checker
+ toggle: toggle spell checker
+listdict: show installed dictionaries
+ setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
+ deldict: delete dictionary used on current buffer
+ addword: add a word in personal dictionary
-Линије уноса које почињу са ’/’ се не проверавају, осим за неке команде (погледајте /set spell.check.commands).
+Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
-Ако желите да укључите програм за проверу правописа у свим баферима, употребите опцију „default_dict”, па затим укључите програм за проверу правописа, на пример:
- /set spell.check.default_dict „en”
+To enable spell checker on all buffers, use option "default_dict", then enable spell checker, for example:
+ /set spell.check.default_dict "en"
/spell enable
-Ако желите да се у траци прикаже листа предлога, употребите ставку „spell_suggest”.
+To display a list of suggestions in a bar, use item "spell_suggest".
-Подразумевани тастер за пребацивање програма за проверу правописа је alt-s.
+Default key to toggle spell checker is alt-s.
----
// end::spell_commands[]
diff --git a/po/cs.po b/po/cs.po
index 73289f276..66766903f 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-06-18 16:11+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12457,6 +12457,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "seznam slovníků %s:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "Kontrola pravopisu je vypnuta"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" odebrán"
@@ -12520,7 +12525,7 @@ msgstr "konfigurace pluginu aspell"
#, fuzzy
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr "dictlist || enable <jazyk> || disable || addword [<jazyk>] <slovo>"
@@ -12531,7 +12536,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -12562,7 +12568,11 @@ msgstr "seznam všech podporovaných jazyků aspellem"
msgid "list of installed dictionaries"
msgstr "seznam instalovaných slovníků aspellu"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "čárkami oddělený seznam slovníků, které použít pro tento buffer"
#, fuzzy, c-format
diff --git a/po/de.po b/po/de.po
index d8ee299b1..1dba20b59 100644
--- a/po/de.po
+++ b/po/de.po
@@ -25,7 +25,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-09-16 08:22+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -10808,7 +10808,6 @@ msgstr ""
"es wird bei einer privaten Unterhaltung eine Mitteilung ausgegeben falls der "
"User wieder zurück ist (falls der User sich beim Server abgemeldet hat)"
-#| msgid "use same nick color for channel and private"
msgid "display nick change in private"
msgstr "Nickänderung im privaten Buffer anzeigen"
@@ -14992,6 +14991,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "%s Wörterbücher:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "Rechtschreibprüfung ist deaktiviert"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" entfernt"
@@ -15053,20 +15057,47 @@ msgstr "Rechtschreibprüfung ist deaktiviert"
msgid "spell plugin configuration"
msgstr "Konfiguration für spell-Erweiterung"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
+#, fuzzy
+#| msgid ""
+#| " enable: enable spell checker\n"
+#| " disable: disable spell checker\n"
+#| " toggle: toggle spell checker\n"
+#| "listdict: show installed dictionaries\n"
+#| " setdict: set dictionary for current buffer (multiple dictionaries can be "
+#| "separated by a comma)\n"
+#| " deldict: delete dictionary used on current buffer\n"
+#| " addword: add a word in personal dictionary\n"
+#| "\n"
+#| "Input line beginning with a '/' is not checked, except for some commands "
+#| "(see /set spell.check.commands).\n"
+#| "\n"
+#| "To enable spell checker on all buffers, use option \"default_dict\", then "
+#| "enable spell checker, for example:\n"
+#| " /set spell.check.default_dict \"en\"\n"
+#| " /spell enable\n"
+#| "\n"
+#| "To display a list of suggestions in a bar, use item \"spell_suggest\".\n"
+#| "\n"
+#| "Default key to toggle spell checker is alt-s."
msgid ""
" enable: enable spell checker\n"
" disable: disable spell checker\n"
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -15113,7 +15144,11 @@ msgstr "Liste aller Sprachen die unterstützt werden"
msgid "list of installed dictionaries"
msgstr "Auflistung der installierten Wörterbücher"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr ""
"durch Kommata getrennte Liste von Wörterbüchern, welche in diesem Buffer "
"genutzt werden sollen"
@@ -15443,8 +15478,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat"
msgid ""
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
-"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
-"return_code>\" [\"<post_action>\"]]]]]] "
+"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
"all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del "
@@ -15452,8 +15486,7 @@ msgid ""
"monitor [<filter>]"
msgstr ""
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
-"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
-"return_code>\" [\"<post_action>\"]]]]]] "
+"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
"all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del "
diff --git a/po/es.po b/po/es.po
index a1e1f66a4..e5fa15480 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-06-18 16:11+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13056,6 +13056,10 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "Lista de diccionarios %s:"
+#, fuzzy
+msgid "spell checking disabled"
+msgstr "Aspell desactivado"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" eliminado"
@@ -13121,7 +13125,7 @@ msgstr "configuración del plugin aspell"
#, fuzzy
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <idioma> || deldict || addword "
@@ -13134,7 +13138,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -13170,7 +13175,11 @@ msgstr "lista de lenguajes soportados para aspell"
msgid "list of installed dictionaries"
msgstr "lista de scripts instalados (desde el repositorio)"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "lista separada por comas de diccionarios para usar en este buffer"
#, fuzzy, c-format
diff --git a/po/fr.po b/po/fr.po
index c8dae0937..933d78d98 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: 2022-09-14 21:38+0200\n"
-"PO-Revision-Date: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
+"PO-Revision-Date: 2022-09-17 09:36+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -14691,6 +14691,9 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "Liste des dictionnaires %s :"
+msgid "spell checking disabled"
+msgstr "vérification orthographique désactivée"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s : \"%s\" supprimé"
@@ -14751,10 +14754,10 @@ msgid "spell plugin configuration"
msgstr "configuration de l'extension spell"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <mot>"
msgid ""
@@ -14763,7 +14766,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -14784,7 +14788,8 @@ msgstr ""
" toggle : activer/désactiver le vérificateur d'orthographe\n"
"listdict : afficher les dictionnaires installés\n"
" setdict : définir le dictionnaire pour le tampon courant (plusieurs "
-"dictionnaires peuvent être séparés par une virgule)\n"
+"dictionnaires peuvent être séparés par une virgule, la valeur spéciale \"-\" "
+"désactive la vérification orthographique sur le tampon courant)\n"
" deldict : supprimer le dictionnaire utilisé sur le tampon courant\n"
" addword : ajouter un mot dans le dictionnaire personnel\n"
"\n"
@@ -14808,9 +14813,13 @@ msgstr "liste de toutes les langues supportées"
msgid "list of installed dictionaries"
msgstr "liste des dictionnaires installés"
-msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr ""
-"liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon"
+"liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon "
+"(la valeur spéciale \"-\" désactive la vérification orthographique sur ce "
+"tampon)"
#, c-format
msgid "%s%s: error creating spell dictionary \"%s\" => \"%s\""
diff --git a/po/hu.po b/po/hu.po
index ce27cb2b6..a89d4ebb1 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-04-24 10:20+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -11835,6 +11835,10 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "a /who lista vége"
+#, fuzzy
+msgid "spell checking disabled"
+msgstr "Nincs aliasz definiálva.\n"
+
#, fuzzy, c-format
msgid "%s: \"%s\" removed"
msgstr "A \"%s\" aliasz eltávolítva\n"
@@ -11897,7 +11901,7 @@ msgid "spell plugin configuration"
msgstr "Beállítások mentése a lemezre\n"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
@@ -11907,7 +11911,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -11932,7 +11937,9 @@ msgstr "Aliaszok listája:\n"
msgid "list of installed dictionaries"
msgstr "konfigurációs paraméterek beállítása"
-msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr ""
#, fuzzy, c-format
diff --git a/po/it.po b/po/it.po
index 35e72535e..c26895aa6 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-04-24 10:20+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12874,6 +12874,10 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "elenco dizionari %s:"
+#, fuzzy
+msgid "spell checking disabled"
+msgstr "Aspell è disabilitato"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s; \"%s\" eliminato"
@@ -12937,8 +12941,12 @@ msgstr "Aspell è disabilitato"
msgid "spell plugin configuration"
msgstr "configurazione del plugin aspell"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <dizionario>[,<dizionario>...] "
@@ -12951,7 +12959,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -12994,7 +13003,11 @@ msgstr "elenco di tutte lingue supportate da aspell"
msgid "list of installed dictionaries"
msgstr "elenco dei dizionari aspell installati"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "elenco separato da virgole di dizionari da usare su questo buffer"
#, fuzzy, c-format
diff --git a/po/ja.po b/po/ja.po
index df4cf5b9f..a1dcf99d6 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-06-18 16:12+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -14007,6 +14007,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "%s プラグインの辞書リスト:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "スペルチェックが無効化されています"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" 削除しました"
@@ -14064,20 +14069,47 @@ msgstr "スペルチェックが無効化されています"
msgid "spell plugin configuration"
msgstr "スペルチェックプラグイン設定"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
+#, fuzzy
+#| msgid ""
+#| " enable: enable spell checker\n"
+#| " disable: disable spell checker\n"
+#| " toggle: toggle spell checker\n"
+#| "listdict: show installed dictionaries\n"
+#| " setdict: set dictionary for current buffer (multiple dictionaries can be "
+#| "separated by a comma)\n"
+#| " deldict: delete dictionary used on current buffer\n"
+#| " addword: add a word in personal dictionary\n"
+#| "\n"
+#| "Input line beginning with a '/' is not checked, except for some commands "
+#| "(see /set spell.check.commands).\n"
+#| "\n"
+#| "To enable spell checker on all buffers, use option \"default_dict\", then "
+#| "enable spell checker, for example:\n"
+#| " /set spell.check.default_dict \"en\"\n"
+#| " /spell enable\n"
+#| "\n"
+#| "To display a list of suggestions in a bar, use item \"spell_suggest\".\n"
+#| "\n"
+#| "Default key to toggle spell checker is alt-s."
msgid ""
" enable: enable spell checker\n"
" disable: disable spell checker\n"
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -14121,7 +14153,11 @@ msgstr "サポートされる全ての言語のリスト"
msgid "list of installed dictionaries"
msgstr "インストール済み辞書のリスト"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "このバッファで使用中の辞書のコンマ区切りリスト"
#, c-format
diff --git a/po/pl.po b/po/pl.po
index 2695b2617..8d8878f07 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-06-18 16:12+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -14626,6 +14626,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "%s lista słowników:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "Sprawdzanie pisowni jest wyłączone"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" usunięty"
@@ -14683,20 +14688,47 @@ msgstr "Sprawdzanie pisowni jest wyłączone"
msgid "spell plugin configuration"
msgstr "konfiguracja wtyczki spell"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <język>[,<język>...] || deldict "
"|| addword [<język>] <słowo>"
+#, fuzzy
+#| msgid ""
+#| " enable: enable spell checker\n"
+#| " disable: disable spell checker\n"
+#| " toggle: toggle spell checker\n"
+#| "listdict: show installed dictionaries\n"
+#| " setdict: set dictionary for current buffer (multiple dictionaries can be "
+#| "separated by a comma)\n"
+#| " deldict: delete dictionary used on current buffer\n"
+#| " addword: add a word in personal dictionary\n"
+#| "\n"
+#| "Input line beginning with a '/' is not checked, except for some commands "
+#| "(see /set spell.check.commands).\n"
+#| "\n"
+#| "To enable spell checker on all buffers, use option \"default_dict\", then "
+#| "enable spell checker, for example:\n"
+#| " /set spell.check.default_dict \"en\"\n"
+#| " /spell enable\n"
+#| "\n"
+#| "To display a list of suggestions in a bar, use item \"spell_suggest\".\n"
+#| "\n"
+#| "Default key to toggle spell checker is alt-s."
msgid ""
" enable: enable spell checker\n"
" disable: disable spell checker\n"
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -14740,7 +14772,11 @@ msgstr "lista wszystkich wspieranych języków"
msgid "list of installed dictionaries"
msgstr "lista zainstalowanych słowników"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "oddzielona przecinkami lista słowników do użycia w tym buforze"
#, c-format
diff --git a/po/pt.po b/po/pt.po
index 4d1e37911..ad21fce41 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-06-18 16:12+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -13809,6 +13809,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "lista de dicionários do %s:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "A verificação ortográfica está desativada"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" removido"
@@ -13870,8 +13875,12 @@ msgstr "A verificação ortográfica está desativada"
msgid "spell plugin configuration"
msgstr "configuração do plugin aspell"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <dic>[,<dic>...] || deldict || "
@@ -13884,7 +13893,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -13930,7 +13940,11 @@ msgstr "lista de todas as línguas suportadas pelo aspell"
msgid "list of installed dictionaries"
msgstr "lista de dicionários aspell instalados"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "lista de dicionários separados por vírgula para usar neste buffer"
#, fuzzy, c-format
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 4e344603b..7eae6240a 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-04-24 10:20+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12346,6 +12346,10 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "lista de dicionários do %s:"
+#, fuzzy
+msgid "spell checking disabled"
+msgstr "Corretor ortográfico está desabilitado"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" removido"
@@ -12411,7 +12415,7 @@ msgstr "configuração do plugin aspell"
#, fuzzy
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr "dictlist || enable <idioma> || disable || addword [<idioma>] <palavra>"
@@ -12421,7 +12425,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -12446,7 +12451,11 @@ msgstr "lista de idiomas suportados para aspell"
msgid "list of installed dictionaries"
msgstr "lista de opções"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "lista de dicionários (separados por vírgula) para uso neste buffer"
#, fuzzy, c-format
diff --git a/po/ru.po b/po/ru.po
index 83476fe62..d27556d0e 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-04-24 10:20+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -11873,6 +11873,10 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "конец списка /who"
+#, fuzzy
+msgid "spell checking disabled"
+msgstr "Сокращения не заданы.\n"
+
#, fuzzy, c-format
msgid "%s: \"%s\" removed"
msgstr "Сокращение \"%s\" удалено\n"
@@ -11935,7 +11939,7 @@ msgid "spell plugin configuration"
msgstr "Сохраняю конфигурацию\n"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
@@ -11945,7 +11949,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -11970,7 +11975,9 @@ msgstr "Список сокращений:\n"
msgid "list of installed dictionaries"
msgstr "настроить параметры конфигурации"
-msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr ""
#, fuzzy, c-format
diff --git a/po/sr.po b/po/sr.po
index 1bc8b0d2e..20716196f 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-07-06 08:29+0400\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14334,6 +14334,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "%s листа речника:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "Провера правописа је искључена"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: „%s” је уклоњен"
@@ -14391,20 +14396,47 @@ msgstr "Искључен је програм за проверу правопи
msgid "spell plugin configuration"
msgstr "конфигурација додатка spell"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <речн>[,<речн>...] || deldict "
"|| addword [<речн>] <реч>"
+#, fuzzy
+#| msgid ""
+#| " enable: enable spell checker\n"
+#| " disable: disable spell checker\n"
+#| " toggle: toggle spell checker\n"
+#| "listdict: show installed dictionaries\n"
+#| " setdict: set dictionary for current buffer (multiple dictionaries can be "
+#| "separated by a comma)\n"
+#| " deldict: delete dictionary used on current buffer\n"
+#| " addword: add a word in personal dictionary\n"
+#| "\n"
+#| "Input line beginning with a '/' is not checked, except for some commands "
+#| "(see /set spell.check.commands).\n"
+#| "\n"
+#| "To enable spell checker on all buffers, use option \"default_dict\", then "
+#| "enable spell checker, for example:\n"
+#| " /set spell.check.default_dict \"en\"\n"
+#| " /spell enable\n"
+#| "\n"
+#| "To display a list of suggestions in a bar, use item \"spell_suggest\".\n"
+#| "\n"
+#| "Default key to toggle spell checker is alt-s."
msgid ""
" enable: enable spell checker\n"
" disable: disable spell checker\n"
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -14449,7 +14481,11 @@ msgstr "листа свих подржаних језика"
msgid "list of installed dictionaries"
msgstr "листа инсталираних речника"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr ""
"листа речника раздвојених запетама који треба да се користе у овом баферу"
diff --git a/po/tr.po b/po/tr.po
index bdd445417..4cdd59adf 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2022-07-27 23:00+0300\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14214,6 +14214,11 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr "%s sözlükleri listesi:"
+#, fuzzy
+#| msgid "Spell checking is disabled"
+msgid "spell checking disabled"
+msgstr "Yazım denetimi devre dışı"
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr "%s: \"%s\" kaldırıldı"
@@ -14270,20 +14275,47 @@ msgstr "Yazım denetleyici devre dışı"
msgid "spell plugin configuration"
msgstr "yazım eklentisi yapılandırması"
+#, fuzzy
+#| msgid ""
+#| "enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || "
+#| "deldict || addword [<dict>] <word>"
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <sözlük>[,<sözlük>...] || "
"deldict || addword [<sözlük>] <sözcük>"
+#, fuzzy
+#| msgid ""
+#| " enable: enable spell checker\n"
+#| " disable: disable spell checker\n"
+#| " toggle: toggle spell checker\n"
+#| "listdict: show installed dictionaries\n"
+#| " setdict: set dictionary for current buffer (multiple dictionaries can be "
+#| "separated by a comma)\n"
+#| " deldict: delete dictionary used on current buffer\n"
+#| " addword: add a word in personal dictionary\n"
+#| "\n"
+#| "Input line beginning with a '/' is not checked, except for some commands "
+#| "(see /set spell.check.commands).\n"
+#| "\n"
+#| "To enable spell checker on all buffers, use option \"default_dict\", then "
+#| "enable spell checker, for example:\n"
+#| " /set spell.check.default_dict \"en\"\n"
+#| " /spell enable\n"
+#| "\n"
+#| "To display a list of suggestions in a bar, use item \"spell_suggest\".\n"
+#| "\n"
+#| "Default key to toggle spell checker is alt-s."
msgid ""
" enable: enable spell checker\n"
" disable: disable spell checker\n"
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -14328,7 +14360,11 @@ msgstr "desteklenen tüm dillerin listesi"
msgid "list of installed dictionaries"
msgstr "yüklü sözlüklerin listesi"
-msgid "comma separated list of dictionaries to use on this buffer"
+#, fuzzy
+#| msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr "bu arabellekte kullanılacak sözlüklerin virgülle ayrılmış listesi"
#, c-format
diff --git a/po/weechat.pot b/po/weechat.pot
index f658a02ef..9dcbca4d7 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: 2022-09-14 21:38+0200\n"
+"POT-Creation-Date: 2022-09-17 09:34+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10708,6 +10708,9 @@ msgstr ""
msgid "%s dictionaries list:"
msgstr ""
+msgid "spell checking disabled"
+msgstr ""
+
#, c-format
msgid "%s: \"%s\" removed"
msgstr ""
@@ -10765,7 +10768,7 @@ msgid "spell plugin configuration"
msgstr ""
msgid ""
-"enable|disable|toggle || listdict || setdict <dict>[,<dict>...] || deldict "
+"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
@@ -10775,7 +10778,8 @@ msgid ""
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries can be "
-"separated by a comma)\n"
+"separated by a comma, the special value \"-\" disables spell checking on "
+"current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
@@ -10798,7 +10802,9 @@ msgstr ""
msgid "list of installed dictionaries"
msgstr ""
-msgid "comma separated list of dictionaries to use on this buffer"
+msgid ""
+"comma separated list of dictionaries to use on this buffer (special value \"-"
+"\" disables spell checking on this buffer)"
msgstr ""
#, c-format
diff --git a/src/plugins/spell/spell-command.c b/src/plugins/spell/spell-command.c
index dc990f446..9658555f3 100644
--- a/src/plugins/spell/spell-command.c
+++ b/src/plugins/spell/spell-command.c
@@ -216,6 +216,7 @@ void
spell_command_set_dict (struct t_gui_buffer *buffer, const char *value)
{
char *name;
+ int disabled;
name = spell_build_option_name (buffer);
if (!name)
@@ -224,8 +225,16 @@ spell_command_set_dict (struct t_gui_buffer *buffer, const char *value)
if (spell_config_set_dict (name, value) > 0)
{
if (value && value[0])
- weechat_printf (NULL, "%s: \"%s\" => %s",
- SPELL_PLUGIN_NAME, name, value);
+ {
+ disabled = (strcmp (value, "-") == 0);
+ weechat_printf (NULL, "%s: \"%s\" => %s%s%s%s",
+ SPELL_PLUGIN_NAME,
+ name,
+ value,
+ (disabled) ? " (" : "",
+ (disabled) ? _("spell checking disabled") : "",
+ (disabled) ? ")" : "");
+ }
else
weechat_printf (NULL, _("%s: \"%s\" removed"),
SPELL_PLUGIN_NAME, name);
@@ -472,7 +481,7 @@ spell_command_init ()
N_("spell plugin configuration"),
N_("enable|disable|toggle"
" || listdict"
- " || setdict <dict>[,<dict>...]"
+ " || setdict -|<dict>[,<dict>...]"
" || deldict"
" || addword [<dict>] <word>"),
N_(" enable: enable spell checker\n"
@@ -480,7 +489,8 @@ spell_command_init ()
" toggle: toggle spell checker\n"
"listdict: show installed dictionaries\n"
" setdict: set dictionary for current buffer (multiple dictionaries "
- "can be separated by a comma)\n"
+ "can be separated by a comma, the special value \"-\" disables "
+ "spell checking on current buffer)\n"
" deldict: delete dictionary used on current buffer\n"
" addword: add a word in personal dictionary\n"
"\n"
diff --git a/src/plugins/spell/spell-completion.c b/src/plugins/spell/spell-completion.c
index 306f88a3f..4dfacf510 100644
--- a/src/plugins/spell/spell-completion.c
+++ b/src/plugins/spell/spell-completion.c
@@ -116,6 +116,9 @@ spell_completion_dicts_cb (const void *pointer, void *data,
0, WEECHAT_LIST_POS_SORT);
}
+ weechat_completion_list_add (completion, "-",
+ 0, WEECHAT_LIST_POS_BEGINNING);
+
delete_aspell_dict_info_enumeration (elements);
delete_aspell_config (config);
#endif /* USE_ENCHANT */
diff --git a/src/plugins/spell/spell-config.c b/src/plugins/spell/spell-config.c
index f763d0187..1dfbbadeb 100644
--- a/src/plugins/spell/spell-config.c
+++ b/src/plugins/spell/spell-config.c
@@ -255,7 +255,9 @@ spell_config_dict_create_option (const void *pointer, void *data,
ptr_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- _("comma separated list of dictionaries to use on this buffer"),
+ _("comma separated list of dictionaries to use on this "
+ "buffer (special value \"-\" disables spell checking "
+ "on this buffer)"),
NULL, 0, 0, "", value, 0,
NULL, NULL, NULL,
&spell_config_dict_change, NULL, NULL,
diff --git a/src/plugins/spell/spell-speller.c b/src/plugins/spell/spell-speller.c
index f8662e0ca..3b3229a27 100644
--- a/src/plugins/spell/spell-speller.c
+++ b/src/plugins/spell/spell-speller.c
@@ -97,6 +97,13 @@ spell_speller_check_dictionaries (const char *dict_list)
char **argv;
int argc, i;
+ if (!dict_list)
+ return;
+
+ /* special value "-" is used to disable spell checking on a buffer */
+ if (strcmp (dict_list, "-") == 0)
+ return;
+
if (dict_list)
{
argv = weechat_string_split (dict_list, ",", NULL,
@@ -381,7 +388,7 @@ spell_speller_buffer_new (struct t_gui_buffer *buffer)
new_speller_buffer->modifier_result = NULL;
buffer_dicts = spell_get_dict (buffer);
- if (buffer_dicts)
+ if (buffer_dicts && (strcmp (buffer_dicts, "-") != 0))
{
dicts = weechat_string_split (buffer_dicts, ",", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT