Mercurial > repos > IBBoard
comparison schemas/translation.xsd @ 79:a70d89de1435
Re #32: Add staged loading of translations
* Add "extends" attribute to schema so that translation files can define what they extend
* Add "get parent language" method to extractor
* Move loader to using XML translation sets
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 09 Apr 2010 19:48:51 +0000 |
parents | 70d6c2a5d99e |
children | 13f0ffb012cb |
comparison
equal
deleted
inserted
replaced
78:da339d10c5fe | 79:a70d89de1435 |
---|---|
11 <xs:complexType> | 11 <xs:complexType> |
12 <xs:sequence> | 12 <xs:sequence> |
13 <xs:element name="translation" minOccurs="0" maxOccurs="unbounded" type="translationtype"/> | 13 <xs:element name="translation" minOccurs="0" maxOccurs="unbounded" type="translationtype"/> |
14 </xs:sequence> | 14 </xs:sequence> |
15 <xs:attribute name="lang" type="xs:string" use="required"/> | 15 <xs:attribute name="lang" type="xs:string" use="required"/> |
16 <xs:attribute name="extends" type="xs:string" default=""/> | |
16 </xs:complexType> | 17 </xs:complexType> |
17 </xs:element> | 18 </xs:element> |
18 </xs:schema> | 19 </xs:schema> |