aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume-control.vala')
-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 ();