summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-20 06:07:31 +0200
committerraveit65 <[email protected]>2022-07-20 21:40:42 +0200
commitaff4cc8a480fd87c64dd45c71ab69dc54f5ecefe (patch)
tree2a40ace8a23c304165de57993f828cdca4b6891d
parent77ec7155fb110d4f35974591bb0178c5f2723610 (diff)
downloadcaja-aff4cc8a480fd87c64dd45c71ab69dc54f5ecefe.tar.bz2
caja-aff4cc8a480fd87c64dd45c71ab69dc54f5ecefe.tar.xz
Don't export translation for Icon keyword in desktop files
Example for Catalan (ca): $ make clean $ tx pull -l=ca -f $ ./autogen.sh --prefix=/usr $ make -C data caja.desktop $ diff ../caja-master/data/caja.desktop data/caja.desktop ... < Icon[ca]=system-file-manager ...
-rw-r--r--data/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 314241a9..80cdba57 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -19,7 +19,9 @@ desktop_DATA = \
desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
desktop_in_in_files = $(desktop_DATA:.desktop=.desktop.in.in)
%.desktop.in: %.desktop.in.in
- $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+ $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop \
+ --keyword --keyword=Name --keyword=GenericName --keyword=Comment --keyword=Keywords \
+ --template $< -d $(top_srcdir)/po -o $@
%.desktop: %.desktop.in
$(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@