Skip to content
Permalink
Browse files

Use make functions for HELP_LINGUAS

  • Loading branch information...
rbuj authored and raveit65 committed Oct 4, 2018
1 parent 867b495 commit 3caf2ace26ef70765e29738f3b8b4a98eb8220df
@@ -14,6 +14,10 @@ HELP_MEDIA = figures/accessx_bounce-keys.png \
figures/accessx_sticky-shift-key.png \
figures/accessx_sticky-windows-key.png

HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr gl it ko nl oc sv uk zh_CN
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -9,6 +9,10 @@ HELP_MEDIA = figures/battstat-applet-expanded.png \
figures/battstat-preferences.png \
figures/context-menu.png

HELP_LINGUAS = ca cs bg da de el en_GB es eu fi fr ko oc pa pt_BR sv uk zh_CN
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -7,6 +7,10 @@ HELP_MEDIA = figures/charpalette_applet.png \
figures/charpick_characters.png \
figures/charpick-preferences.png

HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr it ko nl oc pt_BR ru sv uk zh_CN
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -13,6 +13,10 @@ HELP_MEDIA = figures/cpufreq-100.png \
figures/cpufreq-applet-selector-both.png \
figures/cpufreq-applet-selector.png

HELP_LINGUAS = ca cs de el en_GB es eu fi fr hu nl oc pt_BR ru sv uk zh_CN zh_HK zh_TW
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -9,6 +9,10 @@ HELP_MEDIA = figures/drivemount-applet_eject.png \
figures/drivemount-applet_open.png \
figures/drivemount-applet_status.png

HELP_LINGUAS = ca cs da de el en_GB es eu fi fr it ko oc pa ru sv uk zh_CN
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -5,6 +5,10 @@ HELP_FILES = index.docbook legal.xml

HELP_MEDIA = figures/geyes_applet.png

HELP_LINGUAS = ast bg ca cs da de el en_GB es eu fi fr it ko oc ru sv uk zh_CN zh_HK zh_TW
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -18,6 +18,10 @@ HELP_MEDIA = figures/mateweather_applet.png \
figures/stock_weather-storm.png \
figures/stock_weather-sunny.png

HELP_LINGUAS = ar ca cs de el en_GB es eu fi fr ko nl oc pa pt_BR ru sv uk zh_CN
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -6,6 +6,10 @@ HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/multiload-preferences.png \
figures/system-monitor-applet_window.png

HELP_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa pt_BR ru sv uk zh_CN
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -14,6 +14,10 @@ HELP_MEDIA = \
figures/settings.png \
figures/wavelan.png

HELP_LINGUAS = de el fr pt_BR sv
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -9,6 +9,10 @@ HELP_MEDIA = figures/stickynote-right-menu-lock.png \
figures/stickynotes-note-prefs.png \
figures/stickynotes-prefs.png

HELP_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa pt_BR ru sv uk zh_CN zh_HK zh_TW
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk
@@ -5,6 +5,10 @@ HELP_FILES = index.docbook legal.xml

HELP_MEDIA = figures/trash-applet.png

HELP_LINGUAS = ca cs da de el en_GB es eu fi fr hu it nl oc pa pt_BR ru sv uk zh_CN zh_HK zh_TW
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
IGNORE_HELP_LINGUAS =
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
$(subst /,,$(dir $(wildcard */*.po))) )

-include $(top_srcdir)/git.mk

0 comments on commit 3caf2ac

Please sign in to comment.
You can’t perform that action at this time.