fix(updates): remove redundant restart hint text

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