Browse Source

双语翻译

narrowizard 5 years ago
parent
commit
7b9c0b8a66
9 changed files with 113 additions and 113 deletions
  1. 26
    26
      lib/lang/en-US.js
  2. 1
    1
      lib/lang/en-US.js.map
  3. 18
    18
      lib/lang/index.js
  4. 1
    1
      lib/lang/index.js.map
  5. 11
    11
      lib/lang/zh-CN.js
  6. 1
    1
      lib/lang/zh-CN.js.map
  7. 26
    26
      src/lang/en-US.js
  8. 18
    18
      src/lang/index.js
  9. 11
    11
      src/lang/zh-CN.js

+ 26
- 26
lib/lang/en-US.js View File

@@ -4,39 +4,39 @@ Object.defineProperty(exports, "__esModule", {
4 4
   value: true
5 5
 });
6 6
 var USdata = {
7
-  "editor.alreadyEntered": "already entered {count}/{maxLength}",
8
-  "editor.placeholder": "say...",
9
-  "editor.maxLength": "Input number must < {maxLength}",
10
-  "editor.SubmitBtn": "Submit",
11
-  "editor.uploadTip": "Upload Pictures",
12
-  "editor.uploadCount": "(You can also upload {count} images)",
13
-  "editor.uploadBtn": "upload",
7
+  "editor.alreadyEntered": "{count} words entered",
8
+  "editor.placeholder": "Say something",
9
+  "editor.maxLength": "Maximum {maxLength} words",
10
+  "editor.SubmitBtn": "Send",
11
+  "editor.uploadTip": "Upload pictures",
12
+  "editor.uploadCount": "(You could upload {count} more)",
13
+  "editor.uploadBtn": "Upload",
14 14
 
15
-  "comment.tourist": "tourist",
16
-  "comment.totalComment": "total {total, plural, =1 {one comment} other {# comments}}",
17
-  "comment.reply": "reply",
18
-  "comment.moreComment": "More",
15
+  "comment.tourist": "Visitor",
16
+  "comment.totalComment": "Total {total, plural, =1 {one comment} other {# comments}}",
17
+  "comment.reply": "Reply",
18
+  "comment.moreComment": "More comments",
19 19
 
20
-  "reply.totalReply": "{total, plural, =1 {one reply} other {# replies}}",
21
-  "reply.moreReply": "More",
22
-  "reply.collapse": "clloasp reply",
20
+  "reply.totalReply": "Total {total, plural, =1 {one reply} other {# replies}}",
21
+  "reply.moreReply": "More replies",
22
+  "reply.collapse": "Fold replies",
23 23
 
24
-  "picture.collapse": "collapse",
25
-  "picture.viewOriginal": "view original picture",
24
+  "picture.collapse": "Fold",
25
+  "picture.viewOriginal": "See the original",
26 26
 
27
-  "popConfirm.title": "Sure?",
28
-  "popConfirm.ok": "Ok",
27
+  "popConfirm.title": "Delete?",
28
+  "popConfirm.ok": "Confirm",
29 29
   "popConfirm.cancel": "Cancel",
30 30
   "popConfirm.delete": "Delete",
31 31
 
32
-  "message.noMoreComment": "no more comment",
33
-  "message.noMoreData": "no more data",
34
-  "message.notNull": "comment not null",
35
-  "message.success": "comment success",
36
-  "message.replyNoNull": "reply not null",
37
-  "message.replySuccess": "reply success",
38
-  "message.cancelLickSuccess": "cancel like success",
39
-  "message.likeSuccess": "like success"
32
+  "message.noMoreComment": "No more comments",
33
+  "message.noMoreData": "No more data",
34
+  "message.notNull": "It's still empty",
35
+  "message.success": "Comments sent",
36
+  "message.replyNoNull": "It's still empty",
37
+  "message.replySuccess": "Reply sent",
38
+  "message.cancelLickSuccess": "Unliked",
39
+  "message.likeSuccess": "Liked"
40 40
 };
41 41
 
42 42
 exports.default = USdata;

+ 1
- 1
lib/lang/en-US.js.map View File

