Inherit gettext-domain from <schemalist>

When the <schema> doesn't have a 'gettext-domain' attribute, but
the <schemalist> does, use that one.

Bug #635640.
This commit is contained in:
Christian Persch
2010-11-26 21:05:20 +01:00
parent 69129e8065
commit 57143e311d
4 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="foo">
<schema id="bar">
<key name="baz" type="s">
<default l10n="messages" context="foobar">'value'</default>
</key>
</schema>
</schemalist>