From d9a4bdf6295196fbe1e02bf27a44a0acf21c6252 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 23 Mar 2008 11:41:09 +0100 Subject: Check plugin version when loading it, to prevent crash when loading old plugins --- po/cs.po | 18 +++++++++++++++--- po/de.po | 18 +++++++++++++++--- po/es.po | 18 +++++++++++++++--- po/fr.po | 31 +++++++++++++++++++++++-------- po/hu.po | 18 +++++++++++++++--- po/ru.po | 18 +++++++++++++++--- po/weechat.pot | 10 ++++++++-- 7 files changed, 106 insertions(+), 25 deletions(-) (limited to 'po') diff --git a/po/cs.po b/po/cs.po index 6664076de..05d072d5f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -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-03-22 23:32+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -4245,6 +4245,14 @@ msgid "" msgstr "" "%s nemohu načíst plugin \"%s\": plugin se stejným jménem již existuje\n" +#, fuzzy, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" +"%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení " +"selhalo\n" + #, fuzzy, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -4260,8 +4268,8 @@ msgid "%sError: unable to load plugin \"%s\" (not enough memory)" msgstr "%s nemohu načíst plugin \"%s\" (nedostatek paměti)\n" #, fuzzy, c-format -msgid "%sPlugin \"%s\" %s loaded" -msgstr "Plugin \"%s\" (%s) načten.\n" +msgid "%sPlugin \"%s\" loaded" +msgstr "Plugin \"%s\" odebrán.\n" #, fuzzy, c-format msgid "%sPlugin \"%s\" unloaded" @@ -4489,6 +4497,10 @@ msgstr "" msgid "%s%s: wrong arguments for function \"%s\"" msgstr "%s špatné parametry pro příkaz \"%s\"\n" +#, fuzzy +#~ msgid "%sPlugin \"%s\" %s loaded" +#~ msgstr "Plugin \"%s\" (%s) načten.\n" + #, fuzzy #~ msgid "%sError: wrong number \"%s\" for filter" #~ msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" diff --git a/po/de.po b/po/de.po index 143986f6d..8a5f1d978 100644 --- a/po/de.po +++ b/po/de.po @@ -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-03-22 23:32+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Thomas Schuetz \n" "Language-Team: weechat-dev \n" @@ -4237,6 +4237,14 @@ msgstr "" "%s kann Plugin \"%s\" nicht laden: ein gleichnamiges Plugin existiert " "bereits\n" +#, fuzzy, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" +"%s Funktion \"weechat_plugin_init\" nicht in Plugin \"%s\" gefunden Laden " +"gescheitert\n" + #, fuzzy, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -4252,8 +4260,8 @@ msgid "%sError: unable to load plugin \"%s\" (not enough memory)" msgstr "%s kann das Plugin \"%s\" nicht laden (Speichermangel)\n" #, fuzzy, c-format -msgid "%sPlugin \"%s\" %s loaded" -msgstr "Plugin \"%s\" (%s) geladen.\n" +msgid "%sPlugin \"%s\" loaded" +msgstr "Plugin \"%s\" entladen.\n" #, fuzzy, c-format msgid "%sPlugin \"%s\" unloaded" @@ -4481,6 +4489,10 @@ msgstr "" msgid "%s%s: wrong arguments for function \"%s\"" msgstr "%s fehlerhafte Argumente für der \"%s\"-Befehl\n" +#, fuzzy +#~ msgid "%sPlugin \"%s\" %s loaded" +#~ msgstr "Plugin \"%s\" (%s) geladen.\n" + #, fuzzy #~ msgid "%sError: wrong number \"%s\" for filter" #~ msgstr "%s fehlerhafte Anzahl von Argumenten für der \"%s\"-Befehl\n" diff --git a/po/es.po b/po/es.po index d89da8c47..35ec25f8c 100644 --- a/po/es.po +++ b/po/es.po @@ -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-03-22 23:32+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" "PO-Revision-Date: 2007-09-19 12:09+0200\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" @@ -4249,6 +4249,14 @@ msgstr "" "%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre " "ya existe\n" +#, fuzzy, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" +"%s función \"weechat_plugin_init\" no encontrada en el plugin \"%s\", " +"falló al cargar\n" + #, fuzzy, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -4265,8 +4273,8 @@ msgstr "" "%s no ha sido posible cargar el plugin \"%s\" (no hay suficiente memoria)\n" #, fuzzy, c-format -msgid "%sPlugin \"%s\" %s loaded" -msgstr "Plugin \"%s\" (%s) cargado.\n" +msgid "%sPlugin \"%s\" loaded" +msgstr "Plugin \"%s\" descargado.\n" #, fuzzy, c-format msgid "%sPlugin \"%s\" unloaded" @@ -4493,6 +4501,10 @@ msgstr "" msgid "%s%s: wrong arguments for function \"%s\"" msgstr "%s argumentos incorrectos para el comando \"%s\"\n" +#, fuzzy +#~ msgid "%sPlugin \"%s\" %s loaded" +#~ msgstr "Plugin \"%s\" (%s) cargado.\n" + #, fuzzy #~ msgid "%sError: wrong number \"%s\" for filter" #~ msgstr "%s número de argumentos incorrecto para el comando \"%s\"\n" diff --git a/po/fr.po b/po/fr.po index e85613f47..9d03f2755 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-03-22 23:32+0100\n" -"PO-Revision-Date: 2008-03-22 23:33+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" +"PO-Revision-Date: 2008-03-23 11:39+0100\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -643,10 +643,14 @@ msgstr "" " toggle: active/désactive les filtres\n" " add: ajoute un filtre\n" " del: supprime un filtre\n" -" numéro: numéro du filtre à supprimer (voir la liste des filtres pour le trouver)\n" -" buffer: tampon où le filtre est actif: cela peut être un nom (catégorie.nom) ou \"*\" pour tous les tampons\n" -" tags: liste de tags, séparés par des virgules, par exemple: \"irc_join,irc_part,irc_quit\"\n" -" regex: expressoin régulière à rechercher dans la ligne (utiliser \\t pour séparer le préfixe du message)" +" numéro: numéro du filtre à supprimer (voir la liste des filtres pour le " +"trouver)\n" +" buffer: tampon où le filtre est actif: cela peut être un nom (catégorie." +"nom) ou \"*\" pour tous les tampons\n" +" tags: liste de tags, séparés par des virgules, par exemple: \"irc_join," +"irc_part,irc_quit\"\n" +" regex: expressoin régulière à rechercher dans la ligne (utiliser \\t pour " +"séparer le préfixe du message)" msgid "display help about commands" msgstr "afficher l'aide sur les commandes" @@ -4188,6 +4192,14 @@ msgstr "" "%sErreur: impossible de charger l'extension \"%s\": une extension avec le " "même nom existe déjà" +#, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" +"%sErreur: l'extension \"%s\" est compilée pour WeeChat %s et vous utilisez " +"la version %s, échec de chargement" + #, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -4204,8 +4216,8 @@ msgstr "" "%sErreur: impossible de charger l'extension \"%s\" (mémoire insuffisante)" #, c-format -msgid "%sPlugin \"%s\" %s loaded" -msgstr "%sExtension \"%s\" %s chargée" +msgid "%sPlugin \"%s\" loaded" +msgstr "%sExtension \"%s\" chargée" #, c-format msgid "%sPlugin \"%s\" unloaded" @@ -4442,6 +4454,9 @@ msgstr "" msgid "%s%s: wrong arguments for function \"%s\"" msgstr "%s%s: paramètres invalides pour la fonction \"%s\"" +#~ msgid "%sPlugin \"%s\" %s loaded" +#~ msgstr "%sExtension \"%s\" %s chargée" + #~ msgid "%s[%sfiltered%s]" #~ msgstr "%s[%sfiltré%s]" diff --git a/po/hu.po b/po/hu.po index 617e8bcad..a421e3a97 100644 --- a/po/hu.po +++ b/po/hu.po @@ -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-03-22 23:32+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" "PO-Revision-Date: 2007-10-10 18:07+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4252,6 +4252,14 @@ msgid "" "%sError: unable to load plugin \"%s\": a plugin with same name already exists" msgstr "%s nem sikerült a \"%s\" modult betölteni: már van ilyen nevű modul\n" +#, fuzzy, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" +"%s a \"weechat_plugin_init\" függvény nem található a \"%s\" modulban, " +"betöltés sikertelen\n" + #, fuzzy, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -4267,8 +4275,8 @@ msgid "%sError: unable to load plugin \"%s\" (not enough memory)" msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" #, fuzzy, c-format -msgid "%sPlugin \"%s\" %s loaded" -msgstr "A \"%s\" (%s) modul betöltve.\n" +msgid "%sPlugin \"%s\" loaded" +msgstr "A \"%s\" modul eltávolítva.\n" #, fuzzy, c-format msgid "%sPlugin \"%s\" unloaded" @@ -4496,6 +4504,10 @@ msgstr "" msgid "%s%s: wrong arguments for function \"%s\"" msgstr "%s rossz argumentum a \"%s\" parancsnak\n" +#, fuzzy +#~ msgid "%sPlugin \"%s\" %s loaded" +#~ msgstr "A \"%s\" (%s) modul betöltve.\n" + #, fuzzy #~ msgid "%sError: wrong number \"%s\" for filter" #~ msgstr "%s rossz argumentum szám a \"%s\" parancsnak\n" diff --git a/po/ru.po b/po/ru.po index 07c79584c..abeb3222d 100644 --- a/po/ru.po +++ b/po/ru.po @@ -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-03-22 23:32+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -4234,6 +4234,14 @@ msgid "" msgstr "" "%s не могу загрузить plugin \"%s\": одноимённый plugin уже существует\n" +#, fuzzy, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" +"%s функция \"weechat_plugin_init\" не найдена в plugin'е \"%s\", загрузка не " +"удалась\n" + #, fuzzy, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -4249,8 +4257,8 @@ msgid "%sError: unable to load plugin \"%s\" (not enough memory)" msgstr "%s не могу загрузить plugin \"%s\" (недостаточно памяти)\n" #, fuzzy, c-format -msgid "%sPlugin \"%s\" %s loaded" -msgstr "Plugin \"%s\" (%s) загружен.\n" +msgid "%sPlugin \"%s\" loaded" +msgstr "Plugin \"%s\" выгружен.\n" #, fuzzy, c-format msgid "%sPlugin \"%s\" unloaded" @@ -4478,6 +4486,10 @@ msgstr "" msgid "%s%s: wrong arguments for function \"%s\"" msgstr "%s некорректные аргументы команды \"%s\"\n" +#, fuzzy +#~ msgid "%sPlugin \"%s\" %s loaded" +#~ msgstr "Plugin \"%s\" (%s) загружен.\n" + #, fuzzy #~ msgid "%sError: wrong number \"%s\" for filter" #~ msgstr "%s некорректное количество аргументов команды \"%s\"\n" diff --git a/po/weechat.pot b/po/weechat.pot index bf2820ee5..7de8343f7 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-03-22 23:32+0100\n" +"POT-Creation-Date: 2008-03-23 11:39+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3684,6 +3684,12 @@ msgid "" "%sError: unable to load plugin \"%s\": a plugin with same name already exists" msgstr "" +#, c-format +msgid "" +"%sError: plugin \"%s\" is compiled for WeeChat %s and you are running " +"version %s, failed to load" +msgstr "" + #, c-format msgid "%sError: function \"%s\" not found in plugin \"%s\", failed to load" msgstr "" @@ -3697,7 +3703,7 @@ msgid "%sError: unable to load plugin \"%s\" (not enough memory)" msgstr "" #, c-format -msgid "%sPlugin \"%s\" %s loaded" +msgid "%sPlugin \"%s\" loaded" msgstr "" #, c-format -- cgit v1.2.3