lang.js 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /**
  2. * Sku only provide zh-CN lang by default
  3. */
  4. export default {
  5. 'zh-CN': {
  6. vanSku: {
  7. select: '请选择',
  8. selected: '已选',
  9. selectSku: '请先选择商品规格',
  10. soldout: '库存不足',
  11. originPrice: '原价',
  12. minusTip: '至少选择一件',
  13. minusStartTip: function minusStartTip(start) {
  14. return start + "\u4EF6\u8D77\u552E";
  15. },
  16. unavailable: '商品已经无法购买啦',
  17. stock: '剩余',
  18. stockUnit: '件',
  19. quotaTip: function quotaTip(quota) {
  20. return "\u6BCF\u4EBA\u9650\u8D2D" + quota + "\u4EF6";
  21. },
  22. quotaUsedTip: function quotaUsedTip(quota, count) {
  23. return "\u6BCF\u4EBA\u9650\u8D2D" + quota + "\u4EF6\uFF0C\u4F60\u5DF2\u8D2D\u4E70" + count + "\u4EF6";
  24. }
  25. },
  26. vanSkuActions: {
  27. buy: '立即购买',
  28. addCart: '加入购物车'
  29. },
  30. vanSkuImgUploader: {
  31. oversize: function oversize(maxSize) {
  32. return "\u6700\u5927\u53EF\u4E0A\u4F20\u56FE\u7247\u4E3A" + maxSize + "MB\uFF0C\u8BF7\u5C1D\u8BD5\u538B\u7F29\u56FE\u7247\u5C3A\u5BF8";
  33. },
  34. fail: '上传失败',
  35. uploading: '上传中...'
  36. },
  37. vanSkuStepper: {
  38. quotaLimit: function quotaLimit(quota) {
  39. return "\u9650\u8D2D" + quota + "\u4EF6";
  40. },
  41. quotaStart: function quotaStart(start) {
  42. return start + "\u4EF6\u8D77\u552E";
  43. },
  44. comma: ',',
  45. num: '购买数量'
  46. },
  47. vanSkuMessages: {
  48. fill: '请填写',
  49. upload: '请上传',
  50. imageLabel: '仅限一张',
  51. invalid: {
  52. tel: '请填写正确的数字格式留言',
  53. mobile: '手机号长度为6-20位数字',
  54. email: '请填写正确的邮箱',
  55. id_no: '请填写正确的身份证号码'
  56. },
  57. placeholder: {
  58. id_no: '请填写身份证号',
  59. text: '请填写留言',
  60. tel: '请填写数字',
  61. email: '请填写邮箱',
  62. date: '请选择日期',
  63. time: '请选择时间',
  64. textarea: '请填写留言',
  65. mobile: '请填写手机号'
  66. }
  67. },
  68. vanSkuRow: {
  69. multiple: '可多选'
  70. },
  71. vanSkuDatetimeField: {
  72. title: {
  73. date: '选择年月日',
  74. time: '选择时间',
  75. datetime: '选择日期时间'
  76. },
  77. format: {
  78. year: '年',
  79. month: '月',
  80. day: '日',
  81. hour: '时',
  82. minute: '分'
  83. }
  84. }
  85. }
  86. };