@@ -1 +1 @@
1
-{"version":3,"sources":["../../src/lang/en-US.js"],"names":["USdata"],"mappings":";;;;;AAAA,IAAMA,SAAS;AACb,2BAAyB,qCADZ;AAEb,wBAAsB,QAFT;AAGb,sBAAoB,iCAHP;AAIb,sBAAoB,QAJP;AAKb,sBAAoB,iBALP;AAMb,wBAAsB,sCANT;AAOb,sBAAoB,QAPP;;AASb,qBAAmB,SATN;AAUb,0BACE,4DAXW;AAYb,mBAAiB,OAZJ;AAab,yBAAuB,MAbV;;AAeb,sBAAoB,mDAfP;AAgBb,qBAAmB,MAhBN;AAiBb,oBAAkB,eAjBL;;AAmBb,sBAAoB,UAnBP;AAoBb,0BAAwB,uBApBX;;AAsBb,sBAAoB,OAtBP;AAuBb,mBAAiB,IAvBJ;AAwBb,uBAAqB,QAxBR;AAyBb,uBAAqB,QAzBR;;AA2Bb,2BAAyB,iBA3BZ;AA4Bb,wBAAsB,cA5BT;AA6Bb,qBAAmB,kBA7BN;AA8Bb,qBAAmB,iBA9BN;AA+Bb,yBAAuB,gBA/BV;AAgCb,0BAAwB,eAhCX;AAiCb,+BAA6B,qBAjChB;AAkCb,yBAAuB;AAlCV,CAAf;;kBAqCeA,M","file":"en-US.js","sourcesContent":["const USdata = {\r\n  \"editor.alreadyEntered\": \"already entered {count}/{maxLength}\",\r\n  \"editor.placeholder\": \"say...\",\r\n  \"editor.maxLength\": \"Input number must < {maxLength}\",\r\n  \"editor.SubmitBtn\": \"Submit\",\r\n  \"editor.uploadTip\": \"Upload Pictures\",\r\n  \"editor.uploadCount\": \"(You can also upload {count} images)\",\r\n  \"editor.uploadBtn\": \"upload\",\r\n\r\n  \"comment.tourist\": \"tourist\",\r\n  \"comment.totalComment\":\r\n    \"total {total, plural, =1 {one comment} other {# comments}}\",\r\n  \"comment.reply\": \"reply\",\r\n  \"comment.moreComment\": \"More\",\r\n\r\n  \"reply.totalReply\": \"{total, plural, =1 {one reply} other {# replies}}\",\r\n  \"reply.moreReply\": \"More\",\r\n  \"reply.collapse\": \"clloasp reply\",\r\n\r\n  \"picture.collapse\": \"collapse\",\r\n  \"picture.viewOriginal\": \"view original picture\",\r\n\r\n  \"popConfirm.title\": \"Sure?\",\r\n  \"popConfirm.ok\": \"Ok\",\r\n  \"popConfirm.cancel\": \"Cancel\",\r\n  \"popConfirm.delete\": \"Delete\",\r\n\r\n  \"message.noMoreComment\": \"no more comment\",\r\n  \"message.noMoreData\": \"no more data\",\r\n  \"message.notNull\": \"comment not null\",\r\n  \"message.success\": \"comment success\",\r\n  \"message.replyNoNull\": \"reply not null\",\r\n  \"message.replySuccess\": \"reply success\",\r\n  \"message.cancelLickSuccess\": \"cancel like success\",\r\n  \"message.likeSuccess\": \"like success\"\r\n};\r\n\r\nexport default USdata;\r\n"]}
1
+{"version":3,"sources":["../../src/lang/en-US.js"],"names":["USdata"],"mappings":";;;;;AAAA,IAAMA,SAAS;AACb,2BAAyB,uBADZ;AAEb,wBAAsB,eAFT;AAGb,sBAAoB,2BAHP;AAIb,sBAAoB,MAJP;AAKb,sBAAoB,iBALP;AAMb,wBAAsB,iCANT;AAOb,sBAAoB,QAPP;;AASb,qBAAmB,SATN;AAUb,0BAAwB,4DAVX;AAWb,mBAAiB,OAXJ;AAYb,yBAAuB,eAZV;;AAcb,sBAAoB,yDAdP;AAeb,qBAAmB,cAfN;AAgBb,oBAAkB,cAhBL;;AAkBb,sBAAoB,MAlBP;AAmBb,0BAAwB,kBAnBX;;AAqBb,sBAAoB,SArBP;AAsBb,mBAAiB,SAtBJ;AAuBb,uBAAqB,QAvBR;AAwBb,uBAAqB,QAxBR;;AA0Bb,2BAAyB,kBA1BZ;AA2Bb,wBAAsB,cA3BT;AA4Bb,qBAAmB,kBA5BN;AA6Bb,qBAAmB,eA7BN;AA8Bb,yBAAuB,kBA9BV;AA+Bb,0BAAwB,YA/BX;AAgCb,+BAA6B,SAhChB;AAiCb,yBAAuB;AAjCV,CAAf;;kBAoCeA,M","file":"en-US.js","sourcesContent":["const USdata = {\r\n  \"editor.alreadyEntered\": \"{count} words entered\",\r\n  \"editor.placeholder\": \"Say something\",\r\n  \"editor.maxLength\": \"Maximum {maxLength} words\",\r\n  \"editor.SubmitBtn\": \"Send\",\r\n  \"editor.uploadTip\": \"Upload pictures\",\r\n  \"editor.uploadCount\": \"(You could upload {count} more)\",\r\n  \"editor.uploadBtn\": \"Upload\",\r\n\r\n  \"comment.tourist\": \"Visitor\",\r\n  \"comment.totalComment\": \"Total {total, plural, =1 {one comment} other {# comments}}\",\r\n  \"comment.reply\": \"Reply\",\r\n  \"comment.moreComment\": \"More comments\",\r\n\r\n  \"reply.totalReply\": \"Total {total, plural, =1 {one reply} other {# replies}}\",\r\n  \"reply.moreReply\": \"More replies\",\r\n  \"reply.collapse\": \"Fold replies\",\r\n\r\n  \"picture.collapse\": \"Fold\",\r\n  \"picture.viewOriginal\": \"See the original\",\r\n\r\n  \"popConfirm.title\": \"Delete?\",\r\n  \"popConfirm.ok\": \"Confirm\",\r\n  \"popConfirm.cancel\": \"Cancel\",\r\n  \"popConfirm.delete\": \"Delete\",\r\n\r\n  \"message.noMoreComment\": \"No more comments\",\r\n  \"message.noMoreData\": \"No more data\",\r\n  \"message.notNull\": \"It's still empty\",\r\n  \"message.success\": \"Comments sent\",\r\n  \"message.replyNoNull\": \"It's still empty\",\r\n  \"message.replySuccess\": \"Reply sent\",\r\n  \"message.cancelLickSuccess\": \"Unliked\",\r\n  \"message.likeSuccess\": \"Liked\"\r\n};\r\n\r\nexport default USdata;\r\n"]}

