Merge lp:~osomon/unav/update-pot-script into lp:unav
- update-pot-script
- Merge into trunk
Proposed by
Olivier Tilloy
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 102 | ||||
Proposed branch: | lp:~osomon/unav/update-pot-script | ||||
Merge into: | lp:unav | ||||
Diff against target: |
746 lines (+304/-326) 4 files modified
Makefile (+25/-35) nav/locales/generate/README (+2/-37) po/unav.pot (+276/-254) qml/AboutPage.qml (+1/-0) |
||||
To merge this branch: | bzr merge lp:~osomon/unav/update-pot-script | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
costales | Approve | ||
Review via email: mp+303845@code.launchpad.net |
Commit message
Automate updating the translation template with the top-level Makefile.
Run `make po/unav.pot` to update the translation template.
Description of the change
To post a comment you must log in.
- 105. By Olivier Tilloy
-
Ensure all files to include in translation template are really sorted.
- 106. By Olivier Tilloy
-
Move translation template to newly-created top-level 'po' folder.
- 107. By Olivier Tilloy
-
Convert update-pot.sh into makefile rules.
- 108. By Olivier Tilloy
-
Update translation template.
- 109. By Olivier Tilloy
-
Updated instructions.
- 110. By Olivier Tilloy
-
Add myself to contributors.
Revision history for this message
costales (costales) wrote : | # |
One point please,
make po/unav.pot
is generating new files in nav/ directory. Any way to avoid that?
Thanks.
Revision history for this message
Olivier Tilloy (osomon) wrote : | # |
`make clean` will clean up those temporary files.
Or `bzr clean-tree --unknown`.
- 111. By Olivier Tilloy
-
Updated translation template.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Makefile' | |||
2 | --- Makefile 2016-03-26 18:53:17 +0000 | |||
3 | +++ Makefile 2016-08-26 16:26:36 +0000 | |||
4 | @@ -1,39 +1,29 @@ | |||
25 | 1 | # More information: https://wiki.ubuntu.com/Touch/Testing | 1 | #!/usr/bin/make -f |
26 | 2 | # | 2 | # -*- makefile -*- |
7 | 3 | # Notes for autopilot tests: | ||
8 | 4 | # --------------------------------------------------------------- | ||
9 | 5 | # In order to run autopilot tests: | ||
10 | 6 | # sudo apt-add-repository ppa:autopilot/ppa | ||
11 | 7 | # sudo apt-get update | ||
12 | 8 | # sudo apt-get install python-autopilot autopilot-qt | ||
13 | 9 | # | ||
14 | 10 | # Notes for translations: | ||
15 | 11 | # --------------------------------------------------------------- | ||
16 | 12 | # In order to create translation files manually: | ||
17 | 13 | # 1) run make once to create and update the po/unav.pot | ||
18 | 14 | # 2) copy the template file and set the name to the language you want to | ||
19 | 15 | # translate to: cp po/unav.pot po/en.po | ||
20 | 16 | # 3) edit the po file | ||
21 | 17 | # 4) run make build-translations to build the translation files | ||
22 | 18 | # | ||
23 | 19 | # Steps 1) and 4) are automatically executed by QtCreator | ||
24 | 20 | ################################################################# | ||
27 | 21 | 3 | ||
28 | 22 | #APP_ID needs to match the "name" field of the click manifest | 4 | #APP_ID needs to match the "name" field of the click manifest |
29 | 23 | APP_ID=costales.unav | 5 | APP_ID=costales.unav |
30 | 24 | 6 | ||
46 | 25 | #provides a way for the IDE to set a specific target folder for the translations | 7 | POT_FILE=po/unav.pot |
47 | 26 | TRANSLATION_ROOT=. | 8 | |
48 | 27 | 9 | all: $(POT_FILE) | |
49 | 28 | MO_FILES=$(shell for infile in `find po -name "*.po"`; do basename -s .po $$infile | awk '{print "$(TRANSLATION_ROOT)/share/locale/" $$0 "/LC_MESSAGES/$(APP_ID).mo";}' ; done) | 10 | |
50 | 29 | QMLJS_FILES=$(shell find . -name "*.qml" -o -name "*.js" | grep -v ./tests) | 11 | HTML_STRINGS_FILE=nav/index.html.strings |
51 | 30 | 12 | $(HTML_STRINGS_FILE): nav/index.html | |
52 | 31 | all: po/unav.pot | 13 | grep -Po 'data-localize=([^>]*)' $< > $@ |
53 | 32 | 14 | $(HTML_STRINGS_FILE).h: $(HTML_STRINGS_FILE) | |
54 | 33 | #translation targets | 15 | intltool-extract --type=gettext/quoted $< |
55 | 34 | build-translations: $(MO_FILES) | 16 | |
56 | 35 | 17 | QML_FILES=$(shell find -iname *.qml -printf '%P\n') | |
57 | 36 | po/unav.pot:$(QMLJS_FILES) | 18 | JS_FILES=$(shell ls nav/class/*.js qml/js/*.js) |
58 | 37 | mkdir -p $(CURDIR)/po && xgettext -o po/unav.pot --add-comments=TRANSLATORS --keyword=tr --keyword=tr:1,2 $(QMLJS_FILES) --from-code=UTF-8 | 19 | |
59 | 38 | $(TRANSLATION_ROOT)/share/locale/%/LC_MESSAGES/$(APP_ID).mo: po/%.po | 20 | I18N_FILES=$(sort $(QML_FILES) $(JS_FILES) $(HTML_STRINGS_FILE).h) |
60 | 39 | mkdir -p $(TRANSLATION_ROOT)/share/locale/$*/LC_MESSAGES && msgfmt -o $(@) $(<) | 21 | |
61 | 22 | $(POT_FILE): $(I18N_FILES) | ||
62 | 23 | xgettext -o $@ --from-code=UTF-8 -C --qt --add-comments=TRANSLATORS \ | ||
63 | 24 | --keyword=tr --keyword=tr:1,2 --keyword=t --keyword=N_ \ | ||
64 | 25 | --package-name=unav -D . $^ | ||
65 | 26 | |||
66 | 27 | clean: | ||
67 | 28 | rm $(HTML_STRINGS_FILE) $(HTML_STRINGS_FILE).h | ||
68 | 29 | |||
69 | 40 | 30 | ||
70 | === renamed file 'nav/locales/generate/TODO' => 'nav/locales/generate/README' | |||
71 | --- nav/locales/generate/TODO 2016-04-17 14:55:20 +0000 | |||
72 | +++ nav/locales/generate/README 2016-08-26 16:26:36 +0000 | |||
73 | @@ -1,40 +1,5 @@ | |||
111 | 1 | xgettext -C --qt --add-comments=TRANSLATORS --keyword=tr --from-code utf-8 qml/*.qml -o nav/locales/unav1.pot | 1 | To update the translation template, cd to the root of the source tree, |
112 | 2 | echo 'msgid "Search"' >> nav/locales/unav1.pot | 2 | and run `make po/unav.pot`. |
76 | 3 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
77 | 4 | echo 'msgid "Favorites"' >> nav/locales/unav1.pot | ||
78 | 5 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
79 | 6 | echo 'msgid "Nearby"' >> nav/locales/unav1.pot | ||
80 | 7 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
81 | 8 | echo 'msgid "Coordinates"' >> nav/locales/unav1.pot | ||
82 | 9 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
83 | 10 | echo 'msgid "Share"' >> nav/locales/unav1.pot | ||
84 | 11 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
85 | 12 | echo 'msgid "Cancel Route"' >> nav/locales/unav1.pot | ||
86 | 13 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
87 | 14 | |||
88 | 15 | echo 'msgid "Current"' >> nav/locales/unav1.pot | ||
89 | 16 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
90 | 17 | echo 'msgid "Destination"' >> nav/locales/unav1.pot | ||
91 | 18 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
92 | 19 | echo 'msgid "From Map"' >> nav/locales/unav1.pot | ||
93 | 20 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
94 | 21 | |||
95 | 22 | echo 'msgid "translator-credits"' >> nav/locales/unav1.pot | ||
96 | 23 | echo 'msgstr ""' >> nav/locales/unav1.pot | ||
97 | 24 | grep -Po 'data-localize=([^>]*)' nav/index.html | cut -d= -f2 | sed 's/^/msgid /' | sed 's/$/\nmsgstr ""/' >> nav/locales/unav1.pot | ||
98 | 25 | xgettext -C --qt --keyword=tr --from-code utf-8 qml/js/PoiCategories.js -o nav/locales/unav2.pot | ||
99 | 26 | xgettext -C --keyword=t --from-code utf-8 nav/class/*.js -o nav/locales/unav3.pot | ||
100 | 27 | xgettext -C --qt --add-comments=TRANSLATORS --keyword=tr --from-code utf-8 qml/tuto/*.qml -o nav/locales/unav4.pot | ||
101 | 28 | xgettext -C --qt --add-comments=TRANSLATORS --keyword=tr --from-code utf-8 qml/tuto/components/*.qml -o nav/locales/unav5.pot | ||
102 | 29 | sed '1,18d' nav/locales/unav2.pot -i | ||
103 | 30 | sed '1,18d' nav/locales/unav3.pot -i | ||
104 | 31 | sed '1,18d' nav/locales/unav4.pot -i | ||
105 | 32 | sed '1,18d' nav/locales/unav5.pot -i | ||
106 | 33 | cat nav/locales/unav1.pot nav/locales/unav2.pot nav/locales/unav3.pot nav/locales/unav4.pot nav/locales/unav5.pot > nav/locales/unav.pot | ||
107 | 34 | rm nav/locales/unav1.pot nav/locales/unav2.pot nav/locales/unav3.pot nav/locales/unav4.pot nav/locales/unav5.pot | ||
108 | 35 | msguniq -o nav/locales/unav.pot nav/locales/unav.pot | ||
109 | 36 | msgfmt -c nav/locales/unav.pot | ||
110 | 37 | rm messages.mo | ||
113 | 38 | 3 | ||
114 | 39 | Translate javascript: Download .po files from LP, then: | 4 | Translate javascript: Download .po files from LP, then: |
115 | 40 | wget https://raw.githubusercontent.com/fileformat/lptools/master/po2json.py | 5 | wget https://raw.githubusercontent.com/fileformat/lptools/master/po2json.py |
116 | 41 | 6 | ||
117 | === added directory 'po' | |||
118 | === renamed file 'nav/locales/unav.pot' => 'po/unav.pot' | |||
119 | --- nav/locales/unav.pot 2016-08-06 21:08:30 +0000 | |||
120 | +++ po/unav.pot 2016-08-26 16:26:36 +0000 | |||
121 | @@ -1,14 +1,14 @@ | |||
122 | 1 | # SOME DESCRIPTIVE TITLE. | 1 | # SOME DESCRIPTIVE TITLE. |
123 | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
125 | 3 | # This file is distributed under the same license as the PACKAGE package. | 3 | # This file is distributed under the same license as the unav package. |
126 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
127 | 5 | # | 5 | # |
128 | 6 | #, fuzzy | 6 | #, fuzzy |
129 | 7 | msgid "" | 7 | msgid "" |
130 | 8 | msgstr "" | 8 | msgstr "" |
132 | 9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: unav\n" |
133 | 10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
135 | 11 | "POT-Creation-Date: 2016-08-06 23:08+0200\n" | 11 | "POT-Creation-Date: 2016-08-26 18:24+0200\n" |
136 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
137 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
138 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
139 | @@ -17,6 +17,253 @@ | |||
140 | 17 | "Content-Type: text/plain; charset=UTF-8\n" | 17 | "Content-Type: text/plain; charset=UTF-8\n" |
141 | 18 | "Content-Transfer-Encoding: 8bit\n" | 18 | "Content-Transfer-Encoding: 8bit\n" |
142 | 19 | 19 | ||
143 | 20 | #: nav/class/Navigator.js:259 | ||
144 | 21 | msgid "You are near to the destination" | ||
145 | 22 | msgstr "" | ||
146 | 23 | |||
147 | 24 | #: nav/class/Navigator.js:285 | ||
148 | 25 | msgid "Go" | ||
149 | 26 | msgstr "" | ||
150 | 27 | |||
151 | 28 | #: nav/class/Navigator.js:288 | ||
152 | 29 | msgid "Go to your right" | ||
153 | 30 | msgstr "" | ||
154 | 31 | |||
155 | 32 | #: nav/class/Navigator.js:291 | ||
156 | 33 | msgid "Go to your left" | ||
157 | 34 | msgstr "" | ||
158 | 35 | |||
159 | 36 | #: nav/class/Navigator.js:294 nav/class/UI.js:546 | ||
160 | 37 | msgid "You have arrived at your destination" | ||
161 | 38 | msgstr "" | ||
162 | 39 | |||
163 | 40 | #: nav/class/Navigator.js:297 | ||
164 | 41 | msgid "Your destination is on the right" | ||
165 | 42 | msgstr "" | ||
166 | 43 | |||
167 | 44 | #: nav/class/Navigator.js:300 | ||
168 | 45 | msgid "Your destination is on the left" | ||
169 | 46 | msgstr "" | ||
170 | 47 | |||
171 | 48 | #: nav/class/Navigator.js:303 | ||
172 | 49 | msgid "Current road becomes" | ||
173 | 50 | msgstr "" | ||
174 | 51 | |||
175 | 52 | #: nav/class/Navigator.js:306 | ||
176 | 53 | msgid "Continue" | ||
177 | 54 | msgstr "" | ||
178 | 55 | |||
179 | 56 | #: nav/class/Navigator.js:309 | ||
180 | 57 | msgid "Bear right" | ||
181 | 58 | msgstr "" | ||
182 | 59 | |||
183 | 60 | #: nav/class/Navigator.js:312 | ||
184 | 61 | msgid "Turn right" | ||
185 | 62 | msgstr "" | ||
186 | 63 | |||
187 | 64 | #: nav/class/Navigator.js:315 | ||
188 | 65 | msgid "Make a sharp right" | ||
189 | 66 | msgstr "" | ||
190 | 67 | |||
191 | 68 | #: nav/class/Navigator.js:318 | ||
192 | 69 | msgid "Make a right U-turn" | ||
193 | 70 | msgstr "" | ||
194 | 71 | |||
195 | 72 | #: nav/class/Navigator.js:321 | ||
196 | 73 | msgid "Make a left U-turn" | ||
197 | 74 | msgstr "" | ||
198 | 75 | |||
199 | 76 | #: nav/class/Navigator.js:324 | ||
200 | 77 | msgid "Make a sharp left" | ||
201 | 78 | msgstr "" | ||
202 | 79 | |||
203 | 80 | #: nav/class/Navigator.js:327 | ||
204 | 81 | msgid "Turn left" | ||
205 | 82 | msgstr "" | ||
206 | 83 | |||
207 | 84 | #: nav/class/Navigator.js:330 | ||
208 | 85 | msgid "Bear left" | ||
209 | 86 | msgstr "" | ||
210 | 87 | |||
211 | 88 | #: nav/class/Navigator.js:333 | ||
212 | 89 | msgid "Stay straight on ramp" | ||
213 | 90 | msgstr "" | ||
214 | 91 | |||
215 | 92 | #: nav/class/Navigator.js:336 | ||
216 | 93 | msgid "Turn right on ramp" | ||
217 | 94 | msgstr "" | ||
218 | 95 | |||
219 | 96 | #: nav/class/Navigator.js:339 | ||
220 | 97 | msgid "Turn left on ramp" | ||
221 | 98 | msgstr "" | ||
222 | 99 | |||
223 | 100 | #: nav/class/Navigator.js:342 | ||
224 | 101 | msgid "Take the exit on the right" | ||
225 | 102 | msgstr "" | ||
226 | 103 | |||
227 | 104 | #: nav/class/Navigator.js:345 | ||
228 | 105 | msgid "Take the exit on the left" | ||
229 | 106 | msgstr "" | ||
230 | 107 | |||
231 | 108 | #: nav/class/Navigator.js:348 | ||
232 | 109 | msgid "Keep straight at the fork" | ||
233 | 110 | msgstr "" | ||
234 | 111 | |||
235 | 112 | #: nav/class/Navigator.js:351 | ||
236 | 113 | msgid "Keep right at the fork" | ||
237 | 114 | msgstr "" | ||
238 | 115 | |||
239 | 116 | #: nav/class/Navigator.js:354 | ||
240 | 117 | msgid "Keep left at the fork" | ||
241 | 118 | msgstr "" | ||
242 | 119 | |||
243 | 120 | #: nav/class/Navigator.js:357 | ||
244 | 121 | msgid "Merge" | ||
245 | 122 | msgstr "" | ||
246 | 123 | |||
247 | 124 | #: nav/class/Navigator.js:360 | ||
248 | 125 | msgid "Enter the roundabout" | ||
249 | 126 | msgstr "" | ||
250 | 127 | |||
251 | 128 | #: nav/class/Navigator.js:363 nav/class/Navigator.js:366 | ||
252 | 129 | #: nav/class/Navigator.js:369 nav/class/Navigator.js:372 | ||
253 | 130 | #: nav/class/Navigator.js:375 nav/class/Navigator.js:378 | ||
254 | 131 | #: nav/class/Navigator.js:381 nav/class/Navigator.js:384 | ||
255 | 132 | #: nav/class/Navigator.js:387 | ||
256 | 133 | #, qt-format | ||
257 | 134 | msgid "Enter the roundabout and take the exit %1" | ||
258 | 135 | msgstr "" | ||
259 | 136 | |||
260 | 137 | #: nav/class/Navigator.js:390 | ||
261 | 138 | msgid "Exit the roundabout" | ||
262 | 139 | msgstr "" | ||
263 | 140 | |||
264 | 141 | #: nav/class/Navigator.js:393 nav/class/Navigator.js:396 | ||
265 | 142 | #: nav/class/Navigator.js:399 nav/class/Navigator.js:402 | ||
266 | 143 | #: nav/class/Navigator.js:405 nav/class/Navigator.js:408 | ||
267 | 144 | #: nav/class/Navigator.js:411 nav/class/Navigator.js:414 | ||
268 | 145 | #: nav/class/Navigator.js:417 | ||
269 | 146 | #, qt-format | ||
270 | 147 | msgid "Take the exit %1" | ||
271 | 148 | msgstr "" | ||
272 | 149 | |||
273 | 150 | #: nav/class/Navigator.js:420 | ||
274 | 151 | msgid "Take the Ferry" | ||
275 | 152 | msgstr "" | ||
276 | 153 | |||
277 | 154 | #: nav/class/Navigator.js:423 | ||
278 | 155 | msgid "Leave the Ferry" | ||
279 | 156 | msgstr "" | ||
280 | 157 | |||
281 | 158 | #: nav/class/Navigator.js:488 | ||
282 | 159 | #, qt-format | ||
283 | 160 | msgid " onto %1" | ||
284 | 161 | msgstr "" | ||
285 | 162 | |||
286 | 163 | #: nav/class/Navigator.js:491 | ||
287 | 164 | #, qt-format | ||
288 | 165 | msgid ". Exit %1" | ||
289 | 166 | msgstr "" | ||
290 | 167 | |||
291 | 168 | #: nav/class/Navigator.js:493 | ||
292 | 169 | #, qt-format | ||
293 | 170 | msgid " to take the %1" | ||
294 | 171 | msgstr "" | ||
295 | 172 | |||
296 | 173 | #: nav/class/Navigator.js:495 | ||
297 | 174 | #, qt-format | ||
298 | 175 | msgid " toward %1" | ||
299 | 176 | msgstr "" | ||
300 | 177 | |||
301 | 178 | #: nav/class/Navigator.js:497 | ||
302 | 179 | #, qt-format | ||
303 | 180 | msgid ", %1" | ||
304 | 181 | msgstr "" | ||
305 | 182 | |||
306 | 183 | #: nav/class/UI.js:38 qml/Favorites.qml:214 qml/Main.qml:766 | ||
307 | 184 | msgid "Current Position" | ||
308 | 185 | msgstr "" | ||
309 | 186 | |||
310 | 187 | #: nav/class/UI.js:47 | ||
311 | 188 | msgid "Current Start" | ||
312 | 189 | msgstr "" | ||
313 | 190 | |||
314 | 191 | #: nav/class/UI.js:56 | ||
315 | 192 | msgid "Current End" | ||
316 | 193 | msgstr "" | ||
317 | 194 | |||
318 | 195 | #: nav/class/UI.js:481 | ||
319 | 196 | msgid "Waiting for a GPS signal…" | ||
320 | 197 | msgstr "" | ||
321 | 198 | |||
322 | 199 | #: nav/class/UI.js:488 | ||
323 | 200 | msgid "Searching for a route…" | ||
324 | 201 | msgstr "" | ||
325 | 202 | |||
326 | 203 | #: nav/class/UI.js:492 | ||
327 | 204 | msgid "Drawing route…" | ||
328 | 205 | msgstr "" | ||
329 | 206 | |||
330 | 207 | #: nav/class/UI.js:496 | ||
331 | 208 | msgid "Trying search again soon…" | ||
332 | 209 | msgstr "" | ||
333 | 210 | |||
334 | 211 | #: nav/class/UI.js:500 | ||
335 | 212 | msgid "Recalculating route…" | ||
336 | 213 | msgstr "" | ||
337 | 214 | |||
338 | 215 | #: nav/class/UI.js:521 | ||
339 | 216 | msgid "Navigation will start soon" | ||
340 | 217 | msgstr "" | ||
341 | 218 | |||
342 | 219 | #: nav/class/UI.js:553 | ||
343 | 220 | msgid "Simulating route…" | ||
344 | 221 | msgstr "" | ||
345 | 222 | |||
346 | 223 | #: nav/class/UI.js:557 | ||
347 | 224 | msgid "Error simulating route. Try different points" | ||
348 | 225 | msgstr "" | ||
349 | 226 | |||
350 | 227 | #: nav/class/UI.js:578 | ||
351 | 228 | msgid "Click onto the icon for reviewing the route" | ||
352 | 229 | msgstr "" | ||
353 | 230 | |||
354 | 231 | #: nav/index.html.strings:1 | ||
355 | 232 | msgid "Start" | ||
356 | 233 | msgstr "" | ||
357 | 234 | |||
358 | 235 | #: nav/index.html.strings:2 qml/Favorites.qml:229 qml/SettingsPage.qml:437 | ||
359 | 236 | msgid "Cancel" | ||
360 | 237 | msgstr "" | ||
361 | 238 | |||
362 | 239 | #: nav/index.html.strings:3 | ||
363 | 240 | msgid "Route so long" | ||
364 | 241 | msgstr "" | ||
365 | 242 | |||
366 | 243 | #: nav/index.html.strings:4 | ||
367 | 244 | msgid "More than 1000km could affect the performance" | ||
368 | 245 | msgstr "" | ||
369 | 246 | |||
370 | 247 | #: nav/index.html.strings:5 | ||
371 | 248 | msgid "We recommend you a waypoint in the middle as destination" | ||
372 | 249 | msgstr "" | ||
373 | 250 | |||
374 | 251 | #: nav/index.html.strings:10 qml/Coordinate.qml:152 qml/Coordinate.qml:386 | ||
375 | 252 | msgid "Close" | ||
376 | 253 | msgstr "" | ||
377 | 254 | |||
378 | 255 | #: nav/index.html.strings:7 | ||
379 | 256 | msgid "GPS Denied" | ||
380 | 257 | msgstr "" | ||
381 | 258 | |||
382 | 259 | #: nav/index.html.strings:8 | ||
383 | 260 | msgid "Error reading the GPS status" | ||
384 | 261 | msgstr "" | ||
385 | 262 | |||
386 | 263 | #: nav/index.html.strings:9 | ||
387 | 264 | msgid "Please review your device settings" | ||
388 | 265 | msgstr "" | ||
389 | 266 | |||
390 | 20 | #: qml/AboutPage.qml:27 qml/SettingsPage.qml:44 | 267 | #: qml/AboutPage.qml:27 qml/SettingsPage.qml:44 |
391 | 21 | msgid "About" | 268 | msgid "About" |
392 | 22 | msgstr "" | 269 | msgstr "" |
393 | @@ -43,7 +290,7 @@ | |||
394 | 43 | msgstr "" | 290 | msgstr "" |
395 | 44 | 291 | ||
396 | 45 | #: qml/AboutPage.qml:44 qml/AboutPage.qml:45 qml/AboutPage.qml:46 | 292 | #: qml/AboutPage.qml:44 qml/AboutPage.qml:45 qml/AboutPage.qml:46 |
398 | 46 | #: qml/AboutPage.qml:47 | 293 | #: qml/AboutPage.qml:47 qml/AboutPage.qml:48 |
399 | 47 | msgid "Developers" | 294 | msgid "Developers" |
400 | 48 | msgstr "" | 295 | msgstr "" |
401 | 49 | 296 | ||
402 | @@ -51,34 +298,34 @@ | |||
403 | 51 | msgid "Founder" | 298 | msgid "Founder" |
404 | 52 | msgstr "" | 299 | msgstr "" |
405 | 53 | 300 | ||
408 | 54 | #: qml/AboutPage.qml:52 qml/AboutPage.qml:55 qml/AboutPage.qml:58 | 301 | #: qml/AboutPage.qml:53 qml/AboutPage.qml:56 qml/AboutPage.qml:59 |
409 | 55 | #: qml/AboutPage.qml:61 qml/AboutPage.qml:64 qml/AboutPage.qml:67 | 302 | #: qml/AboutPage.qml:62 qml/AboutPage.qml:65 qml/AboutPage.qml:68 |
410 | 56 | msgid "Voice" | 303 | msgid "Voice" |
411 | 57 | msgstr "" | 304 | msgstr "" |
412 | 58 | 305 | ||
414 | 59 | #: qml/AboutPage.qml:71 | 306 | #: qml/AboutPage.qml:72 |
415 | 60 | msgid "Logo" | 307 | msgid "Logo" |
416 | 61 | msgstr "" | 308 | msgstr "" |
417 | 62 | 309 | ||
419 | 63 | #: qml/AboutPage.qml:74 | 310 | #: qml/AboutPage.qml:75 |
420 | 64 | msgid "translator-credits" | 311 | msgid "translator-credits" |
421 | 65 | msgstr "" | 312 | msgstr "" |
422 | 66 | 313 | ||
424 | 67 | #: qml/AboutPage.qml:76 | 314 | #: qml/AboutPage.qml:77 |
425 | 68 | msgid "Translators" | 315 | msgid "Translators" |
426 | 69 | msgstr "" | 316 | msgstr "" |
427 | 70 | 317 | ||
434 | 71 | #: qml/AboutPage.qml:80 qml/AboutPage.qml:81 qml/AboutPage.qml:82 | 318 | #: qml/AboutPage.qml:81 qml/AboutPage.qml:82 qml/AboutPage.qml:83 |
435 | 72 | #: qml/AboutPage.qml:83 qml/AboutPage.qml:84 qml/AboutPage.qml:85 | 319 | #: qml/AboutPage.qml:84 qml/AboutPage.qml:85 qml/AboutPage.qml:86 |
436 | 73 | #: qml/AboutPage.qml:86 qml/AboutPage.qml:87 qml/AboutPage.qml:88 | 320 | #: qml/AboutPage.qml:87 qml/AboutPage.qml:88 qml/AboutPage.qml:89 |
437 | 74 | #: qml/AboutPage.qml:89 qml/AboutPage.qml:90 qml/AboutPage.qml:91 | 321 | #: qml/AboutPage.qml:90 qml/AboutPage.qml:91 qml/AboutPage.qml:92 |
438 | 75 | #: qml/AboutPage.qml:92 qml/AboutPage.qml:93 qml/AboutPage.qml:94 | 322 | #: qml/AboutPage.qml:93 qml/AboutPage.qml:94 qml/AboutPage.qml:95 |
439 | 76 | #: qml/AboutPage.qml:95 | 323 | #: qml/AboutPage.qml:96 |
440 | 77 | msgid "Powered by" | 324 | msgid "Powered by" |
441 | 78 | msgstr "" | 325 | msgstr "" |
442 | 79 | 326 | ||
443 | 80 | #. TRANSLATORS: %1 and %2 are links that do not have to be translated: Year + Project + License | 327 | #. TRANSLATORS: %1 and %2 are links that do not have to be translated: Year + Project + License |
445 | 81 | #: qml/AboutPage.qml:136 | 328 | #: qml/AboutPage.qml:137 |
446 | 82 | #, qt-format | 329 | #, qt-format |
447 | 83 | msgid "Version %1. Under License %2" | 330 | msgid "Version %1. Under License %2" |
448 | 84 | msgstr "" | 331 | msgstr "" |
449 | @@ -114,10 +361,6 @@ | |||
450 | 114 | "Expected format is:" | 361 | "Expected format is:" |
451 | 115 | msgstr "" | 362 | msgstr "" |
452 | 116 | 363 | ||
453 | 117 | #: qml/Coordinate.qml:152 qml/Coordinate.qml:386 | ||
454 | 118 | msgid "Close" | ||
455 | 119 | msgstr "" | ||
456 | 120 | |||
457 | 121 | #: qml/Coordinate.qml:384 | 364 | #: qml/Coordinate.qml:384 |
458 | 122 | msgid "" | 365 | msgid "" |
459 | 123 | "Enter valid sexagesimal coordinates\n" | 366 | "Enter valid sexagesimal coordinates\n" |
460 | @@ -147,14 +390,6 @@ | |||
461 | 147 | msgid "Insert a favorite name" | 390 | msgid "Insert a favorite name" |
462 | 148 | msgstr "" | 391 | msgstr "" |
463 | 149 | 392 | ||
464 | 150 | #: qml/Favorites.qml:214 qml/Main.qml:766 nav/class/UI.js:38 | ||
465 | 151 | msgid "Current Position" | ||
466 | 152 | msgstr "" | ||
467 | 153 | |||
468 | 154 | #: qml/Favorites.qml:229 qml/SettingsPage.qml:437 | ||
469 | 155 | msgid "Cancel" | ||
470 | 156 | msgstr "" | ||
471 | 157 | |||
472 | 158 | #: qml/Favorites.qml:236 | 393 | #: qml/Favorites.qml:236 |
473 | 159 | msgid "Overwrite" | 394 | msgid "Overwrite" |
474 | 160 | msgstr "" | 395 | msgstr "" |
475 | @@ -203,6 +438,7 @@ | |||
476 | 203 | msgstr "" | 438 | msgstr "" |
477 | 204 | 439 | ||
478 | 205 | #: qml/Location.qml:230 qml/PoiListPage.qml:163 | 440 | #: qml/Location.qml:230 qml/PoiListPage.qml:163 |
479 | 441 | #: qml/components/POIQuickAccessGridView.qml:181 | ||
480 | 206 | msgid "Searching…" | 442 | msgid "Searching…" |
481 | 207 | msgstr "" | 443 | msgstr "" |
482 | 208 | 444 | ||
483 | @@ -519,34 +755,16 @@ | |||
484 | 519 | msgid "Share location to" | 755 | msgid "Share location to" |
485 | 520 | msgstr "" | 756 | msgstr "" |
486 | 521 | 757 | ||
515 | 522 | msgid "Share" | 758 | #: qml/components/POIQuickAccessGridView.qml:92 |
516 | 523 | msgstr "" | 759 | msgid "Error getting results. Please, check your data connection." |
517 | 524 | 760 | msgstr "" | |
518 | 525 | msgid "Current" | 761 | |
519 | 526 | msgstr "" | 762 | #: qml/components/POIQuickAccessGridView.qml:97 |
520 | 527 | 763 | msgid "Sorry, no results found nearby." | |
521 | 528 | msgid "From Map" | 764 | msgstr "" |
522 | 529 | msgstr "" | 765 | |
523 | 530 | 766 | #: qml/components/POIQuickAccessGridView.qml:175 | |
524 | 531 | msgid "Start" | 767 | msgid "Current position unknown. Try again after a position update." |
497 | 532 | msgstr "" | ||
498 | 533 | |||
499 | 534 | msgid "Route so long" | ||
500 | 535 | msgstr "" | ||
501 | 536 | |||
502 | 537 | msgid "More than 1000km could affect the performance" | ||
503 | 538 | msgstr "" | ||
504 | 539 | |||
505 | 540 | msgid "We recommend you a waypoint in the middle as destination" | ||
506 | 541 | msgstr "" | ||
507 | 542 | |||
508 | 543 | msgid "GPS Denied" | ||
509 | 544 | msgstr "" | ||
510 | 545 | |||
511 | 546 | msgid "Error reading the GPS status" | ||
512 | 547 | msgstr "" | ||
513 | 548 | |||
514 | 549 | msgid "Please review your device settings" | ||
525 | 550 | msgstr "" | 768 | msgstr "" |
526 | 551 | 769 | ||
527 | 552 | #: qml/js/PoiCategories.js:4 | 770 | #: qml/js/PoiCategories.js:4 |
528 | @@ -1025,204 +1243,8 @@ | |||
529 | 1025 | msgid "Town Hall" | 1243 | msgid "Town Hall" |
530 | 1026 | msgstr "" | 1244 | msgstr "" |
531 | 1027 | 1245 | ||
730 | 1028 | #: nav/class/Navigator.js:259 | 1246 | #: qml/js/utils.js:58 |
731 | 1029 | msgid "You are near to the destination" | 1247 | msgid "Current Location" |
534 | 1030 | msgstr "" | ||
535 | 1031 | |||
536 | 1032 | #: nav/class/Navigator.js:285 | ||
537 | 1033 | msgid "Go" | ||
538 | 1034 | msgstr "" | ||
539 | 1035 | |||
540 | 1036 | #: nav/class/Navigator.js:288 | ||
541 | 1037 | msgid "Go to your right" | ||
542 | 1038 | msgstr "" | ||
543 | 1039 | |||
544 | 1040 | #: nav/class/Navigator.js:291 | ||
545 | 1041 | msgid "Go to your left" | ||
546 | 1042 | msgstr "" | ||
547 | 1043 | |||
548 | 1044 | #: nav/class/Navigator.js:294 nav/class/UI.js:546 | ||
549 | 1045 | msgid "You have arrived at your destination" | ||
550 | 1046 | msgstr "" | ||
551 | 1047 | |||
552 | 1048 | #: nav/class/Navigator.js:297 | ||
553 | 1049 | msgid "Your destination is on the right" | ||
554 | 1050 | msgstr "" | ||
555 | 1051 | |||
556 | 1052 | #: nav/class/Navigator.js:300 | ||
557 | 1053 | msgid "Your destination is on the left" | ||
558 | 1054 | msgstr "" | ||
559 | 1055 | |||
560 | 1056 | #: nav/class/Navigator.js:303 | ||
561 | 1057 | msgid "Current road becomes" | ||
562 | 1058 | msgstr "" | ||
563 | 1059 | |||
564 | 1060 | #: nav/class/Navigator.js:306 | ||
565 | 1061 | msgid "Continue" | ||
566 | 1062 | msgstr "" | ||
567 | 1063 | |||
568 | 1064 | #: nav/class/Navigator.js:309 | ||
569 | 1065 | msgid "Bear right" | ||
570 | 1066 | msgstr "" | ||
571 | 1067 | |||
572 | 1068 | #: nav/class/Navigator.js:312 | ||
573 | 1069 | msgid "Turn right" | ||
574 | 1070 | msgstr "" | ||
575 | 1071 | |||
576 | 1072 | #: nav/class/Navigator.js:315 | ||
577 | 1073 | msgid "Make a sharp right" | ||
578 | 1074 | msgstr "" | ||
579 | 1075 | |||
580 | 1076 | #: nav/class/Navigator.js:318 | ||
581 | 1077 | msgid "Make a right U-turn" | ||
582 | 1078 | msgstr "" | ||
583 | 1079 | |||
584 | 1080 | #: nav/class/Navigator.js:321 | ||
585 | 1081 | msgid "Make a left U-turn" | ||
586 | 1082 | msgstr "" | ||
587 | 1083 | |||
588 | 1084 | #: nav/class/Navigator.js:324 | ||
589 | 1085 | msgid "Make a sharp left" | ||
590 | 1086 | msgstr "" | ||
591 | 1087 | |||
592 | 1088 | #: nav/class/Navigator.js:327 | ||
593 | 1089 | msgid "Turn left" | ||
594 | 1090 | msgstr "" | ||
595 | 1091 | |||
596 | 1092 | #: nav/class/Navigator.js:330 | ||
597 | 1093 | msgid "Bear left" | ||
598 | 1094 | msgstr "" | ||
599 | 1095 | |||
600 | 1096 | #: nav/class/Navigator.js:333 | ||
601 | 1097 | msgid "Stay straight on ramp" | ||
602 | 1098 | msgstr "" | ||
603 | 1099 | |||
604 | 1100 | #: nav/class/Navigator.js:336 | ||
605 | 1101 | msgid "Turn right on ramp" | ||
606 | 1102 | msgstr "" | ||
607 | 1103 | |||
608 | 1104 | #: nav/class/Navigator.js:339 | ||
609 | 1105 | msgid "Turn left on ramp" | ||
610 | 1106 | msgstr "" | ||
611 | 1107 | |||
612 | 1108 | #: nav/class/Navigator.js:342 | ||
613 | 1109 | msgid "Take the exit on the right" | ||
614 | 1110 | msgstr "" | ||
615 | 1111 | |||
616 | 1112 | #: nav/class/Navigator.js:345 | ||
617 | 1113 | msgid "Take the exit on the left" | ||
618 | 1114 | msgstr "" | ||
619 | 1115 | |||
620 | 1116 | #: nav/class/Navigator.js:348 | ||
621 | 1117 | msgid "Keep straight at the fork" | ||
622 | 1118 | msgstr "" | ||
623 | 1119 | |||
624 | 1120 | #: nav/class/Navigator.js:351 | ||
625 | 1121 | msgid "Keep right at the fork" | ||
626 | 1122 | msgstr "" | ||
627 | 1123 | |||
628 | 1124 | #: nav/class/Navigator.js:354 | ||
629 | 1125 | msgid "Keep left at the fork" | ||
630 | 1126 | msgstr "" | ||
631 | 1127 | |||
632 | 1128 | #: nav/class/Navigator.js:357 | ||
633 | 1129 | msgid "Merge" | ||
634 | 1130 | msgstr "" | ||
635 | 1131 | |||
636 | 1132 | #: nav/class/Navigator.js:360 | ||
637 | 1133 | msgid "Enter the roundabout" | ||
638 | 1134 | msgstr "" | ||
639 | 1135 | |||
640 | 1136 | #: nav/class/Navigator.js:363 nav/class/Navigator.js:366 | ||
641 | 1137 | #: nav/class/Navigator.js:369 nav/class/Navigator.js:372 | ||
642 | 1138 | #: nav/class/Navigator.js:375 nav/class/Navigator.js:378 | ||
643 | 1139 | #: nav/class/Navigator.js:381 nav/class/Navigator.js:384 | ||
644 | 1140 | #: nav/class/Navigator.js:387 | ||
645 | 1141 | msgid "Enter the roundabout and take the exit %1" | ||
646 | 1142 | msgstr "" | ||
647 | 1143 | |||
648 | 1144 | #: nav/class/Navigator.js:390 | ||
649 | 1145 | msgid "Exit the roundabout" | ||
650 | 1146 | msgstr "" | ||
651 | 1147 | |||
652 | 1148 | #: nav/class/Navigator.js:393 nav/class/Navigator.js:396 | ||
653 | 1149 | #: nav/class/Navigator.js:399 nav/class/Navigator.js:402 | ||
654 | 1150 | #: nav/class/Navigator.js:405 nav/class/Navigator.js:408 | ||
655 | 1151 | #: nav/class/Navigator.js:411 nav/class/Navigator.js:414 | ||
656 | 1152 | #: nav/class/Navigator.js:417 | ||
657 | 1153 | msgid "Take the exit %1" | ||
658 | 1154 | msgstr "" | ||
659 | 1155 | |||
660 | 1156 | #: nav/class/Navigator.js:420 | ||
661 | 1157 | msgid "Take the Ferry" | ||
662 | 1158 | msgstr "" | ||
663 | 1159 | |||
664 | 1160 | #: nav/class/Navigator.js:423 | ||
665 | 1161 | msgid "Leave the Ferry" | ||
666 | 1162 | msgstr "" | ||
667 | 1163 | |||
668 | 1164 | #: nav/class/Navigator.js:488 | ||
669 | 1165 | msgid " onto %1" | ||
670 | 1166 | msgstr "" | ||
671 | 1167 | |||
672 | 1168 | #: nav/class/Navigator.js:491 | ||
673 | 1169 | msgid ". Exit %1" | ||
674 | 1170 | msgstr "" | ||
675 | 1171 | |||
676 | 1172 | #: nav/class/Navigator.js:493 | ||
677 | 1173 | msgid " to take the %1" | ||
678 | 1174 | msgstr "" | ||
679 | 1175 | |||
680 | 1176 | #: nav/class/Navigator.js:495 | ||
681 | 1177 | msgid " toward %1" | ||
682 | 1178 | msgstr "" | ||
683 | 1179 | |||
684 | 1180 | #: nav/class/Navigator.js:497 | ||
685 | 1181 | msgid ", %1" | ||
686 | 1182 | msgstr "" | ||
687 | 1183 | |||
688 | 1184 | #: nav/class/UI.js:47 | ||
689 | 1185 | msgid "Current Start" | ||
690 | 1186 | msgstr "" | ||
691 | 1187 | |||
692 | 1188 | #: nav/class/UI.js:56 | ||
693 | 1189 | msgid "Current End" | ||
694 | 1190 | msgstr "" | ||
695 | 1191 | |||
696 | 1192 | #: nav/class/UI.js:481 | ||
697 | 1193 | msgid "Waiting for a GPS signal…" | ||
698 | 1194 | msgstr "" | ||
699 | 1195 | |||
700 | 1196 | #: nav/class/UI.js:488 | ||
701 | 1197 | msgid "Searching for a route…" | ||
702 | 1198 | msgstr "" | ||
703 | 1199 | |||
704 | 1200 | #: nav/class/UI.js:492 | ||
705 | 1201 | msgid "Drawing route…" | ||
706 | 1202 | msgstr "" | ||
707 | 1203 | |||
708 | 1204 | #: nav/class/UI.js:496 | ||
709 | 1205 | msgid "Trying search again soon…" | ||
710 | 1206 | msgstr "" | ||
711 | 1207 | |||
712 | 1208 | #: nav/class/UI.js:500 | ||
713 | 1209 | msgid "Recalculating route…" | ||
714 | 1210 | msgstr "" | ||
715 | 1211 | |||
716 | 1212 | #: nav/class/UI.js:521 | ||
717 | 1213 | msgid "Navigation will start soon" | ||
718 | 1214 | msgstr "" | ||
719 | 1215 | |||
720 | 1216 | #: nav/class/UI.js:553 | ||
721 | 1217 | msgid "Simulating route…" | ||
722 | 1218 | msgstr "" | ||
723 | 1219 | |||
724 | 1220 | #: nav/class/UI.js:557 | ||
725 | 1221 | msgid "Error simulating route. Try different points" | ||
726 | 1222 | msgstr "" | ||
727 | 1223 | |||
728 | 1224 | #: nav/class/UI.js:578 | ||
729 | 1225 | msgid "Click onto the icon for reviewing the route" | ||
732 | 1226 | msgstr "" | 1248 | msgstr "" |
733 | 1227 | 1249 | ||
734 | 1228 | #: qml/tuto/Slide1.qml:40 | 1250 | #: qml/tuto/Slide1.qml:40 |
735 | 1229 | 1251 | ||
736 | === modified file 'qml/AboutPage.qml' | |||
737 | --- qml/AboutPage.qml 2016-08-06 06:22:10 +0000 | |||
738 | +++ qml/AboutPage.qml 2016-08-26 16:26:36 +0000 | |||
739 | @@ -45,6 +45,7 @@ | |||
740 | 45 | creditsModel.append({ category: i18n.tr("Developers"), name: "JkB", link: "https://launchpad.net/~joergberroth" }) | 45 | creditsModel.append({ category: i18n.tr("Developers"), name: "JkB", link: "https://launchpad.net/~joergberroth" }) |
741 | 46 | creditsModel.append({ category: i18n.tr("Developers"), name: "Marcos Costales (" + i18n.tr("Founder") + ")", link: "https://wiki.ubuntu.com/costales" }) | 46 | creditsModel.append({ category: i18n.tr("Developers"), name: "Marcos Costales (" + i18n.tr("Founder") + ")", link: "https://wiki.ubuntu.com/costales" }) |
742 | 47 | creditsModel.append({ category: i18n.tr("Developers"), name: "Nekhelesh Ramananthan", link: "https://launchpad.net/~nik90" }) | 47 | creditsModel.append({ category: i18n.tr("Developers"), name: "Nekhelesh Ramananthan", link: "https://launchpad.net/~nik90" }) |
743 | 48 | creditsModel.append({ category: i18n.tr("Developers"), name: "Olivier Tilloy", link: "https://launchpad.net/~osomon" }) | ||
744 | 48 | 49 | ||
745 | 49 | // Voices | 50 | // Voices |
746 | 50 | switch (Qt.locale().name.substring(0,2).toLowerCase()) { | 51 | switch (Qt.locale().name.substring(0,2).toLowerCase()) { |
With:
make po/unav.pot
is working great.
Thanks Olivier!