Now update the LINGUAS file too

yahoo_weather
Neroth 12 years ago
parent 933a5dab66
commit 393203bad9
  1. 158
      po/pl.po
  2. 14
      po/update.js

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 3.0\n" "Project-Id-Version: 3.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-06-03 23:01+0200\n" "POT-Creation-Date: 2012-07-22 11:43+0200\n"
"PO-Revision-Date: 2012-06-24 10:00+0200\n" "PO-Revision-Date: 2012-06-24 10:00+0200\n"
"Last-Translator: Piotr Sokół <psokol@jabster.pl>\n" "Last-Translator: Piotr Sokół <psokol@jabster.pl>\n"
"Language-Team: polski <>\n" "Language-Team: polski <>\n"
@ -18,270 +18,270 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : ((n%10>=2 && n%10<=4 && (n" "Plural-Forms: nplurals=3; plural=((n==1) ? 0 : ((n%10>=2 && n%10<=4 && (n"
"%100<10 || n%100>=20)) ? 1 : 2));\n" "%100<10 || n%100>=20)) ? 1 : 2));\n"
#: ../src/extension.js:102 #: ../src/extension.js:103
msgid "..." msgid "..."
msgstr "..." msgstr "..."
#: ../src/extension.js:174 #: ../src/extension.js:175
msgid "Reload Weather Information" msgid "Reload Weather Information"
msgstr "Wczytaj ponownie informacje pogodowe" msgstr "Wczytaj ponownie informacje pogodowe"
#: ../src/extension.js:178 ../src/weather-settings.js.in:570 #: ../src/extension.js:179 ../src/weather-settings.js.in:592
msgid "Weather Settings" msgid "Weather Settings"
msgstr "Ustawienia pogody" msgstr "Ustawienia pogody"
#: ../src/extension.js:198 ../src/extension.js:207 #: ../src/extension.js:199 ../src/extension.js:209
#: ../src/weather-settings.js.in:272 #: ../src/weather-settings.js.in:294
#, python-format #, python-format
msgid "Schema \"%s\" not found." msgid "Schema \"%s\" not found."
msgstr "Nie odnaleziono schematu „%s”." msgstr "Nie odnaleziono schematu „%s”."
#: ../src/extension.js:423 ../src/weather-settings.js.in:454 #: ../src/extension.js:425 ../src/weather-settings.js.in:476
msgid "Invalid city" msgid "Invalid city"
msgstr "Nieprawidłowa nazwa miasta" msgstr "Nieprawidłowa nazwa miasta"
#: ../src/extension.js:610 #: ../src/extension.js:623
msgid "Tornado" msgid "Tornado"
msgstr "Tornado" msgstr "Tornado"
#: ../src/extension.js:612 #: ../src/extension.js:625
msgid "Tropical storm" msgid "Tropical storm"
msgstr "Tropikalny deszcz" msgstr "Tropikalny deszcz"
#: ../src/extension.js:614 #: ../src/extension.js:627
msgid "Hurricane" msgid "Hurricane"
msgstr "Huragan" msgstr "Huragan"
#: ../src/extension.js:616 #: ../src/extension.js:629
msgid "Severe thunderstorms" msgid "Severe thunderstorms"
msgstr "Silne burze" msgstr "Silne burze"
#: ../src/extension.js:618 #: ../src/extension.js:631
msgid "Thunderstorms" msgid "Thunderstorms"
msgstr "Burze" msgstr "Burze"
#: ../src/extension.js:620 #: ../src/extension.js:633
msgid "Mixed rain and snow" msgid "Mixed rain and snow"
msgstr "Deszcz ze śniegiem" msgstr "Deszcz ze śniegiem"
#: ../src/extension.js:622 #: ../src/extension.js:635
msgid "Mixed rain and sleet" msgid "Mixed rain and sleet"
msgstr "Deszcz z ziarnami lodowymi" msgstr "Deszcz z ziarnami lodowymi"
#: ../src/extension.js:624 #: ../src/extension.js:637
msgid "Mixed snow and sleet" msgid "Mixed snow and sleet"
msgstr "Śnieg z ziarnami lodowymi" msgstr "Śnieg z ziarnami lodowymi"
#: ../src/extension.js:626 #: ../src/extension.js:639
msgid "Freezing drizzle" msgid "Freezing drizzle"
msgstr "Marznąca mżawka" msgstr "Marznąca mżawka"
#: ../src/extension.js:628 #: ../src/extension.js:641
msgid "Drizzle" msgid "Drizzle"
msgstr "Mżawka" msgstr "Mżawka"
#: ../src/extension.js:630 #: ../src/extension.js:643
msgid "Freezing rain" msgid "Freezing rain"
msgstr "Marznący deszcz" msgstr "Marznący deszcz"
#: ../src/extension.js:632 ../src/extension.js:634 #: ../src/extension.js:645 ../src/extension.js:647
msgid "Showers" msgid "Showers"
msgstr "Przelotne opady deszczu" msgstr "Przelotne opady deszczu"
#: ../src/extension.js:636 #: ../src/extension.js:649
msgid "Snow flurries" msgid "Snow flurries"
msgstr "Lekki śnieg" msgstr "Lekki śnieg"
#: ../src/extension.js:638 #: ../src/extension.js:651
msgid "Light snow showers" msgid "Light snow showers"
msgstr "Lekkie przelotne opady śniegu" msgstr "Lekkie przelotne opady śniegu"
#: ../src/extension.js:640 #: ../src/extension.js:653
msgid "Blowing snow" msgid "Blowing snow"
msgstr "Zamieć śnieżna" msgstr "Zamieć śnieżna"
#: ../src/extension.js:642 #: ../src/extension.js:655
msgid "Snow" msgid "Snow"
msgstr "Śnieg" msgstr "Śnieg"
#: ../src/extension.js:644 #: ../src/extension.js:657
msgid "Hail" msgid "Hail"
msgstr "Grad" msgstr "Grad"
#: ../src/extension.js:646 #: ../src/extension.js:659
msgid "Sleet" msgid "Sleet"
msgstr "Ziarna lodowe" msgstr "Ziarna lodowe"
#: ../src/extension.js:648 #: ../src/extension.js:661
msgid "Dust" msgid "Dust"
msgstr "Pył" msgstr "Pył"
#: ../src/extension.js:650 #: ../src/extension.js:663
msgid "Foggy" msgid "Foggy"
msgstr "Mgła" msgstr "Mgła"
#: ../src/extension.js:652 #: ../src/extension.js:665
msgid "Haze" msgid "Haze"
msgstr "Łagodna mgła" msgstr "Łagodna mgła"
#: ../src/extension.js:654 #: ../src/extension.js:667
msgid "Smoky" msgid "Smoky"
msgstr "Dym" msgstr "Dym"
#: ../src/extension.js:656 #: ../src/extension.js:669
msgid "Blustery" msgid "Blustery"
msgstr "Silny wiatr" msgstr "Silny wiatr"
#: ../src/extension.js:658 #: ../src/extension.js:671
msgid "Windy" msgid "Windy"
msgstr "Wietrznie" msgstr "Wietrznie"
#: ../src/extension.js:660 #: ../src/extension.js:673
msgid "Cold" msgid "Cold"
msgstr "Zimno" msgstr "Zimno"
#: ../src/extension.js:662 #: ../src/extension.js:675
msgid "Cloudy" msgid "Cloudy"
msgstr "Pochmurnie" msgstr "Pochmurnie"
#: ../src/extension.js:665 #: ../src/extension.js:678
msgid "Mostly cloudy" msgid "Mostly cloudy"
msgstr "Duże zachmurzenie" msgstr "Duże zachmurzenie"
#: ../src/extension.js:668 ../src/extension.js:694 #: ../src/extension.js:681 ../src/extension.js:707
msgid "Partly cloudy" msgid "Partly cloudy"
msgstr "Częściowe zachmurzenie" msgstr "Częściowe zachmurzenie"
#: ../src/extension.js:670 #: ../src/extension.js:683
msgid "Clear" msgid "Clear"
msgstr "Pogodnie" msgstr "Pogodnie"
#: ../src/extension.js:672 #: ../src/extension.js:685
msgid "Sunny" msgid "Sunny"
msgstr "Słonecznie" msgstr "Słonecznie"
#: ../src/extension.js:675 #: ../src/extension.js:688
msgid "Fair" msgid "Fair"
msgstr "Umiarkowanie" msgstr "Umiarkowanie"
#: ../src/extension.js:677 #: ../src/extension.js:690
msgid "Mixed rain and hail" msgid "Mixed rain and hail"
msgstr "Deszcz z gradem" msgstr "Deszcz z gradem"
#: ../src/extension.js:679 #: ../src/extension.js:692
msgid "Hot" msgid "Hot"
msgstr "Gorąco" msgstr "Gorąco"
#: ../src/extension.js:681 #: ../src/extension.js:694
msgid "Isolated thunderstorms" msgid "Isolated thunderstorms"
msgstr "Lokalne burze" msgstr "Lokalne burze"
#: ../src/extension.js:684 #: ../src/extension.js:697
msgid "Scattered thunderstorms" msgid "Scattered thunderstorms"
msgstr "Rozproszone burze" msgstr "Rozproszone burze"
#: ../src/extension.js:686 #: ../src/extension.js:699
msgid "Scattered showers" msgid "Scattered showers"
msgstr "Rozproszone przelotne opady deszczu" msgstr "Rozproszone przelotne opady deszczu"
#: ../src/extension.js:688 ../src/extension.js:692 #: ../src/extension.js:701 ../src/extension.js:705
msgid "Heavy snow" msgid "Heavy snow"
msgstr "Silny śnieg" msgstr "Silny śnieg"
#: ../src/extension.js:690 #: ../src/extension.js:703
msgid "Scattered snow showers" msgid "Scattered snow showers"
msgstr "Rozproszone przelotne opady śniegu" msgstr "Rozproszone przelotne opady śniegu"
#: ../src/extension.js:696 #: ../src/extension.js:709
msgid "Thundershowers" msgid "Thundershowers"
msgstr "Burze z przelotnymi opadami deszczu" msgstr "Burze z przelotnymi opadami deszczu"
#: ../src/extension.js:698 #: ../src/extension.js:711
msgid "Snow showers" msgid "Snow showers"
msgstr "Przelotne opady śniegu" msgstr "Przelotne opady śniegu"
#: ../src/extension.js:700 #: ../src/extension.js:713
msgid "Isolated thundershowers" msgid "Isolated thundershowers"
msgstr "Lokalne burze z przelotnymi opadami deszczu" msgstr "Lokalne burze z przelotnymi opadami deszczu"
#: ../src/extension.js:703 #: ../src/extension.js:716
msgid "Not available" msgid "Not available"
msgstr "Nie dostępne" msgstr "Nie dostępne"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Monday" msgid "Monday"
msgstr "Poniedziałek" msgstr "Poniedziałek"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Tuesday" msgid "Tuesday"
msgstr "Wtorek" msgstr "Wtorek"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Wednesday" msgid "Wednesday"
msgstr "Środa" msgstr "Środa"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Thursday" msgid "Thursday"
msgstr "Czwartek" msgstr "Czwartek"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Friday" msgid "Friday"
msgstr "Piątek" msgstr "Piątek"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Saturday" msgid "Saturday"
msgstr "Sobota" msgstr "Sobota"
#: ../src/extension.js:718 #: ../src/extension.js:735
msgid "Sunday" msgid "Sunday"
msgstr "Niedziela" msgstr "Niedziela"
#: ../src/extension.js:814 #: ../src/extension.js:831
msgid "Today" msgid "Today"
msgstr "Dziś" msgstr "Dziś"
#: ../src/extension.js:814 #: ../src/extension.js:831
msgid "Tomorrow" msgid "Tomorrow"
msgstr "Jutro" msgstr "Jutro"
#: ../src/extension.js:827 #: ../src/extension.js:850
msgid "Yesterday" msgid "Yesterday"
msgstr "Wczoraj" msgstr "Wczoraj"
#: ../src/extension.js:832 ../src/extension.js:840 #: ../src/extension.js:855 ../src/extension.js:863
#, python-format #, python-format
msgid "%s days ago" msgid "%s days ago"
msgstr "%s dni temu" msgstr "%s dni temu"
#: ../src/extension.js:953 #: ../src/extension.js:982
msgid "Loading current weather ..." msgid "Loading current weather ..."
msgstr "Wczytywanie bieżącej pogody..." msgstr "Wczytywanie bieżącej pogody..."
#: ../src/extension.js:954 #: ../src/extension.js:983
msgid "Loading future weather ..." msgid "Loading future weather ..."
msgstr "Wczytywanie prognozy pogody..." msgstr "Wczytywanie prognozy pogody..."
#: ../src/extension.js:991 #: ../src/extension.js:1020
msgid "Loading ..." msgid "Loading ..."
msgstr "Wczytywanie..." msgstr "Wczytywanie..."
#: ../src/extension.js:994 #: ../src/extension.js:1023
msgid "Please wait" msgid "Please wait"
msgstr "Proszę czekać" msgstr "Proszę czekać"
#: ../src/extension.js:1039 #: ../src/extension.js:1068
msgid "Feel like:" msgid "Feel like:"
msgstr "Odczuwalna temperatura:" msgstr "Odczuwalna temperatura:"
#: ../src/extension.js:1041 #: ../src/extension.js:1070
msgid "Humidity:" msgid "Humidity:"
msgstr "Wilgotność:" msgstr "Wilgotność:"
#: ../src/extension.js:1043 #: ../src/extension.js:1072
msgid "Pressure:" msgid "Pressure:"
msgstr "Ciśnienie atmosferyczne:" msgstr "Ciśnienie atmosferyczne:"
#: ../src/extension.js:1045 #: ../src/extension.js:1074
msgid "Wind:" msgid "Wind:"
msgstr "Wiatr:" msgstr "Wiatr:"
@ -289,47 +289,47 @@ msgstr "Wiatr:"
msgid "Name of the city" msgid "Name of the city"
msgstr "Nazwa miasta" msgstr "Nazwa miasta"
#: ../src/weather-settings.js.in:190 #: ../src/weather-settings.js.in:212
#, python-format #, python-format
msgid "Remove %s ?" msgid "Remove %s ?"
msgstr "Usunąć %s?" msgstr "Usunąć %s?"
#: ../src/weather-settings.js.in:608 #: ../src/weather-settings.js.in:630
msgid "Temperature Unit" msgid "Temperature Unit"
msgstr "Jednostka temperatury" msgstr "Jednostka temperatury"
#: ../src/weather-settings.js.in:610 #: ../src/weather-settings.js.in:632
msgid "Wind Speed Unit" msgid "Wind Speed Unit"
msgstr "Jednostka prędkości wiatru" msgstr "Jednostka prędkości wiatru"
#: ../src/weather-settings.js.in:612 #: ../src/weather-settings.js.in:634
msgid "Position in Panel" msgid "Position in Panel"
msgstr "Położenie na panelu" msgstr "Położenie na panelu"
#: ../src/weather-settings.js.in:613 #: ../src/weather-settings.js.in:635
msgid "Center" msgid "Center"
msgstr "Środek" msgstr "Środek"
#: ../src/weather-settings.js.in:613 #: ../src/weather-settings.js.in:635
msgid "Right" msgid "Right"
msgstr "Po prawej" msgstr "Po prawej"
#: ../src/weather-settings.js.in:613 #: ../src/weather-settings.js.in:635
msgid "Left" msgid "Left"
msgstr "Po lewej" msgstr "Po lewej"
#: ../src/weather-settings.js.in:614 #: ../src/weather-settings.js.in:636
msgid "Translate Conditions" msgid "Translate Conditions"
msgstr "Tłumaczenia warunków pogodowych" msgstr "Tłumaczenia warunków pogodowych"
#: ../src/weather-settings.js.in:616 #: ../src/weather-settings.js.in:638
msgid "Symbolic Icons" msgid "Symbolic Icons"
msgstr "Ikony symboliczne" msgstr "Ikony symboliczne"
#: ../src/weather-settings.js.in:618 #: ../src/weather-settings.js.in:640
msgid "Temperature in Panel" msgid "Temperature in Panel"
msgstr "Temperatura:" msgstr "Temperatura:"
#: ../src/weather-settings.js.in:620 #: ../src/weather-settings.js.in:642
msgid "Conditions in Panel" msgid "Conditions in Panel"
msgstr "Warunki pogodowe na panelu" msgstr "Warunki pogodowe na panelu"

@ -29,19 +29,27 @@ Gio = imports.gi.Gio;
print("Generate gnome-shell-extension-weather.pot"); 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"); var xgettext = Seed.spawn("xgettext -o gnome-shell-extension-weather.pot -L python --from-code=utf-8 --keyword=_ -f POTFILES.in");
if(xgettext.stderr) if(xgettext.stderr)
{
print(xgettext.stderr); print(xgettext.stderr);
}
else else
{ {
var file = Gio.file_new_for_path("."); var file = Gio.file_new_for_path(".");
var enumerator = file.enumerate_children("standard::name,standard::size"); var enumerator = file.enumerate_children("standard::name,standard::size");
var linguas = "";
var n = "";
var i = 0;
while(child = enumerator.next_file()) while(child = enumerator.next_file())
if(child.get_name().search(/.po$/) != -1) if(child.get_name().search(/.po$/) != -1)
{ {
print("Generate "+child.get_name()); print("Generate "+child.get_name());
linguas += n+(child.get_name().split(".po")[0]);
Seed.spawn("msgmerge -U "+child.get_name()+" gnome-shell-extension-weather.pot"); Seed.spawn("msgmerge -U "+child.get_name()+" gnome-shell-extension-weather.pot");
n = "\n";
i++;
} }
print("Write LINGUAS file");
Gio.simple_write("LINGUAS",linguas);
print("Successfully generated "+i+" entry");
} }

Loading…
Cancel
Save