on xenial help sign in
Add some new and temporary translations.

Approved by Ying-Chun Liu, PS Jenkins bot.

commit5122efd87d432460794cc568d66a4e98556eda64 authorMichał Sawicz <michal@sawicz.net> dateMon 10 Jun 2013, 08:55 (13 years ago) parent4480b87b51e451
9 files changed+299−45
Applications/applications.js+17−17 Dash/DashMusic.qml+8−1 Dash/DashPeople.qml+8−1 Dash/DashVideos.qml+8−1 Dash/Video/VideoPreview.qml+3−3 Panel/SearchIndicator.qml+1−1 po/pl.po+129−12 po/unity8.pot+124−8 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 },
Dash/DashMusic.qml+8−1
@@ -23,6 +23,13 @@ import "Music"
2323LensView {
2424 id: lensView
2525
26+ property var categoryNames: [
27+ i18n.tr("Featured"),
28+ i18n.tr("Recent"),
29+ i18n.tr("New Releases"),
30+ i18n.tr("Top Charting")
31+ ]
32+
2633 onIsCurrentChanged: {
2734 pageHeader.resetSearch();
2835 }
@@ -84,7 +91,7 @@ LensView {
8491 sectionProperty: "name"
8592 sectionDelegate: ListItems.Header {
8693 width: categoryView.width
87− text: section
94+ text: i18n.tr(section)
8895 }
8996 pageHeader: PageHeader {
9097 id: pageHeader
Dash/DashPeople.qml+8−1
@@ -27,6 +27,13 @@ LensView {
2727 id: lensView
2828 property alias previewShown: previewLoader.onScreen
2929
30+ property var categoryNames: [
31+ i18n.tr("Favourites"),
32+ i18n.tr("Recently in touch"),
33+ i18n.tr("New Contacts"),
34+ i18n.tr("A-Z")
35+ ]
36+
3037 onIsCurrentChanged: {
3138 pageHeader.resetSearch();
3239 }
@@ -108,7 +115,7 @@ LensView {
108115 sectionProperty: "name"
109116 sectionDelegate: ListItems.Header {
110117 width: categoryView.width
111− text: section
118+ text: i18n.tr(section)
112119 }
113120 pageHeader: PageHeader {
114121 id: pageHeader
Dash/DashVideos.qml+8−1
@@ -24,6 +24,13 @@ LensView {
2424 id: lensView
2525 property alias previewShown: previewLoader.onScreen
2626
27+ property var categoryNames: [
28+ i18n.tr("Featured"),
29+ i18n.tr("Recent"),
30+ i18n.tr("New Releases"),
31+ i18n.tr("Popular Online")
32+ ]
33+
2734 onIsCurrentChanged: {
2835 pageHeader.resetSearch();
2936 }
@@ -139,7 +146,7 @@ LensView {
139146 sectionProperty: "name"
140147 sectionDelegate: ListItems.Header {
141148 width: categoryView.width
142− text: section
149+ text: i18n.tr(section)
143150 }
144151
145152 pageHeader: PageHeader {
Dash/Video/VideoPreview.qml+3−3
@@ -95,7 +95,7 @@ DashPreview {
9595 color: "white"
9696 horizontalAlignment: Text.AlignRight
9797 width: parent.firstColWidth
98− text: "Directed by:"
98+ text: i18n.tr("Directed by:")
9999 style: Text.Raised
100100 styleColor: "black"
101101 }
@@ -118,7 +118,7 @@ DashPreview {
118118 horizontalAlignment: Text.AlignRight
119119 color: "white"
120120 width: parent.firstColWidth
121− text: "Starring:"
121+ text: i18n.tr("Starring:")
122122 style: Text.Raised
123123 styleColor: "black"
124124 }
@@ -141,7 +141,7 @@ DashPreview {
141141 horizontalAlignment: Text.AlignRight
142142 color: "white"
143143 width: parent.firstColWidth
144− text: "Author:"
144+ text: i18n.tr("Author:")
145145 style: Text.Raised
146146 styleColor: "black"
147147 }
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+129−12
@@ -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:40+0200\n"
11+"PO-Revision-Date: 2013-06-08 14:43+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"
@@ -65,18 +134,66 @@ msgstr "Wideo popularne online"
65134msgid "Home"
66135msgstr "Dom"
67136
68−#: Dash/DashMusic.qml:92
137+#: Dash/DashMusic.qml:27 Dash/DashVideos.qml:28
138+msgid "Featured"
139+msgstr "Polecane"
140+
141+#: Dash/DashMusic.qml:28 Dash/DashVideos.qml:29
142+msgid "Recent"
143+msgstr "Najnowsze"
144+
145+#: Dash/DashMusic.qml:29 Dash/DashVideos.qml:30
146+msgid "New Releases"
147+msgstr "Nowości"
148+
149+#: Dash/DashMusic.qml:30
150+msgid "Top Charting"
151+msgstr "Przeboje"
152+
153+#: Dash/DashMusic.qml:99
69154msgid "Music"
70155msgstr "Muzyka"
71156
72−#: Dash/DashPeople.qml:116
157+#: Dash/DashPeople.qml:31
158+msgid "Favourites"
159+msgstr "Ulubione"
160+
161+#: Dash/DashPeople.qml:32
162+msgid "Recently in touch"
163+msgstr "Ostatnio w kontakcie"
164+
165+#: Dash/DashPeople.qml:33
166+msgid "New Contacts"
167+msgstr "Nowe kontakty"
168+
169+#: Dash/DashPeople.qml:34
170+msgid "A-Z"
171+msgstr "A-Z"
172+
173+#: Dash/DashPeople.qml:123
73174msgid "People"
74175msgstr "Ludzie"
75176
76−#: Dash/DashVideos.qml:148
177+#: Dash/DashVideos.qml:31
178+msgid "Popular Online"
179+msgstr "Popularne online"
180+
181+#: Dash/DashVideos.qml:155
77182msgid "Videos"
78183msgstr "Filmy"
79184
185+#: Dash/Video/VideoPreview.qml:98
186+msgid "Directed by:"
187+msgstr "Reżyseria:"
188+
189+#: Dash/Video/VideoPreview.qml:121
190+msgid "Starring:"
191+msgstr "Obsada:"
192+
193+#: Dash/Video/VideoPreview.qml:144
194+msgid "Author:"
195+msgstr "Autor:"
196+
80197#: Hud/HudParametrizedActionsPage.qml:132
81198msgid "Confirm"
82199msgstr "Potwierdź"
@@ -105,6 +222,10 @@ msgstr "Urządzenie"
105222msgid "Flight mode"
106223msgstr "Tryb samolotowy"
107224
225+#: Panel/SearchIndicator.qml:26 plugins/Unity/lenses.cpp:40
226+msgid "Search"
227+msgstr "Szukaj"
228+
108229#: plugins/Unity/lens.cpp:333
109230msgid "Sorry, there is nothing that matches your search."
110231msgstr "Nie znaleziono pasujących wyników."
@@ -112,7 +233,3 @@ msgstr "Nie znaleziono pasujących wyników."
112233#: plugins/Unity/lenses.cpp:39
113234msgid "Home screen"
114235msgstr "Ekran domowy"
115−
116−#: plugins/Unity/lenses.cpp:40
117−msgid "Search"
118−msgstr "Szukaj"
po/unity8.pot+124−8
@@ -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:40+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 ""
@@ -65,18 +133,66 @@ msgstr ""
65133msgid "Home"
66134msgstr ""
67135
68−#: Dash/DashMusic.qml:92
136+#: Dash/DashMusic.qml:27 Dash/DashVideos.qml:28
137+msgid "Featured"
138+msgstr ""
139+
140+#: Dash/DashMusic.qml:28 Dash/DashVideos.qml:29
141+msgid "Recent"
142+msgstr ""
143+
144+#: Dash/DashMusic.qml:29 Dash/DashVideos.qml:30
145+msgid "New Releases"
146+msgstr ""
147+
148+#: Dash/DashMusic.qml:30
149+msgid "Top Charting"
150+msgstr ""
151+
152+#: Dash/DashMusic.qml:99
69153msgid "Music"
70154msgstr ""
71155
72−#: Dash/DashPeople.qml:116
156+#: Dash/DashPeople.qml:31
157+msgid "Favourites"
158+msgstr ""
159+
160+#: Dash/DashPeople.qml:32
161+msgid "Recently in touch"
162+msgstr ""
163+
164+#: Dash/DashPeople.qml:33
165+msgid "New Contacts"
166+msgstr ""
167+
168+#: Dash/DashPeople.qml:34
169+msgid "A-Z"
170+msgstr ""
171+
172+#: Dash/DashPeople.qml:123
73173msgid "People"
74174msgstr ""
75175
76−#: Dash/DashVideos.qml:148
176+#: Dash/DashVideos.qml:31
177+msgid "Popular Online"
178+msgstr ""
179+
180+#: Dash/DashVideos.qml:155
77181msgid "Videos"
78182msgstr ""
79183
184+#: Dash/Video/VideoPreview.qml:98
185+msgid "Directed by:"
186+msgstr ""
187+
188+#: Dash/Video/VideoPreview.qml:121
189+msgid "Starring:"
190+msgstr ""
191+
192+#: Dash/Video/VideoPreview.qml:144
193+msgid "Author:"
194+msgstr ""
195+
80196#: Hud/HudParametrizedActionsPage.qml:132
81197msgid "Confirm"
82198msgstr ""
@@ -105,6 +221,10 @@ msgstr ""
105221msgid "Flight mode"
106222msgstr ""
107223
224+#: Panel/SearchIndicator.qml:26 plugins/Unity/lenses.cpp:40
225+msgid "Search"
226+msgstr ""
227+
108228#: plugins/Unity/lens.cpp:333
109229msgid "Sorry, there is nothing that matches your search."
110230msgstr ""
@@ -112,7 +232,3 @@ msgstr ""
112232#: plugins/Unity/lenses.cpp:39
113233msgid "Home screen"
114234msgstr ""
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