summaryrefslogtreecommitdiff
path: root/battstat/sounds
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-12-25 17:58:28 +0800
committerraveit65 <[email protected]>2020-01-09 11:40:14 +0100
commitb91dbe12e8f334e7fbaf9a36814d36d63c94dfd4 (patch)
tree699e3fa9a88533a37cc364c28b8afbfc0f360973 /battstat/sounds
parent42022afd3340fc97b8c0c8866f2cd6b1355dee34 (diff)
downloadmate-applets-b91dbe12e8f334e7fbaf9a36814d36d63c94dfd4.tar.bz2
mate-applets-b91dbe12e8f334e7fbaf9a36814d36d63c94dfd4.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'battstat/sounds')
-rw-r--r--battstat/sounds/Makefile.am7
-rw-r--r--battstat/sounds/mate-battstat_applet.soundlist.desktop.in10
-rw-r--r--battstat/sounds/mate-battstat_applet.soundlist.in10
3 files changed, 14 insertions, 13 deletions
diff --git a/battstat/sounds/Makefile.am b/battstat/sounds/Makefile.am
index df677219..5b591d0c 100644
--- a/battstat/sounds/Makefile.am
+++ b/battstat/sounds/Makefile.am
@@ -1,9 +1,10 @@
soundlistdir = $(sysconfdir)/sound/events
-soundlist_in_files = mate-battstat_applet.soundlist.in
-soundlist_DATA = $(soundlist_in_files:.soundlist.in=.soundlist)
+soundlist_in_files = mate-battstat_applet.soundlist.desktop.in
+soundlist_DATA = $(soundlist_in_files:.soundlist.desktop.in=.soundlist)
-@INTLTOOL_SOUNDLIST_RULE@
+$(soundlist_DATA): $(soundlist_in_files) Makefile
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=description --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(soundlist_DATA) $(soundlist_in_files)
diff --git a/battstat/sounds/mate-battstat_applet.soundlist.desktop.in b/battstat/sounds/mate-battstat_applet.soundlist.desktop.in
new file mode 100644
index 00000000..891fd6ac
--- /dev/null
+++ b/battstat/sounds/mate-battstat_applet.soundlist.desktop.in
@@ -0,0 +1,10 @@
+[__section_info__]
+description=Battery Status Utility
+
+[LowBattery]
+file=
+description=Battery power low
+
+[BatteryFull]
+file=
+description=Battery fully re-charged
diff --git a/battstat/sounds/mate-battstat_applet.soundlist.in b/battstat/sounds/mate-battstat_applet.soundlist.in
deleted file mode 100644
index a5387709..00000000
--- a/battstat/sounds/mate-battstat_applet.soundlist.in
+++ /dev/null
@@ -1,10 +0,0 @@
-[__section_info__]
-_description=Battery Status Utility
-
-[LowBattery]
-file=
-_description=Battery power low
-
-[BatteryFull]
-file=
-_description=Battery fully re-charged