on xenial help sign in
Add more translatables and update pl translation.
commit3b1886c747f25a9a39607ea05c7012fd2ba11b94 authorMichał Sawicz <michal@sawicz.net> dateSat 8 Jun 2013, 15:44 (13 years ago) parent4480b87
5 files changed+170−33
Applications/applications.js+17−17 Panel/SearchIndicator.qml+1−1 po/pl.po+78−9 po/unity8.pot+73−5 po/update-unity-pot+1−1
Applications/applications.js+17−17
@@ -20,95 +20,95 @@ var SideStage = 1;
2020
2121var __availableApplications = {
2222 '/usr/share/applications/phone-app.desktop': {
23− 'name': 'Phone',
23+ 'name': i18n.tr("Phone"),
2424 'icon': 'phone-app',
2525 'exec': '/usr/bin/phone-app',
2626 'stage': SideStage
2727 },
2828 '/usr/share/applications/camera-app.desktop': {
29− 'name': 'Camera',
29+ 'name': i18n.tr("Camera"),
3030 'icon': 'camera',
3131 'fullscreen': true,
3232 'exec': '/usr/bin/camera-app --fullscreen'
3333 },
3434 '/usr/share/applications/gallery-app.desktop': {
35− 'name': 'Gallery',
35+ 'name': i18n.tr("Gallery"),
3636 'icon': 'gallery',
3737 'exec': '/usr/bin/gallery-app'
3838 },
3939 '/usr/share/applications/facebook-webapp.desktop': {
40− 'name': 'Facebook',
40+ 'name': i18n.tr("Facebook"),
4141 'icon': 'facebook',
4242 'exec': '/usr/bin/webbrowser-app --chromeless http://m.facebook.com',
4343 'stage': SideStage
4444 },
4545 '/usr/share/applications/webbrowser-app.desktop': {
46− 'name': 'Browser',
46+ 'name': i18n.tr("Browser"),
4747 'icon': 'browser',
4848 'exec': '/usr/bin/webbrowser-app'
4949 },
5050 '/usr/share/applications/twitter-webapp.desktop': {
51− 'name': 'Twitter',
51+ 'name': i18n.tr("Twitter"),
5252 'icon': 'twitter',
5353 'exec': '/usr/bin/webbrowser-app --chromeless http://www.twitter.com',
5454 'stage': SideStage
5555 },
5656 '/usr/share/applications/gmail-webapp.desktop': {
57− 'name': 'GMail',
57+ 'name': i18n.tr("GMail"),
5858 'icon': 'gmail',
5959 'exec': '/usr/bin/webbrowser-app --chromeless http://m.gmail.com'
6060 },
6161 '/usr/share/applications/ubuntu-weather-app.desktop': {
62− 'name': 'Weather',
62+ 'name': i18n.tr("Weather"),
6363 'icon': 'weather',
6464 'exec': '/usr/bin/qmlscene /usr/share/ubuntu-weather-app/ubuntu-weather-app.qml',
6565 'stage': SideStage
6666 },
6767 '/usr/share/applications/notes-app.desktop': {
68− 'name': 'Notepad',
68+ 'name': i18n.tr("Notepad"),
6969 'icon': 'notepad',
7070 'exec': '/usr/bin/qmlscene /usr/share/notes-app/NotesApp.qml',
7171 'stage': SideStage
7272 },
7373 '/usr/share/applications/ubuntu-calendar-app.desktop': {
74− 'name': 'Calendar',
74+ 'name': i18n.tr("Calendar"),
7575 'icon': 'calendar',
7676 'exec': '/usr/bin/qmlscene /usr/share/ubuntu-calendar-app/calendar.qml',
7777 'stage': SideStage
7878 },
7979 '/usr/share/applications/mediaplayer-app.desktop': {
80− 'name': 'Media Player',
80+ 'name': i18n.tr("Media Player"),
8181 'icon': 'mediaplayer-app',
8282 'fullscreen': true,
8383 'exec': '/usr/bin/mediaplayer-app'
8484 },
8585 '/usr/share/applications/evernote.desktop': {
86− 'name': 'Evernote',
86+ 'name': i18n.tr("Evernote"),
8787 'icon': 'evernote',
8888 'exec': ''
8989 },
9090 '/usr/share/applications/map.desktop': {
91− 'name': 'Map',
91+ 'name': i18n.tr("Map"),
9292 'icon': 'map',
9393 'exec': ''
9494 },
9595 '/usr/share/applications/pinterest.desktop': {
96− 'name': 'Pinterest',
96+ 'name': i18n.tr("Pinterest"),
9797 'icon': 'pinterest',
9898 'exec': ''
9999 },
100100 '/usr/share/applications/soundcloud.desktop': {
101− 'name': 'SoundCloud',
101+ 'name': i18n.tr("SoundCloud"),
102102 'icon': 'soundcloud',
103103 'exec': ''
104104 },
105105 '/usr/share/applications/wikipedia.desktop': {
106− 'name': 'Wikipedia',
106+ 'name': i18n.tr("Wikipedia"),
107107 'icon': 'wikipedia',
108108 'exec': ''
109109 },
110110 '/usr/share/applications/youtube.desktop': {
111− 'name': 'YouTube',
111+ 'name': i18n.tr("YouTube"),
112112 'icon': 'youtube',
113113 'exec': ''
114114 },
Panel/SearchIndicator.qml+1−1
@@ -23,7 +23,7 @@ Item {
2323 width: units.gu(9)
2424 height: units.gu(3)
2525
26− property string headerText: "Search"
26+ property string headerText: i18n.tr("Search")
2727
2828 signal clicked
2929
po/pl.po+78−9
@@ -6,16 +6,85 @@
66msgid ""
77msgstr ""
88"Project-Id-Version: unity\n"
9−"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10−"POT-Creation-Date: 2013-05-30 21:08+0800\n"
11−"PO-Revision-Date: 2013-06-05 22:43+0000\n"
12−"Last-Translator: Piotr Merski <Unknown>\n"
9+"Report-Msgid-Bugs-To: \n"
10+"POT-Creation-Date: 2013-06-08 14:19+0200\n"
11+"PO-Revision-Date: 2013-06-08 14:20+0100\n"
12+"Last-Translator: Michał Sawicz <michal.sawicz@canonical.com>\n"
1313"Language-Team: Polish <pl@li.org>\n"
14+"Language: pl\n"
1415"MIME-Version: 1.0\n"
1516"Content-Type: text/plain; charset=UTF-8\n"
1617"Content-Transfer-Encoding: 8bit\n"
1718"X-Launchpad-Export-Date: 2013-06-06 06:30+0000\n"
18−"X-Generator: Launchpad (build 16667)\n"
19+"X-Generator: Poedit 1.5.4\n"
20+
21+#: Applications/applications.js:23
22+msgid "Phone"
23+msgstr "Telefon"
24+
25+#: Applications/applications.js:29
26+msgid "Camera"
27+msgstr "Aparat"
28+
29+#: Applications/applications.js:35
30+msgid "Gallery"
31+msgstr "Galeria"
32+
33+#: Applications/applications.js:40
34+msgid "Facebook"
35+msgstr "Facebook"
36+
37+#: Applications/applications.js:46
38+msgid "Browser"
39+msgstr "Internet"
40+
41+#: Applications/applications.js:51
42+msgid "Twitter"
43+msgstr "Twitter"
44+
45+#: Applications/applications.js:57
46+msgid "GMail"
47+msgstr "GMail"
48+
49+#: Applications/applications.js:62
50+msgid "Weather"
51+msgstr "Pogoda"
52+
53+#: Applications/applications.js:68
54+msgid "Notepad"
55+msgstr "Notatki"
56+
57+#: Applications/applications.js:74
58+msgid "Calendar"
59+msgstr "Kalendarz"
60+
61+#: Applications/applications.js:80
62+msgid "Media Player"
63+msgstr "Odtwarzacz mediów"
64+
65+#: Applications/applications.js:86
66+msgid "Evernote"
67+msgstr "Evernote"
68+
69+#: Applications/applications.js:91
70+msgid "Map"
71+msgstr "Mapa"
72+
73+#: Applications/applications.js:96
74+msgid "Pinterest"
75+msgstr "Pinterest"
76+
77+#: Applications/applications.js:101
78+msgid "SoundCloud"
79+msgstr "SoundCloud"
80+
81+#: Applications/applications.js:106
82+msgid "Wikipedia"
83+msgstr "Wikipedia"
84+
85+#: Applications/applications.js:111
86+msgid "YouTube"
87+msgstr "YouTube"
1988
2089#: Components/PageHeader.qml:300
2190msgid "Recent searches"
@@ -105,6 +174,10 @@ msgstr "Urządzenie"
105174msgid "Flight mode"
106175msgstr "Tryb samolotowy"
107176
177+#: Panel/SearchIndicator.qml:26 plugins/Unity/lenses.cpp:40
178+msgid "Search"
179+msgstr "Szukaj"
180+
108181#: plugins/Unity/lens.cpp:333
109182msgid "Sorry, there is nothing that matches your search."
110183msgstr "Nie znaleziono pasujących wyników."
@@ -112,7 +185,3 @@ msgstr "Nie znaleziono pasujących wyników."
112185#: plugins/Unity/lenses.cpp:39
113186msgid "Home screen"
114187msgstr "Ekran domowy"
115−
116−#: plugins/Unity/lenses.cpp:40
117−msgid "Search"
118−msgstr "Szukaj"
po/unity8.pot+73−5
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity8\n"
1010"Report-Msgid-Bugs-To: \n"
11−"POT-Creation-Date: 2013-05-30 21:08+0800\n"
11+"POT-Creation-Date: 2013-06-08 14:19+0200\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,6 +17,74 @@ msgstr ""
1717"Content-Type: text/plain; charset=CHARSET\n"
1818"Content-Transfer-Encoding: 8bit\n"
1919
20+#: Applications/applications.js:23
21+msgid "Phone"
22+msgstr ""
23+
24+#: Applications/applications.js:29
25+msgid "Camera"
26+msgstr ""
27+
28+#: Applications/applications.js:35
29+msgid "Gallery"
30+msgstr ""
31+
32+#: Applications/applications.js:40
33+msgid "Facebook"
34+msgstr ""
35+
36+#: Applications/applications.js:46
37+msgid "Browser"
38+msgstr ""
39+
40+#: Applications/applications.js:51
41+msgid "Twitter"
42+msgstr ""
43+
44+#: Applications/applications.js:57
45+msgid "GMail"
46+msgstr ""
47+
48+#: Applications/applications.js:62
49+msgid "Weather"
50+msgstr ""
51+
52+#: Applications/applications.js:68
53+msgid "Notepad"
54+msgstr ""
55+
56+#: Applications/applications.js:74
57+msgid "Calendar"
58+msgstr ""
59+
60+#: Applications/applications.js:80
61+msgid "Media Player"
62+msgstr ""
63+
64+#: Applications/applications.js:86
65+msgid "Evernote"
66+msgstr ""
67+
68+#: Applications/applications.js:91
69+msgid "Map"
70+msgstr ""
71+
72+#: Applications/applications.js:96
73+msgid "Pinterest"
74+msgstr ""
75+
76+#: Applications/applications.js:101
77+msgid "SoundCloud"
78+msgstr ""
79+
80+#: Applications/applications.js:106
81+msgid "Wikipedia"
82+msgstr ""
83+
84+#: Applications/applications.js:111
85+msgid "YouTube"
86+msgstr ""
87+
2088#: Components/PageHeader.qml:300
2189msgid "Recent searches"
2290msgstr ""
@@ -105,6 +173,10 @@ msgstr ""
105173msgid "Flight mode"
106174msgstr ""
107175
176+#: Panel/SearchIndicator.qml:26 plugins/Unity/lenses.cpp:40
177+msgid "Search"
178+msgstr ""
179+
108180#: plugins/Unity/lens.cpp:333
109181msgid "Sorry, there is nothing that matches your search."
110182msgstr ""
@@ -112,7 +184,3 @@ msgstr ""
112184#: plugins/Unity/lenses.cpp:39
113185msgid "Home screen"
114186msgstr ""
115−
116−#: plugins/Unity/lenses.cpp:40
117−msgid "Search"
118−msgstr ""
po/update-unity-pot+1−1
@@ -9,7 +9,7 @@ PROGNAME=$(basename $0)
99GETTEXT_FILES=$(mktemp --tmpdir uitk-unity.lst.XXXXX)
1010trap 'rm -f "$GETTEXT_FILES"' EXIT
1111cd ..
12−find \( -name '*.h' -o -name '*.cpp' -o -name '*.qml' \) \
12+find \( -name '*.h' -o -name '*.cpp' -o -name '*.qml' -o -name '*.js' \) \
1313 -a ! \( -path './debian/*' -o -path './builddir/*' -o -path './build/*' -o -path './.bzr/*' \) | sort \
1414> $GETTEXT_FILES
1515