summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArun Raghavan <arun@asymptotic.io>2022-01-14 18:35:50 -0500
committerArun Raghavan <arun@asymptotic.io>2022-01-14 18:39:01 -0500
commit327288055b3ec5ce3ba61a5a7a9571c49a7c5259 (patch)
tree9ab5ccaf34adec992ac51be5b882521cd1c7ba19 /src
parent8b3a5999a6aff7f6088be90c92198f9efc06f955 (diff)
i18n: Migrate to upstream gettext over intltool
Newer gettext has feature parity, rendering intltool obsolete. Details at: https://wiki.gnome.org/MigratingFromIntltoolToGettext
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
-rw-r--r--src/pavucontrol.desktop.in6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b5c0314..adec68e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,8 +21,11 @@ localedir = $(datadir)/locale
bin_PROGRAMS=pavucontrol
glade_DATA=pavucontrol.glade
+
desktop_in_files=pavucontrol.desktop.in
desktop_DATA=$(desktop_in_files:.desktop.in=.desktop)
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
pavucontrol_SOURCES= \
minimalstreamwidget.h minimalstreamwidget.cc \
@@ -48,5 +51,3 @@ pavucontrol_CXXFLAGS+=-DGLADE_FILE=\"$(gladedir)/pavucontrol.glade\"
EXTRA_DIST = $(glade_DATA) $(desktop_in_files)
CLEANFILES = $(desktop_DATA)
-
-@INTLTOOL_DESKTOP_RULE@
diff --git a/src/pavucontrol.desktop.in b/src/pavucontrol.desktop.in
index 06f55e7..7499e2e 100644
--- a/src/pavucontrol.desktop.in
+++ b/src/pavucontrol.desktop.in
@@ -1,8 +1,8 @@
[Desktop Entry]
Version=1.0
-_Name=PulseAudio Volume Control
-_GenericName=Volume Control
-_Comment=Adjust the volume level
+Name=PulseAudio Volume Control
+GenericName=Volume Control
+Comment=Adjust the volume level
Exec=pavucontrol
Icon=multimedia-volume-control
StartupNotify=true