summaryrefslogtreecommitdiffstats
path: root/l10n-zh-CN/dom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /l10n-zh-CN/dom
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'l10n-zh-CN/dom')
-rwxr-xr-xl10n-zh-CN/dom/chrome/dom/dom.properties20
-rwxr-xr-xl10n-zh-CN/dom/chrome/nsWebBrowserPersist.properties2
-rwxr-xr-xl10n-zh-CN/dom/chrome/security/csp.properties99
3 files changed, 108 insertions, 13 deletions
diff --git a/l10n-zh-CN/dom/chrome/dom/dom.properties b/l10n-zh-CN/dom/chrome/dom/dom.properties
index 1e871447c2..93be951110 100755
--- a/l10n-zh-CN/dom/chrome/dom/dom.properties
+++ b/l10n-zh-CN/dom/chrome/dom/dom.properties
@@ -18,6 +18,7 @@ DebugScriptButton=调试脚本
WaitForScriptButton=继续
DontAskAgain=不再询问(&D)
WindowCloseBlockedWarning=脚本不得关闭非脚本打开的窗口。
+WindowCloseByScriptBlockedWarning=脚本只能关闭由脚本打开的窗口。
OnBeforeUnloadTitle=您确定吗?
OnBeforeUnloadMessage2=此页面询问您是否要离开 — 您输入的信息可能不会被保存。
OnBeforeUnloadStayButton=留在页面
@@ -29,13 +30,13 @@ DocumentWriteIgnored=来自一个外部异步加载的脚本的 document.write()
EditorFileDropFailed=拖放一个文件到 contenteditable 元素失败:%S。
FormValidationTextTooLong=请将此文本缩短至 %S 个字符或更少(您现在已经输入了 %S 个字符)。
FormValidationTextTooShort=请使用至少 %S 个字符(您目前使用 %S 个字符)。
-FormValidationValueMissing=请填写此栏。
-FormValidationCheckboxMissing=若要继续,请选中此项。
+FormValidationValueMissing=请填写此字段。
+FormValidationCheckboxMissing=若要继续,请勾选此复选框。
FormValidationRadioMissing=请选择一个选项。
FormValidationFileMissing=请选择一个文件。
FormValidationSelectMissing=请选择列表中的一项。
FormValidationInvalidEmail=请输入电子邮件地址。
-FormValidationInvalidURL=请输入一个 URL。
+FormValidationInvalidURL=请输入网址。
FormValidationInvalidDate=请输入有效的日期。
FormValidationInvalidTime=请输入有效的时间。
FormValidationInvalidDateTime=请输入有效的日期和时间。
@@ -69,7 +70,7 @@ FullscreenDeniedMouseEventOnlyLeftBtn=请求全屏已拒绝,因为 Element.req
FullscreenDeniedNotHTMLSVGOrMathML=请求全屏已拒绝,请求元素不是 <svg>、<math> 或一个 HTML 元素。
FullscreenDeniedNotInDocument=请求全屏已拒绝,请求元素不再位于它的文档中。
FullscreenDeniedMovedDocument=请求全屏已拒绝,请求元素已转移文档。
-FullscreenDeniedLostWindow=请求全屏已拒绝,我们不再有一个窗口。
+FullscreenDeniedLostWindow=请求全屏被拒绝,因为窗口已消失。
FullscreenDeniedPopoverOpen=全屏请求被拒绝,因为该元素已弹出打开。
FullscreenDeniedSubDocFullscreen=请求全屏已拒绝,请求全屏的文档有一个子文档已经全屏。
FullscreenDeniedNotFocusedTab=请求全屏已拒绝,请求元素不在当前有焦点的标签页中。
@@ -220,9 +221,9 @@ ManifestIdNotSameOrigin=id 成员须与 start_url 成员的 origin 相同。
ManifestShouldBeObject=清单应该是一个对象。
ManifestScopeURLInvalid=作用域 URL 无效。
ManifestScopeNotSameOrigin=作用域 URL 必须与文档同源。
-ManifestStartURLOutsideScope=开始 URL 在作用域之外,因此作用域无效。
-ManifestStartURLInvalid=开始 URL 无效。
-ManifestStartURLShouldBeSameOrigin=开始 URL 必须与文档同源。
+ManifestStartURLOutsideScope=起始 URL 在作用域之外,因此作用域无效。
+ManifestStartURLInvalid=起始 URL 无效。
+ManifestStartURLShouldBeSameOrigin=起始 URL 必须与文档同源。
# LOCALIZATION NOTE: %1$S is the name of the object whose property is invalid. %2$S is the name of the invalid property. %3$S is the expected type of the property value. E.g. "Expected the manifest's start_url member to be a string."
ManifestInvalidType=预期是 %1$S 的 %2$S 成员是一个 %3$S。
# LOCALIZATION NOTE: %1$S is the name of the property whose value is invalid. %2$S is the (invalid) value of the property. E.g. "theme_color: 42 is not a valid CSS color."
@@ -309,8 +310,6 @@ WindowContentUntrustedWarning=Window 对象的 ‘content’ 属性已弃用。
SVGRefLoopWarning=ID 为“%S”的 SVG <%S> 存在循环引用。
# LOCALIZATION NOTE: The first %S is the tag name of the element in the chain where the chain was broken, the second %S is the element's ID.
SVGRefChainLengthExceededWarning=已放弃 ID为“%S”的元素上的 SVG <%S>,引用链条太长。
-# LOCALIZATION NOTE: Do not translate SVGSVGElement.deselectAll.
-SVGDeselectAll=SVGSVGElement.deselectAll 已弃用,因为其功能与 Selection API 重复。
# LOCALIZATION NOTE: Do not translate SVGGraphicsElement.nearestViewportElement or SVGElement.viewportElement.
SVGNearestViewportElement=VGGraphicsElement.nearestViewportElement 已弃用,未来将被移除。请改用 SVGElement.viewportElement。
# LOCALIZATION NOTE: Do not translate SVGGraphicsElement.farthestViewportElement.
@@ -480,9 +479,6 @@ InstallTriggerInstallDeprecatedWarning=InstallTrigger.install() 已弃用,未
# LOCALIZATION NOTE: Do not translate "HTMLOptionsCollection.length". %1$S is the invalid value, %2$S is the current limit.
SelectOptionsLengthAssignmentWarning=已拒绝通过派定 HTMLOptionsCollection.length(值为 %1$S)扩展 <select> 的选项列表。最大支持值为 %2$S。
-# LOCALIZATION NOTE: Do not translate "isExternalCTAP2SecurityKeySupported".
-IsExternalCTAP2SecurityKeySupportedWarning=isExternalCTAP2SecurityKeySupported() 已弃用。
-
InvalidFormControlUnfocusable=无法聚焦于无效的表单控件。
# LOCALIZATION NOTE: Do not translate "name="
InvalidNamedFormControlUnfocusable=无法聚焦于无效的表单控件(name=“%S”)。
diff --git a/l10n-zh-CN/dom/chrome/nsWebBrowserPersist.properties b/l10n-zh-CN/dom/chrome/nsWebBrowserPersist.properties
index 6d03fe0c5b..b7e57da70c 100755
--- a/l10n-zh-CN/dom/chrome/nsWebBrowserPersist.properties
+++ b/l10n-zh-CN/dom/chrome/nsWebBrowserPersist.properties
@@ -10,7 +10,7 @@ readOnly=无法保存 %S,因为磁盘、文件夹或者文件写保护。\n\n
accessError=无法保存 %S,因为您无法修改该文件夹的内容。\n\n请修改文件夹属性并重试,或者保存至其他位置。
SDAccessErrorCardReadOnly=因为 SD 卡正在使用中,无法下载文件。
SDAccessErrorCardMissing=因为缺少 SD 卡,无法下载文件。
-helperAppNotFound=无法打开 %S,因为关联的助手应用程序不存在。请在您的首选项中修改相应关联。
+helperAppNotFound=无法打开 %S,因为关联的对应应用程序不存在。请在您的首选项中修改相应关联。
noMemory=无足够的内存以完成您请求的动作。\n\n请尝试退出一些应用程序并重试。
title=正在下载 %S
fileAlreadyExistsError=无法保存 %S,因为同名的 '_files' 目录已存在。\n\n请保存至其他位置。
diff --git a/l10n-zh-CN/dom/chrome/security/csp.properties b/l10n-zh-CN/dom/chrome/security/csp.properties
index e41d7330b4..3c3d6287de 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”