Commit 95973fc9 authored by Smile's avatar Smile

bug232 (生产)后台未翻译成英文的一些页面,请看附件

parent 2c400260
...@@ -1882,6 +1882,7 @@ ...@@ -1882,6 +1882,7 @@
"商品特性不能为空": "Commodity characteristics cannot be empty", "商品特性不能为空": "Commodity characteristics cannot be empty",
"中文标题不能为空": "Chinese title cannot be empty", "中文标题不能为空": "Chinese title cannot be empty",
"英文标题不能为空": "English title cannot be empty", "英文标题不能为空": "English title cannot be empty",
"法文标题不能为空": "French title cannot be empty",
"商品材质不能为空": "Product material cannot be empty", "商品材质不能为空": "Product material cannot be empty",
"添加商品": "Adding goods", "添加商品": "Adding goods",
"修改商品": "Modify product", "修改商品": "Modify product",
...@@ -2205,6 +2206,7 @@ ...@@ -2205,6 +2206,7 @@
"添加广告弹窗": "Add Ad Popup", "添加广告弹窗": "Add Ad Popup",
"修改广告弹窗": "Modify Ad Popup", "修改广告弹窗": "Modify Ad Popup",
"是否确认删除广告弹窗编号为": "Whether delete the advertisement pop-up number as", "是否确认删除广告弹窗编号为": "Whether delete the advertisement pop-up number as",
"是否确认删除广告弹窗编号{id}的数据项?": "Whether delete the advertisement pop-up number {id}?",
"是否确认导出所有广告弹窗数据项?": "Whether confirm to export all pop-up window data items?", "是否确认导出所有广告弹窗数据项?": "Whether confirm to export all pop-up window data items?",
"已核销比例\\\\n(已核销基准币种总金额/应收总金额)": "Written-off ratio\\\\n(total amount of base currency written off/total amount receivable)", "已核销比例\\\\n(已核销基准币种总金额/应收总金额)": "Written-off ratio\\\\n(total amount of base currency written off/total amount receivable)",
"是否要删除昵称为": "Whether confirm? to delete the nickname as", "是否要删除昵称为": "Whether confirm? to delete the nickname as",
...@@ -2218,6 +2220,7 @@ ...@@ -2218,6 +2220,7 @@
"添加帮助文档": "Add assistance document", "添加帮助文档": "Add assistance document",
"修改帮助文档": "Modify assistance document", "修改帮助文档": "Modify assistance document",
"是否确认删除帮助文档编号为": "Whether delete the assistance document number?", "是否确认删除帮助文档编号为": "Whether delete the assistance document number?",
"是否确认删除帮助文档编号为{id}的数据项?": "Whether delete the assistance document number {id}?",
"是否确认导出所有帮助文档数据项?": "Whether export all assistance document data items?", "是否确认导出所有帮助文档数据项?": "Whether export all assistance document data items?",
"请输入内容中文": "Please enter the content in Chinese", "请输入内容中文": "Please enter the content in Chinese",
"请输入内容英语": "Please enter the content in English", "请输入内容英语": "Please enter the content in English",
...@@ -4954,5 +4957,6 @@ ...@@ -4954,5 +4957,6 @@
"上次根进时间": "Last Follow-up Time", "上次根进时间": "Last Follow-up Time",
"上次跟进内容": "Last Follow-up Content", "上次跟进内容": "Last Follow-up Content",
"所报价格": "Quoted Price", "所报价格": "Quoted Price",
"厂家/电话": "Manufacturer/Phone" "厂家/电话": "Manufacturer/Phone",
"请输入等级": "Please enter the level"
} }
...@@ -200,6 +200,14 @@ export default { ...@@ -200,6 +200,14 @@ export default {
computed: { computed: {
isChinese() { isChinese() {
this.rules={
titleZh: [{ required: true, message: this.$t("中文标题不能为空"), trigger: "blur" }],
titleEn: [{ required: true, message: this.$t("英文标题不能为空"), trigger: "blur" }],
titleFr: [{ required: true, message: this.$t("法文标题不能为空"), trigger: "blur" }],
bannerUrlWeb: [{ required: true, message: this.$t("web端广告图片不能为空"), trigger: "blur" }],
bannerUrlApp: [{ required: true, message: this.$t("app端广告图片不能为空"), trigger: "blur" }]
};
return this.$i18n.locale === "zh_CN"; return this.$i18n.locale === "zh_CN";
}, },
statusName() { statusName() {
......
...@@ -362,7 +362,7 @@ export default { ...@@ -362,7 +362,7 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const id = row.id; const id = row.id;
this.$modal.confirm(this.$t('是否确认删除广告弹窗编号为"') + id + this.$t('"的数据项?')).then(function() { this.$modal.confirm(this.$t('是否确认删除广告弹窗编号{id}的数据项?',{id})).then(function() {
return deleteBannerPop(id); return deleteBannerPop(id);
}).then(() => { }).then(() => {
this.getList(); this.getList();
......
...@@ -794,7 +794,7 @@ export default { ...@@ -794,7 +794,7 @@ export default {
//返回按钮操作 //返回按钮操作
handleGoBack() { handleGoBack() {
this.$modal this.$modal
.confirm(this.$t("是否确认返回"), this.$t("提示")) .confirm(this.$t("确认返回吗?"), this.$t("提示"))
.then(() => { .then(() => {
// this.$router.go(-1); // this.$router.go(-1);
this.$store.dispatch("tagsView/delCurrentView") this.$store.dispatch("tagsView/delCurrentView")
......
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const id = row.id; const id = row.id;
this.$modal.confirm(this.$t('是否确认删除帮助文档编号为"') + id + this.$t('"的数据项?')).then(function() { this.$modal.confirm(this.$t('是否确认删除帮助文档编号为{id}的数据项?',{id})).then(function() {
return deleteHelpDoc(id); return deleteHelpDoc(id);
}).then(() => { }).then(() => {
this.getList(); this.getList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment