[PATCH 0/2] po: handle translatin of polkit policy file strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There was a proposal

  https://gitlab.com/libvirt/libvirt/-/merge_requests/387

to add translations for the polkit files. In reviewing this we came
to the conclusion the approach was undesirable. After getting misled
by a Debian/Ubuntu specific downstream only patch to polkit which
auto-translated polkit files at runtime, this implements the manual
approach of merging translations into the polkit files at build time.

Daniel P. Berrangé (2):
  po: add its rules for translating polkit file strings
  remote: apply translations to polkit files

 meson.build                                    |  5 +++++
 po/POTFILES                                    |  2 ++
 po/its/polkit.its                              |  8 ++++++++
 po/its/polkit.loc                              |  6 ++++++
 po/meson.build                                 |  3 +--
 src/access/meson.build                         | 18 ++++++++++++++----
 .../{libvirtd.policy => libvirtd.policy.in}    |  0
 src/remote/meson.build                         | 13 ++++++++-----
 8 files changed, 44 insertions(+), 11 deletions(-)
 create mode 100644 po/its/polkit.its
 create mode 100644 po/its/polkit.loc
 rename src/remote/{libvirtd.policy => libvirtd.policy.in} (100%)

-- 
2.46.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux