1 Star 0 Fork 1

damone / phabricator_zh_Hans

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Phabricator 简体中文翻译(汉化)和工具

Screen Shot

Phabricator 微信群

二维码将定期更新,如果过期请稍后再查看。

WeChat Group

目录

下载地址

最新版本:dist/(stable) Promote 2020 Week 37/PhabricatorSimplifiedChineseTranslation.php

历史版本列表

翻译进度

当前翻译的 Phabricator 版本:[5e06d924f8](stable) Promote 2020 Week 37,文件 data/phabricator/i18n_files.json 的 SHA1 值:fa8f89dd3cc527bf07377205a02432afd4e20831。

当前翻译的 libphutil 版本:[5e0d502](stable) Promote 2020 Week 16,文件 data/phabricator/i18n_files.json 的 SHA1 值:dfc3743b5059c0bafbae433698d8b05edf45eaf7。

当前总词条数量:16447 条,不包含原型应用的总词条数量:14055 条。

当前整体翻译进度百分比:82%。

当前短词条翻译进度百分比:93%。注:短词条为长度小于 66 个字符的词条。

当前不包含原型应用的翻译进度百分比:95%。

分类 短词条翻译百分比 短词条翻译进度条 整体翻译百分比 整体翻译进度条
aphront 93% ========= 76% =======
applications/almanac 99% ========= 92% =========
applications/aphlict 100% ✓✓✓✓✓✓✓✓ 76% =======
applications/arcanist --- ---
applications/audit 100% ✓✓✓✓✓✓✓✓ 91% =========
applications/auth 97% ========= 73% =======
applications/badges 92% ========= 92% =========
applications/base 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/cache 100% ✓✓✓✓✓✓✓✓ 80% ========
applications/calendar 原型 93% ========= 86% ========
applications/celerity 93% ========= 83% ========
applications/chatlog 原型 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/conduit 99% ========= 89% ========
applications/config 93% ========= 72% =======
applications/conpherence 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/console 97% ========= 94% =========
applications/countdown 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/daemon 99% ========= 87% ========
applications/dashboard 100% ✓✓✓✓✓✓✓✓ 91% =========
applications/differential 92% ========= 85% ========
applications/diffusion 90% ======== 77% =======
applications/diviner 75% ======= 71% =======
applications/doorkeeper 95% ========= 82% ========
applications/draft --- ---
applications/drydock 88% ======== 75% =======
applications/fact 83% ======== 63% ======
applications/favorites 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/feed 100% ✓✓✓✓✓✓✓✓ 93% =========
applications/files 90% ======== 79% =======
applications/flag 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/fund 原型 98% ========= 96% =========
applications/guides 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/harbormaster 93% ========= 81% ========
applications/help 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/herald 95% ========= 86% ========
applications/home 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/legalpad 100% ✓✓✓✓✓✓✓✓ 96% =========
applications/lipsum 100% ✓✓✓✓✓✓✓✓ 76% =======
applications/macro 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/maniphest 99% ========= 93% =========
applications/meta 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/metamta 92% ========= 82% ========
applications/multimeter 原型 94% ========= 94% =========
applications/notification 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/nuance 原型 87% ======== 83% ========
applications/oauthserver 原型 93% ========= 79% =======
applications/owners 90% ========= 85% ========
applications/packages 原型 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/passphrase 100% ✓✓✓✓✓✓✓✓ 94% =========
applications/paste 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/people 100% ✓✓✓✓✓✓✓✓ 91% =========
applications/phame 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/phid 100% ✓✓✓✓✓✓✓✓ 78% =======
applications/phlux 原型 96% ========= 96% =========
applications/pholio 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/phortune 原型 85% ======== 75% =======
applications/phpast 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/phragment 原型 82% ======== 77% =======
applications/phrequent 原型 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/phriction 96% ========= 97% =========
applications/phurl 原型 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/policy 100% ✓✓✓✓✓✓✓✓ 87% ========
applications/ponder 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/project 100% ✓✓✓✓✓✓✓✓ 93% =========
applications/releeph 原型 72% ======= 67% ======
applications/remarkup 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/repository 88% ======== 78% =======
applications/search 99% ========= 91% =========
applications/settings 99% ========= 95% =========
applications/slowvote 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/spaces 100% ✓✓✓✓✓✓✓✓ 89% ========
applications/subscriptions 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/support 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/system 94% ========= 70% ======
applications/tokens 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
applications/transactions 97% ========= 83% ========
applications/typeahead 100% ✓✓✓✓✓✓✓✓ 94% =========
applications/uiexample 原型 98% ========= 98% =========
applications/xhprof 100% ✓✓✓✓✓✓✓✓ 100% ✓✓✓✓✓✓✓✓
infrastructure 86% ======== 67% ======
view 100% ✓✓✓✓✓✓✓✓ 99% =========

启动翻译工具

在当前项目目录执行如下命令:

$ npm start

然后启动浏览器(支持 Chrome 或者 Safari),打开网址 http://localhost:3000 来访问翻译工具。

编译翻译文件和 README 文件

在当前项目目录执行如下命令:

$ npm run compile

然后你将得到五份文件:

  1. Phabricator 简体中文翻译文件:dist/<version>/PhabricatorSimplifiedChineseTranslation.php
  2. 重新排序后的翻译数据文件:data/translations.json
  3. 包含最新摘要信息的 README 文件:README.md
  4. 翻译规则列表文件:Rules.md
  5. 术语表文件:Terminology.md

本地化 Phabricator

dist/<version>/PhabricatorSimplifiedChineseTranslation.php 文件拷贝到 Phabricator 项目的 phabricator/src/extensions 目录中即可。<version> 形如:"(stable) Promote 2019 Week 46"

然后调整个人设置,进入 Personal SettingsAccount,在 Translation 选项中选择 Chinese (Simplified),保存后界面即切换为简体中文。

提取最新 Phabricator 国际化字典资源

当 Phabricator 项目更新时,会出现新的词条,这时需要提取新的国际化字典资源。

如果您的 Phabricator 项目和本项目处于同级目录,可以直接在当前项目目录执行如下命令:

$ npm run update

您也可以手动进行如下操作:

首先拉取最新的 Phabricator 和 libphutil 源码。在 Phabricator 项目路径,执行如下命令:

$ ./bin/i18n extract
$ ./bin/i18n extract ../libphutil

然后你将在 Phabricator 项目的 /src/.cache/ 目录中找到 i18n_files.json 文件,拷贝 i18n_files.json 文件到本项目的 data/phabricator 目录。

然后你将在 libphutil 项目的 /src/.cache/ 目录中找到 i18n_files.json 文件,拷贝 i18n_files.json 文件到本项目的 data/libphutil 目录。

翻译指南

  • 是否翻译为中文的判断;
    • 如果英文意思无法直接表达名称所代表的功能,则不予翻译,保留英文,如 Multimeter 翻译成中文为“万用表”,并不是模块的本意“性能取样器”,所以不予翻译;
    • 开发术语,如:Pull 和 Push 等
  • 相同的英文单词和词组在同一意思下,尽量使用相同的翻译;
  • 相同的英文单词和词组在不同意思下,避免使用相同的翻译;
  • 相同结构的英文组合,要使用相同的翻译方法;
  • 如果英文表达本身不准确,翻译过程中要予以校准;

附录

MIT License Copyright (c) 2017 Ariel Yang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/damone/phabricator_zh_Hans.git
git@gitee.com:damone/phabricator_zh_Hans.git
damone
phabricator_zh_Hans
phabricator_zh_Hans
master

搜索帮助