Bug 1267258: Add licence/localization note comments to extensions.properties. r?flod draft
authorKris Maglione <maglione.k@gmail.com>
Mon, 25 Apr 2016 15:48:02 -0700
changeset 356661 68c20014a14ccb07c0a2692050821558afd441ba
parent 356073 2e75a8ab94a9331d0f84a4a6edb13a7843e904e8
child 519451 babc399c385c0160efd73337eaf4dd94ccf61aa6
push id16567
push usermaglione.k@gmail.com
push dateTue, 26 Apr 2016 21:58:14 +0000
reviewersflod
bugs1267258
milestone48.0a1
Bug 1267258: Add licence/localization note comments to extensions.properties. r?flod MozReview-Commit-ID: FYM9ZD8XRyM
toolkit/locales/en-US/chrome/global/extensions.properties
--- a/toolkit/locales/en-US/chrome/global/extensions.properties
+++ b/toolkit/locales/en-US/chrome/global/extensions.properties
@@ -1,12 +1,20 @@
+# 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/.
 
-csp.error.missing-directive = Policy is missing a required '%S' directive
+csp.error.missing-directive = Policy is missing a required "%S" directive
 
-csp.error.illegal-keyword = '%1$S' directive contains a forbidden %2$S keyword
+#LOCALIZATION NOTE (csp.error.illegal-keyword) %1$S is the name of a CSP directive, such as "script-src". %2$S is the name of a CSP keyword, usually 'unsafe-inline'.
+csp.error.illegal-keyword = "%1$S" directive contains a forbidden %2$S keyword
 
-csp.error.illegal-protocol = '%1$S' directive contains a forbidden %2$S: protocol source
+#LOCALIZATION NOTE (csp.error.illegal-protocol) %2$S a protocol name, such as "http", which appears as "http:", as it would in a URL.
+csp.error.illegal-protocol = "%1$S" directive contains a forbidden %2$S: protocol source
 
-csp.error.missing-host = %2$S: protocol requires a host in '%1$S' directives
+#LOCALIZATION NOTE (csp.error.missing-host) %2$S a protocol name, such as "http", which appears as "http:", as it would in a URL.
+csp.error.missing-host = %2$S: protocol requires a host in "%1$S" directives
 
-csp.error.missing-source = '%1$S' must include the source %2$S
+#LOCALIZATION NOTE (csp.error.missing-source) %1$S is the name of a CSP directive, such as "script-src". %2$S is the name of a CSP source, usually 'self'.
+csp.error.missing-source = "%1$S" must include the source %2$S
 
-csp.error.illegal-host-wildcard = %2$S: wildcard sources in '%1$S' directives must include at least one non-generic sub-domain (e.g., *.example.com rather than *.com)
+#LOCALIZATION NOTE (csp.error.illegal-host-wildcard) %2$S a protocol name, such as "http", which appears as "http:", as it would in a URL.
+csp.error.illegal-host-wildcard = %2$S: wildcard sources in "%1$S" directives must include at least one non-generic sub-domain (e.g., *.example.com rather than *.com)