From 1a7ae12d402b6f1dccd6b8dac44f38440f571ca5 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 29 Oct 2019 14:37:17 +0800 Subject: migrate from intltools to gettext --- data/Makefile.am | 7 ++++--- data/eom.desktop.in.in | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'data') 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 -- cgit v1.2.1