fix(updates): remove redundant restart hint text
This commit is contained in:
1 parent
12095ac0c1
commit
328147b559
8 files changed
+1
-11
No files matched your search
@@ -108,10 +108,7 @@ watch(
|
|||||||
<template v-if="updateInfo?.update_available">
|
<template v-if="updateInfo?.update_available">
|
||||||
<Button variant="outline" @click="emit('open-latest-release')">{{ t("updates.openRelease") }}</Button>
|
<Button variant="outline" @click="emit('open-latest-release')">{{ t("updates.openRelease") }}</Button>
|
||||||
<template v-if="canDownloadAndInstallUpdate(updateInfo, isDesktop)">
|
<template v-if="canDownloadAndInstallUpdate(updateInfo, isDesktop)">
|
||||||
<div v-if="updateReady" class="flex flex-col items-end gap-1">
|
<Button v-if="updateReady" @click="emit('restart')">{{ t("updates.restart") }}</Button>
|
||||||
<Button @click="emit('restart')">{{ t("updates.restart") }}</Button>
|
|
||||||
<span class="text-xs text-muted-foreground">{{ t("updates.reopenHint") }}</span>
|
|
||||||
</div>
|
|
||||||
<Button v-else-if="isDownloadingUpdate" disabled>
|
<Button v-else-if="isDownloadingUpdate" disabled>
|
||||||
<Loader2 class="h-4 w-4 animate-spin" />
|
<Loader2 class="h-4 w-4 animate-spin" />
|
||||||
{{ t("updates.downloading", { progress: downloadProgress }) }}
|
{{ t("updates.downloading", { progress: downloadProgress }) }}
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ export default {
|
|||||||
restart: "Exit & Restart",
|
restart: "Exit & Restart",
|
||||||
restartFailed: "Failed to restart app: {error}",
|
restartFailed: "Failed to restart app: {error}",
|
||||||
exitAndUpdate: "Exit & Update",
|
exitAndUpdate: "Exit & Update",
|
||||||
reopenHint: "The app will relaunch to finish updating",
|
|
||||||
dockerUsersRun: "Docker users should run",
|
dockerUsersRun: "Docker users should run",
|
||||||
toUpdate: "to update",
|
toUpdate: "to update",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export default withEnglishFallback({
|
|||||||
restart: "Salir y reiniciar",
|
restart: "Salir y reiniciar",
|
||||||
restartFailed: "Error al reiniciar la aplicación: {error}",
|
restartFailed: "Error al reiniciar la aplicación: {error}",
|
||||||
exitAndUpdate: "Salir y actualizar",
|
exitAndUpdate: "Salir y actualizar",
|
||||||
reopenHint: "La aplicación se reiniciará para completar la actualización",
|
|
||||||
dockerUsersRun: "Los usuarios de Docker deben ejecutar",
|
dockerUsersRun: "Los usuarios de Docker deben ejecutar",
|
||||||
toUpdate: "para actualizar",
|
toUpdate: "para actualizar",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ export default withEnglishFallback({
|
|||||||
restart: "Esci e Riavvia",
|
restart: "Esci e Riavvia",
|
||||||
restartFailed: "Impossibile riavviare l'app: {error}",
|
restartFailed: "Impossibile riavviare l'app: {error}",
|
||||||
exitAndUpdate: "Esci e Aggiorna",
|
exitAndUpdate: "Esci e Aggiorna",
|
||||||
reopenHint: "L'applicazione si riavvierà per completare l'aggiornamento",
|
|
||||||
dockerUsersRun: "Gli utenti Docker dovrebbero eseguire",
|
dockerUsersRun: "Gli utenti Docker dovrebbero eseguire",
|
||||||
toUpdate: "per aggiornare",
|
toUpdate: "per aggiornare",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export default withEnglishFallback({
|
|||||||
restart: "終了して再起動",
|
restart: "終了して再起動",
|
||||||
restartFailed: "アプリの再起動に失敗しました: {error}",
|
restartFailed: "アプリの再起動に失敗しました: {error}",
|
||||||
exitAndUpdate: "終了してアップデート",
|
exitAndUpdate: "終了してアップデート",
|
||||||
reopenHint: "アップデート完了のためアプリが再起動します",
|
|
||||||
dockerUsersRun: "Dockerユーザーは以下を実行してください",
|
dockerUsersRun: "Dockerユーザーは以下を実行してください",
|
||||||
toUpdate: "更新するには",
|
toUpdate: "更新するには",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export default withEnglishFallback({
|
|||||||
restart: "Sair e Reiniciar",
|
restart: "Sair e Reiniciar",
|
||||||
restartFailed: "Falha ao reiniciar o aplicativo: {error}",
|
restartFailed: "Falha ao reiniciar o aplicativo: {error}",
|
||||||
exitAndUpdate: "Sair e Atualizar",
|
exitAndUpdate: "Sair e Atualizar",
|
||||||
reopenHint: "O aplicativo será reiniciado para concluir a atualização",
|
|
||||||
dockerUsersRun: "Usuários do Docker devem executar",
|
dockerUsersRun: "Usuários do Docker devem executar",
|
||||||
toUpdate: "para atualizar",
|
toUpdate: "para atualizar",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export default withEnglishFallback({
|
|||||||
restart: "退出并重启",
|
restart: "退出并重启",
|
||||||
restartFailed: "重启应用失败:{error}",
|
restartFailed: "重启应用失败:{error}",
|
||||||
exitAndUpdate: "退出并更新",
|
exitAndUpdate: "退出并更新",
|
||||||
reopenHint: "应用将自动重启以完成更新",
|
|
||||||
dockerUsersRun: "Docker 用户请运行",
|
dockerUsersRun: "Docker 用户请运行",
|
||||||
toUpdate: "更新",
|
toUpdate: "更新",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export default withEnglishFallback({
|
|||||||
restart: "結束並重新啟動",
|
restart: "結束並重新啟動",
|
||||||
restartFailed: "重新啟動應用程式失敗:{error}",
|
restartFailed: "重新啟動應用程式失敗:{error}",
|
||||||
exitAndUpdate: "結束並更新",
|
exitAndUpdate: "結束並更新",
|
||||||
reopenHint: "應用程式將自動重新啟動以完成更新",
|
|
||||||
dockerUsersRun: "Docker 使用者請執行",
|
dockerUsersRun: "Docker 使用者請執行",
|
||||||
toUpdate: "更新",
|
toUpdate: "更新",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user