+ 18
- 18
lib/lang/index.js View File

@@ -19,26 +19,26 @@ var LOCALES_RESPONSE = exports.LOCALES_RESPONSE = {
19 19
   "zh-CN": {
20 20
     "not found": "没有数据",
21 21
     "auth failed": "请先登录",
22
-    "create comment failed": "创建评论失败",
23
-    "comment favor failed": "评论点赞失败",
24
-    "delete comment favor failed": "评论取消点赞失败",
25
-    "get comments failed": "获取评论列表失败",
26
-    "create reply failed": "创建回复失败",
27
-    "reply favor failed": "回复点赞失败",
28
-    "delete reply favor failed": "删除回复点赞失败",
29
-    "get replies failed": "获取回复列表失败"
22
+    "create comment failed": "评论未发送",
23
+    "comment favor failed": "点赞失败",
24
+    "delete comment favor failed": "取消点赞失败",
25
+    "get comments failed": "评论加载失败",
26
+    "create reply failed": "回复失败",
27
+    "reply favor failed": "点赞失败",
28
+    "delete reply favor failed": "取消点赞失败",
29
+    "get replies failed": "回复加载失败"
30 30
   },
31 31
   "en-US": {
32
-    "not found": "no data",
33
-    "auth failed": "please log in first",
34
-    "create comment failed": "Failed to create comment",
35
-    "comment favor failed": "Comment likes failure",
36
-    "delete comment favor failed": "评论取消点赞失败",
37
-    "get comments failed": "Comment cancels praise failure",
38
-    "create reply failed": "Create reply failed",
39
-    "reply favor failed": "Reply to praise failed",
40
-    "delete reply favor failed": "Delete reply clicks failed",
41
-    "get replies failed": "Failed to get reply list"
32
+    "not found": "No data",
33
+    "auth failed": "Please Login",
34
+    "create comment failed": "Comments not sent",
35
+    "comment favor failed": "Liking failed",
36
+    "delete comment favor failed": "Unliking failed",
37
+    "get comments failed": "Comments loading failed",
38
+    "create reply failed": "Replying failed",
39
+    "reply favor failed": "Liking failed",
40
+    "delete reply favor failed": "Unliking failed",
41
+    "get replies failed": "Loading of replies failed"
42 42
   }
43 43
 };
44 44
 //# sourceMappingURL=index.js.map

+ 1
- 1
lib/lang/index.js.map View File

