summaryrefslogtreecommitdiff
path: root/capplets/about-me
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-13 12:32:06 +0100
committerraveit65 <[email protected]>2021-02-16 14:07:47 +0100
commite50a1907e04a320bf9e054182b8dbeb4c52eb076 (patch)
treef0c11e26e732a7693149229c6d5fd7449149b35b /capplets/about-me
parent68306612ea6c7dc8635290950ce435a459dd4568 (diff)
downloadmate-control-center-e50a1907e04a320bf9e054182b8dbeb4c52eb076.tar.bz2
mate-control-center-e50a1907e04a320bf9e054182b8dbeb4c52eb076.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'capplets/about-me')
-rw-r--r--capplets/about-me/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/about-me/Makefile.am b/capplets/about-me/Makefile.am
index 0af42ff5..47391e5a 100644
--- a/capplets/about-me/Makefile.am
+++ b/capplets/about-me/Makefile.am
@@ -31,7 +31,11 @@ mate_about_me_LDFLAGS = -export-dynamic
desktopdir = $(datadir)/applications
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
$(desktop_DATA): $(Desktop_in_files)
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) sed '/^# Translators/d' < $< > $@
+endif
include $(top_srcdir)/gla11y.mk