Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

[vis-network]Translate Chinese #3428

Closed
ritevke opened this issue Sep 8, 2017 · 3 comments
Closed

[vis-network]Translate Chinese #3428

ritevke opened this issue Sep 8, 2017 · 3 comments
Assignees

Comments

@ritevke
Copy link

ritevke commented Sep 8, 2017

vis.js能不能把中文的国际化加进来?
// Chinese
exports['cn'] = {
edit: '编辑',
del: '删除选定',
back: '返回',
addNode: '添加节点',
addEdge: '添加连接线',
editNode: '编辑节点',
editEdge: '编辑连接线',
addDescription: '单击空白处放置新节点。',
edgeDescription: '单击某个节点并将该连接线拖动到另一个节点以连接它们。',
editEdgeDescription: '单击控制节点并将它们拖到节点上连接。',
createEdgeError: '无法将连接线连接到群集。',
deleteClusterError: '无法删除群集。',
editClusterError: '无法编辑群集。'
};
exports['zh_CN'] = exports['cn'];

@macleodbroad-wf
Copy link
Contributor

I ran all of these through google translate and they all look correct, assuming that cable is a synonym for edge in cn

macleodbroad-wf pushed a commit to macleodbroad-wf/vis that referenced this issue Sep 8, 2017
@macleodbroad-wf
Copy link
Contributor

Added in #3430

Thank you @ritevke

@macleodbroad-wf macleodbroad-wf self-assigned this Sep 9, 2017
yotamberk pushed a commit that referenced this issue Sep 9, 2017
* Fixes issue #3428 - Adds locale for Chinese (cn)

* Corrects spacing in Chinese locale definition.
@ritevke
Copy link
Author

ritevke commented Sep 11, 2017

不用谢,能不能帮我把#3427这个问题看下呢?

primozs pushed a commit to primozs/vis that referenced this issue Jan 3, 2019
* Fixes issue almende#3428 - Adds locale for Chinese (cn)

* Corrects spacing in Chinese locale definition.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants