power: Fix translations in the power section
This technically isn't a string freeze break, since xgettext already picked up the string and translators have been translating it. https://bugzilla.gnome.org/show_bug.cgi?id=707557
This commit is contained in:
parent
2980515c85
commit
32b964e9b7
@ -74,12 +74,12 @@ const Indicator = new Lang.Class({
|
|||||||
|
|
||||||
if (state == UPower.DeviceState.DISCHARGING) {
|
if (state == UPower.DeviceState.DISCHARGING) {
|
||||||
// Translators: this is <hours>:<minutes> Remaining (<percentage>)
|
// Translators: this is <hours>:<minutes> Remaining (<percentage>)
|
||||||
return _("%d\u2236%02d Remaining (%d%%)".format(hours, minutes, percentage));
|
return _("%d\u2236%02d Remaining (%d%%)").format(hours, minutes, percentage);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state == UPower.DeviceState.CHARGING) {
|
if (state == UPower.DeviceState.CHARGING) {
|
||||||
// Translators: this is <hours>:<minutes> Until Full (<percentage>)
|
// Translators: this is <hours>:<minutes> Until Full (<percentage>)
|
||||||
return _("%d\u2236%02d Until Full (%d%%)".format(hours, minutes, percentage));
|
return _("%d\u2236%02d Until Full (%d%%)").format(hours, minutes, percentage);
|
||||||
}
|
}
|
||||||
|
|
||||||
// state is one of PENDING_CHARGING, PENDING_DISCHARGING
|
// state is one of PENDING_CHARGING, PENDING_DISCHARGING
|
||||||
|
Loading…
Reference in New Issue
Block a user