From f196140210fecdd28e809725e92e3bb44b82b130 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 8 Oct 2025 10:46:19 +0300 Subject: [PATCH] chore(i18n): update available not translated --- apps/client/src/translations/en/translation.json | 3 ++- apps/client/src/widgets/buttons/global_menu.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index 2f60eb8c3..c6565fdfc 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -646,7 +646,8 @@ "about": "About Trilium Notes", "logout": "Logout", "show-cheatsheet": "Show Cheatsheet", - "toggle-zen-mode": "Zen Mode" + "toggle-zen-mode": "Zen Mode", + "update_available": "Version {{latestVersion}} is available, click to download." }, "zen_mode": { "button_exit": "Exit Zen Mode" diff --git a/apps/client/src/widgets/buttons/global_menu.tsx b/apps/client/src/widgets/buttons/global_menu.tsx index 5c442cb76..aaf6a785f 100644 --- a/apps/client/src/widgets/buttons/global_menu.tsx +++ b/apps/client/src/widgets/buttons/global_menu.tsx @@ -58,7 +58,7 @@ export default function GlobalMenu({ isHorizontalLayout }: { isHorizontalLayout: - {isUpdateAvailable && window.open("https://github.com/TriliumNext/Trilium/releases/latest")} icon="bx bx-sync" text={`Version ${latestVersion} is available, click to download.`} /> } + {isUpdateAvailable && window.open("https://github.com/TriliumNext/Trilium/releases/latest")} icon="bx bx-sync" text={t("global_menu.update_available", { latestVersion })} /> } {!isElectron() && } )