Summary: | Kopete: list of words to auto-replace mistranslated | ||
---|---|---|---|
Product: | [Translations] i18n | Reporter: | Alejandro Lorenzo <alejandro_aero> |
Component: | es | Assignee: | V <romero> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | edulix |
Priority: | NOR | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | All | ||
Latest Commit: | Version Fixed In: |
Description
Alejandro Lorenzo
2004-02-06 16:13:49 UTC
CVS commit by lilachaze: Don't hang if the translation has an odd number of words CCMAIL: 74360@bugs.kde.org M +4 -1 autoreplaceconfig.cpp 1.4 --- kdenetwork/kopete/plugins/autoreplace/autoreplaceconfig.cpp #1.3:1.4 @@ -47,5 +47,8 @@ void AutoReplaceConfig::load() { k = *it; - v = *( ++it ); + ++it; + if( it == wordsList.end() ) + break; + v = *it; m_map.insert( k, v ); } The string with comment "list_of_words_to_replace", value "ur,your,r,are,u,you,theres,there is,arent,are not,dont,do not" is mistranslated - the list should be a list of pairs of words where the first is the word to replace, and the second is what to replace it with. The translation in the spanish translation had 7 words in. It used to be the case that an odd number of words here would cause Kopete to hang; this is now fixed, but the final word is just ignored. In any case, the string should be fixed to have an even number of words in it. CVS commit by pvicente: CVS_SILENT Fixes bug 74360. The list was provided by Alejandro Exojo. CCMAIL: 74360@bugs.kde.org M +18 -28 kopete.po 1.398.2.2 --- kde-i18n/es/messages/kdenetwork/kopete.po #1.398.2.1:1.398.2.2 @@ -6,4 +6,5 @@ # Antonio Crevillen <antonio.crevillen@hispalinux.es>, 2003. # Jaime Robles <jaime@kde.org>, 2004. +# Pablo de Vicente <pvicentea@wanadoo.es>, 2004. # msgid "" @@ -11,7 +12,7 @@ "Project-Id-Version: kopete\n" "POT-Creation-Date: 2004-01-27 10:11+0100\n" -"PO-Revision-Date: 2004-01-15 14:38+0100\n" -"Last-Translator: Miguel Revilla Rodríguez <yo@miguelrevilla.com>\n" -"Language-Team: Español <kde-es@kybs.de>\n" +"PO-Revision-Date: 2004-02-09 22:14CET\n" +"Last-Translator: Pablo de Vicente <pvicentea@wanadoo.es>\n" +"Language-Team: Español <kde-es@kyb.uni-stuttgart.de>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -375,8 +376,6 @@ #: libkopete/kopetecommandhandler.cpp:169 -msgid "" -"Available Commands:\n" -msgstr "" -"Comandos disponibles:\n" +msgid "Available Commands:\n" +msgstr "Comandos disponibles:\n" #: libkopete/kopetecommandhandler.cpp:182 @@ -5566,5 +5565,5 @@ "_: list_of_words_to_replace\n" "ur,your,r,are,u,you,theres,there is,arent,are not,dont,do not" -msgstr "x,xa,k,t,ta,nas,res" +msgstr "x,por,xa,para,q,que,tb,también,a1q,aunque,mñn,mañana" #: plugins/contactnotes/contactnotesedit.cpp:29 @@ -5670,32 +5669,22 @@ #: protocols/irc/irccontact.cpp:229 -msgid "" -"%1 is (%2@%3): %4\n" -msgstr "" -"%1 es (%2@%3): %4\n" +msgid "%1 is (%2@%3): %4\n" +msgstr "%1 es (%2@%3): %4\n" #: protocols/irc/irccontact.cpp:231 -msgid "" -"%1 is an IRC operator\n" -msgstr "" -"%1 es operador de IRC\n" +msgid "%1 is an IRC operator\n" +msgstr "%1 es operador de IRC\n" #: protocols/irc/irccontact.cpp:234 -msgid "" -"on channels %1\n" -msgstr "" -"en los canales %1\n" +msgid "on channels %1\n" +msgstr "en los canales %1\n" #: protocols/irc/irccontact.cpp:237 -msgid "" -"on IRC via server %1 ( %2 )\n" -msgstr "" -"en IRC vía servidor %1 ( %2 )\n" +msgid "on IRC via server %1 ( %2 )\n" +msgstr "en IRC vía servidor %1 ( %2 )\n" #: protocols/irc/irccontact.cpp:240 -msgid "" -"idle: %2\n" -msgstr "" -"inactivo: %2\n" +msgid "idle: %2\n" +msgstr "inactivo: %2\n" #: protocols/irc/irccontact.cpp:275 @@ -11266,2 +11255,3 @@ #~ msgid "WP" #~ msgstr "WP" + Translated the string "ur,your,r,are,u,you,theres,there is,arent,are not,dont,do not" correctly. The list of pairs of words was suggested by Alejandro Exojo. Thanks for the clarification to Richard Smith Pablo de Vicente |