@@ -1 +1 @@
1
-{"version":3,"sources":["../../src/lang/index.js"],"names":["SUPPORT_LOCALES","name","value","LOCALES_RESPONSE"],"mappings":";;;;;AAAA;;;AAGO,IAAMA,4CAAkB,CAC7B;AACEC,QAAM,SADR;AAEEC,SAAO;AAFT,CAD6B,EAK7B;AACED,QAAM,MADR;AAEEC,SAAO;AAFT,CAL6B,CAAxB;;AAWP;AACO,IAAMC,8CAAmB;AAC9B,WAAS;AACP,iBAAa,MADN;AAEP,mBAAe,MAFR;AAGP,6BAAyB,QAHlB;AAIP,4BAAwB,QAJjB;AAKP,mCAA+B,UALxB;AAMP,2BAAuB,UANhB;AAOP,2BAAuB,QAPhB;AAQP,0BAAsB,QARf;AASP,iCAA6B,UATtB;AAUP,0BAAsB;AAVf,GADqB;AAa9B,WAAS;AACP,iBAAa,SADN;AAEP,mBAAe,qBAFR;AAGP,6BAAyB,0BAHlB;AAIP,4BAAwB,uBAJjB;AAKP,mCAA+B,UALxB;AAMP,2BAAuB,gCANhB;AAOP,2BAAuB,qBAPhB;AAQP,0BAAsB,wBARf;AASP,iCAA6B,4BATtB;AAUP,0BAAsB;AAVf;AAbqB,CAAzB","file":"index.js","sourcesContent":["/**\r\n * 当前支持的语言\r\n */\r\nexport const SUPPORT_LOCALES = [\r\n  {\r\n    name: \"English\",\r\n    value: \"en-US\"\r\n  },\r\n  {\r\n    name: \"简体中文\",\r\n    value: \"zh-CN\"\r\n  }\r\n];\r\n\r\n// 服务端返回的英文短语和中文提示的对应\r\nexport const LOCALES_RESPONSE = {\r\n  \"zh-CN\": {\r\n    \"not found\": \"没有数据\",\r\n    \"auth failed\": \"请先登录\",\r\n    \"create comment failed\": \"创建评论失败\",\r\n    \"comment favor failed\": \"评论点赞失败\",\r\n    \"delete comment favor failed\": \"评论取消点赞失败\",\r\n    \"get comments failed\": \"获取评论列表失败\",\r\n    \"create reply failed\": \"创建回复失败\",\r\n    \"reply favor failed\": \"回复点赞失败\",\r\n    \"delete reply favor failed\": \"删除回复点赞失败\",\r\n    \"get replies failed\": \"获取回复列表失败\"\r\n  },\r\n  \"en-US\": {\r\n    \"not found\": \"no data\",\r\n    \"auth failed\": \"please log in first\",\r\n    \"create comment failed\": \"Failed to create comment\",\r\n    \"comment favor failed\": \"Comment likes failure\",\r\n    \"delete comment favor failed\": \"评论取消点赞失败\",\r\n    \"get comments failed\": \"Comment cancels praise failure\",\r\n    \"create reply failed\": \"Create reply failed\",\r\n    \"reply favor failed\": \"Reply to praise failed\",\r\n    \"delete reply favor failed\": \"Delete reply clicks failed\",\r\n    \"get replies failed\": \"Failed to get reply list\"\r\n  }\r\n};\r\n"]}
1
+{"version":3,"sources":["../../src/lang/index.js"],"names":["SUPPORT_LOCALES","name","value","LOCALES_RESPONSE"],"mappings":";;;;;AAAA;;;AAGO,IAAMA,4CAAkB,CAC7B;AACEC,QAAM,SADR;AAEEC,SAAO;AAFT,CAD6B,EAK7B;AACED,QAAM,MADR;AAEEC,SAAO;AAFT,CAL6B,CAAxB;;AAWP;AACO,IAAMC,8CAAmB;AAC9B,WAAS;AACP,iBAAa,MADN;AAEP,mBAAe,MAFR;AAGP,6BAAyB,OAHlB;AAIP,4BAAwB,MAJjB;AAKP,mCAA+B,QALxB;AAMP,2BAAuB,QANhB;AAOP,2BAAuB,MAPhB;AAQP,0BAAsB,MARf;AASP,iCAA6B,QATtB;AAUP,0BAAsB;AAVf,GADqB;AAa9B,WAAS;AACP,iBAAa,SADN;AAEP,mBAAe,cAFR;AAGP,6BAAyB,mBAHlB;AAIP,4BAAwB,eAJjB;AAKP,mCAA+B,iBALxB;AAMP,2BAAuB,yBANhB;AAOP,2BAAuB,iBAPhB;AAQP,0BAAsB,eARf;AASP,iCAA6B,iBATtB;AAUP,0BAAsB;AAVf;AAbqB,CAAzB","file":"index.js","sourcesContent":["/**\r\n * 当前支持的语言\r\n */\r\nexport const SUPPORT_LOCALES = [\r\n  {\r\n    name: \"English\",\r\n    value: \"en-US\"\r\n  },\r\n  {\r\n    name: \"简体中文\",\r\n    value: \"zh-CN\"\r\n  }\r\n];\r\n\r\n// 服务端返回的英文短语和中文提示的对应\r\nexport const LOCALES_RESPONSE = {\r\n  \"zh-CN\": {\r\n    \"not found\": \"没有数据\",\r\n    \"auth failed\": \"请先登录\",\r\n    \"create comment failed\": \"评论未发送\",\r\n    \"comment favor failed\": \"点赞失败\",\r\n    \"delete comment favor failed\": \"取消点赞失败\",\r\n    \"get comments failed\": \"评论加载失败\",\r\n    \"create reply failed\": \"回复失败\",\r\n    \"reply favor failed\": \"点赞失败\",\r\n    \"delete reply favor failed\": \"取消点赞失败\",\r\n    \"get replies failed\": \"回复加载失败\"\r\n  },\r\n  \"en-US\": {\r\n    \"not found\": \"No data\",\r\n    \"auth failed\": \"Please Login\",\r\n    \"create comment failed\": \"Comments not sent\",\r\n    \"comment favor failed\": \"Liking failed\",\r\n    \"delete comment favor failed\": \"Unliking failed\",\r\n    \"get comments failed\": \"Comments loading failed\",\r\n    \"create reply failed\": \"Replying failed\",\r\n    \"reply favor failed\": \"Liking failed\",\r\n    \"delete reply favor failed\": \"Unliking failed\",\r\n    \"get replies failed\": \"Loading of replies failed\"\r\n  }\r\n};\r\n"]}

