Merge lp:~vthompson/ubuntu-clock-app/fix-1290492-clock into lp:ubuntu-clock-app/saucy

Proposed by Victor Thompson
Status: Merged
Approved by: Francis Ginther
Approved revision: 375
Merged at revision: 383
Proposed branch: lp:~vthompson/ubuntu-clock-app/fix-1290492-clock
Merge into: lp:ubuntu-clock-app/saucy
Diff against target: 359 lines (+98/-95)
2 files modified
po/po.pro (+2/-2)
po/ubuntu-clock-app.pot (+96/-93)
To merge this branch: bzr merge lp:~vthompson/ubuntu-clock-app/fix-1290492-clock
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
David Planella Approve
Ubuntu Clock Developers Pending
Review via email: mp+210321@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.
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
Nekhelesh Ramananthan (nik90) wrote :

Can you merge trunk in this MP? I will then ask David to review and approve it.

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

So how is the .pot file updated now? Do we need to do it manually or does this happen automatically? Do you mind quickly updating README.translations found in the root folder please?

Revision history for this message
Victor Thompson (vthompson) wrote :

The .pot file is generated in the same fashion as before, at the moment. This MR simply allows the translations to be updated. I have a MR [1] for the Weather app that changes how the .pot file gets built (automatically). Once Weather app has a nice pattern established, there is a bug [2] against the other core apps to follow suit [2].

I can merge trunk in a few hours.

[1] https://code.launchpad.net/~vthompson/ubuntu-weather-app/fix-1290492-weather/+merge/210326
[2] https://bugs.launchpad.net/music-app/+bug/1290814

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 :

This needs to be ported to cmake, in the same way we did for Weather:

https://code.launchpad.net/~vthompson/ubuntu-weather-app/fix-1290492-weather/+merge/210326

review: Needs Fixing
Revision history for this message
Victor Thompson (vthompson) wrote :

While we could do that in this MR, the intent was to simply get translations working again. I filed lp:1290814 so each app wouldn't be blocked while we decided on how to proceed with the Weather app. Now of course the Weather app MR you point out has landed--so we aren't blocked. I'd still like to keep them separate, because I don't want to 1) block each remaining app while we do this and 2) I didn't necessarily want to sign myself up for doing this work in each app. :)

Revision history for this message
David Planella (dpm) wrote :

Sounds good to me!

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Any idea why this is failing?

Revision history for this message
Victor Thompson (vthompson) wrote :

Looks like a Jenkins issue setting up the environment: http://paste.ubuntu.com/7203267/

Revision history for this message
Francis Ginther (fginther) wrote :

