Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese localization #691

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added Chinese localization for point.json
Wai Ho Leung committed Apr 4, 2014
commit 5ba34dd0d8b46a9a724c76ff2f7785b79ee783df
37 changes: 19 additions & 18 deletions languages/javascript/localizations/zh/point.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"sectionkey": "points",
"name": "Points",
"help": "Point blocks represent and manipulate x,y coordinates.",
"name": "座標",
"help": "座標(x,y)是指平面上的點的位置。",
"blocks": [
{
"blocktype": "expression",
"id": "71eb3271-6dc0-4a82-81cc-4c50d8acb9e7",
"script": "{x: {{1}}, y: {{2}} }",
"type": "point",
"help": "create a new point",
"help": "建立一個新座標",
"sockets": [
{
"name": "point at x",
"name": "座標 x",
"type": "number",
"value": 0
},
@@ -27,11 +27,12 @@
"id": "efe5e679-8336-4e5a-ade0-4bd930826096",
"type": "point",
"script": "{x: {{1}}[0], y: {{1}}[1]}",
"help": "convert array to point",
"help": "將矩陣轉變成座標",
"sockets": [
{
"name": "point from array",
"type": "array"
"name": "將矩陣",
"type": "array",
"suffix": "轉變成座標"
}
]
},
@@ -40,10 +41,10 @@
"id": "29803c49-5bd5-4473-bff7-b3cf66ab9711",
"type": "point",
"script": "{x: randint(0, global.stage_width), y: randint(0, global.stage_height)}",
"help": "returns a point at a random location on the stage",
"help": "傳回一個隨機座標",
"sockets": [
{
"name": "random point"
"name": "隨機座標"
}
]
},
@@ -52,12 +53,12 @@
"id": "36f0eb56-9370-402d-83ef-99201a62c732",
"script": "{{1}}.x",
"type": "number",
"help": "get the x value of a point",
"help": "座標的X位置",
"sockets": [
{
"name": "point",
"name": "座標",
"type": "point",
"suffix": "x"
"suffix": "的X位置"
}
]
},
@@ -66,12 +67,12 @@
"id": "90b42cf3-185d-4556-b7e8-d9682c187425",
"script": "{{1}}.y",
"type": "number",
"help": "get the y value of a point",
"help": "座標的Y位置",
"sockets": [
{
"name": "point",
"name": "座標",
"type": "point",
"suffix": "y"
"suffix": "的Y位置"
}
]
},
@@ -80,12 +81,12 @@
"id": "743cba63-11d4-4a84-a3b6-a98480bdd731",
"script": "[{{1}}.x, {{1}}.y]",
"type": "array",
"help": "convert a point to an array",
"help": "將座標轉變成矩陣",
"sockets": [
{
"name": "point",
"name": "將座標",
"type": "point",
"suffix": "as array"
"suffix": "轉變成矩陣"
}
]
}