X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/427fc68b2bfcf8fbc37c0443581db6e000cadfee..bb9c5972524ac5c078fa0f0bc5674c7a0fe01fb4:/po/CMakeLists.txt diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index dc3622156..258c9b050 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,22 +1,52 @@ -apt_add_translation_domain(libapt-pkg${APT_PKG_MAJOR} apt-pkg) +include(Translations) -apt_add_translation_domain(apt # Domain - apt apt-cache apt-get apt-config apt-cdrom - apt-helper apt-mark - apt-private - # Methods - file copy store gpgv cdrom http https ftp rred rsh - mirror +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( + DOMAIN apt + TARGETS apt apt-cache apt-get apt-config apt-cdrom apt-helper apt-mark + apt-private + # 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( + DOMAIN apt-utils + TARGETS apt-sortpkgs + apt-extracttemplates + apt-internal-solver + 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_translation_domain(apt-utils # Domain - apt-sortpkgs - apt-extracttemplates - apt-internal-solver - apt-dump-solver - apt-internal-planner - apt-ftparchive) +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} +) -# Add the translations for libapt-inst, and set the translation domain. -apt_add_translation_domain(libapt-inst${APT_INST_MAJOR} apt-inst) +apt_add_po_statistics("${languages_excluded}")