]> git.saurik.com Git - apt.git/blobdiff - po/CMakeLists.txt
do not configure unconfigured to be removed packages
[apt.git] / po / CMakeLists.txt
index 92ff39867ae0bb39c18717004fff1555501d18a1..258c9b0504e326b2e4733f17f4f407d6d06fdbd7 100644 (file)
@@ -1,6 +1,13 @@
+include(Translations)
+
+set(languages_excluded
+    he  ## disabled by translator request #313283
+)
+
 apt_add_translation_domain(
     DOMAIN libapt-pkg${APT_PKG_MAJOR}
     TARGETS apt-pkg
 apt_add_translation_domain(
     DOMAIN libapt-pkg${APT_PKG_MAJOR}
     TARGETS apt-pkg
+    EXCLUDE_LANGUAGES ${languages_excluded}
 )
 
 apt_add_translation_domain(
 )
 
 apt_add_translation_domain(
@@ -10,6 +17,7 @@ apt_add_translation_domain(
             # Methods
             file copy store gpgv cdrom http https ftp rred rsh mirror
     SCRIPTS ../dselect/install ../dselect/update
             # 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(
 )
 
 apt_add_translation_domain(
@@ -20,11 +28,13 @@ apt_add_translation_domain(
             apt-dump-solver
             apt-internal-planner
             apt-ftparchive
             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
 )
 
 apt_add_translation_domain(
     DOMAIN libapt-inst${APT_INST_MAJOR}
     TARGETS apt-inst
+    EXCLUDE_LANGUAGES ${languages_excluded}
 )
 
 apt_add_update_po(
 )
 
 apt_add_update_po(
@@ -35,6 +45,8 @@ apt_add_update_po(
         libapt-inst${APT_INST_MAJOR}
         apt
         apt-utils
         libapt-inst${APT_INST_MAJOR}
         apt
         apt-utils
+    EXCLUDE_LANGUAGES
+        ${languages_excluded}
 )
 
 )
 
-apt_add_po_statistics()
+apt_add_po_statistics("${languages_excluded}")