[gnome-shell] power: Fix translations in the power section
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] power: Fix translations in the power section
- Date: Thu, 5 Sep 2013 16:04:24 +0000 (UTC)
commit 32b964e9b788c521216811a2e0d6def996c85cb4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 5 10:01:05 2013 -0400
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
js/ui/status/power.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/power.js b/js/ui/status/power.js
index 2994f09..ec1e9ae 100644
--- a/js/ui/status/power.js
+++ b/js/ui/status/power.js
@@ -74,12 +74,12 @@ const Indicator = new Lang.Class({
if (state == UPower.DeviceState.DISCHARGING) {
// 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) {
// 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]