+ 11
- 11
lib/lang/zh-CN.js View File

@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6 6
 var CNdata = {
7 7
   "editor.alreadyEntered": "已输入{count}/140字",
8 8
   "editor.placeholder": "说点什么吧...",
9
-  "editor.maxLength": "字数不过超过{maxLength}字",
10
-  "editor.SubmitBtn": "发",
9
+  "editor.maxLength": "字数上限{maxLength}",
10
+  "editor.SubmitBtn": "发",
11 11
   "editor.uploadTip": "上传图片",
12 12
   "editor.uploadCount": "(您还能上传{count}张图片)",
13 13
   "editor.uploadBtn": "上传",
@@ -15,10 +15,10 @@ var CNdata = {
15 15
   "comment.tourist": "游客",
16 16
   "comment.totalComment": "共{total}条评论",
17 17
   "comment.reply": "回复",
18
-  "comment.moreComment": "查看更多评论",
18
+  "comment.moreComment": "更多评论",
19 19
 
20
-  "reply.totalReply": "{total}条回复",
21
-  "reply.moreReply": "查看更多回复",
20
+  "reply.totalReply": "{total}条回复",
21
+  "reply.moreReply": "更多回复",
22 22
   "reply.collapse": "收起回复",
23 23
 
24 24
   "picture.collapse": "收起",
@@ -31,12 +31,12 @@ var CNdata = {
31 31
 
32 32
   "message.noMoreComment": "没有更多评论了",
33 33
   "message.noMoreData": "没有更多数据了!",
34
-  "message.notNull": "评论内容不能为空",
35
-  "message.success": "评论成功!",
36
-  "message.replyNoNull": "回复内容不能为空",
37
-  "message.replySuccess": "回复成功!",
38
-  "message.cancelLickSuccess": "取消点赞成功!",
39
-  "message.likeSuccess": "点赞成功!"
34
+  "message.notNull": "没写内容呢",
35
+  "message.success": "评论已发送!",
36
+  "message.replyNoNull": "没写内容呢",
37
+  "message.replySuccess": "回复已发送!",
38
+  "message.cancelLickSuccess": "取消点赞!",
39
+  "message.likeSuccess": "已赞!"
40 40
 };
41 41
 
42 42
 exports.default = CNdata;

+ 1
- 1
lib/lang/zh-CN.js.map View File

@@ -1 +1 @@
1
-{"version":3,"sources":["../../src/lang/zh-CN.js"],"names":["CNdata"],"mappings":";;;;;AAAA,IAAMA,SAAS;AACb,2BAAyB,iBADZ;AAEb,wBAAsB,UAFT;AAGb,sBAAoB,oBAHP;AAIb,sBAAoB,IAJP;AAKb,sBAAoB,MALP;AAMb,wBAAsB,mBANT;AAOb,sBAAoB,IAPP;;AASb,qBAAmB,IATN;AAUb,0BAAwB,aAVX;AAWb,mBAAiB,IAXJ;AAYb,yBAAuB,QAZV;;AAcb,sBAAoB,YAdP;AAeb,qBAAmB,QAfN;AAgBb,oBAAkB,MAhBL;;AAkBb,sBAAoB,IAlBP;AAmBb,0BAAwB,MAnBX;;AAqBb,sBAAoB,QArBP;AAsBb,mBAAiB,IAtBJ;AAuBb,uBAAqB,IAvBR;AAwBb,uBAAqB,IAxBR;;AA0Bb,2BAAyB,SA1BZ;AA2Bb,wBAAsB,UA3BT;AA4Bb,qBAAmB,UA5BN;AA6Bb,qBAAmB,OA7BN;AA8Bb,yBAAuB,UA9BV;AA+Bb,0BAAwB,OA/BX;AAgCb,+BAA6B,SAhChB;AAiCb,yBAAuB;AAjCV,CAAf;;kBAoCeA,M","file":"zh-CN.js","sourcesContent":["const CNdata = {\r\n  \"editor.alreadyEntered\": \"已输入{count}/140字\",\r\n  \"editor.placeholder\": \"说点什么吧...\",\r\n  \"editor.maxLength\": \"字数不过超过{maxLength}字\",\r\n  \"editor.SubmitBtn\": \"发表\",\r\n  \"editor.uploadTip\": \"上传图片\",\r\n  \"editor.uploadCount\": \"(您还能上传{count}张图片)\",\r\n  \"editor.uploadBtn\": \"上传\",\r\n\r\n  \"comment.tourist\": \"游客\",\r\n  \"comment.totalComment\": \"共{total}条评论\",\r\n  \"comment.reply\": \"回复\",\r\n  \"comment.moreComment\": \"查看更多评论\",\r\n\r\n  \"reply.totalReply\": \"{total}条回复\",\r\n  \"reply.moreReply\": \"查看更多回复\",\r\n  \"reply.collapse\": \"收起回复\",\r\n\r\n  \"picture.collapse\": \"收起\",\r\n  \"picture.viewOriginal\": \"查看原图\",\r\n\r\n  \"popConfirm.title\": \"确定要删除吗\",\r\n  \"popConfirm.ok\": \"确定\",\r\n  \"popConfirm.cancel\": \"取消\",\r\n  \"popConfirm.delete\": \"删除\",\r\n\r\n  \"message.noMoreComment\": \"没有更多评论了\",\r\n  \"message.noMoreData\": \"没有更多数据了!\",\r\n  \"message.notNull\": \"评论内容不能为空\",\r\n  \"message.success\": \"评论成功!\",\r\n  \"message.replyNoNull\": \"回复内容不能为空\",\r\n  \"message.replySuccess\": \"回复成功!\",\r\n  \"message.cancelLickSuccess\": \"取消点赞成功!\",\r\n  \"message.likeSuccess\": \"点赞成功!\"\r\n};\r\n\r\nexport default CNdata;\r\n"]}
1
+{"version":3,"sources":["../../src/lang/zh-CN.js"],"names":["CNdata"],"mappings":";;;;;AAAA,IAAMA,SAAS;AACb,2BAAyB,iBADZ;AAEb,wBAAsB,UAFT;AAGb,sBAAoB,iBAHP;AAIb,sBAAoB,IAJP;AAKb,sBAAoB,MALP;AAMb,wBAAsB,mBANT;AAOb,sBAAoB,IAPP;;AASb,qBAAmB,IATN;AAUb,0BAAwB,aAVX;AAWb,mBAAiB,IAXJ;AAYb,yBAAuB,MAZV;;AAcb,sBAAoB,aAdP;AAeb,qBAAmB,MAfN;AAgBb,oBAAkB,MAhBL;;AAkBb,sBAAoB,IAlBP;AAmBb,0BAAwB,MAnBX;;AAqBb,sBAAoB,QArBP;AAsBb,mBAAiB,IAtBJ;AAuBb,uBAAqB,IAvBR;AAwBb,uBAAqB,IAxBR;;AA0Bb,2BAAyB,SA1BZ;AA2Bb,wBAAsB,UA3BT;AA4Bb,qBAAmB,OA5BN;AA6Bb,qBAAmB,QA7BN;AA8Bb,yBAAuB,OA9BV;AA+Bb,0BAAwB,QA/BX;AAgCb,+BAA6B,QAhChB;AAiCb,yBAAuB;AAjCV,CAAf;;kBAoCeA,M","file":"zh-CN.js","sourcesContent":["const CNdata = {\r\n  \"editor.alreadyEntered\": \"已输入{count}/140字\",\r\n  \"editor.placeholder\": \"说点什么吧...\",\r\n  \"editor.maxLength\": \"字数上限{maxLength}\",\r\n  \"editor.SubmitBtn\": \"发送\",\r\n  \"editor.uploadTip\": \"上传图片\",\r\n  \"editor.uploadCount\": \"(您还能上传{count}张图片)\",\r\n  \"editor.uploadBtn\": \"上传\",\r\n\r\n  \"comment.tourist\": \"游客\",\r\n  \"comment.totalComment\": \"共{total}条评论\",\r\n  \"comment.reply\": \"回复\",\r\n  \"comment.moreComment\": \"更多评论\",\r\n\r\n  \"reply.totalReply\": \"{total}条回复\",\r\n  \"reply.moreReply\": \"更多回复\",\r\n  \"reply.collapse\": \"收起回复\",\r\n\r\n  \"picture.collapse\": \"收起\",\r\n  \"picture.viewOriginal\": \"查看原图\",\r\n\r\n  \"popConfirm.title\": \"确定要删除吗\",\r\n  \"popConfirm.ok\": \"确定\",\r\n  \"popConfirm.cancel\": \"取消\",\r\n  \"popConfirm.delete\": \"删除\",\r\n\r\n  \"message.noMoreComment\": \"没有更多评论了\",\r\n  \"message.noMoreData\": \"没有更多数据了!\",\r\n  \"message.notNull\": \"没写内容呢\",\r\n  \"message.success\": \"评论已发送!\",\r\n  \"message.replyNoNull\": \"没写内容呢\",\r\n  \"message.replySuccess\": \"回复已发送!\",\r\n  \"message.cancelLickSuccess\": \"已取消点赞!\",\r\n  \"message.likeSuccess\": \"已赞!\"\r\n};\r\n\r\nexport default CNdata;\r\n"]}

+ 26
- 26
src/lang/en-US.js View File

@@ -1,38 +1,38 @@
1 1
 const USdata = {
2
-  "editor.alreadyEntered": "already entered {count}/{maxLength}",
3
-  "editor.placeholder": "say...",
4
-  "editor.maxLength": "Input number must < {maxLength}",
5
-  "editor.SubmitBtn": "Submit",
6
-  "editor.uploadTip": "Upload Pictures",
7
-  "editor.uploadCount": "(You can also upload {count} images)",
8
-  "editor.uploadBtn": "upload",
2
+  "editor.alreadyEntered": "{count} words entered",
3
+  "editor.placeholder": "Say something",
4
+  "editor.maxLength": "Maximum {maxLength} words",
5
+  "editor.SubmitBtn": "Send",
6
+  "editor.uploadTip": "Upload pictures",
7
+  "editor.uploadCount": "(You could upload {count} more)",
8
+  "editor.uploadBtn": "Upload",
9 9
 
10
-  "comment.tourist": "tourist",
10
+  "comment.tourist": "Visitor",
11 11
   "comment.totalComment":
12
-    "total {total, plural, =1 {one comment} other {# comments}}",
13
-  "comment.reply": "reply",
14
-  "comment.moreComment": "More",
12
+    "Total {total, plural, =1 {one comment} other {# comments}}",
13
+  "comment.reply": "Reply",
14
+  "comment.moreComment": "More comments",
15 15
 
16
-  "reply.totalReply": "{total, plural, =1 {one reply} other {# replies}}",
17
-  "reply.moreReply": "More",
18
-  "reply.collapse": "clloasp reply",
16
+  "reply.totalReply": "Total {total, plural, =1 {one reply} other {# replies}}",
17
+  "reply.moreReply": "More replies",
18
+  "reply.collapse": "Fold replies",
19 19
 
20
-  "picture.collapse": "collapse",
21
-  "picture.viewOriginal": "view original picture",
20
+  "picture.collapse": "Fold",
21
+  "picture.viewOriginal": "See the original",
22 22
 
23
-  "popConfirm.title": "Sure?",
24
-  "popConfirm.ok": "Ok",
23
+  "popConfirm.title": "Delete?",
24
+  "popConfirm.ok": "Confirm",
25 25
   "popConfirm.cancel": "Cancel",
26 26
   "popConfirm.delete": "Delete",
27 27
 
28
-  "message.noMoreComment": "no more comment",
29
-  "message.noMoreData": "no more data",
30
-  "message.notNull": "comment not null",
31
-  "message.success": "comment success",
32
-  "message.replyNoNull": "reply not null",
33
-  "message.replySuccess": "reply success",
34
-  "message.cancelLickSuccess": "cancel like success",
35
-  "message.likeSuccess": "like success"
28
+  "message.noMoreComment": "No more comments",
29
+  "message.noMoreData": "No more data",
30
+  "message.notNull": "It's still empty",
31
+  "message.success": "Comments sent",
32
+  "message.replyNoNull": "It's still empty",
33
+  "message.replySuccess": "Reply sent",
34
+  "message.cancelLickSuccess": "Unliked",
35
+  "message.likeSuccess": "Liked"
36 36
 };
37 37
 
38 38
 export default USdata;

+ 18
- 18
src/lang/index.js View File

@@ -17,25 +17,25 @@ export const LOCALES_RESPONSE = {
17 17
   "zh-CN": {
18 18
     "not found": "没有数据",
19 19
     "auth failed": "请先登录",
20
-    "create comment failed": "创建评论失败",
21
-    "comment favor failed": "评论点赞失败",
22
-    "delete comment favor failed": "评论取消点赞失败",
23
-    "get comments failed": "获取评论列表失败",
24
-    "create reply failed": "创建回复失败",
25
-    "reply favor failed": "回复点赞失败",
26
-    "delete reply favor failed": "删除回复点赞失败",
27
-    "get replies failed": "获取回复列表失败"
20
+    "create comment failed": "评论未发送",
21
+    "comment favor failed": "点赞失败",
22
+    "delete comment favor failed": "取消点赞失败",
23
+    "get comments failed": "评论加载失败",
24
+    "create reply failed": "回复失败",
25
+    "reply favor failed": "点赞失败",
26
+    "delete reply favor failed": "取消点赞失败",
27
+    "get replies failed": "回复加载失败"
28 28
   },
29 29
   "en-US": {
30
-    "not found": "no data",
31
-    "auth failed": "please log in first",
32
-    "create comment failed": "Failed to create comment",
33
-    "comment favor failed": "Comment likes failure",
34
-    "delete comment favor failed": "评论取消点赞失败",
35
-    "get comments failed": "Comment cancels praise failure",
36
-    "create reply failed": "Create reply failed",
37
-    "reply favor failed": "Reply to praise failed",
38
-    "delete reply favor failed": "Delete reply clicks failed",
39
-    "get replies failed": "Failed to get reply list"
30
+    "not found": "No data",
31
+    "auth failed": "Please Login",
32
+    "create comment failed": "Comments not sent",
33
+    "comment favor failed": "Liking failed",
34
+    "delete comment favor failed": "Unliking failed",
35
+    "get comments failed": "Comments loading failed",
36
+    "create reply failed": "Replying failed",
37
+    "reply favor failed": "Liking failed",
38
+    "delete reply favor failed": "Unliking failed",
39
+    "get replies failed": "Loading of replies failed"
40 40
   }
41 41
 };

+ 11
- 11
src/lang/zh-CN.js View File

@@ -1,8 +1,8 @@
1 1
 const CNdata = {
2 2
   "editor.alreadyEntered": "已输入{count}/140字",
3 3
   "editor.placeholder": "说点什么吧...",
4
-  "editor.maxLength": "字数不过超过{maxLength}字",
5
-  "editor.SubmitBtn": "发",
4
+  "editor.maxLength": "字数上限{maxLength}",
5
+  "editor.SubmitBtn": "发",
6 6
   "editor.uploadTip": "上传图片",
7 7
   "editor.uploadCount": "(您还能上传{count}张图片)",
8 8
   "editor.uploadBtn": "上传",
@@ -10,10 +10,10 @@ const CNdata = {
10 10
   "comment.tourist": "游客",
11 11
   "comment.totalComment": "共{total}条评论",
12 12
   "comment.reply": "回复",
13
-  "comment.moreComment": "查看更多评论",
13
+  "comment.moreComment": "更多评论",
14 14
 
15
-  "reply.totalReply": "{total}条回复",
16
-  "reply.moreReply": "查看更多回复",
15
+  "reply.totalReply": "{total}条回复",
16
+  "reply.moreReply": "更多回复",
17 17
   "reply.collapse": "收起回复",
18 18
 
19 19
   "picture.collapse": "收起",
@@ -26,12 +26,12 @@ const CNdata = {
26 26
 
27 27
   "message.noMoreComment": "没有更多评论了",
28 28
   "message.noMoreData": "没有更多数据了!",
29
-  "message.notNull": "评论内容不能为空",
30
-  "message.success": "评论成功!",
31
-  "message.replyNoNull": "回复内容不能为空",
32
-  "message.replySuccess": "回复成功!",
33
-  "message.cancelLickSuccess": "取消点赞成功!",
34
-  "message.likeSuccess": "点赞成功!"
29
+  "message.notNull": "没写内容呢",
30
+  "message.success": "评论已发送!",
31
+  "message.replyNoNull": "没写内容呢",
32
+  "message.replySuccess": "回复已发送!",
33
+  "message.cancelLickSuccess": "取消点赞!",
34
+  "message.likeSuccess": "已赞!"
35 35
 };
36 36
 
37 37
 export default CNdata;