CMakeLists.txt 1.2 KB

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