1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

spell: rename "aspell" plugin to "spell" (issue #1299)

The following things have been renamed:

- file aspell.conf -> spell.conf
- options aspell.* -> spell.*
- bar item aspell_dict -> spell_dict
- bar item and local variable aspell_suggest -> spell_suggest
- info aspell_dict -> spell_dict
This commit is contained in:
Sébastien Helleu
2019-01-27 14:59:22 +01:00
parent e8159298ad
commit 57aa9e060e
96 changed files with 2070 additions and 2011 deletions
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
configurační soubor pro _alias_ plugin
$HOME/.weechat/aspell.conf::
konfigurační soubor pro _aspell_ plugin
$HOME/.weechat/buflist.conf::
konfigurační soubor pro _buflist_ plugin
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
konfigurační soubor pro _script_ plugin
$HOME/.weechat/spell.conf::
konfigurační soubor pro _spell_ plugin
$HOME/.weechat/tcl.conf::
konfigurační soubor pro _tcl_ plugin
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | Wert von Alias
| aspell | aspell_dicts | Auflistung der installierten Wörterbücher
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
| exec | exec_commands_ids | IDs (Nummern und Namen) von ausgeführten Befehlen
| fset | fset_options | Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen
@@ -86,6 +82,10 @@
| script | script_tags | Schlagwortliste für Skripten im Repositorium
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | Liste der Skripten
| trigger | trigger_hook_arguments | Standardargumente für einen Hook
+2 -2
View File
@@ -6,8 +6,6 @@
|===
| Erweiterung | Name | Beschreibung | Argumente
| aspell | aspell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| fifo | fifo_filename | Name der FIFO-Pipe | -
| guile | guile_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
@@ -74,6 +72,8 @@
| ruby | ruby_version | Version des verwendeten Interpreters | -
| spell | spell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| tcl | tcl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
| tcl | tcl_interpreter | Name des verwendeten Interpreters | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: Konfiguration für Aspell-Erweiterung
----
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: Aspell wird aktiviert
disable: Aspell wird deaktiviert
toggle: Aspell Funktionalität umschalten
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
deldict: Wörterbuch für den aktuellen Buffer entfernen
addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu
Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands).
Um sich eine Liste von Vorschlägen in einer Bar anzeigen zu lassen nutzt man das Item "aspell_suggest".
Um Aspell auf alle Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und Aspell aktiviert werden:
/set aspell.check.default_dict "de_DE-neu"
/aspell enable
Die Standardtastaturbelegung zum Umschalten der Aspell Funktionalität lautet alt-s.
----
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: spell plugin configuration
----
/spell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
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)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
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
To display a list of suggestions in a bar, use item "spell_suggest".
Default key to toggle spell checker is alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** Beschreibung: pass:none[durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** Beschreibung: pass:none[Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde. Wird kein Wörterbuch angegeben dann ist Aspell in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** Beschreibung: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** Beschreibung: pass:none[Überprüfe Wörter während im Buffer nach einem Text gesucht wird]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** Beschreibung: pass:none[Aspell wird für die Eingabezeile aktiviert]
* [[option_spell.check.enabled]] *spell.check.enabled*
** Beschreibung: pass:none[enable spell checker for command line]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** Beschreibung: pass:none[Eine Korrektur findet während der Texteingabe statt (da dies langsamer ist, ist diese Funktion standardmäßig deaktiviert. Wörter werden erst überprüft sobald ein Leerzeichen dem vorangegangenen Wort folgt)]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** Beschreibung: pass:none[legt die Anzahl an Vorschlägen, für ein falsch geschriebenes Wort, fest. Die Vorschläge werden mittels der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), die für den Buffer augewählt wurden, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge, für alle ausgewählten Sprachen, an)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** Beschreibung: pass:none[number of suggestions to display in bar item "spell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
** Typ: integer
** Werte: -1 .. 2147483647
** Standardwert: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** Beschreibung: pass:none[Mindestlänge für ein Wort, welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)]
** Typ: integer
** Werte: 0 .. 2147483647
** Standardwert: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** Beschreibung: pass:none[Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll (Eingabezeile)]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** Beschreibung: pass:none[Textfarbe für die Vorschläge der Rechtsschreibkorrektur in der Bar-Item "aspell_suggest"]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** Beschreibung: pass:none[text color for suggestion on a misspelled word in bar item "spell_suggest"]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** Beschreibung: pass:none[Textfarbe für das Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** Beschreibung: pass:none[text color for delimiters displayed between two dictionaries in bar item "spell_suggest"]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** Beschreibung: pass:none[Textfarbe für das Trennzeichen zwischen zwei Wörtern in der Bar-Item "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** Beschreibung: pass:none[text color for delimiters displayed between two words in bar item "spell_suggest"]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** Beschreibung: pass:none[delimiter displayed between two dictionaries in bar item "spell_suggest"]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörtern dargestellt wird]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** Beschreibung: pass:none[delimiter displayed between two words in bar item "spell_suggest"]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+","+`
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
Konfigurationsdatei für _alias_ Erweiterung
$HOME/.weechat/aspell.conf::
Konfigurationsdatei für _aspell_ Erweiterung
$HOME/.weechat/buflist.conf::
Konfigurationsdatei für _buflist_ Erweiterung
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
Konfigurationsdatei für _script_ Erweiterung
$HOME/.weechat/spell.conf::
Konfigurationsdatei für _spell_ Erweiterung
$HOME/.weechat/tcl.conf::
Konfigurationsdatei für _tcl_ Erweiterung
+12 -7
View File
@@ -1005,15 +1005,20 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== Ich habe aspell Wörterbücher auf mein System installiert. Wie kann ich diese nutzen, ohne WeeChat neu starten zu müssen?
Du braucht lediglich die aspell Erweiterung neu zu laden:
Du braucht lediglich die spell Erweiterung neu zu laden:
----
/plugin reload aspell
/plugin reload spell
----
// TRANSLATION MISSING
[NOTE]
With WeeChat ≤ 2.3, the "spell" plugin was named "aspell", so the command is:
`/plugin reload aspell`.
[[settings]]
== Einstellungen
@@ -1045,9 +1050,9 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
weniger Speicherlecks besitzt, als eine vorherige Version)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Buflist,
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Xfer (wird für
DCC benötigst), siehe `/help weechat.plugin.autoload`.
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: Buflist,
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Spell, Xfer
(wird für DCC benötigst), siehe `/help weechat.plugin.autoload`.
* installiere ausschließlich Skripten die Du auch nutzt
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
Fall, einfach den Eintrag in folgender Option leer lassen:
@@ -1067,7 +1072,7 @@ und zusätzlich diese Tipps beherzigen:
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
`/set weechat.look.item_time_format "%H:%M"` (dies ist die Standardeinstellung)
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
`/set aspell.check.real_time off`
`/set spell.check.real_time off`
* die Umgebungsvariable _TZ_ sollte gesetzt sein (zum Beispiel: `export TZ="Europe/Berlin"`). Dadurch wird
verhindert, dass auf die Datei _/etc/localtime_ häufig zugegriffen wird.
+38 -37
View File
@@ -114,7 +114,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch).
| ca-certificates | | | Zertifikate für SSL Verbindungen.
| libaspell-dev
∥ libenchant-dev | | | Aspell Erweiterung.
∥ libenchant-dev | | | Spell Erweiterung.
| python-dev | ≥ 2.6 ^(4)^ | | Python Erweiterung.
| libperl-dev | | | Perl Erweiterung.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby Erweiterung.
@@ -200,9 +200,6 @@ Liste von häufig verwendeten Optionen:
| ENABLE_ALIAS | `ON`, `OFF` | ON |
kompiliert <<alias_plugin,Alias Erweiterung>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
kompiliert <<aspell_plugin,Aspell Erweiterung>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
kompiliert <<buflist_plugin,Buflist Erweiterung>>.
@@ -218,7 +215,7 @@ Liste von häufig verwendeten Optionen:
Dokumentation nicht auf der Homepage abrufen kann).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
kompiliert <<aspell_plugin,Aspell plugin>> mittels Enchant.
kompiliert <<spell_plugin,Spell plugin>> mittels Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
kompiliert <<exec_plugin,Exec Erweiterung>>.
@@ -282,6 +279,9 @@ Liste von häufig verwendeten Optionen:
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
Lua, Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
kompiliert <<spell_plugin,Spell Erweiterung>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
@@ -572,7 +572,6 @@ Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
| sec.conf | Konfigurationsdatei mit sensiblen Daten | *Ja, hoch sensibel*: diese Datei sollte niemals weitergegeben werden.
| plugins.conf | Konfigurationsdatei für Erweiterungen | möglich, hängt von der Erweiterung/Skript ab.
| alias.conf | Konfigurationsdatei: Alias-Erweiterung | möglich, hängt von den Aliases ab.
| aspell.conf | Konfiguration für _aspell_-Erweiterung | Nein.
| buflist.conf | Konfiguration für _buflist_-Erweiterung | Nein.
| charset.conf | Konfiguration für _charset_-Erweiterung | Nein.
| exec.conf | Konfiguration für _exec_-Erweiterung | Nein.
@@ -589,6 +588,7 @@ Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
| relay.conf | Konfiguration für _relay_-Erweiterung | Nein.
| ruby.conf | Konfiguration für _ruby_-Erweiterung | Nein.
| script.conf | Konfiguration für _script_-Erweiterung | Nein.
| spell.conf | Konfiguration für _spell_-Erweiterung | Nein.
| tcl.conf | Konfiguration für _tcl_-Erweiterung | Nein.
| trigger.conf | Konfiguration für _trigger_-Erweiterung | möglich, hängt von den Triggern ab.
| xfer.conf | Konfiguration für _xfer_-Erweiterung | Nein.
@@ -710,8 +710,8 @@ andere Items die man nutzen kann (die aber nicht standardmäßig in einer Bar ak
[width="100%",cols="^3,^4,10",options="header"]
|===
| Item | Beispiel | Beschreibung
| aspell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
| aspell_suggest | `Glück,Glocke,Block`| Vorschläge für ein falsch geschriebenes Wort.
| spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
| spell_suggest | `Glück,Glocke,Block`| Vorschläge für ein falsch geschriebenes Wort.
| buffer_count | `10` | absolute Anzahl an geöffneten Buffern.
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
| irc_channel | `#test` | aktueller IRC Channelname.
@@ -1652,7 +1652,8 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help buffer_autoset`.
| kbd:[Alt+d] | löscht das Wort rechts vom Cursor (die Zeichenkette wird dabei in die interne Zwischenablage kopiert). | `/input delete_next_word`
| kbd:[Alt+k] | zeigt den Tastencode, einschließlich des eingebundenen Befehls, einer Tastenkombination an und fügt diesen in die Befehlszeile ein. | `/input grab_key_command`
| kbd:[Alt+r] | komplette Eingabezeile lösche.n| `/input delete_line`
| kbd:[Alt+s] | schaltet die Aspell Funktion an/aus. | `/mute aspell toggle`
// TRANSLATION MISSING
| kbd:[Alt+s] | Toggle spell checker. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -2135,7 +2136,6 @@ Standarderweiterungen:
|===
| Erweiterung | Beschreibung
| alias | definiert Alias für Befehle.
| aspell | Rechtschreibprüfung für Befehlszeile.
| buflist | Bar-Item mit der Liste aller Buffern.
| charset | Zeichensatz (de)-kodierung in Buffern.
| exec | ausführen von externen Befehlen aus WeeChat heraus.
@@ -2153,6 +2153,7 @@ Standarderweiterungen:
| guile | Guile(scheme)-Skript API.
| javascript | JavaScript-Skript API.
| php | PHP-Skript API.
| spell | Rechtschreibprüfung für Befehlszeile.
| trigger | Veränderung von Text und Ausführen von Befehlen bei einem Ereignis, welche durch WeeChat oder eine Erweiterung ausgelöst werden.
| xfer | Datentransfer und Direktchat.
|===
@@ -2193,16 +2194,16 @@ Sektionen in Datei _alias.conf_:
/set alias.completion.* | Vervollständigung für Alias.
|===
[[aspell_plugin]]
=== Aspell
[[spell_plugin]]
=== Spell
Mit der ASpell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat.
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.
[[aspell_dictionaries]]
[[spell_dictionaries]]
==== Wörterbücher
Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden,
@@ -2214,26 +2215,26 @@ die Wörter mit allen Wörterbüchern ab,
Um zum Beispiel Englisch und Deutsch zu nutzen:
----
/set aspell.check.default_dict "en,de"
/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:
----
/aspell setdict fr
/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 freenode IRC Server:
----
/set aspell.dict.irc.freenode de
/set spell.dict.irc.freenode de
----
Für weitere Informationen, siehe den Befehl <<command_aspell_aspell,/aspell>>.
Für weitere Informationen, siehe den Befehl <<command_spell_spell,/spell>>.
[[aspell_speller_options]]
[[spell_speller_options]]
==== Optionen für Rechtschreibprüfung
Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende
@@ -2249,18 +2250,18 @@ $ aspell config
Um zum Beispiel die Option "ignore-case" einzuschalten:
----
/set aspell.option.ignore-case "true"
/set spell.option.ignore-case "true"
----
[[aspell_suggestions]]
[[spell_suggestions]]
==== Rechtschreibkorrektur
Eine Rechtschreibkorrektur wird in der Bar-Item "aspell_suggest" angezeigt.
Eine Rechtschreibkorrektur wird in der Bar-Item "spell_suggest" angezeigt.
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
_aspell.check.suggestions_ bestimmt werden.
_spell.check.suggestions_ bestimmt werden.
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _aspell.check.suggestions_
ein Wert ≥ 0 eingestellt werden und das Bar-Item "aspell_suggest" zu einer Bar, zum
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`):
@@ -2279,30 +2280,30 @@ Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
[[spell_commands]]
==== Befehle
include::autogen/user/aspell_commands.adoc[]
include::autogen/user/spell_commands.adoc[]
[[aspell_options]]
[[spell_options]]
==== Optionen
Sektionen in Datei _aspell.conf_:
Sektionen in Datei _spell.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| color | /set aspell.color.* | Farben.
| check | /set aspell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen.
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
| look | /set aspell.look.* | Erscheinungsbild.
| option | /set aspell.option.* | <<aspell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden).
| 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::autogen/user/aspell_options.adoc[]
include::autogen/user/spell_options.adoc[]
[[buflist_plugin]]
=== Buflist
+3 -3
View File
@@ -90,7 +90,6 @@ PLUGIN_LIST = {
'sec': 'o',
'weechat': 'co',
'alias': '',
'aspell': 'o',
'buflist': 'co',
'charset': 'o',
'exec': 'o',
@@ -108,14 +107,13 @@ PLUGIN_LIST = {
'guile': 'o',
'javascript': 'o',
'php': 'o',
'spell': 'o',
'trigger': 'o',
'xfer': 'co',
}
# options to ignore
IGNORE_OPTIONS = (
r'aspell\.dict\..*',
r'aspell\.option\..*',
r'charset\.decode\..*',
r'charset\.encode\..*',
r'irc\.msgbuffer\..*',
@@ -126,6 +124,8 @@ IGNORE_OPTIONS = (
r'logger\.level\..*',
r'logger\.mask\..*',
r'relay\.port\..*',
r'spell\.dict\..*',
r'spell\.option\..*',
r'trigger\.trigger\..*',
r'weechat\.palette\..*',
r'weechat\.proxy\..*',
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | value of alias
| aspell | aspell_dicts | list of aspell installed dictionaries
| aspell | aspell_langs | list of all languages supported by aspell
| exec | exec_commands_ids | ids (numbers and names) of executed commands
| fset | fset_options | configuration files, sections, options and words of options
@@ -86,6 +82,10 @@
| script | script_tags | tags of scripts in repository
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | list of scripts
| trigger | trigger_hook_arguments | default arguments for a hook
+2 -2
View File
@@ -6,8 +6,6 @@
|===
| Plugin | Name | Description | Arguments
| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| fifo | fifo_filename | name of FIFO pipe | -
| guile | guile_eval | evaluation of source code | source code to execute
@@ -74,6 +72,8 @@
| ruby | ruby_version | version of the interpreter used | -
| spell | spell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| tcl | tcl_eval | evaluation of source code | source code to execute
| tcl | tcl_interpreter | name of the interpreter used | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: aspell plugin configuration
----
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: enable aspell
disable: disable aspell
toggle: toggle aspell
listdict: show installed dictionaries
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
deldict: delete dictionary used on current buffer
addword: add a word in personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands).
To enable aspell on all buffers, use option "default_dict", then enable aspell, for example:
/set aspell.check.default_dict "en"
/aspell enable
To display a list of suggestions in a bar, use item "aspell_suggest".
Default key to toggle aspell is alt-s.
----
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: spell plugin configuration
----
/spell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
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)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
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
To display a list of suggestions in a bar, use item "spell_suggest".
Default key to toggle spell checker is alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** description: pass:none[comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)]
** type: string
** values: any string
** default value: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** description: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** description: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
** type: string
** values: any string
** default value: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** description: pass:none[check words during text search in buffer]
** type: boolean
** values: on, off
** default value: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** description: pass:none[enable aspell check for command line]
* [[option_spell.check.enabled]] *spell.check.enabled*
** description: pass:none[enable spell checker for command line]
** type: boolean
** values: on, off
** default value: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** description: pass:none[real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)]
** type: boolean
** values: on, off
** default value: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** description: pass:none[number of suggestions to display in bar item "aspell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** description: pass:none[number of suggestions to display in bar item "spell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
** type: integer
** values: -1 .. 2147483647
** default value: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** description: pass:none[minimum length for a word to be spell checked (use 0 to check all words)]
** type: integer
** values: 0 .. 2147483647
** default value: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** description: pass:none[text color for misspelled words (input bar)]
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** default value: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** description: pass:none[text color for suggestion on a misspelled word in bar item "aspell_suggest"]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** description: pass:none[text color for suggestion on a misspelled word in bar item "spell_suggest"]
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** default value: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** description: pass:none[text color for delimiters displayed between two dictionaries in bar item "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** description: pass:none[text color for delimiters displayed between two dictionaries in bar item "spell_suggest"]
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** default value: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** description: pass:none[text color for delimiters displayed between two words in bar item "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** description: pass:none[text color for delimiters displayed between two words in bar item "spell_suggest"]
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** default value: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** description: pass:none[delimiter displayed between two dictionaries in bar item "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** description: pass:none[delimiter displayed between two dictionaries in bar item "spell_suggest"]
** type: string
** values: any string
** default value: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** description: pass:none[delimiter displayed between two words in bar item "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** description: pass:none[delimiter displayed between two words in bar item "spell_suggest"]
** type: string
** values: any string
** default value: `+","+`
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
configuration file for _alias_ plugin
$HOME/.weechat/aspell.conf::
configuration file for _aspell_ plugin
$HOME/.weechat/buflist.conf::
configuration file for _buflist_ plugin
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
configuration file for _script_ plugin
$HOME/.weechat/spell.conf::
configuration file for _spell_ plugin
$HOME/.weechat/tcl.conf::
configuration file for _tcl_ plugin
+9 -9
View File
@@ -70,7 +70,6 @@ The main WeeChat directories are:
|          normal/ | Curses interface.
|    plugins/ | Plugin and scripting API.
|       alias/ | Alias plugin.
|       aspell/ | Aspell plugin.
|       buflist/ | Buflist plugin.
|       charset/ | Charset plugin.
|       exec/ | Exec plugin.
@@ -87,6 +86,7 @@ The main WeeChat directories are:
|       relay/ | Relay plugin (irc proxy + relay for remote interfaces).
|       ruby/ | Ruby scripting API.
|       script/ | Script manager.
|       spell/ | Spell plugin.
|       tcl/ | Tcl scripting API.
|       trigger/ | Trigger plugin.
|       xfer/ | Xfer plugin (IRC DCC file/chat).
@@ -223,14 +223,14 @@ WeeChat "core" is located in following directories:
|       alias-completion.c | Alias completions.
|       alias-config.c | Alias config options (file alias.conf).
|       alias-info.c | Alias info/infolists/hdata.
|    aspell/ | Aspell plugin.
|       weechat-aspell.c | Main aspell functions.
|       weechat-aspell-bar-item.c | Aspell bar items.
|       weechat-aspell-command.c | Aspell commands.
|       weechat-aspell-completion.c | Aspell completions.
|       weechat-aspell-config.c | Aspell config options (file aspell.conf).
|       weechat-aspell-info.c | Aspell info/infolists/hdata.
|       weechat-aspell-speller.c | Spellers management.
|    spell/ | Spell checker plugin.
|       spell.c | Main spell checker functions.
|       spell-bar-item.c | Spell checker bar items.
|       spell-command.c | Spell checker commands.
|       spell-completion.c | Spell checker completions.
|       spell-config.c | Spell checker config options (file spell.conf).
|       spell-info.c | Spell checker info/infolists/hdata.
|       spell-speller.c | Spellers management.
|    buflist/ | Buflist plugin.
|       buflist.c | Main buflist functions.
|       buflist-bar-item.c | Buflist bar items.
+10 -6
View File
@@ -960,15 +960,19 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== I installed aspell dictionaries on my system, how can I use them without restarting WeeChat?
You have to reload the aspell plugin:
You have to reload the spell plugin:
----
/plugin reload aspell
/plugin reload spell
----
[NOTE]
With WeeChat ≤ 2.3, the "spell" plugin was named "aspell", so the command is:
`/plugin reload aspell`.
[[settings]]
== Settings
@@ -998,8 +1002,8 @@ You can try following tips to consume less memory:
* Use the latest stable version (it is supposed to have less memory leaks than
older versions).
* Do not load some plugins if you don't use them, for example: aspell, buflist,
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php,
* Do not load some plugins if you don't use them, for example: buflist,
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, spell,
xfer (used for DCC). See `/help weechat.plugin.autoload`.
* Load only scripts that you really need.
* Do not load certificates if SSL is *NOT* used: set empty string in option
@@ -1017,7 +1021,7 @@ You can follow same tips as for <<memory_usage,memory>>, and these ones:
* Remove display of seconds in status bar time:
`/set weechat.look.item_time_format "%H:%M"` (this is the default value).
* Disable real time check of misspelled words in command line (if you enabled it):
`/set aspell.check.real_time off`.
`/set spell.check.real_time off`.
* Set the _TZ_ variable (for example: `export TZ="Europe/Paris"`), to prevent
frequent access to file _/etc/localtime_.
+5 -5
View File
@@ -9570,11 +9570,6 @@ List of signals sent by WeeChat and plugins:
|===
| Plugin | Signal | Arguments | Description
| aspell | aspell_suggest +
_(WeeChat ≥ 0.4.0)_ |
Pointer: buffer. |
New suggestions for a misspelled word.
| guile | guile_script_loaded +
_(WeeChat ≥ 0.3.9)_ |
String: path to script. |
@@ -9874,6 +9869,11 @@ List of signals sent by WeeChat and plugins:
String: comma-separated list of scripts removed. |
Ruby script(s) removed.
| spell | spell_suggest +
_(WeeChat ≥ 2.4)_ |
Pointer: buffer. |
New suggestions for a misspelled word.
| tcl | tcl_script_loaded +
_(WeeChat ≥ 0.3.9)_ |
String: path to script. |
+37 -37
View File
@@ -108,7 +108,7 @@ compile WeeChat.
| gettext | | | Internationalization (translation of messages; base language is English).
| ca-certificates | | | Certificates for SSL connections.
| libaspell-dev
∥ libenchant-dev | | | Aspell plugin.
∥ libenchant-dev | | | Spell plugin.
| python-dev | ≥ 2.6 ^(4)^ | | Python plugin.
| libperl-dev | | | Perl plugin.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby plugin.
@@ -192,9 +192,6 @@ List of commonly used options:
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compile <<alias_plugin,Alias plugin>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
Compile <<aspell_plugin,Aspell plugin>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Compile <<buflist_plugin,Buflist plugin>>.
@@ -210,7 +207,7 @@ List of commonly used options:
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.
Compile <<spell_plugin,Spell plugin>> with Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Compile <<exec_plugin,Exec plugin>>.
@@ -274,6 +271,9 @@ List of commonly used options:
Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compile <<spell_plugin,Spell plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Tcl plugin>>.
@@ -563,7 +563,6 @@ The files in the WeeChat home directory are:
| sec.conf | Configuration file with secured data | *Yes, highly sensitive*: this file must never be shared with anyone.
| plugins.conf | Plugins configuration file | Possible, depends on plugins/scripts.
| alias.conf | Configuration file for _alias_ plugin | Possible, depends on aliases.
| aspell.conf | Configuration file for _aspell_ plugin | No.
| buflist.conf | Configuration file for _buflist_ plugin | No.
| charset.conf | Configuration file for _charset_ plugin | No.
| exec.conf | Configuration file for _exec_ plugin | No.
@@ -581,6 +580,7 @@ The files in the WeeChat home directory are:
| ruby.conf | Configuration file for _ruby_ plugin | No.
| script.conf | Configuration file for _script_ plugin | No.
| tcl.conf | Configuration file for _tcl_ plugin | No.
| spell.conf | Configuration file for _spell_ plugin | No.
| trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers.
| xfer.conf | Configuration file for _xfer_ plugin | No.
| weechat.log | WeeChat log file | No.
@@ -704,8 +704,8 @@ Other items available (not used in bars by default):
[width="100%",cols="^3,^4,10",options="header"]
|===
| Item | Example | Description
| aspell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| aspell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| buffer_count | `10` | Total number of buffers opened.
| buffer_short_name | `#test` | Current buffer short name.
| irc_channel | `#test` | Current IRC channel name.
@@ -1617,7 +1617,7 @@ with `/script install buffer_autoset.py` and get help with `/help buffer_autoset
| kbd:[Alt+d] | Delete next word in command line (deleted string is copied to the internal clipboard). | `/input delete_next_word`
| kbd:[Alt+k] | Grab a key and insert its code (and command bound if key exists) in command line. | `/input grab_key_command`
| kbd:[Alt+r] | Delete entire command line. | `/input delete_line`
| kbd:[Alt+s] | Toggle aspell. | `/mute aspell toggle`
| kbd:[Alt+s] | Toggle spell checker. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -2088,7 +2088,6 @@ Default plugins are:
|===
| Plugin | Description
| alias | Define alias for commands.
| aspell | Spell checking for command line.
| buflist | Bar item with list of buffers.
| charset | Charset decoding/encoding for buffers.
| exec | Execution of external commands in WeeChat.
@@ -2106,6 +2105,7 @@ Default plugins are:
| guile | Guile (scheme) scripting API.
| javascript | JavaScript scripting API.
| php | PHP scripting API.
| spell | Spell checking for command line.
| trigger | Text replacement and command execution on events triggered by WeeChat/plugins.
| xfer | File transfer and direct chat.
|===
@@ -2147,15 +2147,15 @@ Sections in file _alias.conf_:
/set alias.completion.* | Completions for aliases.
|===
[[aspell_plugin]]
=== Aspell
[[spell_plugin]]
=== Spell
Aspell plugin lets you check spelling in command line. It is possible to use
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].
[[aspell_dictionaries]]
[[spell_dictionaries]]
==== Dictionaries
Before using spell checking, dictionaries must be defined, either globally or
@@ -2167,26 +2167,26 @@ dictionaries.
For example to use English and French:
----
/set aspell.check.default_dict "en,fr"
/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:
----
/aspell setdict de
/spell setdict de
----
You can also specify a dictionary for a group of buffers, for example English
for all channels on freenode IRC server:
----
/set aspell.dict.irc.freenode en
/set spell.dict.irc.freenode en
----
For more information, see the command <<command_aspell_aspell,/aspell>>.
For more information, see the command <<command_spell_spell,/spell>>.
[[aspell_speller_options]]
[[spell_speller_options]]
==== Speller options
Speller options can be defined by adding options in section "option" of aspell
@@ -2202,17 +2202,17 @@ $ aspell config
For example, to enable option "ignore-case":
----
/set aspell.option.ignore-case "true"
/set spell.option.ignore-case "true"
----
[[aspell_suggestions]]
[[spell_suggestions]]
==== Suggestions
Suggestions are displayed in a bar item called "aspell_suggest". The number of
suggestions is set in option _aspell.check.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 _aspell.check.suggestions_ to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like _status_.
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`):
@@ -2230,30 +2230,30 @@ Example of suggestions with English and French dictionaries (`en,fr`):
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
[[spell_commands]]
==== Commands
include::autogen/user/aspell_commands.adoc[]
include::autogen/user/spell_commands.adoc[]
[[aspell_options]]
[[spell_options]]
==== Options
Sections in file _aspell.conf_:
Sections in file _spell.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| color | /set aspell.color.* | Colors.
| check | /set aspell.check.* | Options to control spell checking.
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
| look | /set aspell.look.* | Look and feel.
| option | /set aspell.option.* | <<aspell_speller_options,Speller options>> (options can be added/removed in section).
| 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::autogen/user/aspell_options.adoc[]
include::autogen/user/spell_options.adoc[]
[[buflist_plugin]]
=== Buflist
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | valeur de l'alias
| aspell | aspell_dicts | liste des dictionnaires aspell installés
| aspell | aspell_langs | liste de toutes les langues supportées par aspell
| exec | exec_commands_ids | ids (nombres et noms) des commandes exécutées
| fset | fset_options | fichiers de configuration, section, options et mots des options
@@ -86,6 +82,10 @@
| script | script_tags | étiquettes des scripts dans le dépôt
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | liste des scripts
| trigger | trigger_hook_arguments | paramètres par défaut pour un hook
+2 -2
View File
@@ -6,8 +6,6 @@
|===
| Extension | Nom | Description | Paramètres
| aspell | aspell_dict | liste de dictionnaires (séparés par des virgules) utilisés sur le tampon | pointeur vers un tampon ("0x12345678") ou nom complet de tampon ("irc.freenode.#weechat")
| fifo | fifo_filename | nom du tube FIFO | -
| guile | guile_eval | évaluation de code source | code source à exécuter
@@ -74,6 +72,8 @@
| ruby | ruby_version | version de l'interpréteur utilisé | -
| spell | spell_dict | liste de dictionnaires (séparés par des virgules) utilisés sur le tampon | pointeur vers un tampon ("0x12345678") ou nom complet de tampon ("irc.freenode.#weechat")
| tcl | tcl_eval | évaluation de code source | code source à exécuter
| tcl | tcl_interpreter | nom de l'interpréteur utilisé | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: configuration de l'extension aspell
----
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <mot>
enable : activer aspell
disable : désactiver aspell
toggle : activer/désactiver aspell
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)
deldict : supprimer le dictionnaire utilisé sur le tampon courant
addword : ajouter un mot dans le dictionnaire personnel aspell
Les lignes d'entrée commençant par '/' ne sont pas vérifiées, sauf pour certaines commandes (voir /set aspell.check.commands).
Pour activer aspell sur tous les tampons, utilisez l'option "default_dict", par exemple :
/set aspell.check.default_dict "en"
/aspell enable
Pour afficher une liste des suggestions dans une barre, utilisez l'objet "aspell_suggest".
La touche par défaut pour activer/désactiver aspell est alt-s.
----
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: spell plugin configuration
----
/spell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <mot>
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)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
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
To display a list of suggestions in a bar, use item "spell_suggest".
Default key to toggle spell checker is alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** description: pass:none[liste de commandes (séparées par des virgules) pour lesquelles la vérification orthographique est activée (la vérification est désactivée pour toutes les autres commandes)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** description: pass:none[dictionnaire par défaut (ou liste de dictionnaires séparés par une virgule) à utiliser quand le tampon courant n'a pas de dictionnaire défini (laissez blanc pour désactiver aspell sur les tampons pour lesquels vous ne l'avez pas explicitement activé)]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** description: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** description: pass:none[vérifier les mots pendant la recherche de texte dans le tampon]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** description: pass:none[activer la vérification aspell pour la ligne de commande]
* [[option_spell.check.enabled]] *spell.check.enabled*
** description: pass:none[enable spell checker for command line]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** description: pass:none[vérification orthographique des mots en temps réel (plus lent, désactivé par défaut : les mots sont vérifiés seulement s'il y a un délimiteur après)]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** description: pass:none[nombre de suggestions à afficher dans l'objet de barre "aspell_suggest" pour chaque dictionnaire du tampon (-1 = désactiver les suggestions, 0 = afficher toutes les suggestions possibles dans toutes les langues)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** description: pass:none[number of suggestions to display in bar item "spell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
** type: entier
** valeurs: -1 .. 2147483647
** valeur par défaut: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** description: pass:none[longueur minimum d'un mot pour que l'orthographe soit vérifiée (utilisez 0 pour vérifier tous les mots)]
** type: entier
** valeurs: 0 .. 2147483647
** valeur par défaut: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** description: pass:none[couleur du texte pour les mots mal orthographiés (barre de saisie)]
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
** valeur par défaut: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** description: pass:none[couleur du texte pour la suggestion sur un mot mal orthographié dans l'objet de barre "aspell_suggest"]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** description: pass:none[text color for suggestion on a misspelled word in bar item "spell_suggest"]
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
** valeur par défaut: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** description: pass:none[couleur du texte pour les séparateurs affichés entre deux dictionnaires dans l'objet de barre "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** description: pass:none[text color for delimiters displayed between two dictionaries in bar item "spell_suggest"]
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
** valeur par défaut: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** description: pass:none[couleur du texte pour les séparateurs affichés entre deux mots dans l'objet de barre "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** description: pass:none[text color for delimiters displayed between two words in bar item "spell_suggest"]
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
** valeur par défaut: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** description: pass:none[séparateur affiché entre deux dictionnaires dans l'objet de barre "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** description: pass:none[delimiter displayed between two dictionaries in bar item "spell_suggest"]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** description: pass:none[séparateur affiché entre deux mots dans l'objet de barre "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** description: pass:none[delimiter displayed between two words in bar item "spell_suggest"]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+","+`
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
fichier de configuration pour l'extension _alias_
$HOME/.weechat/aspell.conf::
fichier de configuration pour l'extension _aspell_
$HOME/.weechat/buflist.conf::
fichier de configuration pour l'extension _buflist_
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
fichier de configuration pour l'extension _script_
$HOME/.weechat/spell.conf::
fichier de configuration pour l'extension _spell_
$HOME/.weechat/tcl.conf::
fichier de configuration pour l'extension _tcl_
+9 -9
View File
@@ -72,7 +72,6 @@ Les répertoires principaux de WeeChat sont :
|          normal/ | Interface Curses.
|    plugins/ | API extension/script.
|       alias/ | Extension Alias.
|       aspell/ | Extension Aspell.
|       buflist/ | Extension Buflist.
|       charset/ | Extension Charset.
|       exec/ | Extension Exec.
@@ -89,6 +88,7 @@ Les répertoires principaux de WeeChat sont :
|       relay/ | Extension Relay (proxy IRC + relai pour interfaces distantes).
|       ruby/ | API script Ruby.
|       script/ | Gestionnaire de scripts.
|       spell/ | Extension Spell.
|       tcl/ | API script Tcl.
|       trigger/ | Extension Trigger.
|       xfer/ | Extension Xfer (IRC DCC fichier/discussion).
@@ -225,14 +225,14 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|       alias-completion.c | Complétions pour Alias.
|       alias-config.c | Options de configuration des alias (fichier alias.conf).
|       alias-info.c | Info/infolists/hdata pour les alias.
|    aspell/ | Extension Aspell.
|       weechat-aspell.c | Fonctions principales pour Aspell.
|       weechat-aspell-bar-item.c | Objets de barre Aspell.
|       weechat-aspell-command.c | Commandes Aspell.
|       weechat-aspell-completion.c | Complétions pour Aspell.
|       weechat-aspell-config.c | Options de configuration pour Aspell (fichier aspell.conf).
|       weechat-aspell-info.c | Info/infolists/hdata pour Aspell.
|       weechat-aspell-speller.c | Gestion des correcteurs orthographiques.
|    spell/ | Extension Spell.
|       spell.c | Fonctions principales pour Spell.
|       spell-bar-item.c | Objets de barre Spell.
|       spell-command.c | Commandes Spell.
|       spell-completion.c | Complétions pour Spell.
|       spell-config.c | Options de configuration pour Spell (fichier spell.conf).
|       spell-info.c | Info/infolists/hdata pour Spell.
|       spell-speller.c | Gestion des correcteurs orthographiques.
|    buflist/ | Extension Buflist.
|       buflist.c | Fonctions principales de Buflist.
|       buflist-bar-item.c | Objets de barre Buflist.
+10 -6
View File
@@ -1000,15 +1000,19 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== J'ai installé des dictionnaires aspell sur mon système, comment les utiliser sans redémarrer WeeChat ?
Vous devez recharger l'extension aspell :
Vous devez recharger l'extension spell :
----
/plugin reload aspell
/plugin reload spell
----
[NOTE]
Avec WeeChat ≤ 2.3, l'extension "spell" s'appelait "aspell", donc la commande est :
`/plugin reload aspell`.
[[settings]]
== Réglages
@@ -1042,8 +1046,8 @@ Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
* Utiliser la dernière version stable (elle est supposée avoir moins de fuites
de mémoire que les versions plus anciennes).
* Ne pas charger les extensions si vous ne les utilisez pas, par exemple :
aspell, buflist, fifo, logger, perl, python, ruby, lua, tcl, guile,
javascript, php, xfer (utilisé pour les DCC).
buflist, fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php,
spell, xfer (utilisé pour les DCC).
Voir `/help weechat.plugin.autoload`.
* Charger uniquement les scripts dont vous avez vraiment besoin.
* Ne pas charger les certificats si SSL n'est *PAS* utilisé : affecter une
@@ -1062,7 +1066,7 @@ celles-ci :
* Supprimer l'affichage des secondes dans l'heure de la barre de statut :
`/set weechat.look.item_time_format "%H:%M"` (ceci est la valeur par défaut).
* Désactiver la vérification en temps réel des mots mal orthographiés dans la
ligne de commande (si vous l'avez activée) : `/set aspell.check.real_time off`.
ligne de commande (si vous l'avez activée) : `/set spell.check.real_time off`.
* Définir la variable _TZ_ (par exemple : `export TZ="Europe/Paris"`), pour
éviter un accès fréquent au fichier _/etc/localtime_.
+5 -5
View File
@@ -9768,11 +9768,6 @@ Liste des signaux envoyés par WeeChat et les extensions :
|===
| Extension | Signal | Paramètres | Description
| aspell | aspell_suggest +
_(WeeChat ≥ 0.4.0)_ |
Pointeur : tampon. |
Nouvelles suggestions pour un mot mal orthographié.
| guile | guile_script_loaded +
_(WeeChat ≥ 0.3.9)_ |
Chaîne : chemin vers le script. |
@@ -10078,6 +10073,11 @@ Liste des signaux envoyés par WeeChat et les extensions :
Chaîne : liste de scripts supprimés (séparés par des virgules). |
Script(s) ruby supprimé(s).
| spell | spell_suggest +
_(WeeChat ≥ 2.4)_ |
Pointeur : tampon. |
Nouvelles suggestions pour un mot mal orthographié.
| tcl | tcl_script_loaded +
_(WeeChat ≥ 0.3.9)_ |
Chaîne : chemin vers le script. |
+37 -37
View File
@@ -111,7 +111,7 @@ compiler WeeChat.
| gettext | | | Internationalisation (traduction des messages; la langue de base est l'anglais).
| ca-certificates | | | Certificats pour les connexions SSL.
| libaspell-dev
∥ libenchant-dev | | | Extension aspell.
∥ libenchant-dev | | | Extension spell.
| python-dev | ≥ 2.6 ^(4)^ | | Extension python.
| libperl-dev | | | Extension perl.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Extension ruby.
@@ -196,9 +196,6 @@ Liste des options couramment utilisées :
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compiler <<alias_plugin,l'extension Alias>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
Compiler <<aspell_plugin,l'extension Aspell>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Compiler <<buflist_plugin,l'extension Buflist>>.
@@ -214,7 +211,7 @@ Liste des options couramment utilisées :
si vous ne pouvez pas consulter la documentation en ligne).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compiler <<aspell_plugin,l'extension Aspell>> avec Enchant.
Compiler <<spell_plugin,l'extension Spell>> avec Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Compiler <<exec_plugin,l'extension Exec>>.
@@ -278,6 +275,9 @@ Liste des options couramment utilisées :
Compiler <<scripts_plugins,les extensions de script>> (Python, Perl, Ruby,
Lua, Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compiler <<spell_plugin,l'extension Spell>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Tcl>>.
@@ -576,7 +576,6 @@ Les fichiers dans le répertoire principal de WeeChat sont :
| sec.conf | Fichier de configuration avec les données sécurisées | *Oui, très sensibles*: ce fichier ne doit jamais être partagé avec quiconque.
| plugins.conf | Fichier de configuration des extensions | Possible, cela dépend des extensions/scripts.
| alias.conf | Fichier de configuration de l'extension _alias_ | Possible, cela dépend des alias.
| aspell.conf | Fichier de configuration de l'extension _aspell_ | Non.
| buflist.conf | Fichier de configuration de l'extension _buflist_ | Non.
| charset.conf | Fichier de configuration de l'extension _charset_ | Non.
| exec.conf | Fichier de configuration de l'extension _exec_ | Non.
@@ -594,6 +593,7 @@ Les fichiers dans le répertoire principal de WeeChat sont :
| ruby.conf | Fichier de configuration de l'extension _ruby_ | Non.
| script.conf | Fichier de configuration de l'extension _script_ | Non.
| tcl.conf | Fichier de configuration de l'extension _tcl_ | Non.
| spell.conf | Fichier de configuration de l'extension _spell_ | Non.
| trigger.conf | Fichier de configuration de l'extension _trigger_ | Possible, cela dépend des triggers.
| xfer.conf | Fichier de configuration de l'extension _xfer_ | Non.
| weechat.log | Fichier de log WeeChat | Non.
@@ -718,8 +718,8 @@ Autres objets (non utilisés dans des barres par défaut) :
[width="100%",cols="^3,^4,10",options="header"]
|===
| Objet (item) | Exemple | Description
| aspell_dict | `fr,en` | Dictionnaires utilisés pour la vérification de l'orthographe sur le tampon courant.
| aspell_suggest | `print,prone,prune` | Suggestions pour le mot sous le curseur (si mal orthographié).
| spell_dict | `fr,en` | Dictionnaires utilisés pour la vérification de l'orthographe sur le tampon courant.
| spell_suggest | `print,prone,prune` | Suggestions pour le mot sous le curseur (si mal orthographié).
| buffer_count | `10` | Nombre total de tampons ouverts.
| buffer_short_name | `#test` | Nom court du tampon courant.
| irc_channel | `#test` | Nom de canal IRC courant.
@@ -1670,7 +1670,7 @@ avec `/help buffer_autoset`.
| kbd:[Alt+d] | Effacer le mot suivant (la chaîne supprimée est copiée dans le presse-papiers interne). | `/input delete_next_word`
| kbd:[Alt+k] | Capturer une touche et insérer son code (et la commande associée si la commande existe) sur la ligne de commande. | `/input grab_key_command`
| kbd:[Alt+r] | Effacer entièrement la ligne de commande. | `/input delete_line`
| kbd:[Alt+s] | Activer/désactiver aspell. | `/mute aspell toggle`
| kbd:[Alt+s] | Activer/désactiver la vérification de l'orthographe. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -2159,7 +2159,6 @@ Les extensions par défaut sont :
|===
| Extension | Description
| alias | Définition d'alias pour les commandes.
| aspell | Vérification orthographique de la ligne de commande.
| buflist | Objet de barre avec la liste des tampons.
| charset | Encodage/encodage avec jeu de caractère sur les tampons.
| exec | Exécution de commandes externes dans WeeChat.
@@ -2177,6 +2176,7 @@ Les extensions par défaut sont :
| guile | Interface (API) pour scripts Guile (scheme).
| javascript | Interface (API) pour scripts JavaScript.
| php | Interface (API) pour scripts PHP.
| spell | Vérification orthographique de la ligne de commande.
| trigger | Remplacement de texte et exécution de commande sur des évènements de WeeChat ou des extensions.
| xfer | Transfert de fichier et discussion directe.
|===
@@ -2219,16 +2219,16 @@ Sections dans le fichier _alias.conf_ :
/set alias.completion.* | Complétions pour les alias.
|===
[[aspell_plugin]]
=== Aspell
[[spell_plugin]]
=== Spell
L'extension Aspell permet de vérifier l'orthographe de la ligne de commande.
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].
[[aspell_dictionaries]]
[[spell_dictionaries]]
==== Dictionnaires
Avant d'utiliser la vérification de l'orthographe, les dictionnaires doivent
@@ -2240,26 +2240,26 @@ les mots dans tous les dictionnaires.
Par exemple pour utiliser l'anglais et le français :
----
/set aspell.check.default_dict "en,fr"
/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 :
----
/aspell setdict de
/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 freenode :
----
/set aspell.dict.irc.freenode en
/set spell.dict.irc.freenode en
----
Pour plus d'informations, voir la commande <<command_aspell_aspell,/aspell>>.
Pour plus d'informations, voir la commande <<command_spell_spell,/spell>>.
[[aspell_speller_options]]
[[spell_speller_options]]
==== Options du vérificateur d'orthographe
Les options du vérificateur d'orthographe peuvent être définies en ajoutant des
@@ -2275,18 +2275,18 @@ $ aspell config
Par exemple, pour activer l'option "ignore-case" :
----
/set aspell.option.ignore-case "true"
/set spell.option.ignore-case "true"
----
[[aspell_suggestions]]
[[spell_suggestions]]
==== Suggestions
Les suggestions sont affichées dans un objet de barre appelé "aspell_suggest".
Le nombre de suggestions est défini dans l'option _aspell.check.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
_aspell.check.suggestions_ avec un entier ≥ 0 et ajouter l'objet de barre
"aspell_suggest" à une barre, par exemple _status_.
_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`) :
@@ -2304,30 +2304,30 @@ Exemple de suggestions avec des dictionnaires anglais et français (`en,fr`) :
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
[[spell_commands]]
==== Commandes
include::autogen/user/aspell_commands.adoc[]
include::autogen/user/spell_commands.adoc[]
[[aspell_options]]
[[spell_options]]
==== Options
Sections dans le fichier _aspell.conf_ :
Sections dans le fichier _spell.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| color | /set aspell.color.* | Couleurs.
| check | /set aspell.check.* | Options pour contrôler la vérification orthographique.
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Dictionnaires utilisés par tampon (les options peuvent être ajoutées/supprimées dans la section).
| look | /set aspell.look.* | Aspect/présentation.
| option | /set aspell.option.* | <<aspell_speller_options,Options du vérificateur d'orthographe>> (les options peuvent être ajoutées/supprimées dans la section).
| 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::autogen/user/aspell_options.adoc[]
include::autogen/user/spell_options.adoc[]
[[buflist_plugin]]
=== Buflist
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | valore dell'alias
| aspell | aspell_dicts | elenco dei dizionari aspell installati
| aspell | aspell_langs | elenco di tutte lingue supportate da aspell
| exec | exec_commands_ids | ids (numbers and names) of executed commands
| fset | fset_options | configuration files, sections, options and words of options
@@ -86,6 +82,10 @@
| script | script_tags | tag degli script nel repository
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | elenco degli script
| trigger | trigger_hook_arguments | default arguments for a hook
+2 -2
View File
@@ -6,8 +6,6 @@
|===
| Plugin | Nome | Descrizione | Argomenti
| aspell | aspell_dict | elenco separato da virgole di dizionari usati nel buffer | puntatore al buffer ("0x12345678") o buffer con il nome completo ("irc.freenode.weechat")
| fifo | fifo_filename | nome della pipe FIFO | -
| guile | guile_eval | evaluation of source code | source code to execute
@@ -74,6 +72,8 @@
| ruby | ruby_version | version of the interpreter used | -
| spell | spell_dict | elenco separato da virgole di dizionari usati nel buffer | puntatore al buffer ("0x12345678") o buffer con il nome completo ("irc.freenode.weechat")
| tcl | tcl_eval | evaluation of source code | source code to execute
| tcl | tcl_interpreter | name of the interpreter used | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: configurazione del plugin aspell
----
/aspell enable|disable|toggle
listdict
setdict <dizionario>[,<dizionario>...]
deldict
addword [<dizionario>] <parola>
enable: enable aspell
disable: disable aspell
toggle: toggle aspell
listdict: show installed dictionaries
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
deldict: delete dictionary used on current buffer
addword: add a word in personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands).
To enable aspell on all buffers, use option "default_dict", then enable aspell, for example:
/set aspell.check.default_dict "en"
/aspell enable
To display a list of suggestions in a bar, use item "aspell_suggest".
Default key to toggle aspell is alt-s.
----
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: spell plugin configuration
----
/spell enable|disable|toggle
listdict
setdict <dizionario>[,<dizionario>...]
deldict
addword [<dizionario>] <parola>
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)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
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
To display a list of suggestions in a bar, use item "spell_suggest".
Default key to toggle spell checker is alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** descrizione: pass:none[elenco separato da virgole di comandi per cui il controllo ortografico è abilitato (il controllo ortografico è disabilitato per tutti gli altri comandi)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** descrizione: pass:none[dizionario predefinito (o elenco separato da virgole di dizionari) da usare quando il buffer non ha alcun dizionario definito (vuoto per disabilitare il controllo ortografico sui buffer in cui non è stato esplicitamente abilitato)]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** descrizione: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** descrizione: pass:none[controlla le parole durante la ricerca del testo nel buffer]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** descrizione: pass:none[abilita il controllo aspell per la riga di comando]
* [[option_spell.check.enabled]] *spell.check.enabled*
** descrizione: pass:none[enable spell checker for command line]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** descrizione: pass:none[controllo ortografico in tempo reale (più lento, disabilitato per default: le parole vengono controllate solo se seguite da un delimitatore)]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** descrizione: pass:none[numero di suggerimenti da mostrare nell'elemento barra "aspell_suggest" per ogni dizionario impostato nel buffer (-1 = disattiva suggerimenti, 0 = mostra tutti i possibili suggerimenti in tutte le lingue)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** descrizione: pass:none[number of suggestions to display in bar item "spell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
** tipo: intero
** valori: -1 .. 2147483647
** valore predefinito: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** descrizione: pass:none[lunghezza minima per una parola da controllare (0 per controllarle tutte)]
** tipo: intero
** valori: 0 .. 2147483647
** valore predefinito: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** descrizione: pass:none[text color for misspelled words (input bar)]
** tipo: colore
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** valore predefinito: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** descrizione: pass:none[text color for suggestion on a misspelled word in bar item "aspell_suggest"]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** descrizione: pass:none[text color for suggestion on a misspelled word in bar item "spell_suggest"]
** tipo: colore
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** valore predefinito: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** descrizione: pass:none[text color for delimiters displayed between two dictionaries in bar item "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** descrizione: pass:none[text color for delimiters displayed between two dictionaries in bar item "spell_suggest"]
** tipo: colore
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** valore predefinito: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** descrizione: pass:none[text color for delimiters displayed between two words in bar item "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** descrizione: pass:none[text color for delimiters displayed between two words in bar item "spell_suggest"]
** tipo: colore
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
** valore predefinito: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** descrizione: pass:none[delimiter displayed between two dictionaries in bar item "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** descrizione: pass:none[delimiter displayed between two dictionaries in bar item "spell_suggest"]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** descrizione: pass:none[delimiter displayed between two words in bar item "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** descrizione: pass:none[delimiter displayed between two words in bar item "spell_suggest"]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+","+`
+3 -3
View File
@@ -11,9 +11,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
configuration file for _alias_ plugin
$HOME/.weechat/aspell.conf::
configuration file for _aspell_ plugin
$HOME/.weechat/buflist.conf::
configuration file for _buflist_ plugin
@@ -62,6 +59,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
configuration file for _script_ plugin
$HOME/.weechat/spell.conf::
configuration file for _spell_ plugin
$HOME/.weechat/tcl.conf::
configuration file for _tcl_ plugin
+11 -6
View File
@@ -1041,16 +1041,21 @@ $ curl -O https://weechat.org/files/plugins.xml.gz
----
// TRANSLATION MISSING
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== I installed aspell dictionaries on my system, how can I use them without restarting WeeChat?
// TRANSLATION MISSING
You have to reload the aspell plugin:
You have to reload the spell plugin:
----
/plugin reload aspell
/plugin reload spell
----
// TRANSLATION MISSING
[NOTE]
With WeeChat ≤ 2.3, the "spell" plugin was named "aspell", so the command is:
`/plugin reload aspell`.
[[settings]]
== Impostazioni
@@ -1083,8 +1088,8 @@ Esistono diversi trucchi per ottimizzare l'uso della memoria:
* utilizzare l'ultima versione stabile (si suppone che abbia meno falle di memoria
rispetto le versioni precedenti)
// TRANSLATION MISSING
* non caricare alcuni plugin se non vengono utilizzati, ad esempio: aspell, buflist,
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, xfer (usato per DCC).
* non caricare alcuni plugin se non vengono utilizzati, ad esempio: buflist,
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, spell, xfer (usato per DCC).
See `/help weechat.plugin.autoload`.
* caricare solo gli script veramente necessari
* non caricare i certificati se SSL *NON* viene usato: usare una stringa vuota nell'opzione
@@ -1105,7 +1110,7 @@ You can follow same tips as for <<memory_usage,memory>>, and these ones:
`/set weechat.look.item_time_format "%H:%M"` (this is the default value)
// TRANSLATION MISSING
* disable real time check of misspelled words in command line (if you enabled it):
`/set aspell.check.real_time off`
`/set spell.check.real_time off`
* set the _TZ_ variable (for example: `export TZ="Europe/Paris"`), to prevent
frequent access to file _/etc/localtime_
+6 -6
View File
@@ -9884,12 +9884,6 @@ List of signals sent by WeeChat and plugins:
|===
| Plugin | Segnale | Argomenti | Descrizione
// TRANSLATION MISSING
| aspell | aspell_suggest +
_(WeeChat ≥ 0.4.0)_ |
Pointer: buffer. |
New suggestions for a misspelled word.
// TRANSLATION MISSING
| guile | guile_script_loaded +
_(WeeChat ≥ 0.3.9)_ |
@@ -10234,6 +10228,12 @@ List of signals sent by WeeChat and plugins:
String: comma-separated list of scripts removed. |
Ruby script(s) removed.
// TRANSLATION MISSING
| spell | spell_suggest +
_(WeeChat ≥ 2.4)_ |
Pointer: buffer. |
New suggestions for a misspelled word.
// TRANSLATION MISSING
| tcl | tcl_script_loaded +
_(WeeChat ≥ 0.3.9)_ |
+38 -37
View File
@@ -130,7 +130,7 @@ compilare WeeChat.
| gettext | | | Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese).
| ca-certificates | | | Certificati per le connessioni SSL.
| libaspell-dev
∥ libenchant-dev | | | Plugin aspell.
∥ libenchant-dev | | | Plugin spell.
| python-dev | ≥ 2.6 ^(4)^ | | Plugin python.
| libperl-dev | | | Plugin perl.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Plugin ruby.
@@ -226,9 +226,6 @@ List of commonly used options:
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compile <<alias_plugin,Alias plugin>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
Compile <<aspell_plugin,Aspell plugin>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Compile <<buflist_plugin,Buflist plugin>>.
@@ -244,7 +241,7 @@ List of commonly used options:
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.
Compile <<spell_plugin,Spell plugin>> with Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Compile <<exec_plugin,Exec plugin>>.
@@ -308,6 +305,9 @@ List of commonly used options:
Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compile <<spell_plugin,Spell plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Tcl plugin>>.
@@ -611,7 +611,6 @@ The files in the WeeChat home directory are:
| sec.conf | Configuration file with secured data | *Yes, highly sensitive*: this file must never be shared with anyone.
| plugins.conf | Plugins configuration file | Possible, depends on plugins/scripts.
| alias.conf | Configuration file for _alias_ plugin | Possible, depends on aliases.
| aspell.conf | Configuration file for _aspell_ plugin | No.
| buflist.conf | Configuration file for _buflist_ plugin | No.
| charset.conf | Configuration file for _charset_ plugin | No.
| exec.conf | Configuration file for _exec_ plugin | No.
@@ -628,6 +627,7 @@ The files in the WeeChat home directory are:
| relay.conf | Configuration file for _relay_ plugin | No.
| ruby.conf | Configuration file for _ruby_ plugin | No.
| script.conf | Configuration file for _script_ plugin | No.
| spell.conf | Configuration file for _spell_ plugin | No.
| tcl.conf | Configuration file for _tcl_ plugin | No.
| trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers.
| xfer.conf | Configuration file for _xfer_ plugin | No.
@@ -763,8 +763,8 @@ Other items available (not used in bars by default):
[width="100%",cols="^3,^4,10",options="header"]
|===
| Item | Example | Description
| aspell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| aspell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| buffer_count | `10` | Total number of buffers opened.
| buffer_short_name | `#test` | Current buffer short name.
| irc_channel | `#test` | Current IRC channel name.
@@ -1711,7 +1711,8 @@ with `/script install buffer_autoset.py` and get help with `/help buffer_autoset
| kbd:[Alt+d] | Elimina la parola successiva nella riga di comando (deleted string is copied to the internal clipboard). | `/input delete_next_word`
| kbd:[Alt+k] | Cattura un tasto ed inserisce il suo codice (e il comando associato se il tasto esiste) nella riga di comando. | `/input grab_key_command`
| kbd:[Alt+r] | Elimina l'intera riga di comando. | `/input delete_line`
| kbd:[Alt+s] | Abilita/disabilita aspell. | `/mute aspell toggle`
// TRANSLATION MISSING
| kbd:[Alt+s] | Toggle spell checker. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -2217,7 +2218,6 @@ I plugin predefiniti sono:
|===
| Plugin | Descrizione
| alias | Definisce gli alias per i comandi.
| aspell | Controllo ortografico per la riga di comando.
// TRANSLATION MISSING
| buflist | Bar item with list of buffers.
| charset | Set di caratteri per la codifica/decodifica nei buffer.
@@ -2238,6 +2238,7 @@ I plugin predefiniti sono:
| guile | API per lo scripting in Guile (scheme).
| javascript | API per lo scripting in JavaScript.
| php | API per lo scripting in PHP.
| spell | Controllo ortografico per la riga di comando.
// TRANSLATION MISSING
| trigger | Text replacement and command execution on events triggered by WeeChat/plugins.
| xfer | Trasferimento file e chat diretta.
@@ -2284,17 +2285,17 @@ Sections in file _alias.conf_:
/set alias.completion.* | Completions for aliases.
|===
[[aspell_plugin]]
=== Aspell
[[spell_plugin]]
=== Spell
Il plugin Aspell consente di verificare l'ortografia nella riga di comando.
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
[[aspell_dictionaries]]
[[spell_dictionaries]]
==== Dictionaries
Before using spell checking, dictionaries must be defined, either globally or
@@ -2306,14 +2307,14 @@ dictionaries.
For example to use English and French:
----
/set aspell.check.default_dict "en,fr"
/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:
----
/aspell setdict de
/spell setdict de
----
// TRANSLATION MISSING
@@ -2321,12 +2322,12 @@ You can also specify a dictionary for a group of buffers, for example English
for all channels on freenode IRC server:
----
/set aspell.dict.irc.freenode en
/set spell.dict.irc.freenode en
----
For more information, see the command <<command_aspell_aspell,/aspell>>.
For more information, see the command <<command_spell_spell,/spell>>.
[[aspell_speller_options]]
[[spell_speller_options]]
==== Opzioni ortografiche
Le opzioni ortografiche possono essere definite aggiungendo opzioni nella
@@ -2342,18 +2343,18 @@ $ aspell config
Ad esempio, per abilitare l'opzione "ignore-case":
----
/set aspell.option.ignore-case "true"
/set spell.option.ignore-case "true"
----
// TRANSLATION MISSING
[[aspell_suggestions]]
[[spell_suggestions]]
==== Suggestions
Suggestions are displayed in a bar item called "aspell_suggest". The number of
suggestions is set in option _aspell.check.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 _aspell.check.suggestions_ to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like _status_.
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`):
@@ -2371,33 +2372,33 @@ Example of suggestions with English and French dictionaries (`en,fr`):
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
[[spell_commands]]
==== Comandi
include::autogen/user/aspell_commands.adoc[]
include::autogen/user/spell_commands.adoc[]
[[aspell_options]]
[[spell_options]]
==== Opzioni
// TRANSLATION MISSING
Sections in file _aspell.conf_:
Sections in file _spell.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| color | /set aspell.color.* | Colors.
| check | /set aspell.check.* | Options to control spell checking.
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
| look | /set aspell.look.* | Look and feel.
| option | /set aspell.option.* | <<aspell_speller_options,Opzioni ortografiche>> (options can be added/removed in section).
| 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::autogen/user/aspell_options.adoc[]
include::autogen/user/spell_options.adoc[]
[[buflist_plugin]]
=== Buflist
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | 別名の値
| aspell | aspell_dicts | aspell のインストール済み辞書のリスト
| aspell | aspell_langs | aspell でサポートされる全ての言語のリスト
| exec | exec_commands_ids | 実行されたコマンドの識別子 (番号と名前)
| fset | fset_options | 設定ファイル、セクション、オプションの名前、オプションの値
@@ -86,6 +82,10 @@
| script | script_tags | リポジトリに存在するスクリプトに対するタグのリスト
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | スクリプトのリスト
| trigger | trigger_hook_arguments | フックに対するデフォルト引数
+2 -2
View File
@@ -6,8 +6,6 @@
|===
| プラグイン | 名前 | 説明 | 引数
| aspell | aspell_dict | バッファで使用中の辞書のコンマ区切りリスト | バッファポインタ ("0x12345678") またはバッファのフルネーム ("irc.freenode.#weechat")
| fifo | fifo_filename | FIFO パイプの名前 | -
| guile | guile_eval | ソースコードの評価 | 実行するソースコード
@@ -74,6 +72,8 @@
| ruby | ruby_version | 使用中のインタプリタのバージョン | -
| spell | spell_dict | バッファで使用中の辞書のコンマ区切りリスト | バッファポインタ ("0x12345678") またはバッファのフルネーム ("irc.freenode.#weechat")
| tcl | tcl_eval | ソースコードの評価 | 実行するソースコード
| tcl | tcl_interpreter | 使用中のインタプリタの名前 | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: aspell プラグイン設定
----
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: aspell の有効化
disable: aspell の無効化
toggle: aspell の有効無効を切り替え
listdict: インストール済み辞書を表示
setdict: 現在のバッファ用の辞書を設定 (コンマで区切れば複数の辞書を指定可能)
deldict: 現在のバッファ用の辞書を削除
addword: aspell の個人辞書に単語を追加
いくつかのコマンドを除いて '/' で始まる入力行はチェックされません (/set aspell.check.commands を参照してください)。
全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例:
/set aspell.check.default_dict "en"
/aspell enable
バーの中に提案のリストを表示するには、"aspell_suggest" 要素を使ってください。
aspell の有効無効を切り替えるデフォルトのキーは alt-s です。
----
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: spell plugin configuration
----
/spell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
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)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
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
To display a list of suggestions in a bar, use item "spell_suggest".
Default key to toggle spell checker is alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** 説明: pass:none[スペルチェックを有効化するコマンドのコンマ区切りリスト (これ以外のコマンドではスペルチェックは無効)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** 説明: pass:none[バッファに辞書が定義されていない場合に使用されるデフォルト辞書 (または辞書のコンマ区切りリスト) (空のままであれば明示的に有効化されたバッファを除いて aspell を利用しない)]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** 説明: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** 説明: pass:none[バッファ内のテキスト検索中に単語チェックを行う]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** 説明: pass:none[コマンドラインで aspell を利用する]
* [[option_spell.check.enabled]] *spell.check.enabled*
** 説明: pass:none[enable spell checker for command line]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** 説明: pass:none[単語のリアルタイムスペルチェック (遅い、デフォルトでは無効: 単語は区切りの後にだけチェックされる)]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** 説明: pass:none[バッファ内の各辞書セットに対してバー要素 "aspell_suggest" に表示する提案の数 (-1 = サジェスト機能を無効、0 = 全ての言語を使って全てのサジェスト結果を表示)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** 説明: pass:none[number of suggestions to display in bar item "spell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
** タイプ: 整数
** 値: -1 .. 2147483647
** デフォルト値: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** 説明: pass:none[スペルチェックを行う単語長の最小値 (0 の場合は全ての単語をチェック)]
** タイプ: 整数
** 値: 0 .. 2147483647
** デフォルト値: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** 説明: pass:none[スペルミスのある単語に付ける色 (入力バー)]
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
** デフォルト値: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** 説明: pass:none[バー要素 "aspell_suggest" 内のスペルミスのある単語に対する修正候補に付ける色]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** 説明: pass:none[text color for suggestion on a misspelled word in bar item "spell_suggest"]
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
** デフォルト値: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** 説明: pass:none[バー要素 "aspell_suggest" 内の 2 つの辞書間の区切り文字に付ける色]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** 説明: pass:none[text color for delimiters displayed between two dictionaries in bar item "spell_suggest"]
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
** デフォルト値: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** 説明: pass:none[バー要素 "aspell_suggest" 内の 2 つの単語間の区切り文字に付ける色]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** 説明: pass:none[text color for delimiters displayed between two words in bar item "spell_suggest"]
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
** デフォルト値: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** 説明: pass:none[バー要素 "aspell_suggest" 内の 2 つの辞書間の区切り文字]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** 説明: pass:none[delimiter displayed between two dictionaries in bar item "spell_suggest"]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** 説明: pass:none[バー要素 "aspell_suggest" 内の 2 つの単語間の区切り文字]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** 説明: pass:none[delimiter displayed between two words in bar item "spell_suggest"]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+","+`
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
_alias_ プラグイン用の設定ファイル
$HOME/.weechat/aspell.conf::
_aspell_ プラグイン用の設定ファイル
$HOME/.weechat/buflist.conf::
_buflist_ プラグイン用の設定ファイル
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
_script_ プラグイン用の設定ファイル
$HOME/.weechat/spell.conf::
_spell_ プラグイン用の設定ファイル
$HOME/.weechat/tcl.conf::
_tcl_ プラグイン用の設定ファイル
+17 -9
View File
@@ -76,7 +76,6 @@ qweechat::
|          normal/ | curses インターフェース
|    plugins/ | プラグインとスクリプト向け API
|       alias/ | alias プラグイン
|       aspell/ | aspell プラグイン
|       buflist/ | buflist プラグイン
|       charset/ | charset プラグイン
|       exec/ | exec プラグイン
@@ -93,6 +92,7 @@ qweechat::
|       relay/ | relay プラグイン (irc プロキシ + リモートインターフェース用の中継)
|       ruby/ | ruby スクリプト用 API
|       script/ | スクリプトマネージャ
|       spell/ | spell プラグイン
|       tcl/ | tcl スクリプト用 API
|       trigger/ | trigger プラグイン
|       xfer/ | xfer (IRC DCC ファイル/チャット)
@@ -229,14 +229,22 @@ WeeChat "core" は以下のディレクトリに配置されています:
|       alias-completion.c | alias 補完
|       alias-config.c | alias 設定オプション (alias.conf ファイル)
|       alias-info.c | alias の情報/インフォリスト/hdata
|    aspell/ | aspell プラグイン
|       weechat-aspell.c | aspell の主要関数
|       weechat-aspell-bar-item.c | aspell バー要素
|       weechat-aspell-command.c | aspell コマンド
|       weechat-aspell-completion.c | aspell 補完
|       weechat-aspell-config.c | aspell 設定オプション (aspell.conf ファイル)
|       weechat-aspell-info.c | aspell の情報/インフォリスト/hdata
|       weechat-aspell-speller.c | スペルチェッカ管理
// TRANSLATION MISSING
|    spell/ | Spell checker plugin.
// TRANSLATION MISSING
|       spell.c | Main spell checker functions.
// TRANSLATION MISSING
|       spell-bar-item.c | Spell checker bar items.
// TRANSLATION MISSING
|       spell-command.c | Spell checker commands.
// TRANSLATION MISSING
|       spell-completion.c | Spell checker completions.
// TRANSLATION MISSING
|       spell-config.c | Spell checker config options (file spell.conf).
// TRANSLATION MISSING
|       spell-info.c | Spell checker info/infolists/hdata.
// TRANSLATION MISSING
|       spell-speller.c | Spellers management.
|    buflist/ | buflist プラグイン
|       buflist.c | buflist の主要関数
|       buflist-bar-item.c | buflist バー要素
+10 -5
View File
@@ -953,15 +953,20 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== システムに aspell 辞書をインストールした後、WeeChat を再起動せずにそれを使う方法を教えてください。
aspell プラグインをリロードしてください:
spell プラグインをリロードしてください:
----
/plugin reload aspell
/plugin reload spell
----
// TRANSLATION MISSING
[NOTE]
With WeeChat ≤ 2.3, the "spell" plugin was named "aspell", so the command is:
`/plugin reload aspell`.
[[settings]]
== 設定
@@ -992,7 +997,7 @@ aspell プラグインをリロードしてください:
* 最新の安定版を使う
(古いバージョンよりもメモリリークの可能性が減ると思われます)
* 使わないプラグインのロードを禁止する、例えば:
aspell、buflist、fifo、logger、perl、python、ruby、lua、tcl、guile、javascript、php、xfer (DCC で使用)。
buflist、fifo、logger、perl、python、ruby、lua、tcl、guile、javascript、php、spell、xfer (DCC で使用)。
`/help weechat.plugin.autoload` を参照してください。
* 本当に必要なスクリプトだけをロード
* SSL を *使わない* なら、証明書を読み込まないでください: オプション
@@ -1010,7 +1015,7 @@ aspell プラグインをリロードしてください:
* ステータスバー時間に秒の表示を止める:
`/set weechat.look.item_time_format "%H:%M"` (これはデフォルト値です)
* コマンドライン内の単語スペルミスのリアルタイムチェックを無効にする (有効にしていた場合):
`/set aspell.check.real_time off`
`/set spell.check.real_time off`
* _TZ_ 変数を設定する (例: `export TZ="Europe/Paris"`)、こうすることで
_/etc/localtime_ ファイルへ頻繁にアクセスしないようになります。
+5 -5
View File
@@ -9530,11 +9530,6 @@ WeeChat とプラグインが送信するシグナルのリスト:
|===
| プラグイン | シグナル | 引数 | 説明
| aspell | aspell_suggest +
_(WeeChat バージョン 0.4.0 以上で利用可)_ |
Pointer: バッファ |
スペルの間違っている単語に対する新しい修正候補
| guile | guile_script_loaded +
_(WeeChat バージョン 0.3.9 以上で利用可)_ |
String: スクリプトへのパス |
@@ -9834,6 +9829,11 @@ WeeChat とプラグインが送信するシグナルのリスト:
String: 削除されたスクリプトへのパスのコンマ区切りリスト |
Ruby スクリプトを削除
| spell | spell_suggest +
_(WeeChat バージョン 2.4 以上で利用可)_ |
Pointer: バッファ |
スペルの間違っている単語に対する新しい修正候補
| tcl | tcl_script_loaded +
_(WeeChat バージョン 0.3.9 以上で利用可)_ |
String: スクリプトへのパス |
+38 -37
View File
@@ -113,7 +113,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
| gettext | | | 国際化 (メッセージの翻訳; ベース言語は英語です)
| ca-certificates | | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
| libaspell-dev
∥ libenchant-dev | | | aspell プラグイン
∥ libenchant-dev | | | spell プラグイン
| python-dev | 2.6 以上 ^(4)^ | | python プラグイン
| libperl-dev | | | perl プラグイン
| ruby2.5, ruby2.5-dev | 1.8 以上 | | ruby プラグイン
@@ -197,9 +197,6 @@ cmake に対するオプションを指定するには、以下の書式を使
| ENABLE_ALIAS | `ON`, `OFF` | ON |
<<alias_plugin,Alias プラグイン>>のコンパイル。
| ENABLE_ASPELL | `ON`, `OFF` | ON |
<<aspell_plugin,Aspell プラグイン>>のコンパイル。
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
<<buflist_plugin,Buflist プラグイン>>のコンパイル。
@@ -214,7 +211,7 @@ cmake に対するオプションを指定するには、以下の書式を使
(コンパイルには時間がかかります。文書を含めたバイナリパッケージをビルドする場合、オンラインで文書を見ることができない場合だけに推奨します)。
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Enchant と含めた <<aspell_plugin,Aspell プラグイン>>のコンパイル。
Enchant と含めた <<spell_plugin,Spell プラグイン>>のコンパイル。
| ENABLE_EXEC | `ON`, `OFF` | ON |
<<exec_plugin,Exec プラグイン>>のコンパイル。
@@ -278,6 +275,9 @@ cmake に対するオプションを指定するには、以下の書式を使
すべての<<scripts_plugins,スクリプトプラグイン>>
(Python、Perl、Ruby、Lua、Tcl、Guile、JavaScript、PHP) のコンパイル。
| ENABLE_SPELL | `ON`, `OFF` | ON |
<<spell_plugin,Spell プラグイン>>のコンパイル。
| ENABLE_TCL | `ON`, `OFF` | ON |
<<scripts_plugins,Tcl プラグイン>>のコンパイル。
@@ -566,7 +566,6 @@ WeeChat ホームディレクトリには以下のファイルが含まれます
| sec.conf | 機密データを含む設定ファイル | *保護されます、機密性の高いデータ*: このファイルを誰かと共有してはいけません
| plugins.conf | プラグイン設定ファイル | 保護される場合もあります、プラグインおよびスクリプトに依存します
| alias.conf | _alias_ プラグイン用の設定ファイル | 保護される場合もあります、エイリアスに依存します
| aspell.conf | _aspell_ プラグイン用の設定ファイル | 保護されません
| buflist.conf | _buflist_ プラグイン用の設定ファイル | 保護されません
| charset.conf | _charset_ プラグイン用の設定ファイル | 保護されません
| exec.conf | _exec_ プラグイン用の設定ファイル | 保護されません
@@ -583,6 +582,7 @@ WeeChat ホームディレクトリには以下のファイルが含まれます
| relay.conf | _relay_ プラグイン用の設定ファイル | 保護されません
| ruby.conf | _ruby_ プラグイン用の設定ファイル | 保護されません
| script.conf | _script_ プラグイン用の設定ファイル | 保護されません
| spell.conf | _spell_ プラグイン用の設定ファイル | 保護されません
| tcl.conf | _tcl_ プラグイン用の設定ファイル | 保護されません
| trigger.conf | _trigger_ プラグイン用の設定ファイル | 保護される場合もあります、トリガに依存します
| xfer.conf | _xfer_ プラグイン用の設定ファイル | 保護されません
@@ -707,8 +707,8 @@ WeeChat を起動した端末の例:
[width="100%",cols="^3,^4,10",options="header"]
|===
| 要素 | 例 | 説明
| aspell_dict | `fr,en` | 現在のバッファにおけるスペリング辞書
| aspell_suggest | `print,prone,prune` | カーソル下の単語に対するスペリング候補 (スペルが間違っている場合)
| spell_dict | `fr,en` | 現在のバッファにおけるスペリング辞書
| spell_suggest | `print,prone,prune` | カーソル下の単語に対するスペリング候補 (スペルが間違っている場合)
| buffer_count | `10` | 開いているバッファの総数
| buffer_short_name | `#test` | 現在のバッファの短い名前
| irc_channel | `#test` | 現在の IRC チャンネル名
@@ -1619,7 +1619,8 @@ irc サーバ "freenode" に含まれる全てのバッファに対して設定
| kbd:[Alt+d] | コマンドラインで次の単語を削除 (削除された文字列は WeeChat 専用の内部クリップボードに保存) | `/input delete_next_word`
| kbd:[Alt+k] | キー入力を奪って、コマンドラインにコード (キーが割り当てられていればコマンド) を入力 | `/input grab_key_command`
| kbd:[Alt+r] | コマンドラインへの入力をすべて削除 | `/input delete_line`
| kbd:[Alt+s] | aspell の有効無効を切り替え | `/mute aspell toggle`
// TRANSLATION MISSING
| kbd:[Alt+s] | Toggle spell checker. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -2087,7 +2088,6 @@ _スクリプト_ とは `/python` 等のコマンドで _python_
|===
| プラグイン | 説明
| alias | コマンドの別名を定義
| aspell | コマンドラインのスペルチェック
| buflist | バッファリストを表示するためのバー要素
| charset | バッファの文字コードに従ってデコード/エンコード
| exec | WeeChat 内部から外部コマンドを実行
@@ -2105,6 +2105,7 @@ _スクリプト_ とは `/python` 等のコマンドで _python_
| guile | Guile (scheme) スクリプト API
| javascript | JavaScript スクリプト API
| php | PHP スクリプト API
| spell | コマンドラインのスペルチェック
| trigger | WeeChat およびプラグインが発生させたイベントに対するテキスト置換とコマンド実行
| xfer | ファイル転送とダイレクトチャット
|===
@@ -2147,15 +2148,15 @@ _alias.conf_ ファイル内のセクション:
/set alias.completion.* | 別名に割り当てた補完
|===
[[aspell_plugin]]
=== Aspell
[[spell_plugin]]
=== Spell
Aspell
Spell
プラグインを使うことで、コマンドラインに入力した文字列のスペルチェックができます。バッファごとに異なる言語に対するスペルチェックを実行できます。
スペルチェック機能はデフォルトで無効化されています。kbd:[Alt+s] で有効無効を切り替える事が可能です。
[[aspell_dictionaries]]
[[spell_dictionaries]]
==== 辞書
スペルチェック機能を使う前に、すべてのバッファまたは特定のバッファに対して辞書を定義しなければいけません。
@@ -2166,25 +2167,25 @@ WeeChat はすべての辞書を使って単語をチェックします。
英語とフランス語の辞書を使う例:
----
/set aspell.check.default_dict "en,fr"
/set spell.check.default_dict "en,fr"
----
特定のバッファで使用する辞書を定義することも可能です。ドイツ語のチャンネルでドイツ語の辞書を使う例:
----
/aspell setdict de
/spell setdict de
----
バッファグループに対して特定の辞書を指定することも可能です。freenode
IRC サーバに対して英語の辞書を使う例:
----
/set aspell.dict.irc.freenode en
/set spell.dict.irc.freenode en
----
詳しい情報はコマンド <<command_aspell_aspell,/aspell>> を参照してください。
詳しい情報はコマンド <<command_spell_spell,/spell>> を参照してください。
[[aspell_speller_options]]
[[spell_speller_options]]
==== Speller オプション
Speller オプションは aspell 設定の "option"
@@ -2200,17 +2201,17 @@ $ aspell config
例えば、"ignore-case" オプションを有効化するには:
----
/set aspell.option.ignore-case "true"
/set spell.option.ignore-case "true"
----
[[aspell_suggestions]]
[[spell_suggestions]]
==== 修正候補
"aspell_suggest" バー要素内に修正候補が表示されます。修正候補の数は
_aspell.check.suggestions_ オプションで設定します。
"spell_suggest" バー要素内に修正候補が表示されます。修正候補の数は
_spell.check.suggestions_ オプションで設定します。
修正候補を利用するには、_aspell.check.suggestions_ オプションをゼロ以上の整数に設定し、_status_
バーなどに "aspell_suggest" バー要素を追加してください。
修正候補を利用するには、_spell.check.suggestions_ オプションをゼロ以上の整数に設定し、_status_
バーなどに "spell_suggest" バー要素を追加してください。
英語辞書 (`en`) を用いた修正候補の例:
@@ -2228,30 +2229,30 @@ _aspell.check.suggestions_ オプションで設定します。
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
[[spell_commands]]
==== コマンド
include::autogen/user/aspell_commands.adoc[]
include::autogen/user/spell_commands.adoc[]
[[aspell_options]]
[[spell_options]]
==== オプション
_aspell.conf_ ファイル内のセクション:
_spell.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| color | /set aspell.color.* | 色
| check | /set aspell.check.* | スペルチェックの操作コマンド
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | バッファが利用するディレクトリ (オプションをセクションに追加/削除出来ます)
| look | /set aspell.look.* | 外観
| option | /set aspell.option.* | <<aspell_speller_options,Speller オプション>> (オプションをセクションに追加/削除出来ます)
| セクション | 操作コマンド | 説明
| 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::autogen/user/aspell_options.adoc[]
include::autogen/user/spell_options.adoc[]
[[buflist_plugin]]
=== Buflist
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | wartość aliasu
| aspell | aspell_dicts | lista zainstalowanych słowników aspell
| aspell | aspell_langs | lista wszystkich języków wspieranych przez aspell
| exec | exec_commands_ids | id (numery i nazwy) wykonywanych komend
| fset | fset_options | pliki konfiguracyjne, sekcje, opcje i slowa w opcjach
@@ -86,6 +82,10 @@
| script | script_tags | tagi skryptów w repozytorium
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | lista skryptów
| trigger | trigger_hook_arguments | domyślne argumenty dla hooka
+2 -2
View File
@@ -6,8 +6,6 @@
|===
| Wtyczka | Nazwa | Opis | Argumenty
| aspell | aspell_dict | oddzielona przecinkami lista słowników używanych w buforze | wskaźnik na bufor ("0x12345678") lub jego pełna nazwa ("irc.freenode.#weechat")
| fifo | fifo_filename | nazwa strumienia FIFO | -
| guile | guile_eval | wykonywanie kodu źródłowego | kod źródłowy do wykonania
@@ -74,6 +72,8 @@
| ruby | ruby_version | wersja użytego interpretera | -
| spell | spell_dict | oddzielona przecinkami lista słowników używanych w buforze | wskaźnik na bufor ("0x12345678") lub jego pełna nazwa ("irc.freenode.#weechat")
| tcl | tcl_eval | wykonywanie kodu źródłowego | kod źródłowy do wykonania
| tcl | tcl_interpreter | nazwa użytego interpretera | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: konfiguracja wtyczki aspell
----
/aspell enable|disable|toggle
listdict
setdict <język>[,<język>...]
deldict
addword [<język>] <słowo>
enable: włącza aspell
disable: wyłącza aspell
toggle: przełącza aspell
listdict: pokazuje zainstalowane słowniki
setdict: ustawia słownik dla obecnego buforu (kilka słowników może być podanych po przecinku)
deldict: usuwa słownik używany w obecnym buforze
addword: dodaje słowo do osobistego słownika aspell
Jeśli wprowadzany tekst zaczyna się od '/' nie będzie on sprawdzany, za wyjątkiem kilku komend (zobacz /set aspell.check.commands).
W celu włączenia aspell dla wszystkich buforów, należy użyć opcji "default_dict", następnie włączyć aspell, na przykład:
/set aspell.check.default_dict "en"
/aspell enable
W celu wyświetlenia listy sugestii na pasku, użyj elementu "aspell_suggest".
Domyślny skrót klawiszowy przełączający aspell to alt-s.
----
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: spell plugin configuration
----
/spell enable|disable|toggle
listdict
setdict <język>[,<język>...]
deldict
addword [<język>] <słowo>
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)
deldict: delete dictionary used on current buffer
addword: add a word in personal dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
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
To display a list of suggestions in a bar, use item "spell_suggest".
Default key to toggle spell checker is alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** opis: pass:none[oddzielona przecinkiem lista komend, dla których sprawdzana jest poprawna pisownia (sprawdzanie pisowni jest wyłączone dla pozostałych komend)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** opis: pass:none[domyślny słownik (lub oddzielona przecinkami lista słowników) używany, kiedy bufor nie ma zdefiniowanego słownika (zostaw puste, aby wyłączyć słownik w buforach, które nie posiadają konkretnie przypisanego słownika aspell)]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** opis: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** opis: pass:none[sprawdzaj słowa podczas wyszukiwania tekstu w buforze]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** opis: pass:none[włącza sprawdzanie aspell dla linii komend]
* [[option_spell.check.enabled]] *spell.check.enabled*
** opis: pass:none[enable spell checker for command line]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** opis: pass:none[sprawdzanie pisowni w czasie rzeczywistym (wolniejsze, wyłączone domyślnie: słowa są sprawdzane tylko jeśli za nimi znajduje się separator)]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** opis: pass:none[numer podpowiedzi wyświetlanych w elemencie paska "aspell_suggest" dla każdego słownika ustawionego w buforze (-1 = wyłącza podpowiedzi, 0 = wyświetla wszystkie możliwe podpowiedzi dla każdego języka)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** opis: pass:none[number of suggestions to display in bar item "spell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)]
** typ: liczba
** wartości: -1 .. 2147483647
** domyślna wartość: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** opis: pass:none[minimalna długość słowa do sprawdzenia ( 0 - sprawdzaj wszystkie słowa)]
** typ: liczba
** wartości: 0 .. 2147483647
** domyślna wartość: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** opis: pass:none[kolor używany dla błędnie zapisanych słów (pasek wprowadzania)]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** opis: pass:none[kolor tekstu sugestii dla błędnie wprowadzonego słowa w elemencie paska "aspell_suggest"]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** opis: pass:none[text color for suggestion on a misspelled word in bar item "spell_suggest"]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** opis: pass:none[kolor tekstu separatorów wyświetlanych pomiędzy dwoma słownikami w elemenci paska "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** opis: pass:none[text color for delimiters displayed between two dictionaries in bar item "spell_suggest"]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** opis: pass:none[kolor tekstu dla separatorów wyświetlanych pomiędzy dwoma słowami w elemencie paska "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** opis: pass:none[text color for delimiters displayed between two words in bar item "spell_suggest"]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** opis: pass:none[separator wyświetlany pomiędzy dwoma słownikami w elemencie paska "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** opis: pass:none[delimiter displayed between two dictionaries in bar item "spell_suggest"]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** opis: pass:none[separator wyświetlany pomiędzy dwoma słowami w elemencie paska "aspell_suggest"]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** opis: pass:none[delimiter displayed between two words in bar item "spell_suggest"]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+","+`
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
plik konfiguracyjny wtyczki _alias_
$HOME/.weechat/aspell.conf::
plik konfiguracyjny wtyczki _aspell_
$HOME/.weechat/buflist.conf::
plik konfiguracyjny wtyczki _buflist_
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
plik konfiguracyjny wtyczki _script_
$HOME/.weechat/spell.conf::
plik konfiguracyjny wtyczki _spell_
$HOME/.weechat/tcl.conf::
plik konfiguracyjny wtyczki _tcl_
+11 -6
View File
@@ -963,15 +963,20 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== Zainstalowałem słowniki aspell w systemie, jak mogę ich użyć bez restartowania WeeChat?
Musisz przeładować wtyczkę aspell:
Musisz przeładować wtyczkę spell:
----
/plugin reload aspell
/plugin reload spell
----
// TRANSLATION MISSING
[NOTE]
With WeeChat ≤ 2.3, the "spell" plugin was named "aspell", so the command is:
`/plugin reload aspell`.
[[settings]]
== Ustawienia
@@ -1002,8 +1007,8 @@ W celu zmniejszenia używanej pamięci możesz zastosować się do poniższych r
* używać najnowsze stabilnej wersji (powinna mieć mniej wycieków pamięci
niż starsze wersje)
* nie ładuj nieużywanych pluginów, np: aspell, buflist, fifo, logger, perl,
python, ruby, lua, tcl, guile, javascript, php, xfer (używana do DCC).
* nie ładuj nieużywanych pluginów, np: buflist, fifo, logger, perl, python,
ruby, lua, tcl, guile, javascript, php, spell, xfer (używana do DCC).
Zobacz `/help weechat.plugin.autoload`.
* ładować tylko naprawdę używane skrypty
* nie ładuj certyfikatów jeśli SSL *NIE* jest używany: ustaw pusty ciąg w opcji
@@ -1021,7 +1026,7 @@ Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz t
* usuń wyświetlanie sekund w czasie na pasku statusu:
`/set weechat.look.item_time_format "%H:%M"` (domyślna wartość)
* wyłącz automatyczne sprawdzanie poprawności wpisywanych słów w linii poleceń (o ile je włączyłeś):
`/set aspell.check.real_time off`
`/set spell.check.real_time off`
* ustaw zmienną _TZ_ (na przykład: `export TZ="Europe/Warsaw"`), w celu zmniejszenia
częstotliwości czytania pliku _/etc/localtime_
+38 -37
View File
@@ -114,7 +114,7 @@ WeeChat.
| gettext | | | Internacjonalizacja (tłumaczenie wiadomości; język bazowy to Angielski).
| ca-certificates | | | Certyfikaty dla połączeń SSL.
| libaspell-dev
∥ libenchant-dev | | | Wtyczka aspell.
∥ libenchant-dev | | | Wtyczka spell.
| python-dev | ≥ 2.6 ^(4)^ | | Wtyczka python.
| libperl-dev | | | Wtyczka perl.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Wtyczka ruby.
@@ -198,9 +198,6 @@ Lista popularnych opcji:
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Kompilacja <<alias_plugin,wtyczki alias>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
Kompilacja <<aspell_plugin,wtyczki aspell>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Kompilacja <<buflist_plugin,wtyczki buflist>>.
@@ -216,7 +213,7 @@ Lista popularnych opcji:
dokumentacji online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Kompilacja <<aspell_plugin,wtyczki aspell>> z Enchant.
Kompilacja <<spell_plugin,wtyczki spell>> z Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Kompilacja <<exec_plugin,wtyczki exec>>.
@@ -280,6 +277,9 @@ Lista popularnych opcji:
Kompilacja <<scripts_plugins,wtyczek skryptowych>> (Python, Perl, Ruby, Lua,
Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Kompilacja <<spell_plugin,wtyczki spell>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki tcl>>.
@@ -570,7 +570,6 @@ Pliki tworzone w katalogu domowym WeeChat:
| sec.conf | Plik konfiguracyjny z zabezpieczonymi danymi | *Tak, bardzo prażliwe*: Tym plikiem nie powinno się z nikim dzielić.
| plugins.conf | Plik konfiguracyjny wtyczek | Możliwe, zależy od wtyczki/skryptu.
| alias.conf | Plik konfiguracyjny wtyczki _alias_ | Możliwe, zależy od aliasu.
| aspell.conf | Plik konfiguracyjny wtyczki _aspell_ | Nie.
| buflist.conf | Plik konfiguracyjny wtyczki _buflist_ | Nie.
| charset.conf | Plik konfiguracyjny wtyczki _charset_ | Nie.
| exec.conf | Plik konfiguracyjny wtyczki _exec_ | Nie.
@@ -587,6 +586,7 @@ Pliki tworzone w katalogu domowym WeeChat:
| relay.conf | Plik konfiguracyjny wtyczki _relay_ | Nie.
| ruby.conf | Plik konfiguracyjny wtyczki _ruby_ | Nie.
| script.conf | Plik konfiguracyjny wtyczki _script_ | Nie.
| spell.conf | Plik konfiguracyjny wtyczki _spell_ | Nie.
| tcl.conf | Plik konfiguracyjny wtyczki _tcl_ | Nie.
| trigger.conf | Plik konfiguracyjny wtyczki _trigger_ | Możliwe, zależy od triggerów.
| xfer.conf | Plik konfiguracyjny wtyczki _xfer_ | Nie.
@@ -710,8 +710,8 @@ Inne dostępne elementy (nie używane domyślnie w paskach):
[width="100%",cols="^3,^4,10",options="header"]
|===
| Element | Przykład | Opis
| aspell_dict | `fr,en` | Słowniki używane w obecnym buforze.
| aspell_suggest | `print,prone,prune` | Sugestie dla słowa pod kursorem (jeśli zawiera błąd).
| spell_dict | `fr,en` | Słowniki używane w obecnym buforze.
| spell_suggest | `print,prone,prune` | Sugestie dla słowa pod kursorem (jeśli zawiera błąd).
| buffer_count | `10` | Liczba otwartych buforów.
| buffer_short_name | `#test` | Skrócona nazwa obecnego buforu.
| irc_channel | `#test` | Nazwa bieżącego kanału IRC.
@@ -1628,7 +1628,8 @@ Można ją zapisać za pomocą skryptu _buffer_autoset.py_: można go zaintalowa
| kbd:[Alt+d] | Usuń następne słowo w linii poleceń (usuwany ciąg jest kopiowany do wewnętrznego schowka). | `/input delete_next_word`
| kbd:[Alt+k] | Przechwyć wciśnięte klawisze i zwróć ich kod (i przypisaną komendę, jeśli istnieje) w linii poleceń. | `/input grab_key_command`
| kbd:[Alt+r] | Usuń całą zawartość linii poleceń. | `/input delete_line`
| kbd:[Alt+s] | Przełącz aspell. | `/mute aspell toggle`
// TRANSLATION MISSING
| kbd:[Alt+s] | Toggle spell checker. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -2102,7 +2103,6 @@ Domyślne wtyczki:
|===
| Wtyczka | Opis
| alias | Definiuje aliasy dla komend.
| aspell | Sprawdzanie pisowni w linii poleceń.
| buflist | Element paska z listą buforów.
| charset | Ustawianie kodowania dla buforów.
| exec | Wykonuje zewnętrzną komendę z poziomu WeeChat.
@@ -2120,6 +2120,7 @@ Domyślne wtyczki:
| guile | Wsparcie dla skryptów napisanych w Guile (scheme).
| javascript | Wsparcie dla skryptów napisanych w JavaScript.
| php | Wsparcie dla skryptów napisanych w PHP.
| spell | Sprawdzanie pisowni w linii poleceń.
| trigger | Zamiana tekstu i wykonywanie komend dla zdarzeń wywołanych przez WeeChat/wtyczki.
| xfer | Przesyłanie plików i bezpośredni chat.
|===
@@ -2160,15 +2161,15 @@ Ssekcje w pliku _alias.conf_:
/set alias.completion.* | Completions for aliases.
|===
[[aspell_plugin]]
=== Aspell
[[spell_plugin]]
=== Spell
Wtyczka aspell pozwala na sprawdzanie pisowni w linii poleceń. Możliwe jest
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].
[[aspell_dictionaries]]
[[spell_dictionaries]]
==== Słowniki
Przed użyciem sprawdzania pisowni należy zdefiniować słowniki można to zrobić
@@ -2180,26 +2181,26 @@ słownikach.
Na przykład dla angielskiego i francuskiego:
----
/set aspell.check.default_dict "en,fr"
/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:
----
/aspell setdict de
/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 freenode:
----
/set aspell.dict.irc.freenode en
/set spell.dict.irc.freenode en
----
Więcej informacji można znaleźć w opisie komendy <<command_aspell_aspell,/aspell>>.
Więcej informacji można znaleźć w opisie komendy <<command_spell_spell,/spell>>.
[[aspell_speller_options]]
[[spell_speller_options]]
==== Opcje słowników
Opcje słowników mogą zostać zdefiniowane poprzez dodanie opcji w sekcji "option"
@@ -2215,17 +2216,17 @@ $ aspell config
Na przykład, aby włączyć opcję "ignore-case":
----
/set aspell.option.ignore-case "true"
/set spell.option.ignore-case "true"
----
[[aspell_suggestions]]
[[spell_suggestions]]
==== Sugestie
Sugestie są wyświetlane w elemencie paska "aspell_suggest". Ilość wyświetlanych
sugestii można ustawić za pomocą opcji _aspell.check.suggestions_.
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ę _aspell.check.suggestions_ na liczbę
≥ 0 i dodać element "aspell_suggest" do jakiegoś paska, jak _status_.
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`):
@@ -2243,30 +2244,30 @@ Przykład sugestii ze słownikami angielskim i francuskim (`en,fr`):
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
[[spell_commands]]
==== Komendy
include::autogen/user/aspell_commands.adoc[]
include::autogen/user/spell_commands.adoc[]
[[aspell_options]]
[[spell_options]]
==== Opcje
Sekcje w pliku _aspell.conf_:
Sekcje w pliku _spell.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| color | /set aspell.color.* | Kolory.
| check | /set aspell.check.* | Opcje do kontrolowania sprawdzania pisowni.
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Słowniki używane w buforze (opcje w tej sekcji mogą być dodawane/usuwane).
| look | /set aspell.look.* | Wygląd.
| option | /set aspell.option.* | <<aspell_speller_options,Opcje słowników>> (opcje w tej sekcji mogą być dodawane/usuwane).
| 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::autogen/user/aspell_options.adoc[]
include::autogen/user/spell_options.adoc[]
[[buflist_plugin]]
=== Buflist
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
файл конфигурации для плагина _alias_
$HOME/.weechat/aspell.conf::
файл конфигурации для плагина _aspell_
$HOME/.weechat/buflist.conf::
файл конфигурации для плагина _buflist_
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
файл конфигурации для плагина _script_
$HOME/.weechat/spell.conf::
файл конфигурации для плагина _spell_
$HOME/.weechat/tcl.conf::
файл конфигурации для плагина _tcl_