X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6ff8727a0641b299ac32bc897d3ac1246b02061e..5832913a49d4f7c75527264a935cc0ce00627f1d:/po/CMakeLists.txt?ds=sidebyside diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index c7dfcb0fb..258c9b050 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -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 + EXCLUDE_LANGUAGES ${languages_excluded} ) 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 + EXCLUDE_LANGUAGES ${languages_excluded} ) apt_add_translation_domain( @@ -20,9 +28,25 @@ 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( + TEMPLATE + apt-all + DOMAINS + libapt-pkg${APT_PKG_MAJOR} + libapt-inst${APT_INST_MAJOR} + apt + apt-utils + EXCLUDE_LANGUAGES + ${languages_excluded} +) + +apt_add_po_statistics("${languages_excluded}")