Pontoon: Update Chinese (China) (zh-CN) localization of Firefox
author你我皆凡人 <yuanbingyan@mail.ee>
Tue, 21 Jun 2022 16:42:26 +0000
changeset 4891 f6e75e922d918dd8f683a2cf5c0d74696569dbbb
parent 4890 2d402cb7392ae932cb6d8e8230e527c94f5d8185
child 4892 fe1d7643c80c599f455dfffe5e851b7e55861d2c
push id3546
push userpontoon@mozilla.com
push dateTue, 21 Jun 2022 16:42:30 +0000
Pontoon: Update Chinese (China) (zh-CN) localization of Firefox Co-authored-by: 你我皆凡人 <yuanbingyan@mail.ee>
dom/chrome/security/security.properties
netwerk/necko.properties
--- a/dom/chrome/security/security.properties
+++ b/dom/chrome/security/security.properties
@@ -88,16 +88,19 @@ BlockWorkerWithWrongMimeType=已拦截载入自“%1$S”的 Worker,它使用了不允许的 MIME 类型(“%2$S”)。
 BlockModuleWithWrongMimeType=已拦截载入自“%1$S”的模块,它使用了不允许的 MIME 类型(“%2$S”)。
 
 # LOCALIZATION NOTE: Do not translate "data: URI".
 BlockTopLevelDataURINavigation=不允许导航至顶层 data: URI(已阻止载入“%1$S”)
 BlockSubresourceRedirectToData=重定向至不安全数据:URI 不被允许(阻止载入了:“%1$S”)
 
 BlockSubresourceFTP=不允许在 http(s) 页面中载入 FTP 子资源(阻止载入:“%1$S”)
 
+# LOCALIZATION NOTE: Do not translate "file: URI". “%1$S” is the whole URI of the loaded file. “%2$S” is the MIME type e.g. "text/plain".
+BlockFileScriptWithWrongMimeType=从文件加载脚本:由于 URI(“%1$S”)的 MIME 类型(“%2$S”)不是有效的 JavaScript MIME 类型,已将其拦截。
+
 RestrictBrowserEvalUsage=在父进程或系统上下文中不允许使用 eval() 和类似 eval 的用法(“%1$S”中禁止使用)
 
 # LOCALIZATION NOTE (MixedContentAutoUpgrade):
 # %1$S is the URL of the upgraded request; %2$S is the upgraded scheme.
 MixedContentAutoUpgrade=已将不安全的显示请求“%1$S”升级为“%2$S”。
 # LOCALIZATION NOTE (RunningClearSiteDataValue):
 # %S is the URI of the resource whose data was cleaned up
 RunningClearSiteDataValue=收到 Clear-Site-Data 报头,强制清除“%S”数据。
@@ -138,17 +141,16 @@ XFrameOptionsDeny=由于“X-Frame-Options“指令设为“%1$S“,已拒绝在框架中载入“%2$S”。
 # LOCALIZATION NOTE: %1$S is the URL of the upgraded request; %2$S is the upgraded scheme.
 HTTPSOnlyUpgradeRequest = 已将不安全的请求“%1$S”升级为“%2$S”。
 # LOCALIZATION NOTE: %1$S is the URL of request.
 HTTPSOnlyNoUpgradeException = 由于受到豁免,并未升级不安全的请求“%1$S”。
 # LOCALIZATION NOTE: %1$S is the URL of the failed request; %2$S is an error-code.
 HTTPSOnlyFailedRequest = 不安全的请求“%1$S”升级失败。(%2$S)
 # LOCALIZATION NOTE: %S is the URL of the failed request;
 HTTPSOnlyFailedDowngradeAgain = 升级不安全的请求“%S”失败,再次降级为“http”。
-
 # LOCALIZATION NOTE: Hints or indicates a new transaction for a URL is likely coming soon. We use
 # a speculative connection to start a TCP connection so that the resource is immediately ready
 # when the transaction is actually submitted. HTTPS-Only and HTTPS-First will upgrade such
 # speculative TCP connections from http to https.
 # %1$S is the URL of the upgraded speculative TCP connection; %2$S is the upgraded scheme.
 HTTPSOnlyUpgradeSpeculativeConnection = 已将不安全的推断式 TCP 连接“%1$S”升级至使用“%2$S”协议。
 
 # LOCALIZATION NOTE: %S is the URL of the blocked request;
