CMakeLists.txt 1.2 KB

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