diff --git a/public/locales/en/products.json b/public/locales/en/products.json index 3f271b1..423f086 100644 --- a/public/locales/en/products.json +++ b/public/locales/en/products.json @@ -70,21 +70,13 @@ "adultPrice": "Adult price", "childrenPrice": "Child price", "currency": "Currency", - "Types": "Type", - "number": "Number", - "validityPeriod":"Validity period", - "operation": "Operation", - "price": "Price", - "weekends":"Weekends", - - "Quotation": "Quotation", - "Offer": "Offer", - - "Unit": "Unit", - "GroupSize": "Group Size", - "UseDates": "Use Dates", - - "Weekdays": "Weekdays", + "unit_name": "类型", + "group_size": "人等", + "use_dates": "有效期", + "operation": "操作", + "price": "价格", + "Offer": "报价", + "Weekdays": "周末", "OnWeekdays": "On Weekdays: ", "Unlimited": "Unlimited", diff --git a/public/locales/zh/products.json b/public/locales/zh/products.json index c78f35c..87df899 100644 --- a/public/locales/zh/products.json +++ b/public/locales/zh/products.json @@ -67,17 +67,16 @@ "adultPrice": "成人价", "childrenPrice": "儿童价", "currency": "币种", - "Types": "类型", - "number": "人等", - "validityPeriod": "有效期", + + "unit_name": "类型", + "group_size": "人等", + "use_dates": "有效期", "operation": "操作", "price": "价格", - "Quotation": "报价", "Offer": "报价", - "Unit": "单位", - "GroupSize": "人等", - "UseDates": "使用日期", + "Weekdays": "周末", + "OnWeekdays": "周: ", "Unlimited": "不限", "UseYear": "年份", diff --git a/src/views/products/Detail/ProductInfoQuotation.jsx b/src/views/products/Detail/ProductInfoQuotation.jsx index 680ada5..7dcdf66 100644 --- a/src/views/products/Detail/ProductInfoQuotation.jsx +++ b/src/views/products/Detail/ProductInfoQuotation.jsx @@ -204,20 +204,20 @@ const ProductInfoQuotation = ({ editable, ...props }) => { { title: t('products:childrenPrice'), dataIndex: 'child_cost', width: '4rem' }, { title: t('products:currency'), dataIndex: 'currency', width: '4rem' }, { - title: t('products:Types'), + title: t('products:unit_name'), dataIndex: 'unit_id', width: '4rem', render: (text) => (text === '0' ? '每人' : text === '1' ? '每团' : text), }, { - title: t('products:number'), + title: t('products:group_size'), dataIndex: 'group_size', width: '4rem', render: (_, record) => `${record.group_size_min}-${record.group_size_max}`, }, { - title: t('products:validityPeriod'), + title: t('products:use_dates'), dataIndex: 'use_dates', width: '6rem', render: (_, record) => `${record.use_dates_start}-${record.use_dates_end}`, @@ -411,7 +411,7 @@ const ProductInfoQuotation = ({ editable, ...props }) => {