There was a broken package as a result of apt-get upgrade on the mediumtest server (happens once in a while when on the development release). I've fixed the broken package and have retriggered the build.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/po.pro'
2--- po/po.pro 2013-09-27 10:31:40 +0000
3+++ po/po.pro 2014-03-26 22:45:18 +0000
4@@ -10,7 +10,7 @@
5 PROJECTNAME = $$system(basename ../*.qmlproject)
6 PROJECTNAME = $$replace(PROJECTNAME,.qmlproject,)
7
8-DESKTOPFILE = ../$${PROJECTNAME}.desktop
9+DESKTOPFILE = ../com.ubuntu.clock_clock.desktop.in
10
11 SOURCECODE = ../*.qml \
12 ../alarm/*.qml \
13@@ -22,7 +22,7 @@
14 ../timer/*.qml
15
16 BUILDDIR = ../.build
17-DESKTOPFILETEMP = $${BUILDDIR}/$${PROJECTNAME}.desktop.js
18+DESKTOPFILETEMP = $${BUILDDIR}/com.ubuntu.clock_clock.desktop.in
19
20 message("")
21 message(" Project Name: $$PROJECTNAME ")
22
23=== modified file 'po/ubuntu-clock-app.pot'
24--- po/ubuntu-clock-app.pot 2014-01-27 20:46:14 +0000
25+++ po/ubuntu-clock-app.pot 2014-03-26 22:45:18 +0000
26@@ -1,5 +1,5 @@
27 # Clock App Translations
28-# Copyright (C) 2013 Canonical Ltd.
29+# Copyright (C) 2014 Canonical Ltd.
30 # This file is distributed under the same license as the ubuntu-clock-app package.
31 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
32 #
33@@ -8,7 +8,7 @@
34 msgstr ""
35 "Project-Id-Version: ubuntu-clock-app\n"
36 "Report-Msgid-Bugs-To: \n"
37-"POT-Creation-Date: 2014-01-27 14:42-0600\n"
38+"POT-Creation-Date: 2014-03-10 18:56-0500\n"
39 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
40 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
41 "Language-Team: LANGUAGE <LL@li.org>\n"
42@@ -17,223 +17,226 @@
43 "Content-Type: text/plain; charset=CHARSET\n"
44 "Content-Transfer-Encoding: 8bit\n"
45
46-#: ../ubuntu-clock-app.qml:61 ../common/SettingsPage.qml:9
47+#: ../ubuntu-clock-app.qml:84 ../common/SettingsPage.qml:28
48 msgid "Settings"
49 msgstr ""
50
51 #. TRANSLATORS: this is a list of semicolon-separated keywords to be used to activate this action (Settings) in the HUD
52-#: ../ubuntu-clock-app.qml:63
53+#: ../ubuntu-clock-app.qml:86
54 msgid "Settings;Setting;Configuration;"
55 msgstr ""
56
57-#: ../ubuntu-clock-app.qml:64
58+#: ../ubuntu-clock-app.qml:87
59 msgid "Application Settings"
60 msgstr ""
61
62-#: ../ubuntu-clock-app.qml:162 ../.build/ubuntu-clock-app.desktop.js:1
63+#: ../ubuntu-clock-app.qml:167 ../.build/com.ubuntu.clock_clock.desktop.in:1
64 msgid "Clock"
65 msgstr ""
66
67-#: ../ubuntu-clock-app.qml:182
68+#: ../ubuntu-clock-app.qml:186
69 msgid "Alarm"
70 msgstr ""
71
72-#: ../ubuntu-clock-app.qml:198
73+#: ../ubuntu-clock-app.qml:209
74 msgid "Timer"
75 msgstr ""
76
77-#: ../ubuntu-clock-app.qml:212
78+#: ../ubuntu-clock-app.qml:226
79 msgid "Stopwatch"
80 msgstr ""
81
82-#: ../alarm/AddAlarmPage.qml:52
83+#: ../alarm/AddAlarmPage.qml:70
84 msgid "Add Alarm"
85 msgstr ""
86
87-#: ../alarm/AddAlarmPage.qml:54
88+#: ../alarm/AddAlarmPage.qml:75
89 msgid "Edit Alarm"
90 msgstr ""
91
92-#: ../alarm/AddAlarmPage.qml:84
93+#: ../alarm/AddAlarmPage.qml:96
94 msgid "Please select a time in the future"
95 msgstr ""
96
97-#: ../alarm/AddAlarmPage.qml:86 ../alarm/AddAlarmPage.qml:172
98+#: ../alarm/AddAlarmPage.qml:98 ../alarm/AddAlarmPage.qml:515
99 msgid "Unable to set alarm"
100 msgstr ""
101
102-#: ../alarm/AddAlarmPage.qml:184
103+#: ../alarm/AddAlarmPage.qml:528
104 msgid "Alarm Name"
105 msgstr ""
106
107-#: ../alarm/AddAlarmPage.qml:200
108+#: ../alarm/AddAlarmPage.qml:546
109+msgid "Repeats"
110+msgstr ""
111+
112+#: ../alarm/AddAlarmPage.qml:574
113 msgid "Occurs"
114 msgstr ""
115
116-#: ../alarm/AddAlarmPage.qml:236
117+#: ../alarm/AddAlarmPage.qml:617
118 msgid "Occurrence"
119 msgstr ""
120
121-#: ../alarm/AddAlarmPage.qml:257
122-msgid "Repeats"
123-msgstr ""
124-
125-#: ../alarm/AddAlarmPage.qml:259
126-msgid "One Time"
127-msgstr ""
128-
129-#: ../alarm/AddAlarmPage.qml:259 ../alarm/AlarmPage.qml:93
130-msgid "Daily"
131-msgstr ""
132-
133-#: ../alarm/AddAlarmPage.qml:259
134-msgid "Weekly"
135-msgstr ""
136-
137-#: ../alarm/AddAlarmPage.qml:302 ../timer/TimerPage.qml:234
138+#: ../alarm/AddAlarmPage.qml:648 ../timer/TimerPage.qml:392
139 msgid "Save"
140 msgstr ""
141
142-#: ../alarm/AlarmFace.qml:52
143+#: ../alarm/AlarmFace.qml:50
144+msgid "Next Alarm"
145+msgstr ""
146+
147+#: ../alarm/AlarmFace.qml:67 ../alarm/AlarmPage.qml:265
148+msgid "Now"
149+msgstr ""
150+
151+#: ../alarm/AlarmFace.qml:89
152 msgid "Long press to setup an alarm"
153 msgstr ""
154
155-#: ../alarm/AlarmPage.qml:45
156+#: ../alarm/AlarmList.qml:44
157+msgid "Alarms"
158+msgstr ""
159+
160+#: ../alarm/AlarmPage.qml:50
161 msgid "Add alarm"
162 msgstr ""
163
164-#: ../alarm/AlarmPage.qml:46
165+#: ../alarm/AlarmPage.qml:51
166 msgid "Add a new alarm"
167 msgstr ""
168
169-#: ../alarm/AlarmPage.qml:47
170+#: ../alarm/AlarmPage.qml:52
171 msgid "Add;Alarm;Alert;New;Tone;Bell"
172 msgstr ""
173
174-#: ../alarm/AlarmPage.qml:88
175+#: ../alarm/AlarmPage.qml:127
176+msgid "Every weekday"
177+msgstr ""
178+
179+#: ../alarm/AlarmPage.qml:130
180+msgid "Daily"
181+msgstr ""
182+
183+#: ../alarm/AlarmPage.qml:134
184 msgid "Every "
185 msgstr ""
186
187-#: ../alarm/AlarmPage.qml:90
188+#: ../alarm/AlarmPage.qml:136
189 msgid "Once on "
190 msgstr ""
191
192-#: ../alarm/AlarmPage.qml:156
193-msgid "Alarms"
194-msgstr ""
195-
196-#: ../clock/ClockPage.qml:56 ../clock/WorldClock.qml:31
197+#: ../alarm/AlarmPage.qml:259
198+msgid "No Active Alarms"
199+msgstr ""
200+
201+#: ../clock/ClockPage.qml:43
202+msgid "Retrieving current location..."
203+msgstr ""
204+
205+#: ../clock/ClockPage.qml:90 ../clock/WorldClock.qml:35
206 msgid "Add City"
207 msgstr ""
208
209 #. TRANSLATORS: this is a list of semicolon-separated keywords to be used to activate this action (Add City) in the HUD
210-#: ../clock/ClockPage.qml:58
211+#: ../clock/ClockPage.qml:92
212 msgid ""
213 "Add;Timezone;Timezones;World;City;Cities;Town;Towns;Place;Places;Location;"
214 "Locations;Time;Locale;Local;Current"
215 msgstr ""
216
217-#: ../clock/ClockPage.qml:93 ../clock/ClockPage.qml:100
218+#: ../clock/ClockPage.qml:156 ../clock/ClockPage.qml:163
219 msgid "Set current location name"
220 msgstr ""
221
222-#: ../clock/ClockPage.qml:183
223-msgid "Current Location"
224-msgstr ""
225-
226-#: ../clock/ClockPage.qml:195
227-msgid "Retrieving current location..."
228-msgstr ""
229-
230-#: ../clock/ClockPage.qml:214
231-msgid "World"
232-msgstr ""
233-
234-#: ../clock/EasterEgg.qml:87
235+#: ../clock/EasterEgg.qml:89
236 msgid "Sunrise"
237 msgstr ""
238
239-#: ../clock/EasterEgg.qml:95 ../clock/EasterEgg.qml:112
240+#: ../clock/EasterEgg.qml:97 ../clock/EasterEgg.qml:114
241 msgid "Loading"
242 msgstr ""
243
244-#: ../clock/EasterEgg.qml:121
245+#: ../clock/EasterEgg.qml:123
246 msgid "Sunset"
247 msgstr ""
248
249-#: ../clock/SearchBox.qml:42
250+#: ../clock/SearchBox.qml:49
251 msgid "Search"
252 msgstr ""
253
254-#: ../clock/WorldClock.qml:31
255+#: ../clock/UserWorldClockList.qml:49
256+msgid "World"
257+msgstr ""
258+
259+#: ../clock/WorldClock.qml:35
260 msgid "Edit Current Location"
261 msgstr ""
262
263-#: ../clock/WorldClock.qml:121
264+#: ../clock/WorldClock.qml:125
265 msgid ""
266 "Unable to search online \n"
267 "Please check your internet connection"
268 msgstr ""
269
270-#: ../clock/WorldClock.qml:121
271+#: ../clock/WorldClock.qml:125
272 msgid "No results found"
273 msgstr ""
274
275-#: ../stopwatch/LapList.qml:45
276-msgid "Laps"
277-msgstr ""
278-
279-#: ../stopwatch/LapList.qml:54
280+#: ../stopwatch/LapList.qml:46
281+msgid "Recorded laps"
282+msgstr ""
283+
284+#: ../stopwatch/StopwatchFace.qml:107 ../stopwatch/StopwatchPage.qml:68
285+#: ../stopwatch/StopwatchPage.qml:77
286+msgid "Start"
287+msgstr ""
288+
289+#: ../stopwatch/StopwatchPage.qml:56
290+msgid "Stop"
291+msgstr ""
292+
293+#: ../stopwatch/StopwatchPage.qml:266
294 msgid "Current"
295 msgstr ""
296
297-#: ../stopwatch/LapList.qml:70
298-msgid "Recorded laps"
299-msgstr ""
300-
301-#: ../stopwatch/StopwatchPage.qml:104 ../timer/TimerPage.qml:202
302-msgid "Reset"
303-msgstr ""
304-
305-#: ../stopwatch/StopwatchPage.qml:121
306-msgid "Lap"
307-msgstr ""
308-
309-#: ../timer/PresetList.qml:52
310+#: ../timer/PresetList.qml:65
311 msgid "Presets"
312 msgstr ""
313
314-#. TRANSLATORS: This is a set of default timer presets for food preparations shown when the clock app is open for the first time.
315-#. If there are no translations available, then the english strings would suffice.
316-#: ../timer/PresetTimersModel.qml:79
317+#: ../timer/TimerPage.qml:49
318 msgid "Soft-boiled egg"
319 msgstr ""
320
321-#: ../timer/PresetTimersModel.qml:80
322+#: ../timer/TimerPage.qml:56
323 msgid "Aeropress coffee"
324 msgstr ""
325
326-#: ../timer/PresetTimersModel.qml:81
327+#: ../timer/TimerPage.qml:63
328 msgid "Al dente"
329 msgstr ""
330
331-#: ../timer/TimerPage.qml:41
332+#: ../timer/TimerPage.qml:112
333 msgid "Add Timer"
334 msgstr ""
335
336-#: ../timer/TimerPage.qml:42
337+#: ../timer/TimerPage.qml:113
338 msgid "Add a new timer"
339 msgstr ""
340
341 #. TRANSLATORS: this is a list of semicolon-separated keywords to be used to activate this action (Add Timer) in the HUD
342-#: ../timer/TimerPage.qml:44
343+#: ../timer/TimerPage.qml:115
344 msgid "Add;Timer;Eggtimer;Preset;Ticker"
345 msgstr ""
346
347-#: ../timer/TimerPage.qml:190
348+#: ../timer/TimerPage.qml:341
349 msgid "Preset Name"
350 msgstr ""
351
352-#: ../timer/TimerPage.qml:258
353+#: ../timer/TimerPage.qml:358
354+msgid "Reset"
355+msgstr ""
356+
357+#: ../timer/TimerPage.qml:416
358 msgid "Cancel"
359 msgstr ""

Subscribers

People subscribed via source and target branches