diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-10 02:51:36 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-10 02:51:36 -0500 |
commit | 37d5300335d81cecbecc99812747a657588c63eb (patch) | |
tree | 765efa3b6a56bb715d9813a8697473e120436278 /toolkit/mozapps/webextensions/test/addons/test_locale | |
parent | b2bdac20c02b12f2057b9ef70b0a946113a00e00 (diff) | |
parent | 4fb11cd5966461bccc3ed1599b808237be6b0de9 (diff) | |
download | UXP-37d5300335d81cecbecc99812747a657588c63eb.tar UXP-37d5300335d81cecbecc99812747a657588c63eb.tar.gz UXP-37d5300335d81cecbecc99812747a657588c63eb.tar.lz UXP-37d5300335d81cecbecc99812747a657588c63eb.tar.xz UXP-37d5300335d81cecbecc99812747a657588c63eb.zip |
Merge branch 'ext-work'
Diffstat (limited to 'toolkit/mozapps/webextensions/test/addons/test_locale')
-rw-r--r-- | toolkit/mozapps/webextensions/test/addons/test_locale/install.rdf | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/toolkit/mozapps/webextensions/test/addons/test_locale/install.rdf b/toolkit/mozapps/webextensions/test/addons/test_locale/install.rdf new file mode 100644 index 000000000..d8d027b93 --- /dev/null +++ b/toolkit/mozapps/webextensions/test/addons/test_locale/install.rdf @@ -0,0 +1,61 @@ +<?xml version="1.0"?> + +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:em="http://www.mozilla.org/2004/em-rdf#"> + + <Description about="urn:mozilla:install-manifest"> + <em:id>addon1@tests.mozilla.org</em:id> + <em:version>1.0</em:version> + + <em:targetApplication> + <Description> + <em:id>xpcshell@tests.mozilla.org</em:id> + <em:minVersion>1</em:minVersion> + <em:maxVersion>1</em:maxVersion> + </Description> + </em:targetApplication> + + <em:localized> + <Description em:locale="fr-FR"> + <em:locale/> <!-- Should be ignored and not fail --> + <em:name>fr-FR Name</em:name> + <em:description>fr-FR Description</em:description> + <em:contributor>Fr Contributor 1</em:contributor> + <em:contributor>Fr Contributor 2</em:contributor> + <em:contributor>Fr Contributor 3</em:contributor> + </Description> + </em:localized> + + <em:localized> + <Description em:locale="de-DE"> + <em:name>de-DE Name</em:name> + </Description> + </em:localized> + + <em:localized> + <Description em:locale="es-ES"> + <em:name>es-ES Name</em:name> + <em:description>es-ES Description</em:description> + </Description> + </em:localized> + + <!-- Subsequent definitions for the same locale should be ignored --> + <em:localized> + <Description em:locale="fr-FR"> + <em:name>Repeated locale</em:name> + </Description> + </em:localized> + + <!-- Properties with no listed locale should be ignored --> + <em:localized> + <Description> + <em:name>Missing locale</em:name> + </Description> + </em:localized> + + <!-- Front End MetaData --> + <em:name>Fallback Name</em:name> + <em:description>Fallback Description</em:description> + + </Description> +</RDF> |