diff options
Diffstat (limited to 'l10n-zh-CN/toolkit/toolkit/about/aboutGlean.ftl')
-rw-r--r-- | l10n-zh-CN/toolkit/toolkit/about/aboutGlean.ftl | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/l10n-zh-CN/toolkit/toolkit/about/aboutGlean.ftl b/l10n-zh-CN/toolkit/toolkit/about/aboutGlean.ftl new file mode 100644 index 0000000000..cd72e38dc1 --- /dev/null +++ b/l10n-zh-CN/toolkit/toolkit/about/aboutGlean.ftl @@ -0,0 +1,70 @@ +# 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/. + + +### "FOG", "Glean", and "Glean SDK" should remain in English. + +-fog-brand-name = FOG +-glean-brand-name = Glean +glean-sdk-brand-name = { -glean-brand-name } SDK +glean-debug-ping-viewer-brand-name = { -glean-brand-name } Ping 调试查看器 +about-glean-page-title2 = 关于 { -glean-brand-name } +about-glean-header = 关于 { -glean-brand-name } +about-glean-interface-description = + { -vendor-short-name } 项目使用 <a data-l10n-name="glean-sdk-doc-link">{ glean-sdk-brand-name }</a> 收集数据。 + 此接口面向开发者和测试人员提供, + 用于手动<a data-l10n-name="fog-link">测试检测</a>。 +about-glean-upload-enabled = 已启用数据上传。 +about-glean-upload-disabled = 已禁用数据上传。 +about-glean-upload-enabled-local = 数据上传仅在发送到本地服务器时启用。 +about-glean-upload-fake-enabled = 已禁用数据上传,但我们向 { glean-sdk-brand-name } “谎称”还是启用状态,如此数据将仍在本地记录。注:若已设置调试标签,ping 将一律上传至 <a data-l10n-name="glean-debug-ping-viewer">{ glean-debug-ping-viewer-brand-name }</a>。 +# This message is followed by a bulleted list. +about-glean-prefs-and-defines = 相关的<a data-l10n-name="fog-prefs-and-defines-doc-link">首选项和定义</a>如下: +# Variables: +# $data-upload-pref-value (String): the value of the datareporting.healthreport.uploadEnabled pref. Typically "true", sometimes "false" +# Do not translate strings between <code> </code> tags. +about-glean-data-upload = <code>datareporting.healthreport.uploadEnabled</code>:{ $data-upload-pref-value } +# Variables: +# $local-port-pref-value (Integer): the value of the telemetry.fog.test.localhost_port pref. Typically 0. Can be negative. +# Do not translate strings between <code> </code> tags. +about-glean-local-port = <code>telemetry.fog.test.localhost_port</code>:{ $local-port-pref-value } +# Variables: +# $glean-android-define-value (Boolean): the value of the MOZ_GLEAN_ANDROID define. Typically "false", sometimes "true". +# Do not translate strings between <code> </code> tags. +about-glean-glean-android = <code>MOZ_GLEAN_ANDROID</code>:{ $glean-android-define-value } +# Variables: +# $moz-official-define-value (Boolean): the value of the MOZILLA_OFFICIAL define. +# Do not translate strings between <code> </code> tags. +about-glean-moz-official = <code>MOZILLA_OFFICIAL</code>:{ $moz-official-define-value } +about-glean-about-testing-header = 关于测试 +# This message is followed by a numbered list. +about-glean-manual-testing = 完整说明文档请见 <a data-l10n-name="fog-instrumentation-test-doc-link">{ -fog-brand-name } 检测测试文档</a>和 <a data-l10n-name="glean-sdk-doc-link">{ glean-sdk-brand-name } 文档</a>。不过简而言之,如需手动测试检测是否有效,您需要: +# This message is an option in a dropdown filled with untranslated names of pings. +about-glean-no-ping-label = (不提交任何 Ping) +# An in-line text input field precedes this string. +about-glean-label-for-tag-pings = 在此栏设置好记的调试标签,方便之后快速找到您的 ping。 +# An in-line text input field precedes this string. +about-glean-label-for-tag-pings-with-requirements = 设置一个容易记忆的调试标签<span>(20个字符以内,仅限字母数字和短横线)</span>以便您随后可以识别您的 ping。 +# An in-line drop down list precedes this string. +# Do not translate strings between <code> </code> tags. +about-glean-label-for-ping-names = 请从下拉列表选择您测试仪器所在的位置。若位于<a data-l10n-name="custom-ping-link">自定义 ping</a>,则选择该项;否则默认的 <code>event</code> 指标是 <code>event</code>,而其他所有指标的默认值为 <code>metrics</code> ping。 +# An in-line check box precedes this string. +about-glean-label-for-log-pings = (可选项。若您想在提交 Ping 时也进行记录,请勾选此选框。另外还需要<a data-l10n-name="enable-logging-link">开启记录</a>。) +# Variables +# $debug-tag (String): The user-set value of the debug tag input on this page. Like "about-glean-kV" +# An in-line button labeled "Apply settings and submit ping" precedes this string. +about-glean-label-for-controls-submit = 按下此按钮会将所有 { -glean-brand-name } ping 带上您的标签,并提交选择的 ping。(直到重启应用程序前所提交的 ping 都将标上 <code>{ $debug-tag }</code>。) +about-glean-li-for-visit-gdpv = <a data-l10n-name="gdpv-tagged-pings-link">请访问 { glean-debug-ping-viewer-brand-name }页面查看带有您标签的 ping</a>。从按下按钮到收到 ping 应该不会超过几秒钟,有时可能需要几分钟。 +# Do not translate strings between <code> </code> tags. +about-glean-adhoc-explanation = 如需进行 <i>ad hoc 临时测试</i>,也可在 <code>about:glean</code> 页面打开开发者控制台,并使用 <code>Glean.metricCategory.metricName.testGetValue()</code> 等 <code>testGetValue()</code> API 确定测试仪器的当前值。 +# Do not translate strings between <code> </code> tags. +about-glean-adhoc-explanation2 = 如需进行 <i>ad hoc 临时测试</i>,也可在 <code>about:glean</code> 页面打开开发者控制台,并使用 <code>Glean.metricCategory.metricName.testGetValue()</code> 等 <code>testGetValue()</code> API 来获取名称为 <code>metric.category.metric_name</code> 的指标,以确定测试仪器的当前值。 +# Do not translate strings between <code> </code> tags. +about-glean-adhoc-note = + 请注意您正在通过开发工具控制台使用 Glean JS API。 + 这意味着指标类别和指标名称的格式为 + <code>camelCase</code>,这与 Rust 和 C++ API 不同。 +controls-button-label-verbose = 应用设置并提交 ping +about-glean-about-data-header = 关于数据 +about-glean-about-data-explanation = 要浏览收集的数据列表,请查阅 <a data-l10n-name="glean-dictionary-link">{ -glean-brand-name } 词典</a>。 |