1
0
Fork 0
apt/po/CMakeLists.txt
Daniel Baumann 6810ba718b
Adding upstream version 3.0.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-20 21:10:43 +02:00

49 lines
1.1 KiB
CMake

include(Translations)
set(languages_excluded
he ## disabled by translator request #313283
)
if (TARGET apt-pkg)
apt_add_translation_domain(
DOMAIN libapt-pkg${APT_PKG_MAJOR}
TARGETS apt-pkg
EXCLUDE_LANGUAGES ${languages_excluded}
)
endif()
if (TARGET apt-private)
apt_add_translation_domain(
DOMAIN apt
TARGETS apt apt-cache apt-get apt-config apt-cdrom apt-helper apt-mark
apt-private
# Methods
connectlib file copy store gpgv cdrom http rred mirror
SCRIPTS ../dselect/install ../dselect/update
EXCLUDE_LANGUAGES ${languages_excluded}
)
endif()
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_update_po(
TEMPLATE
apt-all
DOMAINS
libapt-pkg${APT_PKG_MAJOR}
apt
apt-utils
EXCLUDE_LANGUAGES
${languages_excluded}
)
apt_add_po_statistics("${languages_excluded}")