update: translate inbound modal

This commit is contained in:
Mohammad Foroughi
2022-10-30 22:05:23 +03:30
parent 41e7201381
commit 6f97a5c2c1

View File

@@ -10,14 +10,14 @@
title: '',
visible: false,
confirmLoading: false,
okText: '确定',
okText: '{{ i18n "sure" }}',
confirm: null,
inbound: new Inbound(),
dbInbound: new DBInbound(),
ok() {
ObjectUtil.execute(inModal.confirm, inModal.inbound, inModal.dbInbound);
},
show({ title='', okText='确定', inbound=null, dbInbound=null, confirm=(inbound, dbInbound)=>{} }) {
show({ title='', okText='{{ i18n "sure" }}', inbound=null, dbInbound=null, confirm=(inbound, dbInbound)=>{} }) {
this.title = title;
this.okText = okText;
if (inbound) {