aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/service.vala4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 84ee0f1..15a5cbf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,6 +27,8 @@ indicator_sound_service_CFLAGS = $(PULSEAUDIO_CFLAGS) \
$(SOUNDSERVICE_CFLAGS) \
$(GCONF_CFLAGS) \
$(COVERAGE_CFLAGS) \
- -DLIBEXECDIR=\"$(libexecdir)\" -Wall
+ -DLIBEXECDIR=\"$(libexecdir)\" -Wall \
+ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"
+
indicator_sound_service_LDADD = $(PULSEAUDIO_LIBS) $(SOUNDSERVICE_LIBS) $(GCONF_LIBS)
indicator_sound_service_LDFLAGS = $(COVERAGE_LDFLAGS)
diff --git a/src/service.vala b/src/service.vala
index 2196135..add5658 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -96,7 +96,7 @@ public class IndicatorSound.Service {
static Menu create_menu () {
var volume_section = new Menu ();
- volume_section.append ("Mute", "indicator.mute");
+ volume_section.append (_("Mute"), "indicator.mute");
var slider = new MenuItem (null, "indicator.volume");
slider.set_attribute ("x-canonical-type", "s", "com.canonical.unity.slider");
@@ -109,7 +109,7 @@ public class IndicatorSound.Service {
var menu = new Menu ();
menu.append_section (null, volume_section);
- menu.append ("Sound Settingsā€¦", "indicator.settings");
+ menu.append (_("Sound Settingsā€¦"), "indicator.settings");
return menu;
}