diff --git a/po/ca.po b/po/ca.po index e581722..4a66a2a 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:37+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Softcatalà\n" @@ -249,7 +249,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/cs.po b/po/cs.po index fa202a3..61a147d 100644 --- a/po/cs.po +++ b/po/cs.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: 3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-03 14:09+0200\n" -"PO-Revision-Date: 2012-06-03 16:14+0200\n" -"Last-Translator: Lukáš Maňas \n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" +"PO-Revision-Date: 2012-06-03 23:07+0100\n" +"Last-Translator: Christian METZLER \n" "Language-Team: cs_CZ \n" "Language: cs\n" "MIME-Version: 1.0\n" @@ -25,17 +25,20 @@ msgstr "…" msgid "Reload Weather Information" msgstr "Obnovit informace o počasí" -#: ../src/extension.js:178 ../src/weather-settings.js.in:570 +#: ../src/extension.js:178 +#: ../src/weather-settings.js.in:570 msgid "Weather Settings" msgstr "Nastavení" -#: ../src/extension.js:198 ../src/extension.js:207 +#: ../src/extension.js:198 +#: ../src/extension.js:207 #: ../src/weather-settings.js.in:272 #, python-format msgid "Schema \"%s\" not found." msgstr "Schéma \"%s\" nenalezeno." -#: ../src/extension.js:423 ../src/weather-settings.js.in:454 +#: ../src/extension.js:423 +#: ../src/weather-settings.js.in:454 msgid "Invalid city" msgstr "Neplatné město" @@ -83,7 +86,8 @@ msgstr "Mrholení" msgid "Freezing rain" msgstr "Namrzající déšť" -#: ../src/extension.js:632 ../src/extension.js:634 +#: ../src/extension.js:632 +#: ../src/extension.js:634 msgid "Showers" msgstr "Přeháňky" @@ -147,7 +151,8 @@ msgstr "Zataženo" msgid "Mostly cloudy" msgstr "Převážně zataženo" -#: ../src/extension.js:668 ../src/extension.js:694 +#: ../src/extension.js:668 +#: ../src/extension.js:694 msgid "Partly cloudy" msgstr "Polojasno" @@ -183,7 +188,8 @@ msgstr "Občasné bouřky" msgid "Scattered showers" msgstr "Občasné přeháňky" -#: ../src/extension.js:688 ../src/extension.js:692 +#: ../src/extension.js:688 +#: ../src/extension.js:692 msgid "Heavy snow" msgstr "Husté sněžení" @@ -247,9 +253,11 @@ msgstr "Zítra" msgid "Yesterday" msgstr "Včera" -#: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" -msgstr "dní zpátky" +#: ../src/extension.js:832 +#: ../src/extension.js:840 +#, python-format +msgid "%s days ago" +msgstr "%s dní zpátky" #: ../src/extension.js:953 msgid "Loading current weather ..." @@ -331,3 +339,4 @@ msgstr "Zobrazit na panelu teplotu" #: ../src/weather-settings.js.in:620 msgid "Conditions in Panel" msgstr "Zobrazit na panelu podmínky" + diff --git a/po/de.po b/po/de.po index b21a093..893da7e 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:38+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/es.po b/po/es.po index 19dac01..09bbc6c 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:38+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Español; Castellano \n" @@ -248,7 +248,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/fi.po b/po/fi.po index 1c1d3fa..0705c7c 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:38+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: suomi <>\n" @@ -250,7 +250,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/fr.po b/po/fr.po index 4a85e12..4e26efc 100644 --- a/po/fr.po +++ b/po/fr.po @@ -9,8 +9,8 @@ msgid "" msgstr "" "Project-Id-Version: 3.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-03 14:09+0200\n" -"PO-Revision-Date: 2012-06-03 14:10+0100\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" +"PO-Revision-Date: 2012-06-03 23:02+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Français \n" "Language: fr\n" @@ -257,8 +257,9 @@ msgstr "Hier" #: ../src/extension.js:832 #: ../src/extension.js:840 -msgid "days ago" -msgstr "jours" +#, python-format +msgid "%s days ago" +msgstr "Il y a %s jours" #: ../src/extension.js:953 msgid "Loading current weather ..." diff --git a/po/gnome-shell-extension-weather.pot b/po/gnome-shell-extension-weather.pot index 8be52eb..fd568e5 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -248,7 +248,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/it.po b/po/it.po index f155a03..1f542e3 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:37+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -248,7 +248,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/nb.po b/po/nb.po index d35e24f..446cdf0 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:39+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/nl.po b/po/nl.po index c7c7351..3b370d1 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:39+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/pl.po b/po/pl.po index de8886e..dd18ff0 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:39+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Polish <>\n" @@ -249,7 +249,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/pt.po b/po/pt.po index 3a52d4b..48af400 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:40+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Português ; Daniel Miranda ,\n" @@ -248,7 +248,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/ro.po b/po/ro.po index 7da2737..2f22aa2 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:40+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -252,7 +252,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/ru.po b/po/ru.po index e7e0e79..c9707e8 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:40+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: openSUSE \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/sk.po b/po/sk.po index e5427a5..7b54df3 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:40+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/sv.po b/po/sv.po index 2ce1c7b..dc40340 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:40+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/uk.po b/po/uk.po index c140013..01ee1d4 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:41+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: \n" @@ -247,7 +247,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/po/zh_CN.po b/po/zh_CN.po index 2f52383..add67be 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-06-03 14:09+0200\n" +"POT-Creation-Date: 2012-06-03 23:01+0200\n" "PO-Revision-Date: 2012-05-13 22:41+0100\n" "Last-Translator: Christian METZLER \n" "Language-Team: Chinese (simplified)\n" @@ -248,7 +248,8 @@ msgid "Yesterday" msgstr "" #: ../src/extension.js:832 ../src/extension.js:840 -msgid "days ago" +#, python-format +msgid "%s days ago" msgstr "" #: ../src/extension.js:953 diff --git a/src/extension.js b/src/extension.js index 7572f4e..9c37ee9 100644 --- a/src/extension.js +++ b/src/extension.js @@ -829,7 +829,7 @@ WeatherMenuButton.prototype = { date_string[0] = lastBuild; if(d > 1) { - lastBuild = d+" "+_("days ago"); + lastBuild = _("%s days ago").replace("%s",d); if(d == 2) { date_string[1] = date_string[0]; @@ -837,7 +837,7 @@ WeatherMenuButton.prototype = { } else { - date_string[1] = (d-1)+" "+_("days ago"); + date_string[1] = _("%s days ago").replace("%s",d-1); date_string[0] = lastBuild; } }