Merge lp:~ubuntu-clock-dev/ubuntu-clock-app/night-mode into lp:ubuntu-clock-app

Proposed by Victor Thompson
Status: Work in progress
Proposed branch: lp:~ubuntu-clock-dev/ubuntu-clock-app/night-mode
Merge into: lp:ubuntu-clock-app
Diff against target: 510 lines (+133/-42)
15 files modified
app/alarm/AlarmPage.qml (+2/-0)
app/alarm/AlarmSettingsPage.qml (+44/-0)
app/alarm/EditAlarmPage.qml (+2/-0)
app/clock/ClockPage.qml (+2/-2)
app/components/Background.qml (+1/-1)
app/components/Clock.qml (+3/-3)
app/components/ClockCircle.qml (+1/-1)
app/components/DigitalMode.qml (+2/-2)
app/components/LightBackground.qml (+32/-0)
app/ubuntu-clock-app.qml (+3/-1)
app/upstreamcomponents/PageWithBottomEdge.qml (+2/-1)
app/worldclock/AddWorldCityButton.qml (+3/-3)
app/worldclock/UserWorldCityDelegate.qml (+3/-1)
app/worldclock/WorldCityList.qml (+2/-0)
po/com.ubuntu.clock.pot (+31/-27)
To merge this branch: bzr merge lp:~ubuntu-clock-dev/ubuntu-clock-app/night-mode
Reviewer Review Type Date Requested Status
Bartosz Kosiorek Needs Information
Review via email: mp+250543@code.launchpad.net

Commit message

Introduce Night mode user setting

Description of the change

This MP is just to get a diff of the this WIP prototype

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

Merge of trunk

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Wow. Awensome work.
I wish I could approve that MR. Could you please ask ~raecontreras, if he has spare time to approve UX design for that?

review: Needs Information
204. By Victor Thompson

Update some colors, update new component to QTQ 2.4 and UC 1.2.

205. By Victor Thompson

Merge of trunk

Unmerged revisions

205. By Victor Thompson

Merge of trunk

204. By Victor Thompson

Update some colors, update new component to QTQ 2.4 and UC 1.2.

203. By Victor Thompson

Merge of trunk

202. By Victor Thompson