--- a/netwerk/necko.properties
+++ b/netwerk/necko.properties
@@ -45,18 +45,16 @@ CookiePartitionedForeign2=由于“%1$S”加载自第三方上下文,并已开启动态状态分区功能,已授权该网站访问分区的 Cookie 或存储空间。
 CookieAllowedForOriginByStorageAccessAPI=已允许“%2$S”访问位于“%1$S”的存储空间。
 # LOCALIZATION NOTE (CookieAllowedForOriginByHeuristic): %2$S and %1$S are URLs.
 CookieAllowedForOriginByHeuristic=已自动允许“%2$S”访问位于“%1$S”的存储空间。
 # LOCALIZATION NOTE (CookieAllowedForFpiByHeuristic): %2$S and %1$S are URLs.
 CookieAllowedForFpiByHeuristic=已自动允许位于“%1$S”上第一方隔离的“%2$S”访问存储空间。
 
 # LOCALIZATION NOTE(CookieRejectedNonRequiresSecure2): %1$S is the cookie name. Do not localize "SameSite=None" and "secure".
 CookieRejectedNonRequiresSecure2=因为设置了“SameSite=None”属性,但缺少“Secure”属性,已拒绝 Cookie “%1$S”。
-# LOCALIZATION NOTE(CookieRejectedNonRequiresSecureForBeta2): %1$S is the cookie name. %2$S is a URL. Do not localize "SameSite", "SameSite=None" and "secure".
-CookieRejectedNonRequiresSecureForBeta2=由于 Cookie “%1$S”的“SameSite”属性设置为“None”或无效值,但缺少“Secure”属性,此 Cookie 未来将被拒绝。若要了解“SameSite“的更多信息,请参阅:%2$S
 # LOCALIZATION NOTE(CookieRejectedNonRequiresSecureForBeta3): %1$S is the cookie name. %2$S is a URL. Do not localize "SameSite", "SameSite=None" and "secure".
 CookieRejectedNonRequiresSecureForBeta3=由于 Cookie “%1$S”的“SameSite”属性设置为“None”却缺少“Secure”属性,此 Cookie 未来将被拒绝。若要了解“SameSite“的更多信息,请参阅:%2$S
 # LOCALIZATION NOTE(CookieLaxForced2): %1$S is the cookie name. Do not localize "SameSite", "Lax" and "SameSite=Lax".
 CookieLaxForced2=由于 Cookie “%1$S”缺少“SameSite”属性,且该属性的默认值为“SameSite=Lax”,已将“SameSite”的策略设为“Lax”。
 # LOCALIZATION NOTE(CookieLaxForcedForBeta2): %1$S is the cookie name. %2$S is a URL. Do not localize "SameSite", "Lax" and "SameSite=Lax", "SameSite=None".
 CookieLaxForcedForBeta2=由于 Cookie “%1$S”缺少正确的“sameSite”属性值,缺少“SameSite”或含有无效值的 Cookie 即将被视作指定为“Lax”,该 Cookie 将无法发送至第三方上下文中。若您的应用程序依赖这组 Cookie 以在不同上下文中工作,请添加“SameSite=None”属性。若要了解“SameSite”属性的更多信息,请参阅:%2$S
 # LOCALIZATION NOTE(CookieSameSiteValueInvalid2): %1$S is cookie name. Do not localize "SameSite", "Lax", "Strict" and "None"
 CookieSameSiteValueInvalid2=Cookie "%1$S"的“SameSite“值无效。支持的值为:“Lax“、“Strict“、“None“。
@@ -82,10 +80,13 @@ CookieRejectedSecureButNonHttps=由于非 HTTPS Cookie 无法设置“secure”属性,已拒绝 Cookie “%1$S”。
 CookieRejectedThirdParty=由于是第三方 Cookie,已拒绝 Cookie “%1$S”。
 # LOCALIZATION NOTE (CookieRejectedNonsecureOverSecure): %1$S is the cookie name.
 CookieRejectedNonsecureOverSecure=由于已有“secure”属性的 Cookie,已拒绝 Cookie “%1$S”。
 # LOCALIZATION NOTE (CookieRejectedExpired): %1$S is the cookie name.
 CookieRejectedExpired=由于 Cookie 已经过期,已拒绝 Cookie “%1$S”。
 # LOCALIZATION NOTE (CookieRejectedForNonSameSiteness): %1$S is the cookie name.
 CookieRejectedForNonSameSiteness=由于是在跨站上下文中,且“SameSite”值为“Lax”或“Strict”,已拒绝 Cookie “%1$S”。
 
+# LOCALIZATION NOTE (CookieBlockedCrossSiteRedirect): %1$S is the cookie name. Do not translate "SameSite", "Lax" or "Strict".
+CookieBlockedCrossSiteRedirect=由于是跨站重定向,已忽略“SameSite”属性值为“Lax”或“Strict”的 Cookie “%1$S”。
+
 # LOCALIZATION NOTE (APIDeprecationWarning): %1$S is the deprecated API; %2$S is the API function that should be used.
 APIDeprecationWarning=警告:“%1$S”已不赞成使用,请使用“%2$S”