From 2cf08e2fb3aa3a0f6f7d05e083d8b2654b5334ff Mon Sep 17 00:00:00 2001 From: lagelalegal Date: Thu, 15 Oct 2015 18:18:05 +0800 Subject: [PATCH 1/2] Support word retrieve. --- app/scripts/app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/scripts/app.js b/app/scripts/app.js index 63736fd..a54a04d 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -40,7 +40,7 @@ angular.module('abstackVarLib', ['zeroclipboard']) function compare(origin, target){ origin = origin.join(''); for(var i = 0;i Date: Thu, 15 Oct 2015 18:18:58 +0800 Subject: [PATCH 2/2] Update the words. --- app/json/words.json | 98 +++++++++++++++++++++++++++++++++------------ 1 file changed, 73 insertions(+), 25 deletions(-) diff --git a/app/json/words.json b/app/json/words.json index fdc8f60..64fbcc4 100644 --- a/app/json/words.json +++ b/app/json/words.json @@ -1,27 +1,75 @@ [ -{ - "word": "settings", - "url": "http://www.dict.cn/settings", - "tags": ["设置", "设定", "偏好"] -}, -{ - "word": "feedback", - "tags": ["建议", "反馈", "投诉", "意见", "改进"] -}, -{ - "word": "project", - "tags": ["项目", "标", "工程"] -}, -{ - "word": "dashboard", - "tags": ["仪表盘", "概览", "主页", "监控"] -}, -{ - "word": "redirect", - "tags": ["跳转", "转到"] -}, -{ - "word": "following", - "tags": ["关注", "正在关注", "关心"] -} + { + "word": "settings", + "url": "http://www.dict.cn/settings", + "tags": ["设置", "设定", "偏好"] + }, + { + "word": "feedback", + "tags": ["建议", "反馈", "投诉", "意见", "改进"] + }, + { + "word": "project", + "tags": ["项目", "标", "工程"] + }, + { + "word": "dashboard", + "tags": ["仪表盘", "概览", "主页", "监控"] + }, + { + "word": "redirect", + "tags": ["跳转", "转到"] + }, + { + "word": "following", + "tags": ["关注", "正在关注", "关心"] + }, + { + "word": "gender", + "tags": ["性别", "身份"] + }, + { + "word": "phone", + "tags": ["手机号码"] + }, + { + "word": "avatar", + "tags": ["头像"] + }, + { + "word": "password", + "tags": ["密码"] + }, + { + "word": "points", + "tags": ["积分"] + }, + { + "word": "score", + "tags": ["得分", "分值"] + }, + { + "word": "diliveryman", + "tags": ["配送员"] + }, + { + "word": "is_show", + "tags": ["是否可见", "是否封号"] + }, + { + "word": "username", + "tags": ["用户名", "收货人"] + }, + { + "word": "nickname", + "tags": ["昵称"] + }, + { + "word": "is_default", + "tags": ["是否默认"] + }, + { + "word": "detail_address", + "tags": ["详细地址"] + } ] \ No newline at end of file