summaryrefslogtreecommitdiffstats
path: root/third_party/rust/fluent-fallback/tests/resources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/rust/fluent-fallback/tests/resources
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/fluent-fallback/tests/resources')
-rw-r--r--third_party/rust/fluent-fallback/tests/resources/en-US/test.ftl4
-rw-r--r--third_party/rust/fluent-fallback/tests/resources/en-US/test2.ftl10
-rw-r--r--third_party/rust/fluent-fallback/tests/resources/pl/test.ftl4
-rw-r--r--third_party/rust/fluent-fallback/tests/resources/pl/test2.ftl9
4 files changed, 27 insertions, 0 deletions
diff --git a/third_party/rust/fluent-fallback/tests/resources/en-US/test.ftl b/third_party/rust/fluent-fallback/tests/resources/en-US/test.ftl
new file mode 100644
index 0000000000..c6a7390acf
--- /dev/null
+++ b/third_party/rust/fluent-fallback/tests/resources/en-US/test.ftl
@@ -0,0 +1,4 @@
+hello-world = Hello World [en]
+
+message-1 = Message 1 Value [en]
+ .attr1 = Message 1 Attribute [en]
diff --git a/third_party/rust/fluent-fallback/tests/resources/en-US/test2.ftl b/third_party/rust/fluent-fallback/tests/resources/en-US/test2.ftl
new file mode 100644
index 0000000000..faeae76cfe
--- /dev/null
+++ b/third_party/rust/fluent-fallback/tests/resources/en-US/test2.ftl
@@ -0,0 +1,10 @@
+hello-world-2 = Hello World 2 [en]
+hello-world-3 = Hello World 3 [en]
+
+message-2 = Message 2 Value [en]
+ .attr1 = Message 2 Attribute [en]
+
+message-3 =
+ .attr1 = Message 3 Attribute [en]
+
+message-4 = Hello, { $userName }. [en]
diff --git a/third_party/rust/fluent-fallback/tests/resources/pl/test.ftl b/third_party/rust/fluent-fallback/tests/resources/pl/test.ftl
new file mode 100644
index 0000000000..6e2f8835f1
--- /dev/null
+++ b/third_party/rust/fluent-fallback/tests/resources/pl/test.ftl
@@ -0,0 +1,4 @@
+hello-world = Hello World [pl]
+
+message-1 = Message 1 Value [pl]
+ .attr1 = Message 1 Attribute [pl]
diff --git a/third_party/rust/fluent-fallback/tests/resources/pl/test2.ftl b/third_party/rust/fluent-fallback/tests/resources/pl/test2.ftl
new file mode 100644
index 0000000000..35d646a520
--- /dev/null
+++ b/third_party/rust/fluent-fallback/tests/resources/pl/test2.ftl
@@ -0,0 +1,9 @@
+hello-world-2 = Hello World 2 [pl]
+
+message-2 = Message 2 Value [pl]
+ .attr1 = Message 2 Attribute [pl]
+
+message-3 =
+ .attr1 = Message 3 Attribute [pl]
+
+message-4 = Hello, { $userName }. [pl]