diff options
author | Wu Xiaotian <[email protected]> | 2019-11-04 17:37:08 +0800 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-11-11 01:18:10 +0100 |
commit | d19b62785293db5999bb14b6ebb611aa76a7253a (patch) | |
tree | 07995725258e0f67bd91c0692110e335bbd6c82f /data | |
parent | 73c0bb35bfc355eaa2842652f6a85a58592fb1c2 (diff) | |
download | atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.bz2 atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 7 | ||||
-rw-r--r-- | data/atril.appdata.xml.in | 6 | ||||
-rw-r--r-- | data/atril.desktop.in.in | 6 |
3 files changed, 10 insertions, 9 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index c6606d01..de20e8cc 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -21,13 +21,13 @@ ui_DATA = \ # Desktop file # -@INTLTOOL_DESKTOP_RULE@ - DESKTOP_IN_FILES= atril.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 $@ # # DBus servide file @@ -44,10 +44,11 @@ endif # # App data file # -@INTLTOOL_XML_NOMERGE_RULE@ appdatadir = $(datadir)/metainfo appdata_in_files = atril.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 schema diff --git a/data/atril.appdata.xml.in b/data/atril.appdata.xml.in index 3d5b56ff..c54aee98 100644 --- a/data/atril.appdata.xml.in +++ b/data/atril.appdata.xml.in @@ -5,8 +5,8 @@ <metadata_license>CC0-1.0</metadata_license> <project_license>GPL-2.0+</project_license> <name>Atril Document Viewer</name> - <_summary>A Document Viewer for the MATE desktop environment</_summary> - <_description> + <summary>A Document Viewer for the MATE desktop environment</summary> + <description> <p> Atril is a simple multi-page document viewer. It can display and print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI, @@ -20,7 +20,7 @@ If you would like to know more about MATE and Atril, please visit the project's home page. </p> - </_description> + </description> <screenshots> <screenshot type="default"> <image width="960" height="540"> diff --git a/data/atril.desktop.in.in b/data/atril.desktop.in.in index 0f7fd7b3..e0b85dd8 100644 --- a/data/atril.desktop.in.in +++ b/data/atril.desktop.in.in @@ -1,7 +1,7 @@ [Desktop Entry] -_Name=Atril Document Viewer -_GenericName=Document Viewer -_Comment=View multi-page documents +Name=Atril Document Viewer +GenericName=Document Viewer +Comment=View multi-page documents TryExec=atril Exec=atril %U StartupNotify=true |