From 6983d34e884bf21c72990a9ad4ab7cad35f0c555 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 31 Jan 2013 19:40:41 +0100 Subject: aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts" Two hashtables have been added to store the spellers currently used (in all buffers) and info for each buffer: array with pointers to spellers and state of aspell for this buffer. Therefore the spellers are not destroyed and created again on each buffer switch, or each time screen is refreshed when window is split. --- po/es.po | 65 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 25 deletions(-) (limited to 'po/es.po') diff --git a/po/es.po b/po/es.po index d68c4404d..ebe9ab11d 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.1-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-01-29 20:16+0100\n" +"POT-Creation-Date: 2013-01-31 19:07+0100\n" "PO-Revision-Date: 2013-01-20 12:07+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -3951,19 +3951,31 @@ msgstr "" msgid "Spell checker for input (with Aspell)" msgstr "" -#, c-format -msgid "%s: \"%s\" removed" -msgstr "%s: \"%s\" eliminado" - #. TRANSLATORS: "%s" is "aspell" #, c-format msgid "%s dictionaries list:" msgstr "Lista de diccionarios %s:" +#, c-format +msgid "%s: \"%s\" removed" +msgstr "%s: \"%s\" eliminado" + #, c-format msgid "%s: error: dictionary \"%s\" is not available on your system" msgstr "%s: error: diccionario \"%s\" no está disponible en tu sistema" +#, c-format +msgid "%s%s: no dictionary on this buffer for adding word" +msgstr "%s%s: no hay diccionario en este buffer para agregar una palabra" + +#, c-format +msgid "" +"%s%s: many dictionaries are defined for this buffer, please specify " +"dictionary" +msgstr "" +"%s%s: varios diccionarios definidos para este buffer, por favor especifique " +"uno" + #, c-format msgid "%s: word \"%s\" added to personal dictionary" msgstr "%s: palabra \"%s\" agregada al diccionario personal" @@ -3994,24 +4006,13 @@ msgstr "Aspell activado" msgid "Aspell disabled" msgstr "Aspell desactivado" -#, c-format -msgid "%s%s: no dictionary on this buffer for adding word" -msgstr "%s%s: no hay diccionario en este buffer para agregar una palabra" - -#, c-format -msgid "" -"%s%s: many dictionaries are defined for this buffer, please specify " -"dictionary" -msgstr "" -"%s%s: varios diccionarios definidos para este buffer, por favor especifique " -"uno" - msgid "aspell plugin configuration" msgstr "configuración del plugin aspell" +#, fuzzy msgid "" -"enable|disable|toggle || listdict || setdict || deldict || addword " -"[] " +"enable|disable|toggle || listdict || setdict [,...] || deldict " +"|| addword [] " msgstr "" "enable|disable|toggle || listdict || setdict || deldict || addword " "[] " @@ -4022,7 +4023,8 @@ msgid "" " disable: disable aspell\n" " toggle: toggle aspell\n" "listdict: show installed dictionaries\n" -" setdict: set dictionary for current buffer\n" +" setdict: set dictionary for current buffer (multiple dictionaries can be " +"separated by a comma)\n" " deldict: delete dictionary used on current buffer\n" " addword: add a word in personal aspell dictionary\n" "\n" @@ -4048,9 +4050,14 @@ msgstr "" "por ejemplo:\n" " /set aspell.check.default_dict \"es\"" -msgid "list of supported langs for aspell" +#, fuzzy +msgid "list of all languages supported by aspell" msgstr "lista de lenguajes soportados para aspell" +#, fuzzy +msgid "list of aspell installed dictionaries" +msgstr "lista de scripts instalados (desde el repositorio)" + msgid "comma separated list of dictionaries to use on this buffer" msgstr "lista separada por comas de diccionarios para usar en este buffer" @@ -4114,14 +4121,19 @@ msgstr "" "longitud mínima de una palabra para poder ser verificada ortográficamente " "(usar 0 para verificar todas las palabras)" +#, fuzzy +msgid "comma-separated list of dictionaries used in buffer" +msgstr "lista separada por comas de diccionarios para usar en este buffer" + +msgid "" +"buffer pointer (\"0x12345678\") or buffer full name (\"irc.freenode.#weechat" +"\")" +msgstr "" + #, c-format msgid "%s: warning: dictionary \"%s\" is not available on your system" msgstr "%s: atención: diccionario \"%s\" no está disponible en su sistema" -#, c-format -msgid "%s%s: not enough memory to create new speller" -msgstr "%s%s: no hay suficiente memoria para crear el nuevo deletreador" - msgid "Charset conversions" msgstr "Conversiones de mapa de caracteres" @@ -9542,6 +9554,9 @@ msgstr "Tipo" msgid "Constants" msgstr "Constantes" +#~ msgid "%s%s: not enough memory to create new speller" +#~ msgstr "%s%s: no hay suficiente memoria para crear el nuevo deletreador" + #~ msgid "%s%s: cannot set socket option \"SO_REUSEADDR\"" #~ msgstr "" #~ "%s%s: no ha sido posible configurar la opción del socket \"SO_REUSEADDR\"" -- cgit v1.2.3