summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-29 14:37:17 +0800
committerraveit65 <[email protected]>2019-11-13 10:03:32 +0100
commit1a7ae12d402b6f1dccd6b8dac44f38440f571ca5 (patch)
treebd7a214cf231a5be4d5d9c444b56c5dae646f8b7 /data
parent6d3ccb0ec4222f9129e337337517845607e6fadd (diff)
downloadeom-1a7ae12d402b6f1dccd6b8dac44f38440f571ca5.tar.bz2
eom-1a7ae12d402b6f1dccd6b8dac44f38440f571ca5.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am7
-rw-r--r--data/eom.desktop.in.in4
2 files changed, 6 insertions, 5 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 99711a3..48c352e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,17 +1,18 @@
SUBDIRS = pixmaps icons
-@INTLTOOL_DESKTOP_RULE@
-
DESKTOP_IN_FILES= eom.desktop.in.in
DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)
+$(desktop_DATA): $(DESKTOP_IN_FILES)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/metainfo
appdata_in_files = eom.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+$(appdata_DATA): $(appdata_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
gsettings_ENUM_NAMESPACE = org.mate.eom
gsettings_ENUM_FILES = $(top_srcdir)/src/eom-scroll-view.h \
diff --git a/data/eom.desktop.in.in b/data/eom.desktop.in.in
index a8e7dcb..a49c08c 100644
--- a/data/eom.desktop.in.in
+++ b/data/eom.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Eye of MATE Image Viewer
-_Comment=Browse and rotate images
+Name=Eye of MATE Image Viewer
+Comment=Browse and rotate images
TryExec=eom
Exec=eom %U
Icon=eom