From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- tools/lint/test/files/fluent-lint/brand-names.ftl | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tools/lint/test/files/fluent-lint/brand-names.ftl (limited to 'tools/lint/test/files/fluent-lint/brand-names.ftl') diff --git a/tools/lint/test/files/fluent-lint/brand-names.ftl b/tools/lint/test/files/fluent-lint/brand-names.ftl new file mode 100644 index 0000000000..c338d920ca --- /dev/null +++ b/tools/lint/test/files/fluent-lint/brand-names.ftl @@ -0,0 +1,30 @@ +bad-firefox1 = Welcome to Firefox + +# Comment should be ignored when displaying the offset of the error +bad-firefox2 = Welcome to Firefox again +bad-firefox2b = Welcome to Firefox again +bad-firefox3 = Firefox +bad-firefox-excluded = Firefox + +bad-mozilla1 = Welcome to Mozilla +bad-mozilla2 = Welcome to Mozilla again +bad-mozilla2b = Welcome to Mozilla again +bad-mozilla3 = Mozilla + +bad-thunderbird1 = Welcome to Thunderbird +bad-thunderbird2 = Welcome to Thunderbird again +bad-thunderbird3 = Thunderbird + +good-firefox1 = Welcome to { -brand-firefox } +good-firefox2 = Welcome to { firefox-message } + +good-mozilla1 = Welcome to { -brand-mozilla } +good-mozilla2 = Welcome to { mozilla-message } + +good-thunderbird1 = Welcome to { -brand-thunderbird } +good-thunderbird2 = Welcome to { thunderbird-message } + +# There are no brand checks on terms +-brand-firefox = Firefox + +bland-message = No brands here. -- cgit v1.2.3