]> git.saurik.com Git - apt.git/blob - po/CMakeLists.txt
CMake: Translations: Allow excluding languages from translation
[apt.git] / po / CMakeLists.txt
1 set(languages_excluded
2 he ## disabled by translator request #313283
3 )
4
5 apt_add_translation_domain(
6 DOMAIN libapt-pkg${APT_PKG_MAJOR}
7 TARGETS apt-pkg
8 EXCLUDE_LANGUAGES ${languages_excluded}
9 )
10
11 apt_add_translation_domain(
12 DOMAIN apt
13 TARGETS apt apt-cache apt-get apt-config apt-cdrom apt-helper apt-mark
14 apt-private
15 # Methods
16 file copy store gpgv cdrom http https ftp rred rsh mirror
17 SCRIPTS ../dselect/install ../dselect/update
18 EXCLUDE_LANGUAGES ${languages_excluded}
19 )
20
21 apt_add_translation_domain(
22 DOMAIN apt-utils
23 TARGETS apt-sortpkgs
24 apt-extracttemplates
25 apt-internal-solver
26 apt-dump-solver
27 apt-internal-planner
28 apt-ftparchive
29 EXCLUDE_LANGUAGES ${languages_excluded}
30 )
31
32 apt_add_translation_domain(
33 DOMAIN libapt-inst${APT_INST_MAJOR}
34 TARGETS apt-inst
35 EXCLUDE_LANGUAGES ${languages_excluded}
36 )
37
38 apt_add_update_po(
39 TEMPLATE
40 apt-all
41 DOMAINS
42 libapt-pkg${APT_PKG_MAJOR}
43 libapt-inst${APT_INST_MAJOR}
44 apt
45 apt-utils
46 EXCLUDE_LANGUAGES
47 ${languages_excluded}
48 )
49
50 apt_add_po_statistics("${languages_excluded}")