glib/gio/tests/schema-tests/description-xmllang.gschema.xml
Matthias Clasen b2734d762f glib-compile-schema: Don't accept duplicate docs
This schema compiler was completely ignoring <summary> and
<description> tags. Unfortunately, there are modules out there
who merge translations for these back in, with xml:lang. And
this is giving dconf-editor a hard time. Since this is not
how translations of schemas are meant to be done, just
reject such schema files.

Also add tests exercising the new error handling.

https://bugzilla.gnome.org/show_bug.cgi?id=747209
2015-04-01 18:55:54 -04:00

14 lines
765 B
XML

<schemalist>
<schema path="/org/gnome/gnome-screenshot/" id="org.gnome.gnome-screenshot">
<key type="b" name="take-window-shot">
<default>false</default>
<summary>Bla</summary>
<description>Window-specific screenshot (deprecated)</description>
<description xml:lang="an">Captura especifica de finestra (obsoleto)</description>
<description xml:lang="ar">لقطة شاشة مختصّة بنافذة (مُبطل)</description>
<description xml:lang="as">উইন্ডোৰ ক্ষেত্ৰত নিৰ্দিষ্ট স্ক্ৰিনশ্বট (স্খলিত)</description>
<description xml:lang="ast">Captura específica de ventana (obsoleto)</description>
</key>
</schema>
</schemalist>