aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-08 13:40:04 -0500
committerTed Gould <ted@gould.cx>2014-10-08 13:40:04 -0500
commit03a879f644d27ec45a97caa7681e4428f7b341fd (patch)
tree59d3a458002a413cce18f25d069379c2be1081e7 /src
parentdab52a2a10eff6ba737a188d2fbdb0874a4477af (diff)
downloadayatana-indicator-sound-03a879f644d27ec45a97caa7681e4428f7b341fd.tar.gz
ayatana-indicator-sound-03a879f644d27ec45a97caa7681e4428f7b341fd.tar.bz2
ayatana-indicator-sound-03a879f644d27ec45a97caa7681e4428f7b341fd.zip
Make volume string translatable
Diffstat (limited to 'src')
-rw-r--r--src/volume-control.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index 5a8bbe2..a4c97b6 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -578,13 +578,13 @@ public class VolumeControl : Object
public void set_volume (double volume)
{
if (_volume == 0.0)
- _notification.update ("Volume", "", "audio-volume-muted");
+ _notification.update (_("Volume"), "", "audio-volume-muted");
if (_volume > 0.0 && _volume <= 0.33)
- _notification.update ("Volume", "", "audio-volume-low");
+ _notification.update (_("Volume"), "", "audio-volume-low");
if (_volume > 0.33 && _volume <= 0.66)
- _notification.update ("Volume", "", "audio-volume-medium");
+ _notification.update (_("Volume"), "", "audio-volume-medium");
if (_volume > 0.66 && _volume <= 1.0)
- _notification.update ("Volume", "", "audio-volume-high");
+ _notification.update (_("Volume"), "", "audio-volume-high");
_notification.set_hint ("value", _volume * 100.0);
_notification.set_hint ("sound-file", "/usr/share/sounds/ubuntu/stereo/message.ogg");
_notification.show ();