This commit is contained in:
shefengchun 2023-02-27 10:51:11 +08:00
commit 243516ca6d
3 changed files with 33 additions and 11 deletions

View File

@ -202,7 +202,15 @@ export default defineComponent({
: uploader_rootfs.value;
$q.dialog({
title: $t.t("Confirm"),
message: $t.t("use this file to upgrade") + "?",
message:
$t.t("Confirm") +
$t.t(" ") +
$t.t("use this file to upgrade") +
"?" +
$t.t(" ") +
$t.t(
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)"
),
ok: {
label: $t.t("ok"),
noCaps: true,
@ -246,6 +254,15 @@ export default defineComponent({
position: "top",
timeout: 1500,
});
$q.notify({
type: "positive",
icon: "done",
message: $t.t(
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)"
),
position: "top",
timeout: 3000,
});
setTimeout(() => {
window.location.reload();
}, 2000);

View File

@ -499,8 +499,11 @@ export default {
"fusion out": "Out",
"Please enter the square number": "Please enter the square number",
"Change projector layout": "Change projector layout",
"reset all":"reset all",
"Do you confirm the modification":"Do you confirm the modification",
"Whether to modify the resolution to":"Whether to modify the resolution to",
"Whether to change the projector layout to":"Whether to change the projector layout to"
"reset all": "reset all",
"Do you confirm the modification": "Do you confirm the modification",
"Whether to modify the resolution to": "Whether to modify the resolution to",
"Whether to change the projector layout to":
"Whether to change the projector layout to",
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)":
"After Upgrade, Please Clear Browser Cache Or Refresh Hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)",
};

View File

@ -764,10 +764,12 @@ export default {
product: "产品",
normal: "普通",
"fusion out": "出",
"Please enter the square number":"请输入平方数",
"Change projector layout":"更改投影机布局",
"reset all":"重置所有",
"Do you confirm the modification":"是否确认修改",
"Whether to modify the resolution to":"是否将分辨率修改到",
"Whether to change the projector layout to":"是否更改投影机布局为"
"Please enter the square number": "请输入平方数",
"Change projector layout": "更改投影机布局",
"reset all": "重置所有",
"Do you confirm the modification": "是否确认修改",
"Whether to modify the resolution to": "是否将分辨率修改到",
"Whether to change the projector layout to": "是否更改投影机布局为",
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)":
"升级完成后请清空浏览器缓存或者进行硬刷新(Ctrl/Shift + F5 或者 CTRL + SHIFT + R)",
};