diff options
Diffstat (limited to 'l10n-zh-CN/dom/chrome/security')
-rwxr-xr-x | l10n-zh-CN/dom/chrome/security/csp.properties | 111 | ||||
-rwxr-xr-x | l10n-zh-CN/dom/chrome/security/security.properties | 3 |
2 files changed, 114 insertions, 0 deletions
diff --git a/l10n-zh-CN/dom/chrome/security/csp.properties b/l10n-zh-CN/dom/chrome/security/csp.properties index e41d7330b4..4bf22d36a0 100755 --- a/l10n-zh-CN/dom/chrome/security/csp.properties +++ b/l10n-zh-CN/dom/chrome/security/csp.properties @@ -17,6 +17,105 @@ CSPROViolation = 发生一次 report-only CSP 策略违反 ("%1$S")。此行为 # %1$S is the directive that has been violated. # %2$S is the URI of the resource which violated the directive. CSPROViolationWithURI = 该页面设置了观测在 %2$S ("%1$S") 的资源加载。一个 CSP 报告已开始发送。 + +# CSP Warnings: + +# LOCALIZATION NOTE (CSPInlineStyleViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. style-src-elem) +CSPInlineStyleViolation = 由于违反了下列指令:“%1$S”,此页面的内联样式(%2$S)无法应用 +# LOCALIZATION NOTE (CSPROInlineStyleViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. style-src-elem) +CSPROInlineStyleViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面的内联样式(%2$S)无法应用 +# LOCALIZATION NOTE (CSPInlineScriptViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src-elem) +CSPInlineScriptViolation = 由于违反了下列指令:“%1$S”,此页面的内联脚本(%2$S)无法执行 +# LOCALIZATION NOTE (CSPROInlineScriptViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src-elem) +CSPROInlineScriptViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面的内联脚本(%2$S)无法执行 +# LOCALIZATION NOTE (CSPEventHandlerScriptViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src-attr) +CSPEventHandlerScriptViolation = 由于违反了下列指令:“%1$S”,此页面的事件句柄(%2$S)无法执行 +# LOCALIZATION NOTE (CSPROEventHandlerScriptViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src-attr) +CSPROEventHandlerScriptViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面的事件句柄(%2$S)无法执行 +# LOCALIZATION NOTE (CSPEvalScriptViolation): +# Don't translate/change "'unsafe-eval'", including the single quote. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src) +CSPEvalScriptViolation = 由于违反了下列指令:“%1$S”(缺少”unsafe-eval“),此页面的 JavaScript eval(%2$S)无法执行 +# LOCALIZATION NOTE (CSPROEvalScriptViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# Don't translate/change "'unsafe-eval'", including the single quote. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src) +CSPROEvalScriptViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”(缺少”unsafe-eval“),此页面的 JavaScript eval(%2$S)无法执行 +# LOCALIZATION NOTE (CSPWasmEvalScriptViolation): +# WebAssembly is a feature name. +# Don't translate/change "'wasm-unsafe-eval'" or "'unsafe-eval'", including the single quote. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src) +CSPWasmEvalScriptViolation = 由于违反了下列指令:“%1$S”(缺少”wasm-unsafe-eval“或”unsafe-eval“),此页面的 WebAssembly(%2$S)无法执行 +# LOCALIZATION NOTE (CSPROWasmEvalScriptViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# WebAssembly is a feature name. +# Don't translate/change "'wasm-unsafe-eval'" or "'unsafe-eval'", including the single quote. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the type of directive used by the resource (e.g. script-src) +CSPROWasmEvalScriptViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”(缺少”wasm-unsafe-eval“或”unsafe-eval“),此页面的 WebAssembly(%2$S)无法执行 +# LOCALIZATION NOTE (CSPStyleViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. style-src) +CSPStyleViolation = 由于违反了下列指令:“%1$S”,此页面来自 %2$S 的样式(%3$S)无法应用 +# LOCALIZATION NOTE (CSPROStyleViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. style-src) +CSPROStyleViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面来自 %2$S 的样式(%3$S)无法应用 +# LOCALIZATION NOTE (CSPScriptViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. script-src-elem) +CSPScriptViolation = 由于违反了下列指令:“%1$S”,此页面来自 %2$S 的脚本(%3$S)无法执行 +# LOCALIZATION NOTE (CSPROScriptViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. script-src-elem) +CSPROScriptViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面来自 %2$S 的脚本(%3$S)无法执行 +# LOCALIZATION NOTE (CSPWorkerViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. worker-src) +CSPWorkerViolation = 由于违反了下列指令:“%1$S”,此页面来自 %2$S 的 worker 脚本(%3$S)无法执行 +# LOCALIZATION NOTE (CSPROWorkerViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. worker-src) +CSPROWorkerViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面来自 %2$S 的 worker 脚本(%3$S)无法执行 +# LOCALIZATION NOTE (CSPGenericViolation): +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. image-src) +CSPGenericViolation = 由于违反了下列指令:“%1$S”,此页面位于 %2$S 的资源(%3$S)无法加载 +# LOCALIZATION NOTE (CSPROGenericViolation): +# Don't translate "Report-Only" as it's part of the name Content-Security-Policy-Report-Only. +# %1$S is the entire directive that has been violated. (e.g. "default-src 'none'") +# %2$S is the URI of the resource which violated the directive. +# %3$S is the type of directive used by the resource (e.g. image-src) +CSPROGenericViolation = (“仅作上报”策略)由于违反了下列指令:“%1$S”,此页面位于 %2$S 的资源(%3$S)无法加载 + # LOCALIZATION NOTE (triedToSendReport): # %1$S is the URI we attempted to send a report to. triedToSendReport = 试图发送报告到无效的 URI:“%1$S” @@ -119,6 +218,18 @@ duplicateDirective = 检测到重复的指令 %1$S。除首个指令外所有其 # %1$S is the option that could not be understood couldntParseInvalidSandboxFlag = 无法解析无效的沙盒标识“%1$S” +# LOCALIZATION NOTE (invalidNumberOfTrustedTypesForDirectiveValues): +# %1$S is the number of passed tokens. +invalidNumberOfTrustedTypesForDirectiveValues = 收到“require-trusted-types-for”指令的无效令牌数量:%1$S,需要为 1 +# LOCALIZATION NOTE (invalidRequireTrustedTypesForDirectiveValue): +# %1$S is the passed token +invalidRequireTrustedTypesForDirectiveValue = 收到“require-trusted-types-for”指令的无效令牌:%1$S,需要为“script” + + +# LOCALIZATION NOTE (invalidTrustedTypesExpression): +# %1$S is the passed token +invalidTrustedTypesExpression = 收到“trusted-types”指令的无效令牌:%1$S + # LOCALIZATION NOTE (CSPMessagePrefix): # Do not translate "Content-Security-Policy", only handle spacing for the colon. # %S is a console message that is being prefixed here. diff --git a/l10n-zh-CN/dom/chrome/security/security.properties b/l10n-zh-CN/dom/chrome/security/security.properties index 3473b6e134..ed97532659 100755 --- a/l10n-zh-CN/dom/chrome/security/security.properties +++ b/l10n-zh-CN/dom/chrome/security/security.properties @@ -46,6 +46,9 @@ LoadingMixedDisplayObjectSubrequestDeprecation=不建议通过插件在安全页 # LOCALIZATION NOTE: "%S" is the URI of the insecure mixed content download MixedContentBlockedDownload = 已阻止下载不安全的内容“%S”。 +# LOCALIZATION NOTE: "%S" is the URI of the insecure mixed content download +BlockedInsecureDownload = 已拦截一个不安全的下载项:“%S”。 + # LOCALIZATION NOTE: Do not translate "allow-scripts", "allow-same-origin", "sandbox" or "iframe" BothAllowScriptsAndSameOriginPresent=iframe 的“sandbox”属性同时具有“allow-scripts”和“allow-same-origin”值会导致沙盒化的移除。 # LOCALIZATION NOTE: Do not translate "allow-top-navigation-by-user-activation", "allow-top-navigation", "sandbox" or "iframe" |