summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-14 15:31:18 +0800
committerZenWalker <[email protected]>2019-12-01 13:20:15 +0100
commit8f84b07cb85562c442ef1e767e99d6efab182e56 (patch)
tree113615f7b7112efe8f53d551d3e3c100342bed7c /data
parent8efd6d8cb2eabfecea809e8dab9eb013c880e181 (diff)
downloadengrampa-8f84b07cb85562c442ef1e767e99d6efab182e56.tar.bz2
engrampa-8f84b07cb85562c442ef1e767e99d6efab182e56.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am9
-rw-r--r--data/engrampa.appdata.xml.in6
-rw-r--r--data/engrampa.desktop.in.in9
3 files changed, 14 insertions, 10 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7d6017e..f52df44 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,8 +4,8 @@ desktopdir = $(datadir)/applications
desktop_in_in_files = engrampa.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-
-@INTLTOOL_DESKTOP_RULE@
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
matchdir = $(datadir)/engrampa
match_DATA = packages.match
@@ -16,10 +16,11 @@ service_DATA = $(service_in_files:.service.in=.service)
$(service_DATA): $(service_in_files) Makefile
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
-@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/metainfo
appdata_in_files = engrampa.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 $@
gsettingsschema_in_files = org.mate.engrampa.gschema.xml.in
gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
@@ -65,7 +66,7 @@ CLEANFILES = \
engrampa.appdata.xml \
$(NULL)
-dist-hook:
+dist-hook:
cd $(distdir); rm -f $(CLEANFILES)
-include $(top_srcdir)/git.mk
diff --git a/data/engrampa.appdata.xml.in b/data/engrampa.appdata.xml.in
index a624adb..d4f2967 100644
--- a/data/engrampa.appdata.xml.in
+++ b/data/engrampa.appdata.xml.in
@@ -5,8 +5,8 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Engrampa Archive Manager</name>
- <_summary>An Archive Manager for the MATE desktop environment</_summary>
- <_description>
+ <summary>An Archive Manager for the MATE desktop environment</summary>
+ <description>
<p>
Engrampa is an archive manager for the MATE environment. It allows you
to create and modify archives, view the contents of an archive, view a
@@ -48,7 +48,7 @@
If you would like to know more about MATE and Engrampa, please visit the
project's home page.
</p>
- </_description>
+ </description>
<screenshots>
<screenshot type="default">
<image width="960" height="540">
diff --git a/data/engrampa.desktop.in.in b/data/engrampa.desktop.in.in
index 2ead7e3..82fc57d 100644
--- a/data/engrampa.desktop.in.in
+++ b/data/engrampa.desktop.in.in
@@ -1,15 +1,18 @@
[Desktop Entry]
-_Name=Engrampa Archive Manager
-_GenericName=Archive Manager
-_Comment=Create and modify an archive
+Name=Engrampa Archive Manager
+GenericName=Archive Manager
+Comment=Create and modify an archive
TryExec=engrampa
Exec=engrampa %U
StartupNotify=true
Terminal=false
Type=Application
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=engrampa
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Categories=GTK;Utility;Archiving;Compression;
MimeType=application/x-7z-compressed;application/x-7z-compressed-tar;application/x-ace;application/x-alz;application/x-arj;application/x-brotli;application/x-brotli-compressed-tar;application/x-bzip;application/x-bzip-compressed-tar;application/x-bzip1;application/x-bzip1-compressed-tar;application/x-cabinet;application/x-cbr;application/x-cbz;application/x-cd-image;application/x-compress;application/x-compressed-tar;application/x-cpio;application/vnd.debian.binary-package;application/x-ear;application/x-ms-dos-executable;application/x-gtar;application/x-gzip;application/x-gzpostscript;application/x-java-archive;application/x-lha;application/x-lzh-compressed;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lzip;application/x-lzip-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lzop-compressed-tar;application/x-ms-wim;application/x-rar;application/x-rar-compressed;application/x-rpm;application/x-rzip;application/x-tar;application/x-tarz;application/x-stuffit;application/x-war;application/x-xz;application/x-xz-compressed-tar;application/x-zip;application/x-zip-compressed;application/x-zoo;application/x-zstd;application/x-zstd-compressed-tar;application/zip;application/x-archive;application/vnd.ms-cab-compressed;
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=MATE;archive;manager;compression;
X-MATE-DocPath=engrampa/engrampa.xml
X-MATE-Bugzilla-Bugzilla=MATE