Bug 96940 - add gettext support for policy files
Summary: add gettext support for policy files
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
Depends on:
Reported: 2016-07-15 15:15 UTC by Matthias Clasen
Modified: 2016-07-18 12:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

patch (1.77 KB, patch)
2016-07-15 15:15 UTC, Matthias Clasen
Details | Splinter Review

Description Matthias Clasen 2016-07-15 15:15:02 UTC
Created attachment 125088 [details] [review]

see patch
Comment 1 Matthias Clasen 2016-07-15 15:28:22 UTC
I should have put a bit more of an explanation here, I guess.

gettext can extract strings from xml files and merge them back these days, but it needs descriptions of the xml format in the form of .its/.loc files. See 


for some background.

The expectation is that modules install its files for their own formats (e.g. gtk installs one for the gtkbuilder .ui file format).
Comment 2 Miloslav Trmac 2016-07-15 16:00:21 UTC
Thanks for the patch!

(Pushing to master blocked on bug#96942 .)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.