Skip to content

Commit

Permalink
Include zh-CN locales from BabelZilla (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
xabolcs committed Jul 21, 2013
1 parent 1da4d65 commit 3cd1ad0
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 0 deletions.
1 change: 1 addition & 0 deletions extension/chrome.manifest
Expand Up @@ -2,6 +2,7 @@ content nightly chrome/con
skin nightly classic/1.0 chrome/skin/

locale nightly en-US chrome/locale/en-US/
locale nightly zh-CN chrome/locale/zh-CN/

resource nightly modules/

Expand Down
20 changes: 20 additions & 0 deletions extension/chrome/locale/zh-CN/customize.dtd
@@ -0,0 +1,20 @@
<!-- 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/. -->

<!-- Strings for Title Customization dialog. -->

<!-- LOCALIZATION NOTE: The same English string as the following is also defined
as a different entity for use in the menu,
see ./nightly.dtd -->
<!ENTITY nightly.customize.title "定制标题栏">

<!ENTITY nightly.paneTitlebar.title "标题栏">
<!ENTITY nightly.paneTitlebar.description "标题栏定制">

<!ENTITY nightly.customtitle.label "使用自定义标题">
<!ENTITY nightly.customtemplate.label "自定义标题模板:">
<!ENTITY nightly.variables.description "下列变量可以用在标题中(大小写敏感)。">
<!ENTITY nightly.variable.label "变量">
<!ENTITY nightly.variabledesc.label "描述">
<!ENTITY nightly.variablevalue.label "值">
36 changes: 36 additions & 0 deletions extension/chrome/locale/zh-CN/nightly.dtd
@@ -0,0 +1,36 @@
<!-- 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/. -->

<!-- Menu item labels and tooltips -->
<!ENTITY nightly.openabout.label "打开 about:nightly">
<!ENTITY nightly.openprofile.label "打开配置文件夹">

<!ENTITY nightly.id.copy.label "复制 Build ID 到剪贴板">
<!ENTITY nightly.id.insert.label "插入 Build ID 到文本框">
<!ENTITY nightly.id.insert.tooltip "插入构建标识符到当前文本框。">

<!ENTITY nightly.extensions.copy.label "复制扩展列表到剪贴板">
<!ENTITY nightly.extensions.insert.label "插入扩展列表到文本框">
<!ENTITY nightly.extensions.aboutsup.label "复制 about:support 到 Pastebin">

<!ENTITY nightly.pushlog.lasttocurrent.label "打开当前与上次构建间的推送日志">
<!ENTITY nightly.pushlog.currenttotip.label "打开当前构建后的推送日志">

<!-- LOCALIZATION NOTE: The same English string as the following is also used
for a dialog title, defined as a different entity, see ./customize.dtd -->
<!ENTITY nightly.customize.label "定制标题栏">

<!ENTITY nightly.compatibility.label "强制附加组件兼容">

<!ENTITY nightly.screenshot.full.label "屏幕截图">

<!-- Miscellaneous Crash-Me strings -->
<!ENTITY nightly.crashme.label "崩溃浏览器!">
<!ENTITY nightly.crashme.nullptr.label "Null pointer deref!">
<!ENTITY nightly.crashme.nullfncall.label "Null function call!">
<!ENTITY nightly.crashme.divzero.label "Divide by zero!">
<!ENTITY nightly.crashme.stack.label "Stack overflow!">
<!ENTITY nightly.crashme.purevirt.label "Pure virtual call!">
<!ENTITY nightly.crashme.iph.label "Invalid parameter to CRT method!">
<!ENTITY nightly.crashme.objc.label "ObjC Exception!">
11 changes: 11 additions & 0 deletions extension/chrome/locale/zh-CN/nightly.properties
@@ -0,0 +1,11 @@
# 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/.
#
extensions.{8620c15f-30dc-4dba-a131-7c5d20cf4a29}.description=nightly 测试者的实用工具集。
nightly.notextbox.message=在使用此功能前你必须选择一个文本框。
nightly.noextensions.message=未发现扩展。
nightly.restart.message=附加组件兼容性已更改,重新启动来应用到当前安装的附加组件
nightly.restart.label=重新启动
nightly.restart.accesskey=R
nightly.variables.nullvalue=Undefined
13 changes: 13 additions & 0 deletions extension/chrome/locale/zh-CN/screenshot.dtd
@@ -0,0 +1,13 @@
<!-- 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/. -->

<!ENTITY screenshot.window.title "屏幕截图获取工具">

<!ENTITY screenshot.save.label "另存为...">
<!ENTITY screenshot.submit.label "上传到 ImageShack...">
<!ENTITY screenshot.copy.label "复制到剪贴板">
<!ENTITY screenshot.redraw.label "重绘">
<!ENTITY screenshot.zoom.label "缩放:">
<!ENTITY screenshot.window.label "窗口:">
<!ENTITY screenshot.timer.label "延迟捕获:5">
8 changes: 8 additions & 0 deletions extension/chrome/locale/zh-CN/screenshot.properties
@@ -0,0 +1,8 @@
# 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/.
#
screenshot.filepicker.title=保存屏幕截图为...
screenshot.filepicker.filterJPG=JPG 文件。(*.jpg)
screenshot.filepicker.filterPNG=PNG 文件。(*.png)
screenshot.timer.label=延迟捕获:%S
24 changes: 24 additions & 0 deletions extension/chrome/locale/zh-CN/variables.properties
@@ -0,0 +1,24 @@
# 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/.
#
variable.AppID.description=应用程序标识符
variable.Vendor.description=应用程序供应商
variable.Name.description=应用程序名称
variable.Version.description=应用程序版本
variable.AppBuildID.description=应用程序构建标识符
variable.Changeset.description=由此变更集构建
variable.PlatformBuildID.description=XUL 平台构建标识符
variable.PlatformVersion.description=XUL 平台版本
variable.GeckoBuildID.description=Gecko 构建标识符
variable.GeckoVersion.description=Gecko 版本
variable.BrandName.description=应用程序商标名称
variable.UserAgent.description=用户代理字符串
variable.Locale.description=当前语言区域
variable.OS.description=编译操作系统
variable.Processor.description=编译处理器
variable.Compiler.description=编译器
variable.DefaultTitle.description=默认应用程序标题
variable.TabTitle.description=当前标签标题
variable.Profile.description=当前配置文件
variable.Toolkit.description=图形工具包
2 changes: 2 additions & 0 deletions extension/install.rdf
Expand Up @@ -32,6 +32,8 @@
<em:contributor>Szabolcs Hubai</em:contributor>
<em:contributor>Tony Mechelynck</em:contributor>

<em:translator>Wang.H.K (zh-CN)</em:translator>

<em:iconURL>chrome://nightly/content/brand/icon.png</em:iconURL>
<em:homepageURL>https://wiki.mozilla.org/Auto-tools/Automation_Development/Projects/Addons/NightlyTesterTools</em:homepageURL>

Expand Down

0 comments on commit 3cd1ad0

Please sign in to comment.