diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-12-05 16:49:17 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-12-05 20:59:19 +0100 |
commit | a5db952842bea4ec3959be60020106155684195e (patch) | |
tree | 8c3969b238a67bd975291658115e2236f293fea5 /doc | |
parent | 7cb5147e74ef0e8d2eaf39b312051b54d0cf1ba2 (diff) | |
download | weechat-a5db952842bea4ec3959be60020106155684195e.zip |
doc: move section "Spell" in "Configuration" (user's guide)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/de/weechat_user.de.adoc | 227 | ||||
-rw-r--r-- | doc/en/weechat_user.en.adoc | 220 | ||||
-rw-r--r-- | doc/fr/weechat_user.fr.adoc | 224 | ||||
-rw-r--r-- | doc/it/weechat_user.it.adoc | 235 | ||||
-rw-r--r-- | doc/ja/weechat_user.ja.adoc | 217 | ||||
-rw-r--r-- | doc/pl/weechat_user.pl.adoc | 221 | ||||
-rw-r--r-- | doc/sr/weechat_user.sr.adoc | 203 |
7 files changed, 776 insertions, 771 deletions
diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 09f783445..2e173543d 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -222,7 +222,7 @@ Liste von häufig verwendeten Optionen: erstellt die HTML Dokumentation. | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - kompiliert <<spell_plugin,Spell Erweiterung>> mittels Enchant. + kompiliert <<spell_checking,Spell Erweiterung>> mittels Enchant. | ENABLE_EXEC | `ON`, `OFF` | ON | kompiliert <<exec_plugin,Exec Erweiterung>>. @@ -283,7 +283,7 @@ Liste von häufig verwendeten Optionen: Lua, Tcl, Guile, JavaScript, PHP). | ENABLE_SPELL | `ON`, `OFF` | ON | - kompiliert <<spell_plugin,Spell Erweiterung>>. + kompiliert <<spell_checking,Spell Erweiterung>>. | ENABLE_TCL | `ON`, `OFF` | ON | kompiliert <<scripts_plugins,Tcl Erweiterung>>. @@ -2575,6 +2575,118 @@ Den Namen eines Mausereignisses kann man mittels des Befehls `+/input grab_mouse Man führt den Befehl in der Eingabezeile aus und startet das Ereignis. Als Ergebnis erhält man in der Eingabezeile den Namen des ausgeführten Mausereignisses. +// TRANSLATION MISSING +[[spell_checking]] +=== Spell checking + +Mit der Spell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat. +Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen. + +Die Rechtschreibprüfung ist standardmäßig deaktiviert und kann mittels dem +Tastenbefehl [Alt+s] umgeschaltet werden. + +[[spell_dictionaries]] +==== Wörterbücher + +Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden, +welches genutzt werden soll. Dies kann entweder global oder per Buffer geschehen. + +Verschiedene Wörterbücher können parallel verwendet werden. WeeChat gleicht dann +die Wörter mit allen Wörterbüchern ab, + +Um zum Beispiel Englisch und Deutsch zu nutzen: + +---- +/set spell.check.default_dict "en,de" +---- + +Es ist möglich ein anderes Wörterbuch für einen speziellen Buffer zu verwenden, zum +Beispiel in einem französischen Channel: + +---- +/spell setdict fr +---- + +Um einer Gruppe von Buffern das selbe Wörterbuch zuzuordnen, zum Beispiel das +deutsche Wörterbuch für alle Channels auf dem libera IRC Server: + +---- +/set spell.dict.irc.libera de +---- + +Für weitere Informationen, siehe den Befehl <<command_spell_spell,/spell>>. + +[[spell_speller_options]] +==== Optionen für Rechtschreibprüfung + +Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende +Option in die Sektion "option" der Aspell-Konfiguration hinzufügt. + +Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller +möglichen Optionen erhält man durch: + +---- +$ aspell config +---- + +Um zum Beispiel die Option "ignore-case" einzuschalten: + +---- +/set spell.option.ignore-case "true" +---- + +[[spell_suggestions]] +==== Rechtschreibkorrektur + +Eine Rechtschreibkorrektur wird in der Bar-Item "spell_suggest" angezeigt. +Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option +_spell.check.suggestions_ bestimmt werden. + +Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _spell.check.suggestions_ +ein Wert ≥ 0 eingestellt werden und das Bar-Item "spell_suggest" zu einer Bar, zum +Beispiel _status_, hinzufügt werden. + +Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [dies,Diebs,Viehs] │ +│[@Flashy] diehs █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/Prinz] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== Befehle + +include::includes/autogen_user_commands.de.adoc[tag=spell_commands] + +[[spell_options]] +==== Optionen + +Sektionen in Datei _spell.conf_: + +[width="100%",cols="3m,6m,16",options="header"] +|=== +| Sektion | Steuerbefehl | Beschreibung +| color | /set spell.color.* | Farben. +| check | /set spell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen. +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden). +| look | /set spell.look.* | Erscheinungsbild. +| option | /set spell.option.* | <<spell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden). +|=== + +Optionen: + +include::includes/autogen_user_options.de.adoc[tag=spell_options] + [[bars]] === Bars @@ -4299,117 +4411,6 @@ Optionen: include::includes/autogen_user_options.de.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -Mit der Spell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat. -Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen. - -Die Rechtschreibprüfung ist standardmäßig deaktiviert und kann mittels dem -Tastenbefehl [Alt+s] umgeschaltet werden. - -[[spell_dictionaries]] -==== Wörterbücher - -Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden, -welches genutzt werden soll. Dies kann entweder global oder per Buffer geschehen. - -Verschiedene Wörterbücher können parallel verwendet werden. WeeChat gleicht dann -die Wörter mit allen Wörterbüchern ab, - -Um zum Beispiel Englisch und Deutsch zu nutzen: - ----- -/set spell.check.default_dict "en,de" ----- - -Es ist möglich ein anderes Wörterbuch für einen speziellen Buffer zu verwenden, zum -Beispiel in einem französischen Channel: - ----- -/spell setdict fr ----- - -Um einer Gruppe von Buffern das selbe Wörterbuch zuzuordnen, zum Beispiel das -deutsche Wörterbuch für alle Channels auf dem libera IRC Server: - ----- -/set spell.dict.irc.libera de ----- - -Für weitere Informationen, siehe den Befehl <<command_spell_spell,/spell>>. - -[[spell_speller_options]] -==== Optionen für Rechtschreibprüfung - -Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende -Option in die Sektion "option" der Aspell-Konfiguration hinzufügt. - -Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller -möglichen Optionen erhält man durch: - ----- -$ aspell config ----- - -Um zum Beispiel die Option "ignore-case" einzuschalten: - ----- -/set spell.option.ignore-case "true" ----- - -[[spell_suggestions]] -==== Rechtschreibkorrektur - -Eine Rechtschreibkorrektur wird in der Bar-Item "spell_suggest" angezeigt. -Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option -_spell.check.suggestions_ bestimmt werden. - -Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _spell.check.suggestions_ -ein Wert ≥ 0 eingestellt werden und das Bar-Item "spell_suggest" zu einer Bar, zum -Beispiel _status_, hinzufügt werden. - -Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [dies,Diebs,Viehs] │ -│[@Flashy] diehs █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/Prinz] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== Befehle - -include::includes/autogen_user_commands.de.adoc[tag=spell_commands] - -[[spell_options]] -==== Optionen - -Sektionen in Datei _spell.conf_: - -[width="100%",cols="3m,6m,16",options="header"] -|=== -| Sektion | Steuerbefehl | Beschreibung -| color | /set spell.color.* | Farben. -| check | /set spell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen. -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden). -| look | /set spell.look.* | Erscheinungsbild. -| option | /set spell.option.* | <<spell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden). -|=== - -Optionen: - -include::includes/autogen_user_options.de.adoc[tag=spell_options] - [[trigger_plugin]] === Trigger diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index a989a4487..3e64a967e 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -214,7 +214,7 @@ List of commonly used options: Build HTML documentation. | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - Compile <<spell_plugin,Spell plugin>> with Enchant. + Compile <<spell_checking,Spell plugin>> with Enchant. | ENABLE_EXEC | `ON`, `OFF` | ON | Compile <<exec_plugin,Exec plugin>>. @@ -275,7 +275,7 @@ List of commonly used options: Guile, JavaScript, PHP). | ENABLE_SPELL | `ON`, `OFF` | ON | - Compile <<spell_plugin,Spell plugin>>. + Compile <<spell_checking,Spell plugin>>. | ENABLE_TCL | `ON`, `OFF` | ON | Compile <<scripts_plugins,Tcl plugin>>. @@ -2502,6 +2502,114 @@ any gesture made using left button. You can find an event name with command `+/input grab_mouse+` then doing event with mouse. This will insert event name on command line. +[[spell_checking]] +=== Spell checking + +Spell plugin lets you check spelling in command line. It is possible to use +many languages by buffer. + +Spell checking is disabled by default and can be toggled with key kbd:[Alt+s]. + +[[spell_dictionaries]] +==== Dictionaries + +Before using spell checking, dictionaries must be defined, either globally or +specific to buffers. + +Multiple dictionaries can be used at same time: WeeChat will check words in all +dictionaries. + +For example to use English and French: + +---- +/set spell.check.default_dict "en,fr" +---- + +It is possible to use a different dictionary on a specific buffer, for example +on a German channel: + +---- +/spell setdict de +---- + +You can also specify a dictionary for a group of buffers, for example English +for all channels on libera IRC server: + +---- +/set spell.dict.irc.libera en +---- + +For more information, see the command <<command_spell_spell,/spell>>. + +[[spell_speller_options]] +==== Speller options + +Speller options can be defined by adding options in section "option" of aspell +configuration. + +The option name is an aspell configuration option. List of options can be found +in a shell with following command: + +---- +$ aspell config +---- + +For example, to enable option "ignore-case": + +---- +/set spell.option.ignore-case "true" +---- + +[[spell_suggestions]] +==== Suggestions + +Suggestions are displayed in a bar item called "spell_suggest". The number of +suggestions is set in option _spell.check.suggestions_. + +To enable suggestions you must set option _spell.check.suggestions_ to an +integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_. + +Example of suggestions with English dictionary (`en`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +Example of suggestions with English and French dictionaries (`en,fr`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== Commands + +include::includes/autogen_user_commands.en.adoc[tag=spell_commands] + +[[spell_options]] +==== Options + +Sections in file _spell.conf_: + +[width="100%",cols="3m,6m,16",options="header"] +|=== +| Section | Control command | Description +| color | /set spell.color.* | Colors. +| check | /set spell.check.* | Options to control spell checking. +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section). +| look | /set spell.look.* | Look and feel. +| option | /set spell.option.* | <<spell_speller_options,Speller options>> (options can be added/removed in section). +|=== + +Options: + +include::includes/autogen_user_options.en.adoc[tag=spell_options] + [[bars]] === Bars @@ -4178,114 +4286,6 @@ Options: include::includes/autogen_user_options.en.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -Spell plugin lets you check spelling in command line. It is possible to use -many languages by buffer. - -Spell checking is disabled by default and can be toggled with key kbd:[Alt+s]. - -[[spell_dictionaries]] -==== Dictionaries - -Before using spell checking, dictionaries must be defined, either globally or -specific to buffers. - -Multiple dictionaries can be used at same time: WeeChat will check words in all -dictionaries. - -For example to use English and French: - ----- -/set spell.check.default_dict "en,fr" ----- - -It is possible to use a different dictionary on a specific buffer, for example -on a German channel: - ----- -/spell setdict de ----- - -You can also specify a dictionary for a group of buffers, for example English -for all channels on libera IRC server: - ----- -/set spell.dict.irc.libera en ----- - -For more information, see the command <<command_spell_spell,/spell>>. - -[[spell_speller_options]] -==== Speller options - -Speller options can be defined by adding options in section "option" of aspell -configuration. - -The option name is an aspell configuration option. List of options can be found -in a shell with following command: - ----- -$ aspell config ----- - -For example, to enable option "ignore-case": - ----- -/set spell.option.ignore-case "true" ----- - -[[spell_suggestions]] -==== Suggestions - -Suggestions are displayed in a bar item called "spell_suggest". The number of -suggestions is set in option _spell.check.suggestions_. - -To enable suggestions you must set option _spell.check.suggestions_ to an -integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_. - -Example of suggestions with English dictionary (`en`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -Example of suggestions with English and French dictionaries (`en,fr`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== Commands - -include::includes/autogen_user_commands.en.adoc[tag=spell_commands] - -[[spell_options]] -==== Options - -Sections in file _spell.conf_: - -[width="100%",cols="3m,6m,16",options="header"] -|=== -| Section | Control command | Description -| color | /set spell.color.* | Colors. -| check | /set spell.check.* | Options to control spell checking. -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section). -| look | /set spell.look.* | Look and feel. -| option | /set spell.option.* | <<spell_speller_options,Speller options>> (options can be added/removed in section). -|=== - -Options: - -include::includes/autogen_user_options.en.adoc[tag=spell_options] - [[trigger_plugin]] === Trigger diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 96f91525d..705023dc9 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -218,7 +218,7 @@ Liste des options couramment utilisées : Construire la documentation HTML. | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - Compiler <<spell_plugin,l'extension Spell>> avec Enchant. + Compiler <<spell_checking,l'extension Spell>> avec Enchant. | ENABLE_EXEC | `ON`, `OFF` | ON | Compiler <<exec_plugin,l'extension Exec>>. @@ -280,7 +280,7 @@ Liste des options couramment utilisées : Lua, Tcl, Guile, JavaScript, PHP). | ENABLE_SPELL | `ON`, `OFF` | ON | - Compiler <<spell_plugin,l'extension Spell>>. + Compiler <<spell_checking,l'extension Spell>>. | ENABLE_TCL | `ON`, `OFF` | ON | Compiler <<scripts_plugins,l'extension Tcl>>. @@ -2579,6 +2579,116 @@ Vous pouvez trouver le nom de l'évènement avec la commande `+/input grab_mouse puis en faisant l'action avec la souris. Cela insérera le nom de l'évènement sur la ligne de commande. +[[spell_checking]] +=== Vérification orthographique + +L'extension Spell permet de vérifier l'orthographe de la ligne de commande. +Il est possible d'utiliser plusieurs langages par tampon. + +La vérification de l'orthographe est désactivée par défaut et peut être +activée/désactivée avec la touche kbd:[Alt+s]. + +[[spell_dictionaries]] +==== Dictionnaires + +Avant d'utiliser la vérification de l'orthographe, les dictionnaires doivent +être définis soit globalement, soit spécifiquement sur un tampon. + +Plusieurs dictionnaires peuvent être utilisés en même temps : WeeChat vérifiera +les mots dans tous les dictionnaires. + +Par exemple pour utiliser l'anglais et le français : + +---- +/set spell.check.default_dict "en,fr" +---- + +Il est possible d'utiliser un dictionnaire différent sur un tampon spécifique, +par exemple sur un canal allemand : + +---- +/spell setdict de +---- + +Vous pouvez aussi spécifier un dictionnaire pour un groupe de tampons, par +exemple l'anglais pour tous les canaux du serveur IRC libera : + +---- +/set spell.dict.irc.libera en +---- + +Pour plus d'informations, voir la commande <<command_spell_spell,/spell>>. + +[[spell_speller_options]] +==== Options du vérificateur d'orthographe + +Les options du vérificateur d'orthographe peuvent être définies en ajoutant des +options dans la section "option" de la configuration aspell. + +Le nom de l'option est une option de configuration aspell. La liste des options +peut être trouvée par la commande suivante sous le shell : + +---- +$ aspell config +---- + +Par exemple, pour activer l'option "ignore-case" : + +---- +/set spell.option.ignore-case "true" +---- + +[[spell_suggestions]] +==== Suggestions + +Les suggestions sont affichées dans un objet de barre appelé "spell_suggest". +Le nombre de suggestions est défini dans l'option _spell.check.suggestions_. + +Pour activer les suggestions, vous devez modifier l'option +_spell.check.suggestions_ avec un entier ≥ 0 et ajouter l'objet de barre +"spell_suggest" à une barre, par exemple _status_. + +Exemple de suggestions avec un dictionnaire anglais (`en`) : + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +Exemple de suggestions avec des dictionnaires anglais et français (`en,fr`) : + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== Commandes + +include::includes/autogen_user_commands.fr.adoc[tag=spell_commands] + +[[spell_options]] +==== Options + +Sections dans le fichier _spell.conf_ : + +[width="100%",cols="3m,6m,16",options="header"] +|=== +| Section | Commande de contrôle | Description +| color | /set spell.color.* | Couleurs. +| check | /set spell.check.* | Options pour contrôler la vérification orthographique. +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | Dictionnaires utilisés par tampon (les options peuvent être ajoutées/supprimées dans la section). +| look | /set spell.look.* | Aspect/présentation. +| option | /set spell.option.* | <<spell_speller_options,Options du vérificateur d'orthographe>> (les options peuvent être ajoutées/supprimées dans la section). +|=== + +Options : + +include::includes/autogen_user_options.fr.adoc[tag=spell_options] + [[bars]] === Barres @@ -4315,116 +4425,6 @@ Options : include::includes/autogen_user_options.fr.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -L'extension Spell permet de vérifier l'orthographe de la ligne de commande. -Il est possible d'utiliser plusieurs langages par tampon. - -La vérification de l'orthographe est désactivée par défaut et peut être -activée/désactivée avec la touche kbd:[Alt+s]. - -[[spell_dictionaries]] -==== Dictionnaires - -Avant d'utiliser la vérification de l'orthographe, les dictionnaires doivent -être définis soit globalement, soit spécifiquement sur un tampon. - -Plusieurs dictionnaires peuvent être utilisés en même temps : WeeChat vérifiera -les mots dans tous les dictionnaires. - -Par exemple pour utiliser l'anglais et le français : - ----- -/set spell.check.default_dict "en,fr" ----- - -Il est possible d'utiliser un dictionnaire différent sur un tampon spécifique, -par exemple sur un canal allemand : - ----- -/spell setdict de ----- - -Vous pouvez aussi spécifier un dictionnaire pour un groupe de tampons, par -exemple l'anglais pour tous les canaux du serveur IRC libera : - ----- -/set spell.dict.irc.libera en ----- - -Pour plus d'informations, voir la commande <<command_spell_spell,/spell>>. - -[[spell_speller_options]] -==== Options du vérificateur d'orthographe - -Les options du vérificateur d'orthographe peuvent être définies en ajoutant des -options dans la section "option" de la configuration aspell. - -Le nom de l'option est une option de configuration aspell. La liste des options -peut être trouvée par la commande suivante sous le shell : - ----- -$ aspell config ----- - -Par exemple, pour activer l'option "ignore-case" : - ----- -/set spell.option.ignore-case "true" ----- - -[[spell_suggestions]] -==== Suggestions - -Les suggestions sont affichées dans un objet de barre appelé "spell_suggest". -Le nombre de suggestions est défini dans l'option _spell.check.suggestions_. - -Pour activer les suggestions, vous devez modifier l'option -_spell.check.suggestions_ avec un entier ≥ 0 et ajouter l'objet de barre -"spell_suggest" à une barre, par exemple _status_. - -Exemple de suggestions avec un dictionnaire anglais (`en`) : - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -Exemple de suggestions avec des dictionnaires anglais et français (`en,fr`) : - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== Commandes - -include::includes/autogen_user_commands.fr.adoc[tag=spell_commands] - -[[spell_options]] -==== Options - -Sections dans le fichier _spell.conf_ : - -[width="100%",cols="3m,6m,16",options="header"] -|=== -| Section | Commande de contrôle | Description -| color | /set spell.color.* | Couleurs. -| check | /set spell.check.* | Options pour contrôler la vérification orthographique. -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | Dictionnaires utilisés par tampon (les options peuvent être ajoutées/supprimées dans la section). -| look | /set spell.look.* | Aspect/présentation. -| option | /set spell.option.* | <<spell_speller_options,Options du vérificateur d'orthographe>> (les options peuvent être ajoutées/supprimées dans la section). -|=== - -Options : - -include::includes/autogen_user_options.fr.adoc[tag=spell_options] - [[trigger_plugin]] === Trigger diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 82d0ad53c..9cdc7203b 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -252,7 +252,7 @@ List of commonly used options: Build HTML documentation. | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - Compile <<spell_plugin,Spell plugin>> with Enchant. + Compile <<spell_checking,Spell plugin>> with Enchant. | ENABLE_EXEC | `ON`, `OFF` | ON | Compile <<exec_plugin,Exec plugin>>. @@ -314,7 +314,7 @@ List of commonly used options: Guile, JavaScript, PHP). | ENABLE_SPELL | `ON`, `OFF` | ON | - Compile <<spell_plugin,Spell plugin>>. + Compile <<spell_checking,Spell plugin>>. | ENABLE_TCL | `ON`, `OFF` | ON | Compile <<scripts_plugins,Tcl plugin>>. @@ -2719,6 +2719,122 @@ poi eseguire l'evento col mouse. Il comando inserisce il nome dell'evento nella riga di comando. // TRANSLATION MISSING +[[spell_checking]] +=== Spell checking + +Il plugin Spell consente di verificare l'ortografia nella riga di comando. +È possibile utilizzare più lingue per buffer. + +// TRANSLATION MISSING +Spell checking is disabled by default and can be toggled with key kbd:[Alt+s]. + +// TRANSLATION MISSING +[[spell_dictionaries]] +==== Dictionaries + +Before using spell checking, dictionaries must be defined, either globally or +specific to buffers. + +Multiple dictionaries can be used at same time: WeeChat will check words in all +dictionaries. + +For example to use English and French: + +---- +/set spell.check.default_dict "en,fr" +---- + +It is possible to use a different dictionary on a specific buffer, for example +on a German channel: + +---- +/spell setdict de +---- + +// TRANSLATION MISSING +You can also specify a dictionary for a group of buffers, for example English +for all channels on libera IRC server: + +---- +/set spell.dict.irc.libera en +---- + +For more information, see the command <<command_spell_spell,/spell>>. + +[[spell_speller_options]] +==== Opzioni ortografiche + +Le opzioni ortografiche possono essere definite aggiungendo opzioni nella +sezione "opzioni" della configurazione di aspell. + +Il nome dell'opzione è un parametro di configurazione per aspell. L'elenco +delle opzioni disponibili può essere trovato nel terminale col seguente comando: + +---- +$ aspell config +---- + +Ad esempio, per abilitare l'opzione "ignore-case": + +---- +/set spell.option.ignore-case "true" +---- + +// TRANSLATION MISSING +[[spell_suggestions]] +==== Suggestions + +Suggestions are displayed in a bar item called "spell_suggest". The number of +suggestions is set in option _spell.check.suggestions_. + +To enable suggestions you must set option _spell.check.suggestions_ to an +integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_. + +Example of suggestions with English dictionary (`en`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +Example of suggestions with English and French dictionaries (`en,fr`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== Comandi + +include::includes/autogen_user_commands.it.adoc[tag=spell_commands] + +[[spell_options]] +==== Opzioni + +// TRANSLATION MISSING +Sections in file _spell.conf_: + +// TRANSLATION MISSING +[width="100%",cols="3m,6m,16",options="header"] +|=== +| Section | Control command | Description +| color | /set spell.color.* | Colors. +| check | /set spell.check.* | Options to control spell checking. +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section). +| look | /set spell.look.* | Look and feel. +| option | /set spell.option.* | <<spell_speller_options,Opzioni ortografiche>> (options can be added/removed in section). +|=== + +// TRANSLATION MISSING +Options: + +include::includes/autogen_user_options.it.adoc[tag=spell_options] + +// TRANSLATION MISSING [[bars]] === Bars @@ -4533,121 +4649,6 @@ Options: include::includes/autogen_user_options.it.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -Il plugin Spell consente di verificare l'ortografia nella riga di comando. -È possibile utilizzare più lingue per buffer. - -// TRANSLATION MISSING -Spell checking is disabled by default and can be toggled with key kbd:[Alt+s]. - -// TRANSLATION MISSING -[[spell_dictionaries]] -==== Dictionaries - -Before using spell checking, dictionaries must be defined, either globally or -specific to buffers. - -Multiple dictionaries can be used at same time: WeeChat will check words in all -dictionaries. - -For example to use English and French: - ----- -/set spell.check.default_dict "en,fr" ----- - -It is possible to use a different dictionary on a specific buffer, for example -on a German channel: - ----- -/spell setdict de ----- - -// TRANSLATION MISSING -You can also specify a dictionary for a group of buffers, for example English -for all channels on libera IRC server: - ----- -/set spell.dict.irc.libera en ----- - -For more information, see the command <<command_spell_spell,/spell>>. - -[[spell_speller_options]] -==== Opzioni ortografiche - -Le opzioni ortografiche possono essere definite aggiungendo opzioni nella -sezione "opzioni" della configurazione di aspell. - -Il nome dell'opzione è un parametro di configurazione per aspell. L'elenco -delle opzioni disponibili può essere trovato nel terminale col seguente comando: - ----- -$ aspell config ----- - -Ad esempio, per abilitare l'opzione "ignore-case": - ----- -/set spell.option.ignore-case "true" ----- - -// TRANSLATION MISSING -[[spell_suggestions]] -==== Suggestions - -Suggestions are displayed in a bar item called "spell_suggest". The number of -suggestions is set in option _spell.check.suggestions_. - -To enable suggestions you must set option _spell.check.suggestions_ to an -integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_. - -Example of suggestions with English dictionary (`en`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -Example of suggestions with English and French dictionaries (`en,fr`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== Comandi - -include::includes/autogen_user_commands.it.adoc[tag=spell_commands] - -[[spell_options]] -==== Opzioni - -// TRANSLATION MISSING -Sections in file _spell.conf_: - -// TRANSLATION MISSING -[width="100%",cols="3m,6m,16",options="header"] -|=== -| Section | Control command | Description -| color | /set spell.color.* | Colors. -| check | /set spell.check.* | Options to control spell checking. -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section). -| look | /set spell.look.* | Look and feel. -| option | /set spell.option.* | <<spell_speller_options,Opzioni ortografiche>> (options can be added/removed in section). -|=== - -// TRANSLATION MISSING -Options: - -include::includes/autogen_user_options.it.adoc[tag=spell_options] - // TRANSLATION MISSING [[trigger_plugin]] === Trigger diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index e03d5ec87..a58ea4d1a 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -224,7 +224,7 @@ CMake に対するオプションを指定するには、以下の書式を使 HTML 文書のコンパイル。 | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - Enchant と含めた <<spell_plugin,Spell プラグイン>>のコンパイル。 + Enchant と含めた <<spell_checking,Spell プラグイン>>のコンパイル。 | ENABLE_EXEC | `ON`, `OFF` | ON | <<exec_plugin,Exec プラグイン>>のコンパイル。 @@ -286,7 +286,7 @@ CMake に対するオプションを指定するには、以下の書式を使 (Python、Perl、Ruby、Lua、Tcl、Guile、JavaScript、PHP) のコンパイル。 | ENABLE_SPELL | `ON`, `OFF` | ON | - <<spell_plugin,Spell プラグイン>>のコンパイル。 + <<spell_checking,Spell プラグイン>>のコンパイル。 | ENABLE_TCL | `ON`, `OFF` | ON | <<scripts_plugins,Tcl プラグイン>>のコンパイル。 @@ -2607,6 +2607,113 @@ WeeChat はデフォルトマウスイベントの多くを定義しています `+/input grab_mouse+` コマンドの後にマウスを動かすことでコマンドラインにマウスイベントが入力されます。これにより対応するイベントを確認できます。 +// TRANSLATION MISSING +[[spell_checking]] +=== Spell checking + +Spell +プラグインを使うことで、コマンドラインに入力した文字列のスペルチェックができます。バッファごとに異なる言語に対するスペルチェックを実行できます。 + +スペルチェック機能はデフォルトで無効化されています。kbd:[Alt+s] で有効無効を切り替える事が可能です。 + +[[spell_dictionaries]] +==== 辞書 + +スペルチェック機能を使う前に、すべてのバッファまたは特定のバッファに対して辞書を定義しなければいけません。 + +同時に複数の辞書を使用可能です: +WeeChat はすべての辞書を使って単語をチェックします。 + +英語とフランス語の辞書を使う例: + +---- +/set spell.check.default_dict "en,fr" +---- + +特定のバッファで使用する辞書を定義することも可能です。ドイツ語のチャンネルでドイツ語の辞書を使う例: + +---- +/spell setdict de +---- + +バッファグループに対して特定の辞書を指定することも可能です。libera +IRC サーバに対して英語の辞書を使う例: + +---- +/set spell.dict.irc.libera en +---- + +詳しい情報はコマンド <<command_spell_spell,/spell>> を参照してください。 + +[[spell_speller_options]] +==== Speller オプション + +Speller オプションは aspell 設定の "option" +セクションにあるオプションを追加して定義します。 + +ここで利用するオプション名は aspell +設定オプションと同じものです。オプションのリストはシェルで以下のコマンドを実行することで確認できます: + +---- +$ aspell config +---- + +例えば、"ignore-case" オプションを有効化するには: + +---- +/set spell.option.ignore-case "true" +---- + +[[spell_suggestions]] +==== 修正候補 + +"spell_suggest" バー要素内に修正候補が表示されます。修正候補の数は +_spell.check.suggestions_ オプションで設定します。 + +修正候補を利用するには、_spell.check.suggestions_ オプションをゼロ以上の整数に設定し、_status_ +バーなどに "spell_suggest" バー要素を追加してください。 + +英語辞書 (`en`) を用いた修正候補の例: + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +英語とフランス語辞書 (`en,fr`) を用いた修正候補の例: + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== コマンド + +include::includes/autogen_user_commands.ja.adoc[tag=spell_commands] + +[[spell_options]] +==== オプション + +_spell.conf_ ファイル内のセクション: + +[width="100%",cols="3m,6m,16",options="header"] +|=== +| セクション | 操作コマンド | 説明 +| color | /set spell.color.* | 色 +| check | /set spell.check.* | スペルチェックの操作コマンド +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | バッファが利用するディレクトリ (オプションをセクションに追加/削除出来ます) +| look | /set spell.look.* | 外観 +| option | /set spell.option.* | <<spell_speller_options,Speller オプション>> (オプションをセクションに追加/削除出来ます) +|=== + +オプション: + +include::includes/autogen_user_options.ja.adoc[tag=spell_options] + [[bars]] === バー @@ -4312,112 +4419,6 @@ _php.conf_ ファイル内のセクション: include::includes/autogen_user_options.ja.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -Spell -プラグインを使うことで、コマンドラインに入力した文字列のスペルチェックができます。バッファごとに異なる言語に対するスペルチェックを実行できます。 - -スペルチェック機能はデフォルトで無効化されています。kbd:[Alt+s] で有効無効を切り替える事が可能です。 - -[[spell_dictionaries]] -==== 辞書 - -スペルチェック機能を使う前に、すべてのバッファまたは特定のバッファに対して辞書を定義しなければいけません。 - -同時に複数の辞書を使用可能です: -WeeChat はすべての辞書を使って単語をチェックします。 - -英語とフランス語の辞書を使う例: - ----- -/set spell.check.default_dict "en,fr" ----- - -特定のバッファで使用する辞書を定義することも可能です。ドイツ語のチャンネルでドイツ語の辞書を使う例: - ----- -/spell setdict de ----- - -バッファグループに対して特定の辞書を指定することも可能です。libera -IRC サーバに対して英語の辞書を使う例: - ----- -/set spell.dict.irc.libera en ----- - -詳しい情報はコマンド <<command_spell_spell,/spell>> を参照してください。 - -[[spell_speller_options]] -==== Speller オプション - -Speller オプションは aspell 設定の "option" -セクションにあるオプションを追加して定義します。 - -ここで利用するオプション名は aspell -設定オプションと同じものです。オプションのリストはシェルで以下のコマンドを実行することで確認できます: - ----- -$ aspell config ----- - -例えば、"ignore-case" オプションを有効化するには: - ----- -/set spell.option.ignore-case "true" ----- - -[[spell_suggestions]] -==== 修正候補 - -"spell_suggest" バー要素内に修正候補が表示されます。修正候補の数は -_spell.check.suggestions_ オプションで設定します。 - -修正候補を利用するには、_spell.check.suggestions_ オプションをゼロ以上の整数に設定し、_status_ -バーなどに "spell_suggest" バー要素を追加してください。 - -英語辞書 (`en`) を用いた修正候補の例: - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -英語とフランス語辞書 (`en,fr`) を用いた修正候補の例: - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== コマンド - -include::includes/autogen_user_commands.ja.adoc[tag=spell_commands] - -[[spell_options]] -==== オプション - -_spell.conf_ ファイル内のセクション: - -[width="100%",cols="3m,6m,16",options="header"] -|=== -| セクション | 操作コマンド | 説明 -| color | /set spell.color.* | 色 -| check | /set spell.check.* | スペルチェックの操作コマンド -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | バッファが利用するディレクトリ (オプションをセクションに追加/削除出来ます) -| look | /set spell.look.* | 外観 -| option | /set spell.option.* | <<spell_speller_options,Speller オプション>> (オプションをセクションに追加/削除出来ます) -|=== - -オプション: - -include::includes/autogen_user_options.ja.adoc[tag=spell_options] - [[trigger_plugin]] === Trigger diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 0350d21c2..c234a1aec 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -220,7 +220,7 @@ Lista popularnych opcji: Generowanie dokumentacji HTML. | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - Kompilacja <<spell_plugin,wtyczki spell>> z Enchant. + Kompilacja <<spell_checking,wtyczki spell>> z Enchant. | ENABLE_EXEC | `ON`, `OFF` | ON | Kompilacja <<exec_plugin,wtyczki exec>>. @@ -281,7 +281,7 @@ Lista popularnych opcji: Tcl, Guile, JavaScript, PHP). | ENABLE_SPELL | `ON`, `OFF` | ON | - Kompilacja <<spell_plugin,wtyczki spell>>. + Kompilacja <<spell_checking,wtyczki spell>>. | ENABLE_TCL | `ON`, `OFF` | ON | Kompilacja <<scripts_plugins,wtyczki tcl>>. @@ -2550,6 +2550,115 @@ przycisku myszy. Możesz znaleźć nazwę zdarzenia za pomocą komendy `+/input grab_mouse+` wykonując następnie zdarzenie za pomocą myszy. Umieści to zdarzenie w linii poleceń. +// TRANSLATION MISSING +[[spell_checking]] +=== Spell checking + +Wtyczka spell pozwala na sprawdzanie pisowni w linii poleceń. Możliwe jest +ustawienie wielu języków dla bufora. + +Sprawdzenie pisowni jest domyślnie wyłączone i możę być przełączone za pomocą kbd:[Alt+s]. + +[[spell_dictionaries]] +==== Słowniki + +Przed użyciem sprawdzania pisowni należy zdefiniować słowniki można to zrobić +zarówno globalnie jak i dla poszczególnych buforów. + +Możliwe jest użycie kilku słowników równocześnie: WeeChat sprawdzi słowa we wszystkich +słownikach. + +Na przykład dla angielskiego i francuskiego: + +---- +/set spell.check.default_dict "en,fr" +---- + +Możliwe jest użycie innego słownika dla konkretnego buforu, na przykład na kanale +niemieckojęzycnzym: + +---- +/spell setdict de +---- + +Możesz również ustawić słownik dla grupy buforów, na przykład angielski dla +wsystkich kanałów na serwerze IRC libera: + +---- +/set spell.dict.irc.libera en +---- + +Więcej informacji można znaleźć w opisie komendy <<command_spell_spell,/spell>>. + +[[spell_speller_options]] +==== Opcje słowników + +Opcje słowników mogą zostać zdefiniowane poprzez dodanie opcji w sekcji "option" +dla konfiguracji aspell. + +Nazwa opcji to nazwa opcji konfiguracyjnej aspell. Listę opcji można uzyskać +wykonując w powłoce następującą komendę: + +---- +$ aspell config +---- + +Na przykład, aby włączyć opcję "ignore-case": + +---- +/set spell.option.ignore-case "true" +---- + +[[spell_suggestions]] +==== Sugestie + +Sugestie są wyświetlane w elemencie paska "spell_suggest". Ilość wyświetlanych +sugestii można ustawić za pomocą opcji _spell.check.suggestions_. + +Aby włączyć sugestie trzeba ustawić opcję _spell.check.suggestions_ na liczbę +≥ 0 i dodać element "spell_suggest" do jakiegoś paska, jak _status_. + +Przykład sugestii z angielskim słownikiem (`en`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +Przykład sugestii ze słownikami angielskim i francuskim (`en,fr`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== Komendy + +include::includes/autogen_user_commands.pl.adoc[tag=spell_commands] + +[[spell_options]] +==== Opcje + +Sekcje w pliku _spell.conf_: + +[width="100%",cols="3m,6m,16",options="header"] +|=== +| Sekcja | Komenda | Opis +| color | /set spell.color.* | Kolory. +| check | /set spell.check.* | Opcje do kontrolowania sprawdzania pisowni. +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | Słowniki używane w buforze (opcje w tej sekcji mogą być dodawane/usuwane). +| look | /set spell.look.* | Wygląd. +| option | /set spell.option.* | <<spell_speller_options,Opcje słowników>> (opcje w tej sekcji mogą być dodawane/usuwane). +|=== + +Opcje: + +include::includes/autogen_user_options.pl.adoc[tag=spell_options] + [[bars]] === Paski @@ -4244,114 +4353,6 @@ Opcje: include::includes/autogen_user_options.pl.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -Wtyczka spell pozwala na sprawdzanie pisowni w linii poleceń. Możliwe jest -ustawienie wielu języków dla bufora. - -Sprawdzenie pisowni jest domyślnie wyłączone i możę być przełączone za pomocą kbd:[Alt+s]. - -[[spell_dictionaries]] -==== Słowniki - -Przed użyciem sprawdzania pisowni należy zdefiniować słowniki można to zrobić -zarówno globalnie jak i dla poszczególnych buforów. - -Możliwe jest użycie kilku słowników równocześnie: WeeChat sprawdzi słowa we wszystkich -słownikach. - -Na przykład dla angielskiego i francuskiego: - ----- -/set spell.check.default_dict "en,fr" ----- - -Możliwe jest użycie innego słownika dla konkretnego buforu, na przykład na kanale -niemieckojęzycnzym: - ----- -/spell setdict de ----- - -Możesz również ustawić słownik dla grupy buforów, na przykład angielski dla -wsystkich kanałów na serwerze IRC libera: - ----- -/set spell.dict.irc.libera en ----- - -Więcej informacji można znaleźć w opisie komendy <<command_spell_spell,/spell>>. - -[[spell_speller_options]] -==== Opcje słowników - -Opcje słowników mogą zostać zdefiniowane poprzez dodanie opcji w sekcji "option" -dla konfiguracji aspell. - -Nazwa opcji to nazwa opcji konfiguracyjnej aspell. Listę opcji można uzyskać -wykonując w powłoce następującą komendę: - ----- -$ aspell config ----- - -Na przykład, aby włączyć opcję "ignore-case": - ----- -/set spell.option.ignore-case "true" ----- - -[[spell_suggestions]] -==== Sugestie - -Sugestie są wyświetlane w elemencie paska "spell_suggest". Ilość wyświetlanych -sugestii można ustawić za pomocą opcji _spell.check.suggestions_. - -Aby włączyć sugestie trzeba ustawić opcję _spell.check.suggestions_ na liczbę -≥ 0 i dodać element "spell_suggest" do jakiegoś paska, jak _status_. - -Przykład sugestii z angielskim słownikiem (`en`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -Przykład sugestii ze słownikami angielskim i francuskim (`en,fr`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== Komendy - -include::includes/autogen_user_commands.pl.adoc[tag=spell_commands] - -[[spell_options]] -==== Opcje - -Sekcje w pliku _spell.conf_: - -[width="100%",cols="3m,6m,16",options="header"] -|=== -| Sekcja | Komenda | Opis -| color | /set spell.color.* | Kolory. -| check | /set spell.check.* | Opcje do kontrolowania sprawdzania pisowni. -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | Słowniki używane w buforze (opcje w tej sekcji mogą być dodawane/usuwane). -| look | /set spell.look.* | Wygląd. -| option | /set spell.option.* | <<spell_speller_options,Opcje słowników>> (opcje w tej sekcji mogą być dodawane/usuwane). -|=== - -Opcje: - -include::includes/autogen_user_options.pl.adoc[tag=spell_options] - [[trigger_plugin]] === Trigger diff --git a/doc/sr/weechat_user.sr.adoc b/doc/sr/weechat_user.sr.adoc index bf65b6fda..4765f2228 100644 --- a/doc/sr/weechat_user.sr.adoc +++ b/doc/sr/weechat_user.sr.adoc @@ -198,7 +198,7 @@ $ make install Изграђује HTML документацију. | ENABLE_ENCHANT | `ON`, `OFF` | OFF | - Компајлира <<spell_plugin,Spell додатак>> са Enchant. + Компајлира <<spell_checking,Spell додатак>> са Enchant. | ENABLE_EXEC | `ON`, `OFF` | ON | Компајлира <<exec_plugin,Exec додатак>>. @@ -259,7 +259,7 @@ $ make install Guile, JavaScript, PHP). | ENABLE_SPELL | `ON`, `OFF` | ON | - Компајлира <<spell_plugin,Spell додатак>>. + Компајлира <<spell_checking,Spell додатак>>. | ENABLE_TCL | `ON`, `OFF` | ON | Компајлира <<scripts_plugins,Tcl додатак>>. @@ -2369,6 +2369,106 @@ include::includes/autogen_user_options.sr.adoc[tag=logger_options] [TIP] Име догађаја можете сазнати командом `+/input grab_mouse+`, па извршавањем догађаја мишем. Ово ће да уметне име догађаја који сете извели у командну линију. +// TRANSLATION MISSING +[[spell_checking]] +=== Spell checking + +Spell додатак вам омогућава да проверите правопис у командној линији. У баферу можете да користите више језика. + +Подразумевано је провера правописа искључена и стање активности може да се мења тастером kbd:[Alt+s]. + +[[spell_dictionaries]] +==== Речници + +Пре него што будете могли да користите проверу правописа, морате да дефинишете речнике, или глобално, или посебно за бафере. + +У исто време можете да користити више речника: програм WeeChat ће проверавати речи у свим речницима. + +На пример, ако желите да користите енглески и француски: + +---- +/set spell.check.default_dict "en,fr" +---- + +Могуће је да у одређеном баферу користите различити речник, на пример, на немачком каналу: + +---- +/spell setdict de +---- + +Можете такође да наведете и речник за групу бафера, на пример енглески на свим каналима IRC сервера libera: + +---- +/set spell.dict.irc.libera en +---- + +За више информација, погледајте команду <<command_spell_spell,/spell>>. + +[[spell_speller_options]] +==== Опције модула за проверу правописа + +Опције модула за проверу правописа могу да се дефинишу додавањем опција у одељак „option” aspell конфигурације. + +Име опције је aspell конфигурациона опција. Листа опција може да се пронађе у командном окружењу помоћу следеће команде: + +---- +$ aspell config +---- + +На пример, ако желите да укључите опцију „ignore-case”: + +---- +/set spell.option.ignore-case "true" +---- + +[[spell_suggestions]] +==== Предлози + +Предлози се приказују у ставки траке под именом „spell_suggest”. Број предлога се поставља у опцији _spell.check.suggestions_. + +Да бисте укључили предлоге морате поставити вредност опције _spell.check.suggestions_ на цео број ≥ 0 и да додате ставку траке „spell_suggest” у неку траку, као на пример у _status_. + +Пример предлога са енглеским речником (`en`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +Пример предлога са енглеским и француским речницима (`en,fr`): + +.... +│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ +│[@Flashy] prinr █ │ +└─────────────────────────────────────────────────────────────────────────────────┘ +.... + +[[spell_commands]] +==== Команде + +include::includes/autogen_user_commands.sr.adoc[tag=spell_commands] + +[[spell_options]] +==== Опције + +Одељци у фајлу _spell.conf_: + +[width="100%", cols="3m,6m,16", options="header"] +|=== +| Одељак | Команда за контролу | Опис +| color | /set spell.color.* | Боје. +| check | /set spell.check.* | Опције за контролу провере правописа. +| dict | <<command_spell_spell,/spell setdict>> + + /set spell.dict.* | Речници који се користе у баферу (у одељку је могуће додавање/уклањање опција). +| look | /set spell.look.* | Изглед и осећај. +| option | /set spell.option.* | <<spell_speller_options,Опције модула проверу правописа>> (у одељку је могуће додавање/уклањање опција). +|=== + +Опције: + +include::includes/autogen_user_options.sr.adoc[tag=spell_options] + [[bars]] === Траке @@ -3932,105 +4032,6 @@ include::includes/autogen_user_options.sr.adoc[tag=javascript_options] include::includes/autogen_user_options.sr.adoc[tag=php_options] -[[spell_plugin]] -=== Spell - -Spell додатак вам омогућава да проверите правопис у командној линији. У баферу можете да користите више језика. - -Подразумевано је провера правописа искључена и стање активности може да се мења тастером kbd:[Alt+s]. - -[[spell_dictionaries]] -==== Речници - -Пре него што будете могли да користите проверу правописа, морате да дефинишете речнике, или глобално, или посебно за бафере. - -У исто време можете да користити више речника: програм WeeChat ће проверавати речи у свим речницима. - -На пример, ако желите да користите енглески и француски: - ----- -/set spell.check.default_dict "en,fr" ----- - -Могуће је да у одређеном баферу користите различити речник, на пример, на немачком каналу: - ----- -/spell setdict de ----- - -Можете такође да наведете и речник за групу бафера, на пример енглески на свим каналима IRC сервера libera: - ----- -/set spell.dict.irc.libera en ----- - -За више информација, погледајте команду <<command_spell_spell,/spell>>. - -[[spell_speller_options]] -==== Опције модула за проверу правописа - -Опције модула за проверу правописа могу да се дефинишу додавањем опција у одељак „option” aspell конфигурације. - -Име опције је aspell конфигурациона опција. Листа опција може да се пронађе у командном окружењу помоћу следеће команде: - ----- -$ aspell config ----- - -На пример, ако желите да укључите опцију „ignore-case”: - ----- -/set spell.option.ignore-case "true" ----- - -[[spell_suggestions]] -==== Предлози - -Предлози се приказују у ставки траке под именом „spell_suggest”. Број предлога се поставља у опцији _spell.check.suggestions_. - -Да бисте укључили предлоге морате поставити вредност опције _spell.check.suggestions_ на цео број ≥ 0 и да додате ставку траке „spell_suggest” у неку траку, као на пример у _status_. - -Пример предлога са енглеским речником (`en`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -Пример предлога са енглеским и француским речницима (`en,fr`): - -.... -│[12:55] [6] [irc/libera] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │ -│[@Flashy] prinr █ │ -└─────────────────────────────────────────────────────────────────────────────────┘ -.... - -[[spell_commands]] -==== Команде - -include::includes/autogen_user_commands.sr.adoc[tag=spell_commands] - -[[spell_options]] -==== Опције - -Одељци у фајлу _spell.conf_: - -[width="100%", cols="3m,6m,16", options="header"] -|=== -| Одељак | Команда за контролу | Опис -| color | /set spell.color.* | Боје. -| check | /set spell.check.* | Опције за контролу провере правописа. -| dict | <<command_spell_spell,/spell setdict>> + - /set spell.dict.* | Речници који се користе у баферу (у одељку је могуће додавање/уклањање опција). -| look | /set spell.look.* | Изглед и осећај. -| option | /set spell.option.* | <<spell_speller_options,Опције модула проверу правописа>> (у одељку је могуће додавање/уклањање опција). -|=== - -Опције: - -include::includes/autogen_user_options.sr.adoc[tag=spell_options] - [[trigger_plugin]] === Окидач |