summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-31 22:51:13 +0100
committerraveit65 <[email protected]>2021-03-05 20:18:27 +0100
commit768071911a44b7460105a27192ebcc92a9af8dda (patch)
tree6d506362201c6e47da3a7d67d61349a0214d3dba
parenta876b88b5b5e16031ea86b49d63b955271a671cb (diff)
downloadmate-utils-768071911a44b7460105a27192ebcc92a9af8dda.tar.bz2
mate-utils-768071911a44b7460105a27192ebcc92a9af8dda.tar.xz
i18n: Do not collect the translation for Icon
-rw-r--r--baobab/data/Makefile.am2
-rw-r--r--gsearchtool/data/Makefile.am2
-rw-r--r--logview/data/Makefile.am2
-rw-r--r--mate-dictionary/data/Makefile.am11
-rw-r--r--mate-disk-image-mounter/data/Makefile.am2
-rw-r--r--mate-screenshot/data/Makefile.am2
-rw-r--r--po/Makevars2
7 files changed, 15 insertions, 8 deletions
diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am
index 9794bdcc..d621df4e 100644
--- a/baobab/data/Makefile.am
+++ b/baobab/data/Makefile.am
@@ -22,7 +22,7 @@ $(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in)
$(baobabapp_DATA): $(baobabapp_in_files)
if USE_NLS
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o [email protected]
else
$(AM_V_GEN) cp $< [email protected]
endif
diff --git a/gsearchtool/data/Makefile.am b/gsearchtool/data/Makefile.am
index 4651ba1b..d82251e4 100644
--- a/gsearchtool/data/Makefile.am
+++ b/gsearchtool/data/Makefile.am
@@ -40,7 +40,7 @@ Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
$(Utilities_DATA): $(Utilities_in_files)
if USE_NLS
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o [email protected]
else
$(AM_V_GEN) cp $< [email protected]
endif
diff --git a/logview/data/Makefile.am b/logview/data/Makefile.am
index 45f47bb7..eeaf20fb 100644
--- a/logview/data/Makefile.am
+++ b/logview/data/Makefile.am
@@ -24,7 +24,7 @@ $(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in)
$(desktop_DATA): $(desktop_in_files)
if USE_NLS
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o [email protected]
else
$(AM_V_GEN) cp $< [email protected]
endif
diff --git a/mate-dictionary/data/Makefile.am b/mate-dictionary/data/Makefile.am
index f47069ba..81cfcd35 100644
--- a/mate-dictionary/data/Makefile.am
+++ b/mate-dictionary/data/Makefile.am
@@ -24,6 +24,13 @@ gdictapp_DATA = $(gdictapp_in_files:.desktop.in=.desktop)
$(gdictapp_in_files): $(gdictapp_in_files:.desktop.in=.desktop.in.in)
$(AM_V_GEN)sed -e "s|\@VERSION\@|@[email protected]|" $< > [email protected]
+$(gdictapp_DATA): $(gdictapp_in_files)
+if USE_NLS
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o [email protected]
+else
+ $(AM_V_GEN) cp $< [email protected]
+endif
+
# dictionary sources definitions
dictsourcedir = $(datadir)/mate-dict/sources
dictsource_in_files = \
@@ -32,9 +39,9 @@ dictsource_in_files = \
$(NULL)
dictsource_DATA = $(dictsource_in_files:.desktop.in=.desktop)
-%.desktop: %.desktop.in
+$(dictsource_DATA): $(dictsource_in_files)
if USE_NLS
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o [email protected]
else
$(AM_V_GEN) cp $< [email protected]
endif
diff --git a/mate-disk-image-mounter/data/Makefile.am b/mate-disk-image-mounter/data/Makefile.am
index e4db019b..9daf5ec4 100644
--- a/mate-disk-image-mounter/data/Makefile.am
+++ b/mate-disk-image-mounter/data/Makefile.am
@@ -21,7 +21,7 @@ diskimagemounter_DATA = $(diskimagemounter_in_files:.desktop.in=.desktop)
$(diskimagemounter_DATA): $(diskimagemounter_in_files)
if USE_NLS
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o [email protected]
else
$(AM_V_GEN) cp $< [email protected]
endif
diff --git a/mate-screenshot/data/Makefile.am b/mate-screenshot/data/Makefile.am
index d38a91fd..4f54db85 100644
--- a/mate-screenshot/data/Makefile.am
+++ b/mate-screenshot/data/Makefile.am
@@ -19,7 +19,7 @@ mate_screenshot_DATA = $(mate_screenshot_in_files:.desktop.in=.desktop)
$(mate_screenshot_DATA): $(mate_screenshot_in_files)
if USE_NLS
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o [email protected]
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o [email protected]
else
$(AM_V_GEN) cp $< [email protected]
endif
diff --git a/po/Makevars b/po/Makevars
index 31f6faf1..c03ef084 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=Translators:
+XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --keyword=Description --add-comments=Translators:
# 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