Bug 1733490 - Convert CSP errors from extensions.properties to Fluent, part 1.
authorson team [Pootle] <https://wiki.mozilla.org/L10n:Teams:son>
Tue, 21 Dec 2021 10:22:52 +0100
changeset 881 575d725520b04658aa09949db8cbf85197712935
parent 880 36cb22b07fc304713f67f1de668aced9f6f3b540
child 882 fea2c9877651c344352cc5b45b106f77d9a653ca
push id301
push userflodolo@mozilla.com
push dateTue, 21 Dec 2021 09:22:58 +0000
bugs1733490
Bug 1733490 - Convert CSP errors from extensions.properties to Fluent, part 1.
toolkit/toolkit/global/cspErrors.ftl
new file mode 100644
--- /dev/null
+++ b/toolkit/toolkit/global/cspErrors.ftl
@@ -0,0 +1,27 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Variables:
+#   $directive (String): the name of a CSP directive, such as "script-src".
+csp-error-missing-directive = ‘{ $directive }’ fondo waažibante ga kuma alhukumoo ra
+# Variables:
+#   $directive (String): the name of a CSP directive, such as "script-src".
+#   $keyword (String): the name of a CSP keyword, usually 'unsafe-inline'.
+csp-error-illegal-keyword = ‘{ $directive }’ fondaa goo nda { $keyword } kufalšenni kaŋ ši koy
+# Variables:
+#   $directive (String): the name of a CSP directive, such as "script-src".
+#   $scheme (String): a protocol name, such as "http", which appears as "http:", as it would in a URL.
+csp-error-illegal-protocol = ‘{ $directive }’ fondaa goo nda { $scheme } kaŋ ši koy: sanbari fondo aššil
+# Variables:
+#   $directive (String): the name of a CSP directive, such as "script-src".
+#   $scheme (String): a protocol name, such as "http", which appears as "http:", as it would in a URL.
+csp-error-missing-host = { $scheme }: sanbari fondo ga zunbudoo waazibandi ‘{ $directive }’ fondawey ra
+# Variables:
+#   $directive (String): the name of a CSP directive, such as "script-src".
+#   $source (String): the name of a CSP source, usually 'self'.
+csp-error-missing-source = ‘{ $directive }’ ga hima ka bara nda { $source } aššiloo
+# Variables:
+#   $directive (String): the name of a CSP directive, such as "script-src".
+#   $scheme (String): a protocol name, such as "http", which appears as "http:", as it would in a URL.
+csp-error-illegal-host-wildcard = { $scheme }: bida katta ašsiley ‘{ $directive }’ fondawey ra ga hima ka bara nda ganda-ize foo nd'a jaase (sanda *.example.com manti *.com)