Blame view

src/更新 views/market/marketGoodsItemManageLang.js 4.14 KB
41ad7911   wuxw   开发 admin 营销功能
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
  export const messages = {
    en: {
      marketGoodsItem: {
        search: {
          title: 'Search Conditions',
          prodName: 'Please enter product name'
        },
        list: {
          title: 'Marketing Products'
        },
        form: {
          prodName: 'Product Name',
          prodNamePlaceholder: 'Please enter product name',
          prodDesc: 'Product Description',
          prodDescPlaceholder: 'Please enter product description',
          picUrl: 'Image URL',
          picLink: 'Access URL',
          picLinkPlaceholder: 'Please enter access URL',
          price: 'Price',
          pricePlaceholder: 'Please enter price',
          shopName: 'Shop Name',
          shopNamePlaceholder: 'Please enter shop name',
          sort: 'Sort',
          sortPlaceholder: 'Please enter sort number'
        },
        table: {
          picUrl: 'Image',
          prodName: 'Product Name',
          prodDesc: 'Product Description',
          picLink: 'Access URL',
          price: 'Price',
          shopName: 'Shop Name',
          sort: 'Sort'
        },
        validate: {
          prodNameRequired: 'Product name is required',
          prodNameMaxLength: 'Product name cannot exceed 128 characters',
          prodDescRequired: 'Product description is required',
          prodDescMaxLength: 'Product description cannot exceed 256 characters',
          picUrlRequired: 'Image URL is required',
          picLinkRequired: 'Access URL is required',
          picLinkMaxLength: 'Access URL cannot exceed 512 characters',
          priceRequired: 'Price is required',
          priceMaxLength: 'Price cannot exceed 10 characters',
          shopNameRequired: 'Shop name is required',
          shopNameMaxLength: 'Shop name cannot exceed 128 characters',
          sortRequired: 'Sort is required',
          itemIdRequired: 'Item ID is required'
        },
        deleteConfirm: 'Are you sure to delete this marketing product?',
        saveSuccess: 'Add marketing product successfully',
        updateSuccess: 'Update marketing product successfully',
        deleteSuccess: 'Delete marketing product successfully',
        fetchError: 'Failed to get marketing products'
      },
      uploadImage: {
        sizeLimit: 'Image size cannot exceed 2MB'
      }
    },
    zh: {
      marketGoodsItem: {
        search: {
          title: '查询条件',
          prodName: '请输入商品名称'
        },
        list: {
          title: '营销商品'
        },
        form: {
          prodName: '商品名称',
          prodNamePlaceholder: '请输入商品名称',
          prodDesc: '商品简介',
          prodDescPlaceholder: '请输入商品简介',
          picUrl: '图片地址',
          picLink: '访问地址',
          picLinkPlaceholder: '请输入图片访问地址',
          price: '金额',
          pricePlaceholder: '请输入金额',
          shopName: '商铺名称',
          shopNamePlaceholder: '请输入商铺名称',
          sort: '排序',
          sortPlaceholder: '请输入排序号'
        },
        table: {
          picUrl: '图片',
          prodName: '商品名称',
          prodDesc: '商品简介',
          picLink: '访问地址',
          price: '金额',
          shopName: '商铺名称',
          sort: '排序'
        },
        validate: {
          prodNameRequired: '商品名称不能为空',
          prodNameMaxLength: '商品名称不能超过128个字符',
          prodDescRequired: '商品简介不能为空',
          prodDescMaxLength: '商品简介不能超过256个字符',
          picUrlRequired: '图片地址不能为空',
          picLinkRequired: '访问地址不能为空',
          picLinkMaxLength: '访问地址不能超过512个字符',
          priceRequired: '金额不能为空',
          priceMaxLength: '金额不能超过10个字符',
          shopNameRequired: '商铺名称不能为空',
          shopNameMaxLength: '商铺名称不能超过128个字符',
          sortRequired: '排序不能为空',
          itemIdRequired: '编号不能为空'
        },
        deleteConfirm: '确定删除该营销商品吗?',
        saveSuccess: '添加营销商品成功',
        updateSuccess: '更新营销商品成功',
        deleteSuccess: '删除营销商品成功',
        fetchError: '获取营销商品失败'
      },
      uploadImage: {
        sizeLimit: '图片大小不能超过2MB'
      }
    }
  }