* Prototype initial Night mode

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'app/alarm/AlarmPage.qml'
--- app/alarm/AlarmPage.qml 2015-07-16 21:02:18 +0000
+++ app/alarm/AlarmPage.qml 2015-07-17 21:47:41 +0000
@@ -139,6 +139,8 @@
139 }139 }
140 }140 }
141141
142 LightBackground {}
143
142 AlarmList {144 AlarmList {
143 id: alarmListView145 id: alarmListView
144 listModel: alarmModel146 listModel: alarmModel
145147
=== modified file 'app/alarm/AlarmSettingsPage.qml'
--- app/alarm/AlarmSettingsPage.qml 2015-07-15 22:31:52 +0000
+++ app/alarm/AlarmSettingsPage.qml 2015-07-17 21:47:41 +0000
@@ -45,6 +45,8 @@
45 id: alarmSettings45 id: alarmSettings
46 }46 }
4747
48 LightBackground {}
49
48 ListModel {50 ListModel {
49 id: durationModel51 id: durationModel
50 Component.onCompleted: initialise()52 Component.onCompleted: initialise()
@@ -209,6 +211,48 @@
209 }211 }
210 }212 }
211213
214 ListItem.Empty {
215 Label {
216 text: i18n.tr("Night mode")
217 color: UbuntuColors.midAubergine
218 anchors {
219 left: parent.left
220 leftMargin: units.gu(2)
221 verticalCenter: parent.verticalCenter
222 }
223 }
224
225 Switch {
226 id: nightModeSwitch
227
228 anchors {
229 right: parent.right
230 rightMargin: units.gu(2)
231 verticalCenter: parent.verticalCenter
232 }
233
234 checked: isNightMode === true
235
236 onCheckedChanged: {
237 isNightMode = checked
238 checked: isNightMode === true
239 var appSettings = JSON.parse
240 (JSON.stringify(clockModeDocument.contents))
241 appSettings.nightMode = isNightMode
242
243 if(checked) {
244 clockModeDocument.contents = appSettings
245 } else {
246 clockModeDocument.contents = appSettings
247 }
248 }
249 }
250
251 onClicked: {
252 nightModeSwitch.checked = !nightModeSwitch.checked
253 }
254 }
255
212 SubtitledListItem {256 SubtitledListItem {
213 text: i18n.tr("Change time and date")257 text: i18n.tr("Change time and date")
214 subText: {258 subText: {
215259
=== modified file 'app/alarm/EditAlarmPage.qml'
--- app/alarm/EditAlarmPage.qml 2015-05-27 16:03:23 +0000
+++ app/alarm/EditAlarmPage.qml 2015-07-17 21:47:41 +0000
@@ -153,6 +153,8 @@
153 }153 }
154 }154 }
155155
156 LightBackground {}
157
156 Alarm {158 Alarm {
157 id: _alarm159 id: _alarm
158160
159161
=== modified file 'app/clock/ClockPage.qml'
--- app/clock/ClockPage.qml 2015-05-27 16:03:23 +0000
+++ app/clock/ClockPage.qml 2015-07-17 21:47:41 +0000
@@ -244,7 +244,7 @@
244244
245 text: clock.analogTime.toLocaleDateString()245 text: clock.analogTime.toLocaleDateString()
246 opacity: settingsIcon.opacity246 opacity: settingsIcon.opacity
247 color: locationRow.visible ? Theme.palette.baseText : UbuntuColors.midAubergine247 color: isNightMode ? UbuntuColors.warmGrey : (locationRow.visible ? Theme.palette.baseText : UbuntuColors.midAubergine)
248 fontSize: "medium"248 fontSize: "medium"
249 }249 }
250250
@@ -275,7 +275,7 @@
275275
276 fontSize: "medium"276 fontSize: "medium"
277 anchors.verticalCenter: locationIcon.verticalCenter277 anchors.verticalCenter: locationIcon.verticalCenter
278 color: UbuntuColors.midAubergine278 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.midAubergine
279279
280 text: {280 text: {
281 if (userLocationDocument.contents.location === "Null"281 if (userLocationDocument.contents.location === "Null"
282282
=== modified file 'app/components/Background.qml'
--- app/components/Background.qml 2015-05-27 16:03:23 +0000
+++ app/components/Background.qml 2015-07-17 21:47:41 +0000
@@ -28,5 +28,5 @@
2828
29 asynchronous: true29 asynchronous: true
30 anchors.fill: parent30 anchors.fill: parent
31 source: "../graphics/Background_Texture.jpg"31 source: isNightMode ? "../graphics/Background_Texture_Dark.jpg" : "../graphics/Background_Texture.jpg"
32}32}
3333
=== modified file 'app/components/Clock.qml'
--- app/components/Clock.qml 2015-05-27 16:03:23 +0000
+++ app/components/Clock.qml 2015-07-17 21:47:41 +0000
@@ -243,10 +243,10 @@
243 analogShadow.source = digitalShadow.source = ""243 analogShadow.source = digitalShadow.source = ""
244244
245 if(isMainClock) {245 if(isMainClock) {
246 var isDigitalSetting = JSON.parse246 var appSettings = JSON.parse
247 (JSON.stringify(clockModeDocument.contents))247 (JSON.stringify(clockModeDocument.contents))
248 isDigitalSetting.digitalMode = isDigital248 appSettings.digitalMode = isDigital
249 clockModeDocument.contents = isDigitalSetting249 clockModeDocument.contents = appSettings
250 }250 }
251 }251 }
252 }252 }
253253
=== modified file 'app/components/ClockCircle.qml'
--- app/components/ClockCircle.qml 2015-05-27 16:03:23 +0000
+++ app/components/ClockCircle.qml 2015-07-17 21:47:41 +0000
@@ -89,7 +89,7 @@
89 Image {89 Image {
90 smooth: false90 smooth: false
91 fillMode: Image.PreserveAspectFit91 fillMode: Image.PreserveAspectFit
92 source: "../graphics/Inner_Clock_Texture.png"92 source: isNightMode ? "../graphics/Inner_Clock_Texture_Dark.png" : "../graphics/Inner_Clock_Texture.png"
93 }93 }
94 }94 }
9595
9696
=== modified file 'app/components/DigitalMode.qml'
--- app/components/DigitalMode.qml 2015-05-27 16:03:23 +0000
+++ app/components/DigitalMode.qml 2015-07-17 21:47:41 +0000
@@ -53,7 +53,7 @@
5353
54 anchors.centerIn: parent54 anchors.centerIn: parent
5555
56 color: UbuntuColors.midAubergine56 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.midAubergine
57 font.pixelSize: units.dp(1)57 font.pixelSize: units.dp(1)
58 text: {58 text: {
59 if (time.search(Qt.locale().amText) !== -1) {59 if (time.search(Qt.locale().amText) !== -1) {
@@ -77,7 +77,7 @@
77 anchors.top: _digitalTime.bottom77 anchors.top: _digitalTime.bottom
78 anchors.horizontalCenter: parent.horizontalCenter78 anchors.horizontalCenter: parent.horizontalCenter
7979
80 color: UbuntuColors.midAubergine80 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.midAubergine
81 font.pixelSize: units.dp(1)81 font.pixelSize: units.dp(1)
82 visible: text !== ""82 visible: text !== ""
83 text: {83 text: {
8484
=== added file 'app/components/LightBackground.qml'
--- app/components/LightBackground.qml 1970-01-01 00:00:00 +0000
+++ app/components/LightBackground.qml 2015-07-17 21:47:41 +0000
@@ -0,0 +1,32 @@
1/*
2 * Copyright (C) 2014-2015 Canonical Ltd
3 *
4 * This file is part of Ubuntu Clock App
5 *
6 * Ubuntu Clock App is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 3 as
8 * published by the Free Software Foundation.
9 *
10 * Ubuntu Clock App is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19import QtQuick 2.4
20import Ubuntu.Components 1.2
21
22/*
23 Component to set the background of the app
24 */
25
26Image {
27 id: _background
28
29 asynchronous: true
30 anchors.fill: parent
31 source: "../graphics/Background_Texture.jpg"
32}
033
=== added file 'app/graphics/Background_Texture_Dark.jpg'
1Binary files app/graphics/Background_Texture_Dark.jpg 1970-01-01 00:00:00 +0000 and app/graphics/Background_Texture_Dark.jpg 2015-07-17 21:47:41 +0000 differ34Binary files app/graphics/Background_Texture_Dark.jpg 1970-01-01 00:00:00 +0000 and app/graphics/Background_Texture_Dark.jpg 2015-07-17 21:47:41 +0000 differ
=== added file 'app/graphics/Inner_Clock_Texture_Dark.png'
2Binary files app/graphics/Inner_Clock_Texture_Dark.png 1970-01-01 00:00:00 +0000 and app/graphics/Inner_Clock_Texture_Dark.png 2015-07-17 21:47:41 +0000 differ35Binary files app/graphics/Inner_Clock_Texture_Dark.png 1970-01-01 00:00:00 +0000 and app/graphics/Inner_Clock_Texture_Dark.png 2015-07-17 21:47:41 +0000 differ
=== modified file 'app/ubuntu-clock-app.qml'
--- app/ubuntu-clock-app.qml 2015-07-15 22:31:52 +0000
+++ app/ubuntu-clock-app.qml 2015-07-17 21:47:41 +0000
@@ -42,6 +42,8 @@
42 */42 */
43 automaticOrientation: false43 automaticOrientation: false
4444
45 property bool isNightMode: clockModeDocument.contents.nightMode
46
45 /*47 /*
46 The width and height defined below are the same dimension used by the48 The width and height defined below are the same dimension used by the
47 designers in the clock visual spec.49 designers in the clock visual spec.
@@ -67,7 +69,7 @@
67 create: true69 create: true
68 database: clockDB70 database: clockDB
69 docId: "clockModeDocument"71 docId: "clockModeDocument"
70 defaults: { "digitalMode": false }72 defaults: { "digitalMode": false, "nightMode": false }
71 }73 }
7274
73 U1db.Document {75 U1db.Document {
7476
=== modified file 'app/upstreamcomponents/PageWithBottomEdge.qml'
--- app/upstreamcomponents/PageWithBottomEdge.qml 2015-05-27 16:03:23 +0000
+++ app/upstreamcomponents/PageWithBottomEdge.qml 2015-07-17 21:47:41 +0000
@@ -175,7 +175,7 @@
175 z: 1175 z: 1
176 width: tipLabel.paintedWidth + units.gu(6)176 width: tipLabel.paintedWidth + units.gu(6)
177 height: bottomEdge.tipHeight + units.gu(1)177 height: bottomEdge.tipHeight + units.gu(1)
178 color: Theme.palette.normal.overlay178 color: isNightMode ? "black" : Theme.palette.normal.overlay // CUSTOM
179 Label {179 Label {
180 id: tipLabel180 id: tipLabel
181181
@@ -184,6 +184,7 @@
184 left: parent.left184 left: parent.left
185 right: parent.right185 right: parent.right
186 }186 }
187 color: isNightMode ? UbuntuColors.warmGrey : "black" // CUSTOM
187 height: bottomEdge.tipHeight188 height: bottomEdge.tipHeight
188 verticalAlignment: Text.AlignVCenter189 verticalAlignment: Text.AlignVCenter
189 horizontalAlignment: Text.AlignHCenter190 horizontalAlignment: Text.AlignHCenter
190191
=== modified file 'app/worldclock/AddWorldCityButton.qml'
--- app/worldclock/AddWorldCityButton.qml 2015-05-27 16:03:23 +0000
+++ app/worldclock/AddWorldCityButton.qml 2015-07-17 21:47:41 +0000
@@ -28,7 +28,7 @@
2828
29 Label {29 Label {
30 text: i18n.tr("Add")30 text: i18n.tr("Add")
31 color: UbuntuColors.midAubergine31 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.midAubergine
32 anchors {32 anchors {
33 right: _addButton.left33 right: _addButton.left
34 rightMargin: units.gu(1)34 rightMargin: units.gu(1)
@@ -49,7 +49,7 @@
4949
50 Icon {50 Icon {
51 anchors.centerIn: parent51 anchors.centerIn: parent
52 color: UbuntuColors.coolGrey52 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.coolGrey
53 name: "add"53 name: "add"
54 height: units.gu(2)54 height: units.gu(2)
55 width: height55 width: height
@@ -59,7 +59,7 @@
5959
60 Label {60 Label {
61 text: i18n.tr("City")61 text: i18n.tr("City")
62 color: UbuntuColors.midAubergine62 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.midAubergine
63 anchors {63 anchors {
64 left: _addButton.right64 left: _addButton.right
65 leftMargin: units.gu(1)65 leftMargin: units.gu(1)
6666
=== modified file 'app/worldclock/UserWorldCityDelegate.qml'
--- app/worldclock/UserWorldCityDelegate.qml 2015-05-27 16:03:23 +0000
+++ app/worldclock/UserWorldCityDelegate.qml 2015-07-17 21:47:41 +0000
@@ -56,7 +56,7 @@
56 objectName: "userCityNameText"56 objectName: "userCityNameText"
57 width: parent.width57 width: parent.width
58 elide: Text.ElideRight58 elide: Text.ElideRight
59 color: UbuntuColors.midAubergine59 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.midAubergine
60 }60 }
6161
62 Label {62 Label {
@@ -65,6 +65,7 @@
65 fontSize: "xx-small"65 fontSize: "xx-small"
66 width: parent.width66 width: parent.width
67 elide: Text.ElideRight67 elide: Text.ElideRight
68 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.coolGrey
68 }69 }
69 }70 }
7071
@@ -138,6 +139,7 @@
138 maximumLineCount: 2139 maximumLineCount: 2
139 elide: Text.ElideRight140 elide: Text.ElideRight
140 horizontalAlignment: Text.AlignRight141 horizontalAlignment: Text.AlignRight
142 color: isNightMode ? UbuntuColors.warmGrey : UbuntuColors.coolGrey
141 text: {143 text: {
142 var day;144 var day;
143145
144146
=== modified file 'app/worldclock/WorldCityList.qml'
--- app/worldclock/WorldCityList.qml 2015-06-18 22:57:49 +0000
+++ app/worldclock/WorldCityList.qml 2015-07-17 21:47:41 +0000
@@ -152,6 +152,8 @@
152 }152 }
153 }153 }
154154
155 LightBackground {}
156
155 /*157 /*
156 Loader to allow for dynamic loading/unloading of the json model only when158 Loader to allow for dynamic loading/unloading of the json model only when
157 necessary.159 necessary.
158160
=== modified file 'po/com.ubuntu.clock.pot'
--- po/com.ubuntu.clock.pot 2015-07-15 23:50:07 +0000
+++ po/com.ubuntu.clock.pot 2015-07-17 21:47:41 +0000
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: \n"9"Project-Id-Version: \n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2015-07-16 01:36+0200\n"11"POT-Creation-Date: 2015-07-17 16:44-0500\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,7 +19,7 @@
19"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"19"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
2020
21#: ../app/alarm/AlarmLabel.qml:30 ../app/alarm/AlarmLabel.qml:5621#: ../app/alarm/AlarmLabel.qml:30 ../app/alarm/AlarmLabel.qml:56
22#: ../app/alarm/EditAlarmPage.qml:29122#: ../app/alarm/EditAlarmPage.qml:293
23msgid "Label"23msgid "Label"
24msgstr ""24msgstr ""
2525
@@ -38,7 +38,7 @@
38msgstr ""38msgstr ""
3939
40#: ../app/alarm/AlarmPage.qml:51 ../app/alarm/EditAlarmPage.qml:4440#: ../app/alarm/AlarmPage.qml:51 ../app/alarm/EditAlarmPage.qml:44
41#: ../app/alarm/EditAlarmPage.qml:16641#: ../app/alarm/EditAlarmPage.qml:168
42msgid "Alarm"42msgid "Alarm"
43msgstr ""43msgstr ""
4444
@@ -50,15 +50,15 @@
50msgid "Select All"50msgid "Select All"
51msgstr ""51msgstr ""
5252
53#: ../app/alarm/AlarmPage.qml:16253#: ../app/alarm/AlarmPage.qml:164
54msgid "No saved alarms"54msgid "No saved alarms"
55msgstr ""55msgstr ""
5656
57#: ../app/alarm/AlarmPage.qml:16357#: ../app/alarm/AlarmPage.qml:165
58msgid "Tap the + icon to add an alarm"58msgid "Tap the + icon to add an alarm"
59msgstr ""59msgstr ""
6060
61#: ../app/alarm/AlarmRepeat.qml:34 ../app/alarm/EditAlarmPage.qml:28161#: ../app/alarm/AlarmRepeat.qml:34 ../app/alarm/EditAlarmPage.qml:283
62msgid "Repeat"62msgid "Repeat"
63msgstr ""63msgstr ""
6464
@@ -68,39 +68,43 @@
6868
69#. TRANSLATORS: Silence after69#. TRANSLATORS: Silence after
70#. TRANSLATORS: Snooze for70#. TRANSLATORS: Snooze for
71#: ../app/alarm/AlarmSettingsPage.qml:54 ../app/alarm/AlarmSettingsPage.qml:55
72#: ../app/alarm/AlarmSettingsPage.qml:56 ../app/alarm/AlarmSettingsPage.qml:5771#: ../app/alarm/AlarmSettingsPage.qml:56 ../app/alarm/AlarmSettingsPage.qml:57
73#: ../app/alarm/AlarmSettingsPage.qml:67 ../app/alarm/AlarmSettingsPage.qml:6872#: ../app/alarm/AlarmSettingsPage.qml:58 ../app/alarm/AlarmSettingsPage.qml:59
74#: ../app/alarm/AlarmSettingsPage.qml:69 ../app/alarm/AlarmSettingsPage.qml:7073#: ../app/alarm/AlarmSettingsPage.qml:69 ../app/alarm/AlarmSettingsPage.qml:70
75#: ../app/alarm/AlarmSettingsPage.qml:12674#: ../app/alarm/AlarmSettingsPage.qml:71 ../app/alarm/AlarmSettingsPage.qml:72
76#: ../app/alarm/AlarmSettingsPage.qml:15475#: ../app/alarm/AlarmSettingsPage.qml:128
76#: ../app/alarm/AlarmSettingsPage.qml:156
77#, qt-format77#, qt-format
78msgid "%1 minute"78msgid "%1 minute"
79msgid_plural "%1 minutes"79msgid_plural "%1 minutes"
80msgstr[0] ""80msgstr[0] ""
81msgstr[1] ""81msgstr[1] ""
8282
83#: ../app/alarm/AlarmSettingsPage.qml:9483#: ../app/alarm/AlarmSettingsPage.qml:96
84msgid "Alarm volume"84msgid "Alarm volume"
85msgstr ""85msgstr ""
8686
87#: ../app/alarm/AlarmSettingsPage.qml:12587#: ../app/alarm/AlarmSettingsPage.qml:127
88msgid "Silence after"88msgid "Silence after"
89msgstr ""89msgstr ""
9090
91#: ../app/alarm/AlarmSettingsPage.qml:15391#: ../app/alarm/AlarmSettingsPage.qml:155
92msgid "Snooze for"92msgid "Snooze for"
93msgstr ""93msgstr ""
9494
95#: ../app/alarm/AlarmSettingsPage.qml:17995#: ../app/alarm/AlarmSettingsPage.qml:181
96msgid "Vibration"96msgid "Vibration"
97msgstr ""97msgstr ""
9898
99#: ../app/alarm/AlarmSettingsPage.qml:21399#: ../app/alarm/AlarmSettingsPage.qml:216
100msgid "Night mode"
101msgstr ""
102
103#: ../app/alarm/AlarmSettingsPage.qml:257
100msgid "Change time and date"104msgid "Change time and date"
101msgstr ""105msgstr ""
102106
103#: ../app/alarm/AlarmSound.qml:28 ../app/alarm/EditAlarmPage.qml:304107#: ../app/alarm/AlarmSound.qml:28 ../app/alarm/EditAlarmPage.qml:306
104msgid "Sound"108msgid "Sound"
105msgstr ""109msgstr ""
106110
@@ -156,7 +160,7 @@
156msgid "Edit alarm"160msgid "Edit alarm"
157msgstr ""161msgstr ""
158162
159#: ../app/alarm/EditAlarmPage.qml:325163#: ../app/alarm/EditAlarmPage.qml:327
160msgid "Delete alarm"164msgid "Delete alarm"
161msgstr ""165msgstr ""
162166
@@ -175,37 +179,37 @@
175179
176#. TRANSLATORS: this indicates if the time in a world clock180#. TRANSLATORS: this indicates if the time in a world clock
177#. is behind or ahead of the time at the current location181#. is behind or ahead of the time at the current location
178#: ../app/worldclock/UserWorldCityDelegate.qml:146182#: ../app/worldclock/UserWorldCityDelegate.qml:148
179msgid "behind"183msgid "behind"
180msgstr ""184msgstr ""
181185
182#: ../app/worldclock/UserWorldCityDelegate.qml:147186#: ../app/worldclock/UserWorldCityDelegate.qml:149
183msgid "ahead"187msgid "ahead"
184msgstr ""188msgstr ""
185189
186#. TRANSLATORS: the first argument is hour, followed by190#. TRANSLATORS: the first argument is hour, followed by
187#. minute, and the translation for either 'behind' or191#. minute, and the translation for either 'behind' or
188#. 'ahead'192#. 'ahead'
189#: ../app/worldclock/UserWorldCityDelegate.qml:157193#: ../app/worldclock/UserWorldCityDelegate.qml:159
190#, qt-format194#, qt-format
191msgid "%1h %2m %3"195msgid "%1h %2m %3"
192msgstr ""196msgstr ""
193197
194#. TRANSLATORS: the first argument is hour, followed by the198#. TRANSLATORS: the first argument is hour, followed by the
195#. translation for either 'behind' or 'ahead'199#. translation for either 'behind' or 'ahead'
196#: ../app/worldclock/UserWorldCityDelegate.qml:166200#: ../app/worldclock/UserWorldCityDelegate.qml:168
197#, qt-format201#, qt-format
198msgid "%1h %2"202msgid "%1h %2"
199msgstr ""203msgstr ""
200204
201#. TRANSLATORS: the first argument is minute, followed by the205#. TRANSLATORS: the first argument is minute, followed by the
202#. translation for either 'behind' or 'ahead'206#. translation for either 'behind' or 'ahead'
203#: ../app/worldclock/UserWorldCityDelegate.qml:174207#: ../app/worldclock/UserWorldCityDelegate.qml:176
204#, qt-format208#, qt-format
205msgid "%1m %2"209msgid "%1m %2"
206msgstr ""210msgstr ""
207211
208#: ../app/worldclock/UserWorldCityDelegate.qml:180212#: ../app/worldclock/UserWorldCityDelegate.qml:182
209msgid "Same time"213msgid "Same time"
210msgstr ""214msgstr ""
211215
@@ -217,19 +221,19 @@
217msgid "Search..."221msgid "Search..."
218msgstr ""222msgstr ""
219223
220#: ../app/worldclock/WorldCityList.qml:213224#: ../app/worldclock/WorldCityList.qml:215
221msgid "Searching for a city"225msgid "Searching for a city"
222msgstr ""226msgstr ""
223227
224#: ../app/worldclock/WorldCityList.qml:218228#: ../app/worldclock/WorldCityList.qml:220
225msgid "No City Found"229msgid "No City Found"
226msgstr ""230msgstr ""
227231
228#: ../app/worldclock/WorldCityList.qml:224232#: ../app/worldclock/WorldCityList.qml:226
229msgid "Unable to connect."233msgid "Unable to connect."
230msgstr ""234msgstr ""
231235
232#: ../app/worldclock/WorldCityList.qml:225236#: ../app/worldclock/WorldCityList.qml:227
233msgid "Please check your network connection and try again"237msgid "Please check your network connection and try again"
234msgstr ""238msgstr ""
235239

Subscribers

People subscribed via source and target branches

to all changes: