summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-09 18:14:41 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-10 16:11:21 +0200
commit32a32d7501ace2859ba097ef8fb7ef665ca2f0ed (patch)
tree317dbb52e0a30d1ed2eafd9ee6ad3566f5b32199 /po
parente164341c20625f62a44be16e6f3fbab66334f130 (diff)
CMake: Translations: Allow excluding languages from translation
This seems to be needed for the hebrew translations. Gbp-Dch: ignore
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 92ff39867..174cc5d41 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1,6 +1,11 @@
+set(languages_excluded
+ he ## disabled by translator request #313283
+)
+
apt_add_translation_domain(
DOMAIN libapt-pkg${APT_PKG_MAJOR}
TARGETS apt-pkg
+ EXCLUDE_LANGUAGES ${languages_excluded}
)
apt_add_translation_domain(
@@ -10,6 +15,7 @@ apt_add_translation_domain(
# Methods
file copy store gpgv cdrom http https ftp rred rsh mirror
SCRIPTS ../dselect/install ../dselect/update
+ EXCLUDE_LANGUAGES ${languages_excluded}
)
apt_add_translation_domain(
@@ -20,11 +26,13 @@ apt_add_translation_domain(
apt-dump-solver
apt-internal-planner
apt-ftparchive
+ EXCLUDE_LANGUAGES ${languages_excluded}
)
apt_add_translation_domain(
DOMAIN libapt-inst${APT_INST_MAJOR}
TARGETS apt-inst
+ EXCLUDE_LANGUAGES ${languages_excluded}
)
apt_add_update_po(
@@ -35,6 +43,8 @@ apt_add_update_po(
libapt-inst${APT_INST_MAJOR}
apt
apt-utils
+ EXCLUDE_LANGUAGES
+ ${languages_excluded}
)
-apt_add_po_statistics()
+apt_add_po_statistics("${languages_excluded}")