Bug 96940 - add gettext support for policy files
Summary: add gettext support for policy files
Status: RESOLVED FIXED
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)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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:


Attachments
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]
patch

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 

https://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html#Preparing-ITS-Rules

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.