Page MenuHomePhabricator

i18n for CategoryTree extension (zho series,yue)
Closed, ResolvedPublic


Hi, I've just translated the Chinese and Cantonese messages for the CategoryTree
extension, the Chinese messages are mostly dumped from the previous messages from the
Tool Server and from Meta-Wiki.
Hope these new messages can be applied into other projects with lesser work. :)

NB. The CategoryTree.i18n.zh.php may not be readed correctly whenusing the zh-tw
interface language, maybe consider rename into CategoryTree.i18n.zh-tw.php. Also if the
message cannot read correctly when using the zh-hk and zh-sg interface language, please
consider to copy the language file as follows: zh-hk <- zh-tw; zh-sg <- zh-cn.

thanks and regards

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:24 PM
bzimport set Reference to bz7257.
bzimport added a subscriber: Unknown Object (MLST).


This is the patch file of the Chinese language(zho) and Cantonese language(yue)
messages for the CategoryTree extension.


rotemliss wrote:

Sorry, I failed to apply the patch using the "patch" UNIX utility:

patching file CategoryTree.i18n.zh-cn.php
Hunk #2 FAILED at 30.
1 out of 2 hunks FAILED -- saving rejects to file CategoryTree.i18n.zh-cn.php.rej
patching file CategoryTree.i18n.zh-yue.php
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file CategoryTree.i18n.zh-yue.php.rej
patching file CategoryTree.i18n.zh.php
Hunk #2 FAILED at 30.
1 out of 2 hunks FAILED -- saving rejects to file CategoryTree.i18n.zh.php.rej

mmmm..... no idea way whis would be happen, but in the patch file which is generated
using TortoiseSVN for Windows contains some lines like \ No newline at end of file.

or is that those files has been locked by aanther user, I think Daniel maybe solve
for this issue. :)

I think it maybe the bug in the patch utility.

try to use the svn merge command for the patch above.

rotemliss wrote:

Applied to r16459, after using the "dos2unix" utility.