增加翻译

This commit is contained in:
miao 2023-01-31 14:30:55 +08:00
parent 939ce286f3
commit 17118497e2
3 changed files with 5 additions and 4 deletions

View File

@ -557,7 +557,7 @@
<q-btn <q-btn
:loading="loading" :loading="loading"
flat flat
:label="$t('export')" :label="$t('export magic')"
no-caps no-caps
color="primary" color="primary"
@click="export_magic_wall" @click="export_magic_wall"
@ -1874,7 +1874,6 @@ export default defineComponent({
realtime_upload(); realtime_upload();
}, },
export_magic_wall() { export_magic_wall() {
let export_list: any = [];
let res:string=""; let res:string="";
test_monitor_wall.value.forEach((ele, index) => { test_monitor_wall.value.forEach((ele, index) => {
const point_list = four_point(ele); const point_list = four_point(ele);
@ -1895,7 +1894,6 @@ export default defineComponent({
item.w = Math.round((ele.w / wall.value?.offsetWidth) * 3840); item.w = Math.round((ele.w / wall.value?.offsetWidth) * 3840);
item.h = Math.round((ele.h / wall.value.offsetHeight) * 2160); item.h = Math.round((ele.h / wall.value.offsetHeight) * 2160);
item.angle = ele.angle; item.angle = ele.angle;
export_list.push(JSON.parse(JSON.stringify(item)));
res=res+JSON.stringify(item)+"\r\n" res=res+JSON.stringify(item)+"\r\n"
} }
}); });

View File

@ -409,5 +409,7 @@ export default {
"topology diagram":"Topology Diagram", "topology diagram":"Topology Diagram",
"physical central location":"Central Location", "physical central location":"Central Location",
"monitors list":"Monitors List", "monitors list":"Monitors List",
"resize":"Resize" "resize":"Resize",
"export magic":"Export"
}; };

View File

@ -679,4 +679,5 @@ export default {
"请输入合法地址. 例: 192.168.1.1 或 192.168.1.1:8080", "请输入合法地址. 例: 192.168.1.1 或 192.168.1.1:8080",
"equipment data": "联动设备", "equipment data": "联动设备",
"resize":"缩放", "resize":"缩放",
"export magic":"导出"
}; };