Merge lp:~dpm/ubuntu-system-settings/fix-1210341 into lp:ubuntu-system-settings

Proposed by David Planella
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 390
Merged at revision: 390
Proposed branch: lp:~dpm/ubuntu-system-settings/fix-1210341
Merge into: lp:ubuntu-system-settings
Diff against target: 117 lines (+19/-17)
2 files modified
plugins/battery/PageComponent.qml (+1/-0)
po/ubuntu-system-settings.pot (+18/-17)
To merge this branch: bzr merge lp:~dpm/ubuntu-system-settings/fix-1210341
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Sebastien Bacher (community) Approve
Review via email: mp+187736@code.launchpad.net

Commit message

Add a translator comment for the battery charge level (bug 1210341)

Description of the change

Add a translator comment for the battery charge level (bug 1210341)

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Looks good, thanks!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'plugins/battery/PageComponent.qml'
--- plugins/battery/PageComponent.qml 2013-09-25 17:17:04 +0000
+++ plugins/battery/PageComponent.qml 2013-09-26 11:37:58 +0000
@@ -83,6 +83,7 @@
83 }83 }
84 onRemainingCapacityChanged: {84 onRemainingCapacityChanged: {
85 if(batteryInfo.batteryCount > 0)85 if(batteryInfo.batteryCount > 0)
86 /* TRANSLATORS: %1 refers to a percentage that indicates the charging level of the battery */
86 chargingLevel.value = i18n.tr("%1 %").arg((batteryInfo.remainingCapacity(0)/batteryInfo.maximumCapacity(0)*100).toFixed(0))87 chargingLevel.value = i18n.tr("%1 %").arg((batteryInfo.remainingCapacity(0)/batteryInfo.maximumCapacity(0)*100).toFixed(0))
87 }88 }
8889
8990
=== modified file 'po/ubuntu-system-settings.pot'
--- po/ubuntu-system-settings.pot 2013-09-26 09:08:26 +0000
+++ po/ubuntu-system-settings.pot 2013-09-26 11:37:58 +0000
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: ubuntu-system-settings\n"9"Project-Id-Version: ubuntu-system-settings\n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2013-09-26 11:07+0200\n"11"POT-Creation-Date: 2013-09-26 13:30+0200\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"
@@ -27,8 +27,8 @@
27msgstr ""27msgstr ""
2828
29#: ../plugins/about/PageComponent.qml:77 ../plugins/about/PageComponent.qml:8429#: ../plugins/about/PageComponent.qml:77 ../plugins/about/PageComponent.qml:84
30#: ../plugins/about/Storage.qml:137 ../plugins/battery/PageComponent.qml:12430#: ../plugins/about/Storage.qml:137 ../plugins/battery/PageComponent.qml:125
31#: ../plugins/battery/PageComponent.qml:13131#: ../plugins/battery/PageComponent.qml:132
32#: ../plugins/cellular/PageComponent.qml:7532#: ../plugins/cellular/PageComponent.qml:75
33msgid "N/A"33msgid "N/A"
34msgstr ""34msgstr ""
@@ -46,8 +46,8 @@
46msgstr ""46msgstr ""
4747
48#: ../plugins/about/PageComponent.qml:9848#: ../plugins/about/PageComponent.qml:98
49#: ../plugins/battery/PageComponent.qml:24449#: ../plugins/battery/PageComponent.qml:245
50#: ../plugins/battery/PageComponent.qml:25250#: ../plugins/battery/PageComponent.qml:253
51#: ../plugins/battery/SleepValues.qml:9151#: ../plugins/battery/SleepValues.qml:91
52#: ../plugins/system-update/Download.qml:5352#: ../plugins/system-update/Download.qml:53
53#: ../plugins/system-update/PageComponent.qml:33553#: ../plugins/system-update/PageComponent.qml:335
@@ -194,35 +194,36 @@
194msgid "Fully charged"194msgid "Fully charged"
195msgstr ""195msgstr ""
196196
197#: ../plugins/battery/PageComponent.qml:86197#. TRANSLATORS: %1 refers to a percentage that indicates the charging level of the battery
198#: ../plugins/battery/PageComponent.qml:87
198#, qt-format199#, qt-format
199msgid "%1 %"200msgid "%1 %"
200msgstr ""201msgstr ""
201202
202#: ../plugins/battery/PageComponent.qml:123203#: ../plugins/battery/PageComponent.qml:124
203msgid "Charge level"204msgid "Charge level"
204msgstr ""205msgstr ""
205206
206#: ../plugins/battery/PageComponent.qml:175207#: ../plugins/battery/PageComponent.qml:176
207msgid "Ways to reduce battery use:"208msgid "Ways to reduce battery use:"
208msgstr ""209msgstr ""
209210
210#: ../plugins/battery/PageComponent.qml:179211#: ../plugins/battery/PageComponent.qml:180
211msgid "Display brightness"212msgid "Display brightness"
212msgstr ""213msgstr ""
213214
214#: ../plugins/battery/PageComponent.qml:236215#: ../plugins/battery/PageComponent.qml:237
215#: ../plugins/security-privacy/PhoneLocking.qml:62216#: ../plugins/security-privacy/PhoneLocking.qml:62
216msgid "Lock when idle"217msgid "Lock when idle"
217msgstr ""218msgstr ""
218219
219#: ../plugins/battery/PageComponent.qml:236220#: ../plugins/battery/PageComponent.qml:237
220#: ../plugins/security-privacy/PhoneLocking.qml:63221#: ../plugins/security-privacy/PhoneLocking.qml:63
221msgid "Sleep when idle"222msgid "Sleep when idle"
222msgstr ""223msgstr ""
223224
224#: ../plugins/battery/PageComponent.qml:241225#: ../plugins/battery/PageComponent.qml:242
225#: ../plugins/battery/PageComponent.qml:249226#: ../plugins/battery/PageComponent.qml:250
226#: ../plugins/battery/SleepValues.qml:76 ../plugins/battery/SleepValues.qml:79227#: ../plugins/battery/SleepValues.qml:76 ../plugins/battery/SleepValues.qml:79
227#: ../plugins/battery/SleepValues.qml:82 ../plugins/battery/SleepValues.qml:85228#: ../plugins/battery/SleepValues.qml:82 ../plugins/battery/SleepValues.qml:85
228#: ../plugins/battery/SleepValues.qml:88229#: ../plugins/battery/SleepValues.qml:88
@@ -232,22 +233,22 @@
232msgstr[0] ""233msgstr[0] ""
233msgstr[1] ""234msgstr[1] ""
234235
235#: ../plugins/battery/PageComponent.qml:262236#: ../plugins/battery/PageComponent.qml:263
236#: ../plugins/wifi/PageComponent.qml:27 ../.build/settings.js:18237#: ../plugins/wifi/PageComponent.qml:27 ../.build/settings.js:18
237msgid "Wi-Fi"238msgid "Wi-Fi"
238msgstr ""239msgstr ""
239240
240#: ../plugins/battery/PageComponent.qml:286241#: ../plugins/battery/PageComponent.qml:287
241#: ../plugins/bluetooth/PageComponent.qml:98242#: ../plugins/bluetooth/PageComponent.qml:98
242#: ../plugins/bluetooth/PageComponent.qml:106 ../.build/settings.js:5243#: ../plugins/bluetooth/PageComponent.qml:106 ../.build/settings.js:5
243msgid "Bluetooth"244msgid "Bluetooth"
244msgstr ""245msgstr ""
245246
246#: ../plugins/battery/PageComponent.qml:315247#: ../plugins/battery/PageComponent.qml:316
247msgid "GPS"248msgid "GPS"
248msgstr ""249msgstr ""
249250
250#: ../plugins/battery/PageComponent.qml:333251#: ../plugins/battery/PageComponent.qml:334
251msgid "Accurate location detection requires GPS and/or Wi-Fi."252msgid "Accurate location detection requires GPS and/or Wi-Fi."
252msgstr ""253msgstr ""
253254

Subscribers

People subscribed via source and target branches