Merge lp:~vthompson/music-app/fix-1290492-music into lp:music-app/trusty

Proposed by Victor Thompson
Status: Merged
Approved by: David Planella
Approved revision: 377
Merged at revision: 376
Proposed branch: lp:~vthompson/music-app/fix-1290492-music
Merge into: lp:music-app/trusty
Diff against target: 465 lines (+124/-126)
2 files modified
po/music-app.pot (+122/-124)
po/po.pro (+2/-2)
To merge this branch: bzr merge lp:~vthompson/music-app/fix-1290492-music
Reviewer Review Type Date Requested Status
David Planella Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+210316@code.launchpad.net

Commit message

* Fix po.pro file for desktop filename change
* Update translation strings

Description of the change

* Fix po.pro file for desktop filename change
* Update translation strings

To post a comment you must log in.
377. By Victor Thompson

Update header info in pot file

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Looks good to me, thanks for updating translations!

Just two notes:

1) Migration to cmake

As the rest of the build processes have moved to cmake, I'd recommend to move the .pot file creation to cmake too, so that we don't end up using two build systems. This is not necessary for this merge proposal, so I'd suggest doing it in a separate one.

This involves:
- Converting the po/po.pro file to a CMakeLists.txt file
- Updating the README.translations file to reflect the new process

The detailed changes can be seen in the merge proposal for this same purpose on Weather [1]

2) Desktop file name as a variable

453 -DESKTOPFILE = ../$${PROJECTNAME}.desktop
454 +DESKTOPFILE = ../com.ubuntu.music_music.desktop.in

461 -DESKTOPFILETEMP = $${BUILDDIR}/$${PROJECTNAME}.desktop.js
462 +DESKTOPFILETEMP = $${BUILDDIR}/com.ubuntu.music_music.desktop.in

Rather than hardcoding com.ubuntu.music_music twice, I'd suggest to put it in a variable, in the same way it's done with the Weather app [2]. I'm not sure PROJECTNAME can be redefined in qmake in the way it's done in cmake, though, but since we're moving to cmake, I'll just add this as a comment and accept the merge proposal anyway

[1] https://code.launchpad.net/~dpm/ubuntu-weather-app/fix-cmake-i18n/+merge/206374
[2] http://bazaar.launchpad.net/~ubuntu-weather-dev/ubuntu-weather-app/trunk/view/head:/CMakeLists.txt#L11

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/music-app.pot'
2--- po/music-app.pot 2014-01-07 13:36:50 +0000
3+++ po/music-app.pot 2014-03-10 23:52:00 +0000
4@@ -1,5 +1,5 @@
5 # Music App Translations
6-# Copyright (C) 2013 Canonical Ltd.
7+# Copyright (C) 2014 Canonical Ltd.
8 # This file is distributed under the same license as the music-app package.
9 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
10 #
11@@ -8,7 +8,7 @@
12 msgstr ""
13 "Project-Id-Version: music-app\n"
14 "Report-Msgid-Bugs-To: \n"
15-"POT-Creation-Date: 2014-01-07 07:34-0600\n"
16+"POT-Creation-Date: 2014-03-10 18:38-0500\n"
17 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
18 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
19 "Language-Team: LANGUAGE <LL@li.org>\n"
20@@ -18,156 +18,147 @@
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
23
24-#: ../LoginLastFM.qml:41 ../MusicSettings.qml:145 ../MusicSettings.qml:153
25+#: ../LoginLastFM.qml:50 ../MusicSettings.qml:145 ../MusicSettings.qml:153
26 msgid "Last.fm"
27 msgstr ""
28
29-#: ../LoginLastFM.qml:47
30+#: ../LoginLastFM.qml:56
31 msgid "Login to be able to scrobble."
32 msgstr ""
33
34-#: ../LoginLastFM.qml:55
35+#: ../LoginLastFM.qml:64
36 msgid "Username"
37 msgstr ""
38
39-#: ../LoginLastFM.qml:65
40+#: ../LoginLastFM.qml:74
41 msgid "Password"
42 msgstr ""
43
44-#: ../LoginLastFM.qml:87
45+#: ../LoginLastFM.qml:96
46 msgid "Login"
47 msgstr ""
48
49-#: ../LoginLastFM.qml:94
50+#: ../LoginLastFM.qml:103
51 msgid "Trying to login..."
52 msgstr ""
53
54-#: ../LoginLastFM.qml:108
55+#: ../LoginLastFM.qml:117
56 msgid "Login Successful"
57 msgstr ""
58
59-#: ../LoginLastFM.qml:114
60+#: ../LoginLastFM.qml:123
61 msgid "Login Failed"
62 msgstr ""
63
64-#: ../LoginLastFM.qml:120
65+#: ../LoginLastFM.qml:129
66 msgid "You forgot to set your username and/or password"
67 msgstr ""
68
69-#: ../MusicAlbums.qml:33 ../music-app.qml:1124
70+#: ../MusicAlbums.qml:33
71 msgid "Albums"
72 msgstr ""
73
74-#: ../MusicAlbums.qml:231
75-#, qt-format
76-msgid " | %1 song"
77-msgid_plural " | %1 songs"
78-msgstr[0] ""
79-msgstr[1] ""
80-
81-#: ../MusicAlbums.qml:379 ../MusicArtists.qml:429 ../MusicNowPlaying.qml:696
82-#: ../MusicTracks.qml:267 ../music-app.qml:995
83-msgid "Add to playlist"
84-msgstr ""
85-
86-#: ../MusicAlbums.qml:398 ../MusicArtists.qml:448 ../MusicNowPlaying.qml:714
87-#: ../MusicTracks.qml:286 ../MusicaddtoPlaylist.qml:38 ../music-app.qml:1006
88-msgid "Select playlist"
89-msgstr ""
90-
91-#: ../MusicAlbums.qml:427 ../MusicArtists.qml:476 ../MusicTracks.qml:315
92-#: ../music-app.qml:981
93-msgid "Add to queue"
94-msgstr ""
95-
96-#: ../MusicArtists.qml:39 ../music-app.qml:1107
97+#: ../MusicArtists.qml:33
98 msgid "Artists"
99 msgstr ""
100
101-#: ../MusicArtists.qml:148
102+#: ../MusicArtists.qml:106
103 #, qt-format
104 msgid "%1 album"
105 msgid_plural "%1 albums"
106 msgstr[0] ""
107 msgstr[1] ""
108
109-#: ../MusicArtists.qml:163 ../MusicArtists.qml:239 ../MusicPlaylists.qml:235
110-#: ../MusicPlaylists.qml:569 ../MusicStart.qml:302
111+#: ../MusicArtists.qml:122 ../MusicPlaylists.qml:175 ../MusicStart.qml:304
112+#: ../common/SongsSheet.qml:127
113 #, qt-format
114 msgid "%1 song"
115 msgid_plural "%1 songs"
116 msgstr[0] ""
117 msgstr[1] ""
118
119-#: ../MusicArtists.qml:190
120-msgid "Tracks"
121-msgstr ""
122-
123 #: ../MusicNowPlaying.qml:34
124 msgid "Queue"
125 msgstr ""
126
127+#: ../MusicNowPlaying.qml:701 ../MusicSearch.qml:346 ../MusicTracks.qml:270
128+#: ../music-app.qml:858 ../common/SongsSheet.qml:330
129+msgid "Add to playlist"
130+msgstr ""
131+
132+#: ../MusicNowPlaying.qml:719 ../MusicSearch.qml:365 ../MusicTracks.qml:289
133+#: ../MusicaddtoPlaylist.qml:38 ../music-app.qml:869
134+#: ../common/SongsSheet.qml:349
135+msgid "Select playlist"
136+msgstr ""
137+
138 #. TRANSLATORS: this refers to sharing a playlist
139-#: ../MusicNowPlaying.qml:742 ../MusicPlaylists.qml:429
140-#: ../MusicPlaylists.qml:714 ../MusicTracks.qml:353
141+#: ../MusicNowPlaying.qml:747 ../MusicPlaylists.qml:370 ../MusicSearch.qml:432
142+#: ../MusicTracks.qml:356
143 msgid "Share"
144 msgstr ""
145
146-#. TRANSLATORS: this is a title of a dialog with a prompt to delete a playlist
147-#: ../MusicPlaylists.qml:48
148-msgid "Are you sure?"
149-msgstr ""
150-
151-#: ../MusicPlaylists.qml:49
152-msgid "This will delete your playlist."
153-msgstr ""
154-
155-#: ../MusicPlaylists.qml:52
156-msgid "Remove"
157-msgstr ""
158-
159-#: ../MusicPlaylists.qml:65 ../MusicPlaylists.qml:108 ../music-app.qml:1059
160-msgid "Cancel"
161+#. TRANSLATORS: this is the name of the playlists page shown in the tab header.
162+#. Remember to keep the translation short to fit the screen width
163+#: ../MusicPlaylists.qml:37
164+msgid "Playlists"
165 msgstr ""
166
167 #. TRANSLATORS: this is a title of a dialog with a prompt to rename a playlist
168-#: ../MusicPlaylists.qml:78
169+#: ../MusicPlaylists.qml:58
170 msgid "Change name"
171 msgstr ""
172
173-#: ../MusicPlaylists.qml:79
174+#: ../MusicPlaylists.qml:59
175 msgid "Enter the new name of the playlist."
176 msgstr ""
177
178-#: ../MusicPlaylists.qml:90
179+#: ../MusicPlaylists.qml:70
180 msgid "Change"
181 msgstr ""
182
183-#: ../MusicPlaylists.qml:103
184+#: ../MusicPlaylists.qml:83
185 msgid "You didn't type in a name."
186 msgstr ""
187
188-#. TRANSLATORS: this is the name of the playlists page shown in the tab header.
189-#. Remember to keep the translation short to fit the screen width
190-#: ../MusicPlaylists.qml:136 ../music-app.qml:1159
191-msgid "Playlists"
192+#: ../MusicPlaylists.qml:88 ../MusicPlaylists.qml:114 ../music-app.qml:922
193+msgid "Cancel"
194+msgstr ""
195+
196+#. TRANSLATORS: this is a title of a dialog with a prompt to delete a playlist
197+#: ../MusicPlaylists.qml:101
198+msgid "Are you sure?"
199+msgstr ""
200+
201+#: ../MusicPlaylists.qml:102
202+msgid "This will delete your playlist."
203+msgstr ""
204+
205+#: ../MusicPlaylists.qml:105
206+msgid "Remove"
207 msgstr ""
208
209 #. TRANSLATORS: this refers to editing a playlist
210-#: ../MusicPlaylists.qml:343 ../MusicPlaylists.qml:638
211+#: ../MusicPlaylists.qml:284
212 msgid "Edit"
213 msgstr ""
214
215 #. TRANSLATORS: this refers to deleting a playlist
216-#: ../MusicPlaylists.qml:385 ../MusicPlaylists.qml:675
217+#: ../MusicPlaylists.qml:326
218 msgid "Delete"
219 msgstr ""
220
221-#: ../MusicPlaylists.qml:471
222-msgid "Playlist"
223-msgstr ""
224-
225-#: ../MusicSettings.qml:30 ../music-app.qml:104
226+#: ../MusicSearch.qml:41 ../MusicToolbar.qml:897 ../music-app.qml:89
227+#: ../music-app.qml:137 ../music-app.qml:141
228+msgid "Search"
229+msgstr ""
230+
231+#: ../MusicSearch.qml:394 ../MusicTracks.qml:318 ../music-app.qml:844
232+#: ../common/SongsSheet.qml:378
233+msgid "Add to queue"
234+msgstr ""
235+
236+#: ../MusicSettings.qml:30 ../music-app.qml:183
237 msgid "Settings"
238 msgstr ""
239
240@@ -253,147 +244,154 @@
241 msgid "Clean everything!"
242 msgstr ""
243
244-#: ../MusicStart.qml:32 ../MusicTracks.qml:32 ../music-app.qml:231
245-#: ../music-app.qml:1090 ../.build/music-app.desktop.js:1
246+#: ../MusicStart.qml:33 ../music-app.qml:336 ../music-app.qml:943
247+#: ../.build/com.ubuntu.music_music.desktop.in:1
248 msgid "Music"
249 msgstr ""
250
251-#: ../MusicStart.qml:43
252+#: ../MusicStart.qml:63
253 msgid "Recent"
254 msgstr ""
255
256-#: ../MusicStart.qml:60
257+#: ../MusicStart.qml:80
258 msgid "No recent albums or playlists"
259 msgstr ""
260
261-#: ../MusicStart.qml:202
262+#: ../MusicStart.qml:209
263 msgid "Genres"
264 msgstr ""
265
266-#: ../MusicToolbar.qml:292
267+#: ../MusicToolbar.qml:322
268 msgid "No songs queued"
269 msgstr ""
270
271-#: ../MusicToolbar.qml:302
272+#: ../MusicToolbar.qml:332
273 msgid "Tap on a song to start playing"
274 msgstr ""
275
276-#: ../MusicaddtoPlaylist.qml:164
277+#: ../MusicTracks.qml:32
278+msgid "Songs"
279+msgstr ""
280+
281+#: ../MusicaddtoPlaylist.qml:125
282 msgid "New playlist"
283 msgstr ""
284
285-#: ../music-app.qml:66
286+#: ../music-app.qml:138
287+msgid "Search Track"
288+msgstr ""
289+
290+#: ../music-app.qml:146
291 msgid "Next"
292 msgstr ""
293
294-#: ../music-app.qml:67
295+#: ../music-app.qml:147
296 msgid "Next Track"
297 msgstr ""
298
299-#: ../music-app.qml:73
300+#: ../music-app.qml:153
301 msgid "Pause"
302 msgstr ""
303
304-#: ../music-app.qml:73
305+#: ../music-app.qml:153
306 msgid "Play"
307 msgstr ""
308
309-#: ../music-app.qml:75
310+#: ../music-app.qml:155
311 msgid "Pause Playback"
312 msgstr ""
313
314-#: ../music-app.qml:75
315+#: ../music-app.qml:155
316 msgid "Continue or start playback"
317 msgstr ""
318
319-#: ../music-app.qml:86
320+#: ../music-app.qml:160
321+msgid "Back"
322+msgstr ""
323+
324+#: ../music-app.qml:161
325+msgid "Go back to last page"
326+msgstr ""
327+
328+#: ../music-app.qml:169
329 msgid "Previous"
330 msgstr ""
331
332-#: ../music-app.qml:87
333+#: ../music-app.qml:170
334 msgid "Previous Track"
335 msgstr ""
336
337-#: ../music-app.qml:92
338+#: ../music-app.qml:175
339 msgid "Stop"
340 msgstr ""
341
342-#: ../music-app.qml:93
343+#: ../music-app.qml:176
344 msgid "Stop Playback"
345 msgstr ""
346
347-#: ../music-app.qml:98
348-msgid "Back"
349-msgstr ""
350-
351-#: ../music-app.qml:99
352-msgid "Go back to last page"
353-msgstr ""
354-
355-#: ../music-app.qml:105
356+#: ../music-app.qml:184
357 msgid "Music Settings"
358 msgstr ""
359
360-#: ../music-app.qml:113
361-msgid "Quit"
362-msgstr ""
363-
364-#: ../music-app.qml:114
365-msgid "Close application"
366-msgstr ""
367-
368 #. TRANSLATORS: this refers to a number of songs greater than one. The actual number will be prepended to the string automatically (plural forms are not yet fully supported in usermetrics, the library that displays that string)
369-#: ../music-app.qml:171
370+#: ../music-app.qml:244
371 msgid "songs played today"
372 msgstr ""
373
374-#: ../music-app.qml:172
375+#: ../music-app.qml:245
376 msgid "No songs played today"
377 msgstr ""
378
379-#: ../music-app.qml:278
380+#: ../music-app.qml:369
381 msgid "Debug: "
382 msgstr ""
383
384-#: ../music-app.qml:758 ../meta-database.js:371
385+#: ../music-app.qml:656 ../meta-database.js:431
386 msgid "Unknown Artist"
387 msgstr ""
388
389-#: ../music-app.qml:759 ../meta-database.js:370 ../meta-database.js:373
390+#: ../music-app.qml:657 ../meta-database.js:430 ../meta-database.js:433
391 msgid "Unknown Album"
392 msgstr ""
393
394-#: ../music-app.qml:766
395+#: ../music-app.qml:663
396+msgid "Unknown Year"
397+msgstr ""
398+
399+#: ../music-app.qml:664
400 msgid "Unknown Genre"
401 msgstr ""
402
403-#: ../music-app.qml:1019
404+#: ../music-app.qml:882
405 msgid "New Playlist"
406 msgstr ""
407
408-#: ../music-app.qml:1020
409+#: ../music-app.qml:883
410 msgid "Name your playlist."
411 msgstr ""
412
413-#: ../music-app.qml:1024
414+#: ../music-app.qml:887
415 msgid "Name"
416 msgstr ""
417
418-#: ../music-app.qml:1032
419+#: ../music-app.qml:895
420 msgid "Create"
421 msgstr ""
422
423-#: ../music-app.qml:1048
424+#: ../music-app.qml:911
425 msgid "Error: "
426 msgstr ""
427
428-#: ../music-app.qml:1053
429+#: ../music-app.qml:916
430 msgid "Error: You didn't type a name."
431 msgstr ""
432
433-#: ../music-app.qml:1141
434-msgid "Songs"
435-msgstr ""
436+#: ../common/AlbumsSheet.qml:128 ../common/SongsSheet.qml:126
437+#, qt-format
438+msgid " | %1 song"
439+msgid_plural " | %1 songs"
440+msgstr[0] ""
441+msgstr[1] ""
442
443 #: ../common/LoadingSpinnerComponent.qml:44
444 msgid "Loading..."
445
446=== modified file 'po/po.pro'
447--- po/po.pro 2013-09-28 06:04:29 +0000
448+++ po/po.pro 2014-03-10 23:52:00 +0000
449@@ -10,14 +10,14 @@
450 PROJECTNAME = $$system(basename ../*.qmlproject)
451 PROJECTNAME = $$replace(PROJECTNAME,.qmlproject,)
452
453-DESKTOPFILE = ../$${PROJECTNAME}.desktop
454+DESKTOPFILE = ../com.ubuntu.music_music.desktop.in
455
456 SOURCECODE = ../*.qml \
457 ../*.js \
458 ../common/*.qml
459
460 BUILDDIR = ../.build
461-DESKTOPFILETEMP = $${BUILDDIR}/$${PROJECTNAME}.desktop.js
462+DESKTOPFILETEMP = $${BUILDDIR}/com.ubuntu.music_music.desktop.in
463
464 message("")
465 message(" Project Name: $$PROJECTNAME ")

Subscribers

People subscribed via source and target branches

to status/vote changes: