summaryrefslogtreecommitdiffstats
path: root/l10n-en-GB/toolkit/toolkit/global/cspErrors.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'l10n-en-GB/toolkit/toolkit/global/cspErrors.ftl')
-rw-r--r--l10n-en-GB/toolkit/toolkit/global/cspErrors.ftl32
1 files changed, 32 insertions, 0 deletions
diff --git a/l10n-en-GB/toolkit/toolkit/global/cspErrors.ftl b/l10n-en-GB/toolkit/toolkit/global/cspErrors.ftl
new file mode 100644
index 0000000000..7980bd7e8e
--- /dev/null
+++ b/l10n-en-GB/toolkit/toolkit/global/cspErrors.ftl
@@ -0,0 +1,32 @@
+# 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 = Policy is missing a required ‘{ $directive }’ directive
+
+# 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 }’ directive contains a forbidden { $keyword } keyword
+
+# 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 }’ directive contains a forbidden { $scheme }: protocol source
+
+# 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 }: protocol requires a host in ‘{ $directive }’ directives
+
+# 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 }’ must include the source { $source }
+
+# 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 }: wildcard sources in ‘{ $directive }’ directives must include at least one non-generic sub-domain (e.g., *.example.com rather than *.com)