aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-09-11 11:32:31 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-09-11 11:32:31 +0200
commiteb032fc5be2d9f02f52c71b612c0aa971a2f1c96 (patch)
treeb90d791bbe4d15f2af30d0c1dde8022f204c2d2f /src/service.vala
parenta8d220ae32cd704cc2a65a540a87a570ad2ecc16 (diff)
downloadayatana-indicator-sound-eb032fc5be2d9f02f52c71b612c0aa971a2f1c96.tar.gz
ayatana-indicator-sound-eb032fc5be2d9f02f52c71b612c0aa971a2f1c96.tar.bz2
ayatana-indicator-sound-eb032fc5be2d9f02f52c71b612c0aa971a2f1c96.zip
Mark remaining user-visible strings as translatable
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala
index 0651c0e..7d59fe5 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -138,10 +138,10 @@ public class IndicatorSound.Service {
string accessible_name;
if (this.volume_control.mute) {
- accessible_name = "Volume (muted)";
+ accessible_name = _("Volume (muted)");
} else {
int volume_int = (int)(volume * 100);
- accessible_name = @"Volume ($volume_int%)";
+ accessible_name = _("Volume (%d%%)").printf (volume_int);
}
var root_action = actions.lookup_action ("root") as SimpleAction;