mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-19 19:15:16 +00:00
b996e99c51
xgettext / msgfmt have generic support for extracting / merging strings in XML files, however, they need to be told something about the schema to know which fields are translatable. This is done by providing 'its' rules. Usually the 'its' rules would be shipped in a -devel package of the app which owns the schema definition, but polkit does not do this. Thus libvirt (and other apps) must ship their own local 'its' rules for polkit. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
9 lines
309 B
XML
9 lines
309 B
XML
<?xml version="1.0"?>
|
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
|
|
version="2.0">
|
|
<its:translateRule selector="//*" translate="no"/>
|
|
<its:translateRule selector="//action/description |
|
|
//action/message"
|
|
translate="yes"/>
|
|
</its:rules>
|