summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-22 11:16:12 +0800
committerraveit65 <[email protected]>2019-07-26 17:12:42 +0200
commitf98211ecc4c54c4428286473b6cbd8960578dabc (patch)
treeae08f1e727ee0e5e06f2cc8b2a74d61171726054
parent0f456d229c6128d7d3dd3f9459360feb1fe1b301 (diff)
downloadmate-user-share-f98211ecc4c54c4428286473b6cbd8960578dabc.tar.bz2
mate-user-share-f98211ecc4c54c4428286473b6cbd8960578dabc.tar.xz
Let Description in .caja-extension be translatable
-rw-r--r--data/Makefile.am2
-rw-r--r--po/Makevars2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index eda2d4f..61d85c5 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,7 +21,7 @@ extensiondir = $(datadir)/caja/extensions
extension_in_files = libcaja-user-share.caja-extension.in
extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
%.caja-extension: %.caja-extension.in
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o [email protected]
EXTRA_DIST = $(gsettings_SCHEMAS) \
$(app_DATA) \
diff --git a/po/Makevars b/po/Makevars
index 5c3836c..512e929 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
top_builddir = ..
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments
+XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments --keyword=Description
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding