summaryrefslogtreecommitdiff
path: root/properties
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-04 17:37:08 +0800
committerZenWalker <[email protected]>2019-11-11 01:18:10 +0100
commitd19b62785293db5999bb14b6ebb611aa76a7253a (patch)
tree07995725258e0f67bd91c0692110e335bbd6c82f /properties
parent73c0bb35bfc355eaa2842652f6a85a58592fb1c2 (diff)
downloadatril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.bz2
atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'properties')
-rw-r--r--properties/Makefile.am7
-rw-r--r--properties/libatril-properties-page.caja-extension.desktop.in.in (renamed from properties/libatril-properties-page.caja-extension.in.in)4
2 files changed, 6 insertions, 5 deletions
diff --git a/properties/Makefile.am b/properties/Makefile.am
index b0b46659..a3cb40fb 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -31,9 +31,10 @@ libatril_properties_page_la_LIBADD = \
libatril_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libatril-properties-page.caja-extension.in
-extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
-%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [email protected]
+extension_in_files = libatril-properties-page.caja-extension.desktop.in
+extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension)
+$(extension_DATA): $(extension_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Description --template $< -d $(top_srcdir)/po -o [email protected]
EXTRA_DIST = $(extension_in_files)
diff --git a/properties/libatril-properties-page.caja-extension.in.in b/properties/libatril-properties-page.caja-extension.desktop.in.in
index 059da2d4..6a45fa97 100644
--- a/properties/libatril-properties-page.caja-extension.in.in
+++ b/properties/libatril-properties-page.caja-extension.desktop.in.in
@@ -1,7 +1,7 @@
[Caja Extension]
Icon=atril
-_Name=Atril properties
-_Description=Shows details for Atril documents
+Name=Atril properties
+Description=Shows details for Atril documents
Author=Andrew Sobala <[email protected]>;Bastien Nocera <[email protected]>
Website=https://mate-desktop.org/