From f98211ecc4c54c4428286473b6cbd8960578dabc Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Mon, 22 Jul 2019 11:16:12 +0800 Subject: Let Description in .caja-extension be translatable --- data/Makefile.am | 2 +- po/Makevars | 2 +- 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 $@ + $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ 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 -- cgit v1.2.1