diff --git a/src/components/UpgradeDialog.vue b/src/components/UpgradeDialog.vue index ce50517..6b4c82b 100644 --- a/src/components/UpgradeDialog.vue +++ b/src/components/UpgradeDialog.vue @@ -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); diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 46e9989..d4cfe98 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -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)", }; diff --git a/src/i18n/zh-CN/index.ts b/src/i18n/zh-CN/index.ts index 3a77806..b72021a 100644 --- a/src/i18n/zh-CN/index.ts +++ b/src/i18n/zh-CN/index.ts @@ -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)", };