通用评论 vedio

index.js 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. /**
  6. * 当前支持的语言
  7. */
  8. var SUPPORT_LOCALES = exports.SUPPORT_LOCALES = [{
  9. name: "English",
  10. value: "en-US"
  11. }, {
  12. name: "简体中文",
  13. value: "zh-CN"
  14. }];
  15. // 服务端返回的英文短语和中文提示的对应
  16. var LOCALES_RESPONSE = exports.LOCALES_RESPONSE = {
  17. "zh-CN": {
  18. "not found": "没有数据",
  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": "获取回复列表失败"
  28. },
  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"
  40. }
  41. };
  42. //# sourceMappingURL=index.js.map