diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-18 16:20:10 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-18 16:20:10 +0200 |
commit | 843451f9bf2d9a61e75842b1202d412ab0c05587 (patch) | |
tree | 6463b9540181712703b5a8acce1ca40594c6af23 | |
parent | ac107802fdd508ecaa6fd44cc56d2ff1cdc3f9b6 (diff) | |
download | weechat-843451f9bf2d9a61e75842b1202d412ab0c05587.zip |
Remove aspell real_time option (not used any more), update aspell doc
-rw-r--r-- | doc/de/autogen/aspell_commands.xml | 19 | ||||
-rw-r--r-- | doc/de/autogen/aspell_options.xml | 104 | ||||
-rw-r--r-- | doc/docgen.pl | 14 | ||||
-rw-r--r-- | doc/en/autogen/aspell_commands.xml | 19 | ||||
-rw-r--r-- | doc/en/autogen/aspell_options.xml | 104 | ||||
-rw-r--r-- | doc/fr/autogen/aspell_commands.xml | 19 | ||||
-rw-r--r-- | doc/fr/autogen/aspell_options.xml | 104 | ||||
-rw-r--r-- | doc/include_autogen.xml | 2 | ||||
-rw-r--r-- | po/cs.po | 7 | ||||
-rw-r--r-- | po/de.po | 7 | ||||
-rw-r--r-- | po/es.po | 7 | ||||
-rw-r--r-- | po/fr.po | 9 | ||||
-rw-r--r-- | po/hu.po | 7 | ||||
-rw-r--r-- | po/ru.po | 7 | ||||
-rw-r--r-- | po/weechat.pot | 7 | ||||
-rw-r--r-- | src/plugins/aspell/aspell-config.c | 7 | ||||
-rw-r--r-- | src/plugins/aspell/aspell-config.h | 2 |
17 files changed, 386 insertions, 59 deletions
diff --git a/doc/de/autogen/aspell_commands.xml b/doc/de/autogen/aspell_commands.xml new file mode 100644 index 000000000..fe4d6ef5f --- /dev/null +++ b/doc/de/autogen/aspell_commands.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ********* WARNING! ********* + + This file is autogenerated with docgen.pl script. *** DO NOT EDIT! *** + docgen.pl builds XML doc files to include in many languages +--> + +<command>aspell [list | enable lang | disable | addword [lang] word]</command> +<programlisting> +aspell plugin configuration + + list: show installed dictionnaries + enable: enable aspell on current buffer +disable: disable aspell on current buffer +addword: add a word in your personnal aspell dictionary + +Input line beginning with a '/' is not checked, except for some commands. +</programlisting> diff --git a/doc/de/autogen/aspell_options.xml b/doc/de/autogen/aspell_options.xml new file mode 100644 index 000000000..f26722a36 --- /dev/null +++ b/doc/de/autogen/aspell_options.xml @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ********* WARNING! ********* + + This file is autogenerated with docgen.pl script. *** DO NOT EDIT! *** + docgen.pl builds XML doc files to include in many languages +--> + +<command>aspell.check.commands</command> +<itemizedlist> + <listitem> + <para>description: comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: 'ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic'</para> + </listitem> +</itemizedlist> + +<command>aspell.check.default_dict</command> +<itemizedlist> + <listitem> + <para>description: 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 explicitely enabled it)</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: ''</para> + </listitem> +</itemizedlist> + +<command>aspell.check.word_min_length</command> +<itemizedlist> + <listitem> + <para>description: minimum length for a word to be spell checked (use 0 to check all words)</para> + </listitem> + <listitem> + <para>type: integer</para> + </listitem> + <listitem> + <para>values: 0 .. 2147483647</para> + </listitem> + <listitem> + <para>default value: 2</para> + </listitem> +</itemizedlist> + +<command>aspell.dict.irc.local.#test</command> +<itemizedlist> + <listitem> + <para>description: liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: 'fr'</para> + </listitem> +</itemizedlist> + +<command>aspell.dict.irc.local.#test2</command> +<itemizedlist> + <listitem> + <para>description: liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: 'fr'</para> + </listitem> +</itemizedlist> + +<command>aspell.look.color</command> +<itemizedlist> + <listitem> + <para>description: color used for mispelled words</para> + </listitem> + <listitem> + <para>type: color</para> + </listitem> + <listitem> + <para>values: a color name</para> + </listitem> + <listitem> + <para>default value: lightred</para> + </listitem> +</itemizedlist> + diff --git a/doc/docgen.pl b/doc/docgen.pl index 8a04f2798..76d8326da 100644 --- a/doc/docgen.pl +++ b/doc/docgen.pl @@ -63,13 +63,13 @@ my @locale_list = qw(en_US fr_FR de_DE); # /name (where "name" # is name of plugin) # Note: we consider core is a plugin called "weechat" my %plugin_list = ("weechat" => "co", "alias" => "", - "charset" => "c", "debug" => "co", - "demo" => "co", "fifo" => "co", - "irc" => "co", "logger" => "co", - "notify" => "co", "perl" => "", - "python" => "", "ruby" => "", - "lua" => "", "tcl" => "", - "xfer" => "co"); + "aspell" => "o", "charset" => "c", + "debug" => "co", "demo" => "co", + "fifo" => "co", "irc" => "co", + "logger" => "co", "notify" => "co", + "perl" => "", "python" => "", + "ruby" => "", "lua" => "", + "tcl" => "", "xfer" => "co"); # options to ignore my @ignore_options = ("weechat\\.bar\\..*", diff --git a/doc/en/autogen/aspell_commands.xml b/doc/en/autogen/aspell_commands.xml new file mode 100644 index 000000000..fe4d6ef5f --- /dev/null +++ b/doc/en/autogen/aspell_commands.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ********* WARNING! ********* + + This file is autogenerated with docgen.pl script. *** DO NOT EDIT! *** + docgen.pl builds XML doc files to include in many languages +--> + +<command>aspell [list | enable lang | disable | addword [lang] word]</command> +<programlisting> +aspell plugin configuration + + list: show installed dictionnaries + enable: enable aspell on current buffer +disable: disable aspell on current buffer +addword: add a word in your personnal aspell dictionary + +Input line beginning with a '/' is not checked, except for some commands. +</programlisting> diff --git a/doc/en/autogen/aspell_options.xml b/doc/en/autogen/aspell_options.xml new file mode 100644 index 000000000..f26722a36 --- /dev/null +++ b/doc/en/autogen/aspell_options.xml @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ********* WARNING! ********* + + This file is autogenerated with docgen.pl script. *** DO NOT EDIT! *** + docgen.pl builds XML doc files to include in many languages +--> + +<command>aspell.check.commands</command> +<itemizedlist> + <listitem> + <para>description: comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: 'ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic'</para> + </listitem> +</itemizedlist> + +<command>aspell.check.default_dict</command> +<itemizedlist> + <listitem> + <para>description: 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 explicitely enabled it)</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: ''</para> + </listitem> +</itemizedlist> + +<command>aspell.check.word_min_length</command> +<itemizedlist> + <listitem> + <para>description: minimum length for a word to be spell checked (use 0 to check all words)</para> + </listitem> + <listitem> + <para>type: integer</para> + </listitem> + <listitem> + <para>values: 0 .. 2147483647</para> + </listitem> + <listitem> + <para>default value: 2</para> + </listitem> +</itemizedlist> + +<command>aspell.dict.irc.local.#test</command> +<itemizedlist> + <listitem> + <para>description: liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: 'fr'</para> + </listitem> +</itemizedlist> + +<command>aspell.dict.irc.local.#test2</command> +<itemizedlist> + <listitem> + <para>description: liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon</para> + </listitem> + <listitem> + <para>type: string</para> + </listitem> + <listitem> + <para>values: any string</para> + </listitem> + <listitem> + <para>default value: 'fr'</para> + </listitem> +</itemizedlist> + +<command>aspell.look.color</command> +<itemizedlist> + <listitem> + <para>description: color used for mispelled words</para> + </listitem> + <listitem> + <para>type: color</para> + </listitem> + <listitem> + <para>values: a color name</para> + </listitem> + <listitem> + <para>default value: lightred</para> + </listitem> +</itemizedlist> + diff --git a/doc/fr/autogen/aspell_commands.xml b/doc/fr/autogen/aspell_commands.xml new file mode 100644 index 000000000..28f33d09e --- /dev/null +++ b/doc/fr/autogen/aspell_commands.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ********* WARNING! ********* + + This file is autogenerated with docgen.pl script. *** DO NOT EDIT! *** + docgen.pl builds XML doc files to include in many languages +--> + +<command>aspell [list | enable lang | disable | addword [lang] word]</command> +<programlisting> +configuration de l'extension aspell + + list: affichier les dictionnaires installés + enable: active aspell sur le tampon courant +disable: désactive aspell sur le tampon courant +addword: ajoute un mot dans le dictionnaire personnel aspell + +Les lignes d'entrée commençant par '/' ne sont pas vérifiées, excepté pour certaines commandes. +</programlisting> diff --git a/doc/fr/autogen/aspell_options.xml b/doc/fr/autogen/aspell_options.xml new file mode 100644 index 000000000..34a21f6ed --- /dev/null +++ b/doc/fr/autogen/aspell_options.xml @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ********* WARNING! ********* + + This file is autogenerated with docgen.pl script. *** DO NOT EDIT! *** + docgen.pl builds XML doc files to include in many languages +--> + +<command>aspell.check.commands</command> +<itemizedlist> + <listitem> + <para>description: 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)</para> + </listitem> + <listitem> + <para>type: chaîne</para> + </listitem> + <listitem> + <para>valeurs: toute chaîne</para> + </listitem> + <listitem> + <para>valeur par défaut: 'ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic'</para> + </listitem> +</itemizedlist> + +<command>aspell.check.default_dict</command> +<itemizedlist> + <listitem> + <para>description: 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é)</para> + </listitem> + <listitem> + <para>type: chaîne</para> + </listitem> + <listitem> + <para>valeurs: toute chaîne</para> + </listitem> + <listitem> + <para>valeur par défaut: ''</para> + </listitem> +</itemizedlist> + +<command>aspell.check.word_min_length</command> +<itemizedlist> + <listitem> + <para>description: longueur minimum d'un mot pour que l'otrhographe soit vérifiée (utilisez 0 pour vérifier tous les mots)</para> + </listitem> + <listitem> + <para>type: entier</para> + </listitem> + <listitem> + <para>valeurs: 0 .. 2147483647</para> + </listitem> + <listitem> + <para>valeur par défaut: 2</para> + </listitem> +</itemizedlist> + +<command>aspell.dict.irc.local.#test</command> +<itemizedlist> + <listitem> + <para>description: liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon</para> + </listitem> + <listitem> + <para>type: chaîne</para> + </listitem> + <listitem> + <para>valeurs: toute chaîne</para> + </listitem> + <listitem> + <para>valeur par défaut: 'fr'</para> + </listitem> +</itemizedlist> + +<command>aspell.dict.irc.local.#test2</command> +<itemizedlist> + <listitem> + <para>description: liste de dictionnaires (séparés par des virgules) à utiliser sur ce tampon</para> + </listitem> + <listitem> + <para>type: chaîne</para> + </listitem> + <listitem> + <para>valeurs: toute chaîne</para> + </listitem> + <listitem> + <para>valeur par défaut: 'fr'</para> + </listitem> +</itemizedlist> + +<command>aspell.look.color</command> +<itemizedlist> + <listitem> + <para>description: couleur utilisée pour les mots mal orthographiés</para> + </listitem> + <listitem> + <para>type: couleur</para> + </listitem> + <listitem> + <para>valeurs: un nom de couleur</para> + </listitem> + <listitem> + <para>valeur par défaut: lightred</para> + </listitem> +</itemizedlist> + diff --git a/doc/include_autogen.xml b/doc/include_autogen.xml index 0c2035e45..227de3407 100644 --- a/doc/include_autogen.xml +++ b/doc/include_autogen.xml @@ -1,6 +1,7 @@ <!-- commands --> <!ENTITY alias_commands.xml SYSTEM "autogen/alias_commands.xml"> +<!ENTITY aspell_commands.xml SYSTEM "autogen/aspell_commands.xml"> <!ENTITY charset_commands.xml SYSTEM "autogen/charset_commands.xml"> <!ENTITY debug_commands.xml SYSTEM "autogen/debug_commands.xml"> <!ENTITY demo_commands.xml SYSTEM "autogen/demo_commands.xml"> @@ -16,6 +17,7 @@ <!-- config options --> +<!ENTITY aspell_options.xml SYSTEM "autogen/aspell_options.xml"> <!ENTITY irc_options.xml SYSTEM "autogen/irc_options.xml"> <!ENTITY logger_options.xml SYSTEM "autogen/logger_options.xml"> <!ENTITY weechat_options.xml SYSTEM "autogen/weechat_options.xml"> @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: 2008-09-17 16:19+0200\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2154,11 +2154,6 @@ msgid "" "minimum length for a word to be spell checked (use 0 to check all words)" msgstr "" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2102,11 +2102,6 @@ msgid "" "minimum length for a word to be spell checked (use 0 to check all words)" msgstr "" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: 2007-09-19 12:09+0200\n" "Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2077,11 +2077,6 @@ msgid "" "minimum length for a word to be spell checked (use 0 to check all words)" msgstr "" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: 2008-10-18 15:35+0200\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2111,13 +2111,6 @@ msgstr "" "longueur minimum d'un mot pour que l'otrhographe soit vérifiée (utilisez 0 " "pour vérifier tous les mots)" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" -"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)" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: 2007-10-10 18:07+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2108,11 +2108,6 @@ msgid "" "minimum length for a word to be spell checked (use 0 to check all words)" msgstr "" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2112,11 +2112,6 @@ msgid "" "minimum length for a word to be spell checked (use 0 to check all words)" msgstr "" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index f19e792ce..f9c8c2e98 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-18 15:34+0200\n" +"POT-Creation-Date: 2008-10-18 16:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1774,11 +1774,6 @@ msgid "" "minimum length for a word to be spell checked (use 0 to check all words)" msgstr "" -msgid "" -"real-time spell checking of words (slower, disabled by default: words are " -"checked only if there's delimiter after)" -msgstr "" - #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "" diff --git a/src/plugins/aspell/aspell-config.c b/src/plugins/aspell/aspell-config.c index b9eee52d7..661a209bb 100644 --- a/src/plugins/aspell/aspell-config.c +++ b/src/plugins/aspell/aspell-config.c @@ -40,7 +40,6 @@ struct t_config_option *weechat_aspell_config_look_color; struct t_config_option *weechat_aspell_config_check_commands; struct t_config_option *weechat_aspell_config_check_default_dict; -struct t_config_option *weechat_aspell_config_check_real_time; struct t_config_option *weechat_aspell_config_check_word_min_length; @@ -269,12 +268,6 @@ weechat_aspell_config_init () N_("minimum length for a word to be spell checked (use 0 to check all " "words)"), NULL, 0, INT_MAX, "2", NULL, NULL, NULL, NULL, NULL, NULL); - weechat_aspell_config_check_real_time = weechat_config_new_option ( - weechat_aspell_config_file, ptr_section, - "real_time", "boolean", - N_("real-time spell checking of words (slower, disabled by default: " - "words are checked only if there's delimiter after)"), - NULL, 0, 0, "off", NULL, NULL, NULL, NULL, NULL, NULL); ptr_section = weechat_config_new_section (weechat_aspell_config_file, "dict", 1, 1, diff --git a/src/plugins/aspell/aspell-config.h b/src/plugins/aspell/aspell-config.h index f307d3ff1..3ecfeab92 100644 --- a/src/plugins/aspell/aspell-config.h +++ b/src/plugins/aspell/aspell-config.h @@ -25,8 +25,8 @@ extern struct t_config_option *weechat_aspell_config_look_color; +extern struct t_config_option *weechat_aspell_config_check_commands; extern struct t_config_option *weechat_aspell_config_check_default_dict; -extern struct t_config_option *weechat_aspell_config_check_real_time; extern struct t_config_option *weechat_aspell_config_check_word_min_length; extern char **weechat_aspell_commands_to_check; |