summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-11-09 14:14:56 +0100
committerBastien Nocera <hadess@hadess.net>2015-11-12 16:19:30 +0100
commit9ba399bf18ef99a2d9c49608dadad71e4f3dd052 (patch)
tree14eb457911d0d2fee21009c7e79fe441760df2c6
parenta52c91e9e5f9c521f6f78a029d85e32564196760 (diff)
downloadgnome-shell-9ba399bf18ef99a2d9c49608dadad71e4f3dd052.tar.gz
power: Add thin space between digits and percentage sign
As mentioned by Matthias Clasen on IRC, we should have a thin space between the percentage digits and the sign itself. https://bugzilla.gnome.org/show_bug.cgi?id=757816
-rw-r--r--js/ui/status/power.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/ui/status/power.js b/js/ui/status/power.js
index e226de00a..0bec19c44 100644
--- a/js/ui/status/power.js
+++ b/js/ui/status/power.js
@@ -83,12 +83,12 @@ const Indicator = new Lang.Class({
if (this._proxy.State == UPower.DeviceState.DISCHARGING) {
// Translators: this is <hours>:<minutes> Remaining (<percentage>)
- return _("%d\u2236%02d Remaining (%d%%)").format(hours, minutes, this._proxy.Percentage);
+ return _("%d\u2236%02d Remaining (%d\u2009%%)").format(hours, minutes, this._proxy.Percentage);
}
if (this._proxy.State == UPower.DeviceState.CHARGING) {
// Translators: this is <hours>:<minutes> Until Full (<percentage>)
- return _("%d\u2236%02d Until Full (%d%%)").format(hours, minutes, this._proxy.Percentage);
+ return _("%d\u2236%02d Until Full (%d\u2009%%)").format(hours, minutes, this._proxy.Percentage);
}
return null;