[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/kconfig_compiler
From:       Allen Winter <winter () kde ! org>
Date:       2009-03-19 13:07:39
Message-ID: 1237468059.978713.673.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 941307 by winterz:

Permit the context attribute.  Patch by tokoe.
CCMAIL: hein@kde.org,tokoe@kde.org


 M  +13 -6     kcfg.xsd  


--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kcfg.xsd #941306:941307
@@ -79,18 +79,18 @@
                                 <xsd:complexType>
                                     <xsd:choice maxOccurs="unbounded">
                                         <xsd:element name="parameter" minOccurs="0" \
                type="kcfg:parameter"/>
-                                        <xsd:element name="label" minOccurs="0" \
                type="xsd:string"/>
-                                        <xsd:element name="whatsthis" minOccurs="0" \
                type="xsd:string"/>
-                                        <xsd:element name="tooltip" minOccurs="0" \
type="xsd:string"/> +                                        <xsd:element \
name="label" minOccurs="0" type="kcfg:translatableString"/> +                         \
<xsd:element name="whatsthis" minOccurs="0" type="kcfg:translatableString"/> +        \
                <xsd:element name="tooltip" minOccurs="0" \
                type="kcfg:translatableString"/>
                                         <xsd:element name="choices" minOccurs="0">
                                             <xsd:complexType>
                                                 <xsd:sequence>
                                                     <xsd:element name="choice" \
maxOccurs="unbounded">  <xsd:complexType>
                                                             <xsd:all>
-                                                                <xsd:element \
                minOccurs="0" name="label" type="xsd:string"/>
-                                                                <xsd:element \
                minOccurs="0" name="whatsthis" type="xsd:string"/>
-                                                                <xsd:element \
minOccurs="0" name="tooltip" type="xsd:string"/> +                                    \
<xsd:element minOccurs="0" name="label" type="kcfg:translatableString"/> +            \
<xsd:element minOccurs="0" name="whatsthis" type="kcfg:translatableString"/> +        \
<xsd:element minOccurs="0" name="tooltip" type="kcfg:translatableString"/>  \
                </xsd:all>
                                                             <xsd:attribute \
                name="name" use="required" type="xsd:string"/>
                                                         </xsd:complexType>
@@ -223,5 +223,12 @@
         <xsd:attribute name="name" use="required" type="xsd:string" />
     </xsd:complexType>
 
+    <xsd:complexType name="translatableString">
+        <xsd:simpleContent>
+            <xsd:extension base="xsd:string">
+                <xsd:attribute use="optional" name="context" type="xsd:string"/>
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
 </xsd:schema>
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic