aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.vala4
-rw-r--r--src/sound-menu.vala2
2 files changed, 3 insertions, 3 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;
diff --git a/src/sound-menu.vala b/src/sound-menu.vala
index e46f098..b08db93 100644
--- a/src/sound-menu.vala
+++ b/src/sound-menu.vala
@@ -149,7 +149,7 @@ class SoundMenu: Object
var submenu = new Menu ();
submenu.append_section (null, playlists_section);
- player_section.append_submenu ("Choose Playlist", submenu);
+ player_section.append_submenu (_("Choose Playlist"), submenu);
}
MenuItem create_slider_menu_item (string action, double min, double max, double step, string min_icon_name, string max_icon_name) {