Skip to content

Commit

Permalink
Added translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinTree committed Sep 2, 2018
1 parent a6ad184 commit 7016517
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ So a prefered way to convert this into a strict String via a join-text block.
* returns:
* a corresponding JsonArray / JsonObject

![image](https://user-images.githubusercontent.com/22613139/44954546-dc2cf100-aed5-11e8-9b53-a591579164bc.png)
![image](https://user-images.githubusercontent.com/22613139/44956212-fb864700-aef2-11e8-920b-73348de50434.png)

* isAJsonArray
* Check if an object is a JsonArray
Expand All @@ -134,6 +134,6 @@ So a prefered way to convert this into a strict String via a join-text block.
* isAJsonObject
* Check if an object is a JsonObject
* isJsonObject
* ***DEPRECATED*** via CanParseJsonObject
* ***DEPRECATED*** use `CanParseJsonObject` instead
* isNull
* Check if an object is null
50 changes: 50 additions & 0 deletions translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"JsonUtils": {
"en": {
"component": "Json Utilities",
"helpString": "This is a component of json utilities, helping developers handle any json in their apps.",
"properties": {},
"events": {},
"methods": {
"isJsonObject": "(DEPRECATED) Use CanParseJsonObject instead"
},
"params": {}
},
"zh_CN": {
"component": "Json工具",
"helpString": "本Json工具集可以帮助开发者更加方便地进行Json相关的操作",
"properties": {},
"events": {},
"methods": {
"CanParseJsonObject": "可以转换为Json对象",
"Json2List": "Json转列表",
"JsonArray_Append": "Json数组_追加值",
"JsonArray_Get": "Json数组_取值",
"JsonArray_Length": "Json数组_长度",
"JsonArray_Put": "Json数组_赋值",
"JsonArray_Remove": "Json数组_移除值",
"JsonObject_Contains": "Json对象_包含键",
"JsonObject_Get": "Json对象_取值",
"JsonObject_Put": "Json对象_赋值",
"JsonObject_Remove": "Json对象_移除",
"JsonObject_Size": "Json对象_键值对数量",
"List2JsonString": "列表转Json字串",
"ParseJsonString": "解析Json字串",
"ParseList": "解析列表",
"isAJsonArray": "值为Json数组",
"isAJsonArrayOrObject": "值为Json数组或对象",
"isAJsonObject": "值为Json对象",
"isJsonObject": "(已弃用)请使用“可以转换为Json对象”",
"isNull": "值为空"
},
"params": {
"jsonArray": "json数组",
"jsonObject": "json对象",
"object": "输入值",
"key": "",
"value": "",
"index": "索引"
}
}
}
}

0 comments on commit 7016517

Please sign in to comment.