summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/addons/test_locale/install.rdf
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-11 07:03:16 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-11 07:03:16 -0500
commit203eb0f61a09372310a2a8fb57e169cb3f47800b (patch)
tree8490329d3dae4de3c7ffd127bce1f65fdc009abd /toolkit/mozapps/extensions/test/addons/test_locale/install.rdf
parente45706ca3acbb6530419433212becc61d5953a2d (diff)
parent8f6d3dab81c7f8f97ef197e26ab9439b09735b8f (diff)
downloadUXP-ed96a7148c31f5448b81800287c09ce7169223cc.tar
UXP-ed96a7148c31f5448b81800287c09ce7169223cc.tar.gz
UXP-ed96a7148c31f5448b81800287c09ce7169223cc.tar.lz
UXP-ed96a7148c31f5448b81800287c09ce7169223cc.tar.xz
UXP-ed96a7148c31f5448b81800287c09ce7169223cc.zip
Merge branch 'ext-work'FF_Checkpoint_1
Diffstat (limited to 'toolkit/mozapps/extensions/test/addons/test_locale/install.rdf')
-rw-r--r--toolkit/mozapps/extensions/test/addons/test_locale/install.rdf61
1 files changed, 61 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/test/addons/test_locale/install.rdf b/toolkit/mozapps/extensions/test/addons/test_locale/install.rdf
new file mode 100644
index 000000000..d8d027b93
--- /dev/null
+++ b/toolkit/mozapps/extensions/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>