Giter VIP home page Giter VIP logo

phabricator_zh_hans's Introduction

Hi there 👋

phabricator_zh_hans's People

Contributors

dependabot[bot] avatar ericyangpan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phabricator_zh_hans's Issues

使用插件后 日历App 打不开

直接网页显示502
关闭中文翻译后又可以正常显示了
目前不知道phab的错误日志哪里可以找到
作者可以尝试修复一下这个问题吗

出现Error: spawnSync /bin/sh ENOENT 的错误

h-3.2# bin/compile

Switch branch of ../phabricator to stable.
child_process.js:656
throw err;
^

Error: spawnSync /bin/sh ENOENT
at Object.spawnSync (internal/child_process.js:990:20)
at spawnSync (child_process.js:601:24)
at Object.execSync (child_process.js:648:13)
at getGitInfo (/Users/guangzhihe/Work/phabricator_zh_Hans/bin/compile:362:32)
at Object. (/Users/guangzhihe/Work/phabricator_zh_Hans/bin/compile:36:16)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)

translate words issues

"Get Well Soon,\nPhabricator": "快点好起来,\nPhabricator",
=>
"Get Well Soon,\nPhabricator": "马上就好,\nPhabricator",

"Rats!": "卑鄙小人!",
=>
"Rats!": "出错啦!",

"Send Another Email": "发送领一封邮件",
"Send Another Verification Email?": "发送领一封验证邮件?",
=>
"Send Another Email": "发送另一封邮件",
"Send Another Verification Email?": "发送另一封验证邮件?",

搜索功能异常

安装了语言包之后,切换成中文,右上角 搜索功能异常了

Phabricator 修改默认语言的方法

/src/applications/auth/engine/PhabricatorAuthSessionEngine.php

Line: 1126

按照如下方法修改:

// Switch to the user's translation.    
$user_translation = $user->getTranslation();
if(!$user->isLoggedIn())
{
    $user_translation = 'zh_Hans';
}
PhabricatorEnv::setLocaleCode($user_translation);

tips: 需要先安装中文语言包

出现错误!没有跑起来

info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: node index.js
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:223:16)
9 verbose stack at EventEmitter.emit (events.js:110:17)
9 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at ChildProcess.emit (events.js:110:17)
9 verbose stack at maybeClose (child_process.js:1015:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid [email protected]
11 verbose cwd /Users/guangzhihe/Work/phabricator_zh_Hans
12 error Darwin 17.5.0
13 error argv "node" "/usr/local/bin/npm" "start"
14 error node v0.12.7
15 error npm v3.1.2
16 error code ELIFECYCLE
17 error [email protected] start: node index.js
17 error Exit status 1
18 error Failed at the [email protected] start script 'node index.js'.
18 error This is most likely a problem with the phabricator_zh_Hans package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.