summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-10 21:44:13 +0800
committerraveit65 <[email protected]>2019-05-15 12:28:30 +0200
commitb5dfa41511029b8cb0bc5fc2c7d3f04118ecb6b7 (patch)
tree1969a3de353da2382deed753402959bff4851bf5 /data
parent3af866af0eb6a52a415bb39d4a582368bf1e3c0c (diff)
downloadmozo-b5dfa41511029b8cb0bc5fc2c7d3f04118ecb6b7.tar.bz2
mozo-b5dfa41511029b8cb0bc5fc2c7d3f04118ecb6b7.tar.xz
Migrate from intltool to gettext
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
-rw-r--r--data/mozo.desktop.in.in4
2 files changed, 5 insertions, 4 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index daa2b1d..e7462de 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,11 +1,12 @@
SUBDIRS = icons
-@INTLTOOL_DESKTOP_RULE@
-
desktopdir = $(datadir)/applications
desktop_in_files = mozo.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 $@
+
man_MANS = mozo.1
pkgdata_DATA = mozo.ui
diff --git a/data/mozo.desktop.in.in b/data/mozo.desktop.in.in
index 44318fe..c5e6bb6 100644
--- a/data/mozo.desktop.in.in
+++ b/data/mozo.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Main Menu
-_Comment=Change which applications are shown on the main menu
+Name=Main Menu
+Comment=Change which applications are shown on the main menu
Exec=mozo
Terminal=false
Type=Application