Pontoon: Update Chinese (China) (zh-CN) localization of Firefox
author你我皆凡人 <yuanbingyan@mail.ee>
Thu, 26 May 2022 09:33:14 +0000
changeset 4877 24e7573e625c1133527bb2e22cbd06cbc80952a1
parent 4876 ff1ee767ed480c30d6aaefa00c65c8f62477cc18
child 4878 308206cec0f8c49d9f80fb492fce603a96fc0c82
push id3532
push userpontoon@mozilla.com
push dateThu, 26 May 2022 09:33:17 +0000
Pontoon: Update Chinese (China) (zh-CN) localization of Firefox Co-authored-by: 你我皆凡人 <yuanbingyan@mail.ee>
devtools/client/device.properties
devtools/client/perftools.ftl
--- a/devtools/client/device.properties
+++ b/devtools/client/device.properties
@@ -13,8 +13,9 @@
 # These strings are category names in a list of devices that a user can choose
 # to simulate (e.g. "ZTE Open C", "VIA Vixen", "720p HD Television", etc).
 device.phones=手机
 device.tablets=平板电脑
 device.laptops=笔记本电脑
 device.televisions=电视
 device.consoles=游戏机
 device.watches=手表
+device.custom=自定义
--- a/devtools/client/perftools.ftl
+++ b/devtools/client/perftools.ftl
@@ -14,35 +14,34 @@ perftools-intro-description = 记录过程将在新标签页中打开 profiler.firefox.com。所有数据都存储在本地,您可以手动选择上传以进行共享。
 
 perftools-heading-settings = 完整设置
 perftools-heading-buffer = 缓冲区设置
 perftools-heading-features = 功能
 perftools-heading-features-default = 功能(默认推荐开启)
 perftools-heading-features-disabled = 已禁用的功能
 perftools-heading-features-experimental = 实验性
 perftools-heading-threads = 线程
+perftools-heading-threads-jvm = JVM 线程
 perftools-heading-local-build = 本地构建版本
 
 ##
 
 perftools-description-intro = 记录过程将在新标签页中打开 <a>profiler.firefox.com</a>。所有数据都存储在本地,您可以手动选择上传以进行共享。
 perftools-description-local-build = 若您要对本机自行编译的构建版本进行测量,请将其 objdir 路径添加至下方列表,以便查询调试符号信息。
 
 ## The controls for the interval at which the profiler samples the code.
 
 perftools-range-interval-label = 采样间隔:
 perftools-range-interval-milliseconds = { NUMBER($interval, maxFractionalUnits: 2) } ms
 
 ##
 
 # The size of the memory buffer used to store things in the profiler.
 perftools-range-entries-label = 缓冲区大小:
-
 perftools-custom-threads-label = 按名称添加自定义线程:
-
 perftools-devtools-interval-label = 间隔:
 perftools-devtools-threads-label = 线程:
 perftools-devtools-settings-label = 设置
 
 ## Various statuses that affect the current state of profiling, not typically displayed.
 
 perftools-status-recording-stopped-by-another-tool = 已被其他工具停止记录。
 perftools-status-restart-required = 必须重启浏览器才能启用此功能。
@@ -84,57 +83,62 @@ pref-thread-stream-trans =
 perftools-thread-socket-thread =
     .title = 网络相关代码进行任何 socket 阻塞式调用时,将发生在此线程
 perftools-thread-img-decoder =
     .title = 图像解码线程
 perftools-thread-dns-resolver =
     .title = DNS 解析会发生在此线程
 perftools-thread-task-controller =
     .title = TaskController 线程池中的线程
+perftools-thread-jvm-gecko =
+    .title = Gecko JVM 主线程
+perftools-thread-jvm-nimbus =
+    .title = Nimbus 实验 SDK 的主线程
+perftools-thread-jvm-default-dispatcher =
+    .title = Kotlin 协程库的默认调度器
+perftools-thread-jvm-glean =
+    .title = Glean 遥测 SDK 的主线程
+perftools-thread-jvm-arch-disk-io =
+    .title = Kotlin 协程库的 IO 调度器
+perftools-thread-jvm-pool =
+    .title = 创建于未命名线程池的线程
 
 ##
 
 perftools-record-all-registered-threads = 忽略上面选择的项目,记录所有注册的线程
-
 perftools-tools-threads-input-label =
     .title = 下方列表是要在分析器中测量性能的线程名称(以逗号分隔)。名称须与要测量的线程的名称部分匹配,且对空格敏感。
 
 ## Onboarding UI labels. These labels are displayed in the new performance panel UI, when
 ## both devtools.performance.new-panel-onboarding & devtools.performance.new-panel-enabled
 ## preferences are true.
 
+
 ## Onboarding UI labels. These labels are displayed in the new performance panel UI, when
 ## devtools.performance.new-panel-onboarding preference is true.
 
 perftools-onboarding-message = <b>新变化</b>:{ -profiler-brand-name }现已集成于开发者工具。<a>详细了解</a>这个功能强大的新工具。
-
 # `options-context-advanced-settings` is defined in toolbox-options.ftl
 perftools-onboarding-reenable-old-panel = (短期内,您仍可以通过<a>{ options-context-advanced-settings }</a>访问旧的“性能”面板)
-
 perftools-onboarding-close-button =
     .aria-label = 关闭导览消息
 
 ## Profiler presets
 
 
 # Presets and their l10n IDs are defined in the file
 # devtools/client/performance-new/popup/background.jsm.js
 # The same labels and descriptions are also defined in appmenu.ftl.
 
 perftools-presets-web-developer-label = Web 开发者
 perftools-presets-web-developer-description = 推荐在对大部分 Web 应用程序调试时使用,开销较少。
-
 perftools-presets-firefox-label = { -brand-shorter-name }
 perftools-presets-firefox-description = 推荐在分析 { -brand-shorter-name } 性能时使用。
-
 perftools-presets-graphics-label = 图形
 perftools-presets-graphics-description = 推荐在排查 { -brand-shorter-name } 图形 Bug 时使用。
-
 perftools-presets-media-label = 媒体
 perftools-presets-media-description2 = 推荐在排查 { -brand-shorter-name } 音视频 Bug 时使用。
-
 perftools-presets-networking-label = 联网
 perftools-presets-networking-description = 推荐在排查 { -brand-shorter-name } 联网 Bug 时使用。
-
 perftools-presets-custom-label = 自定义
 
 ##