diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 12:06:21 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 12:06:21 -0400 |
commit | 6c65b1d8e63ab351ea4da525ecdfc5226161bfc6 (patch) | |
tree | 3de4f2d0f84a7e6eba8719d1d97466344c030e71 /src | |
parent | 886c989ba88f3d67ecc366e35ce3e82432faf9f2 (diff) | |
download | ayatana-indicator-sound-6c65b1d8e63ab351ea4da525ecdfc5226161bfc6.tar.gz ayatana-indicator-sound-6c65b1d8e63ab351ea4da525ecdfc5226161bfc6.tar.bz2 ayatana-indicator-sound-6c65b1d8e63ab351ea4da525ecdfc5226161bfc6.zip |
Mark translatable strings as translatable
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/service.vala | 4 |
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; } |