diff --git a/po/ca.po b/po/ca.po index d53818c..08f2920 100644 --- a/po/ca.po +++ b/po/ca.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-15 00:41+0200\n" "Last-Translator: Pau Iranzo \n" "Language-Team: Softcatalà\n" @@ -29,7 +29,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/cs.po b/po/cs.po index 2cd206f..f88847a 100644 --- a/po/cs.po +++ b/po/cs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2012-05-04 17:07+0200\n" "Last-Translator: Lukáš Maňas \n" "Language-Team: cs_CZ \n" @@ -28,7 +28,8 @@ msgid "Schema \"%s\" not found." msgstr "Schéma \"%s\" nenalezeno." #: ../src/extension.js:180 -msgid "Reload Weather Informations" +#, fuzzy +msgid "Reload Weather Information" msgstr "Obnovit informace o počasí" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 @@ -319,3 +320,6 @@ msgstr "Zobrazit na panelu teplotu" #: ../src/weather-settings.js.in:499 msgid "Conditions in Panel" msgstr "Zobrazit na panelu podmínky" + +#~ msgid "Reload Weather Informations" +#~ msgstr "Obnovit informace o počasí" diff --git a/po/de.po b/po/de.po index f4c1a9f..a2bb9da 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-07 13:00+0200\n" "Last-Translator: Evilandi666 \n" "Language: de\n" @@ -26,7 +26,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/es.po b/po/es.po index 5843e93..51eb72c 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-07 18:21+0100\n" "Last-Translator: Fitoschido \n" "Language-Team: Español; Castellano \n" @@ -28,7 +28,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/fi.po b/po/fi.po index ad8f9c1..bc0ffe6 100644 --- a/po/fi.po +++ b/po/fi.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-07-25 18:39+0300\n" "Last-Translator: Jesse Jaara \n" "Language-Team: suomi <>\n" @@ -30,7 +30,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/fr.po b/po/fr.po index 07eb13a..83c31cd 100644 --- a/po/fr.po +++ b/po/fr.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2012-05-03 22:55+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Français \n" @@ -23,19 +23,18 @@ msgstr "" msgid "..." msgstr "..." -#: ../src/extension.js:137 -#: ../src/extension.js:204 +#: ../src/extension.js:137 ../src/extension.js:204 #: ../src/weather-settings.js.in:165 #, python-format msgid "Schema \"%s\" not found." msgstr "Schéma \"%s\" manquant." #: ../src/extension.js:180 -msgid "Reload Weather Informations" +# +msgid "Reload Weather Information" msgstr "Recharger les informations météo" -#: ../src/extension.js:184 -#: ../src/weather-settings.js.in:449 +#: ../src/extension.js:184 ../src/weather-settings.js.in:449 msgid "Weather Settings" msgstr "Paramètres de la météo" @@ -83,8 +82,7 @@ msgstr "Bruine" msgid "Freezing rain" msgstr "Pluie verglaçante" -#: ../src/extension.js:572 -#: ../src/extension.js:574 +#: ../src/extension.js:572 ../src/extension.js:574 msgid "Showers" msgstr "Averses" @@ -148,8 +146,7 @@ msgstr "Nuageux" msgid "Mostly cloudy" msgstr "Rares éclaircies" -#: ../src/extension.js:608 -#: ../src/extension.js:634 +#: ../src/extension.js:608 ../src/extension.js:634 msgid "Partly cloudy" msgstr "Passages nuageux" @@ -185,8 +182,7 @@ msgstr "Orages éparses" msgid "Scattered showers" msgstr "Averses éparses" -#: ../src/extension.js:628 -#: ../src/extension.js:632 +#: ../src/extension.js:628 ../src/extension.js:632 msgid "Heavy snow" msgstr "Fortes chutes de neige" @@ -327,20 +323,5 @@ msgstr "Température sur le tableau de bord" msgid "Conditions in Panel" msgstr "Conditions sur le tableau de bord" -#~ msgid "City" -#~ msgstr "Ville" - -#~ msgid "Translate Condition" -#~ msgstr "Traduire les conditions" - -#~ msgid "Add..." -#~ msgstr "Ajouter" - -#~ msgid "SW" -#~ msgstr "SO" - -#~ msgid "W" -#~ msgstr "O" - -#~ msgid "NW" -#~ msgstr "NO" +#~ msgid "Reload Weather Informations" +#~ msgstr "Recharger les informations météo" diff --git a/po/gnome-shell-extension-weather.pot b/po/gnome-shell-extension-weather.pot index 6b38141..e698ab4 100644 --- a/po/gnome-shell-extension-weather.pot +++ b/po/gnome-shell-extension-weather.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -28,7 +28,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/it.po b/po/it.po index a423af6..72e11d6 100644 --- a/po/it.po +++ b/po/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2012-05-13 08:34+0100\n" "Last-Translator: Mattia Meneguzzo \n" "Language-Team: \n" @@ -28,7 +28,8 @@ msgid "Schema \"%s\" not found." msgstr "Schema \"%s\" non trovato." #: ../src/extension.js:180 -msgid "Reload Weather Informations" +#, fuzzy +msgid "Reload Weather Information" msgstr "Ricarica le informazioni meteo" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 @@ -321,3 +322,6 @@ msgstr "Mostra la temperatura sul pannello" #: ../src/weather-settings.js.in:499 msgid "Conditions in Panel" msgstr "Mostra le condizioni meteo sul pannello" + +#~ msgid "Reload Weather Informations" +#~ msgstr "Ricarica le informazioni meteo" diff --git a/po/nb.po b/po/nb.po index bd087d5..8b044fd 100644 --- a/po/nb.po +++ b/po/nb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-02 23:04+0200\n" "Last-Translator: Stian Ellingsen \n" "Language: nb\n" @@ -26,7 +26,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/nl.po b/po/nl.po index caae8e8..a8d023b 100644 --- a/po/nl.po +++ b/po/nl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2012-01-05 10:00+0200\n" "Last-Translator: Peter van Ieperen \n" "Language: nl\n" @@ -26,7 +26,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/pl.po b/po/pl.po index e7f2881..beb4ace 100644 --- a/po/pl.po +++ b/po/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-10-19 11:47+0200\n" "Last-Translator: Piotr Sokół \n" "Language-Team: Polish <>\n" @@ -29,7 +29,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/pt.po b/po/pt.po index 71e7c9a..a405134 100644 --- a/po/pt.po +++ b/po/pt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-07 18:21+0100\n" "Last-Translator: \n" "Language-Team: Português ; Daniel Miranda ,\n" @@ -28,7 +28,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/ro.po b/po/ro.po index 528e948..1667db1 100644 --- a/po/ro.po +++ b/po/ro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: simon04-gnome-shell-extension-weather\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-25 19:05+0200\n" "Last-Translator: Marian Vasile \n" "Language-Team: \n" @@ -32,7 +32,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/ru.po b/po/ru.po index 374dea4..236055c 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-05 23:00+0400\n" "Last-Translator: Gankov Andrey \n" "Language-Team: openSUSE \n" @@ -27,7 +27,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/sk.po b/po/sk.po index df1242b..236c382 100644 --- a/po/sk.po +++ b/po/sk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-12-11 14:59+0100\n" "Last-Translator: Dušan Kazik \n" "Language-Team: \n" @@ -27,7 +27,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/sv.po b/po/sv.po index d5f3917..0b913e8 100644 --- a/po/sv.po +++ b/po/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-06-09 17:43+0200\n" "Last-Translator: Mauricio Barraza \n" "Language: sv\n" @@ -26,7 +26,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/uk.po b/po/uk.po index 8d90c48..6a8a90e 100644 --- a/po/uk.po +++ b/po/uk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-12-24 19:55+0200\n" "Last-Translator: Kyrylo Mikos \n" "Language: uk\n" @@ -26,7 +26,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449 diff --git a/po/update.js b/po/update.js index 1f5c042..0f8ac26 100755 --- a/po/update.js +++ b/po/update.js @@ -27,11 +27,21 @@ Gio = imports.gi.Gio; -var xgettext = Seed.spawn("xgettext -o gnome-shell-extension-weather.pot -L python -j --keyword=_ -f POTFILES.in"); +print("Generate gnome-shell-extension-weather.pot"); +var xgettext = Seed.spawn("xgettext -o gnome-shell-extension-weather.pot -L python --from-code=utf-8 --keyword=_ -f POTFILES.in"); + if(xgettext.stderr) + { + print(xgettext.stderr); + } + else + { + var file = Gio.file_new_for_path("."); + var enumerator = file.enumerate_children("standard::name,standard::size"); -var file = Gio.file_new_for_path("."); -var enumerator = file.enumerate_children("standard::name,standard::size"); - - while(child = enumerator.next_file()) - if(child.get_name().search(/.po$/) != -1) - Seed.spawn("msgmerge -U "+child.get_name()+" gnome-shell-extension-weather.pot"); + while(child = enumerator.next_file()) + if(child.get_name().search(/.po$/) != -1) + { + print("Generate "+child.get_name()); + Seed.spawn("msgmerge -U "+child.get_name()+" gnome-shell-extension-weather.pot"); + } + } diff --git a/po/zh_CN.po b/po/zh_CN.po index 93e048a..78164b4 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: simon 04-gnome-shell-extension-weather-452bcfe\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-03 21:02+0200\n" +"POT-Creation-Date: 2012-05-13 14:29+0200\n" "PO-Revision-Date: 2011-12-02 14:44+0800\n" "Last-Translator: Tao Zhu \n" "Language-Team: Chinese (simplified)\n" @@ -28,7 +28,7 @@ msgid "Schema \"%s\" not found." msgstr "" #: ../src/extension.js:180 -msgid "Reload Weather Informations" +msgid "Reload Weather Information" msgstr "" #: ../src/extension.js:184 ../src/weather-settings.js.in:449