1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/test/addons/test_locale/install.rdf Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,61 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1.7 + xmlns:em="http://www.mozilla.org/2004/em-rdf#"> 1.8 + 1.9 + <Description about="urn:mozilla:install-manifest"> 1.10 + <em:id>addon1@tests.mozilla.org</em:id> 1.11 + <em:version>1.0</em:version> 1.12 + 1.13 + <em:targetApplication> 1.14 + <Description> 1.15 + <em:id>xpcshell@tests.mozilla.org</em:id> 1.16 + <em:minVersion>1</em:minVersion> 1.17 + <em:maxVersion>1</em:maxVersion> 1.18 + </Description> 1.19 + </em:targetApplication> 1.20 + 1.21 + <em:localized> 1.22 + <Description em:locale="fr-FR"> 1.23 + <em:locale/> <!-- Should be ignored and not fail --> 1.24 + <em:name>fr-FR Name</em:name> 1.25 + <em:description>fr-FR Description</em:description> 1.26 + <em:contributor>Fr Contributor 1</em:contributor> 1.27 + <em:contributor>Fr Contributor 2</em:contributor> 1.28 + <em:contributor>Fr Contributor 3</em:contributor> 1.29 + </Description> 1.30 + </em:localized> 1.31 + 1.32 + <em:localized> 1.33 + <Description em:locale="de-DE"> 1.34 + <em:name>de-DE Name</em:name> 1.35 + </Description> 1.36 + </em:localized> 1.37 + 1.38 + <em:localized> 1.39 + <Description em:locale="es-ES"> 1.40 + <em:name>es-ES Name</em:name> 1.41 + <em:description>es-ES Description</em:description> 1.42 + </Description> 1.43 + </em:localized> 1.44 + 1.45 + <!-- Subsequent definitions for the same locale should be ignored --> 1.46 + <em:localized> 1.47 + <Description em:locale="fr-FR"> 1.48 + <em:name>Repeated locale</em:name> 1.49 + </Description> 1.50 + </em:localized> 1.51 + 1.52 + <!-- Properties with no listed locale should be ignored --> 1.53 + <em:localized> 1.54 + <Description> 1.55 + <em:name>Missing locale</em:name> 1.56 + </Description> 1.57 + </em:localized> 1.58 + 1.59 + <!-- Front End MetaData --> 1.60 + <em:name>Fallback Name</em:name> 1.61 + <em:description>Fallback Description</em:description> 1.62 + 1.63 + </Description> 1.64 +</RDF>