From 1b129bbe6c72af2e727863b896e33c9e93edaade Mon Sep 17 00:00:00 2001 From: Kyle Date: Thu, 5 Jun 2025 21:08:19 +0200 Subject: [PATCH 1/2] 1.12.10b grammar (#664) --- src/release-notes/stable.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/release-notes/stable.json b/src/release-notes/stable.json index ed05733..d162c91 100644 --- a/src/release-notes/stable.json +++ b/src/release-notes/stable.json @@ -2772,8 +2772,8 @@ "version": "1.12.10b", "extra": "", "fixes": [ - "An issue with migration that led to unexpected behavior when starting up zen, leading to some services being unavailable.", - "Unloading pinned tabs using the wrong favicon instead of the cached one.", + "An issue with migration that led to unexpected behavior on startup, leading to some services being unavailable.", + "Unloaded pinned tabs using the wrong favicon instead of the cached one.", "Gradients not showing when restoring multiple windows at once", "Restoring previously closed pinned tabs being on the wrong container." ], From 350edb5b73d667402ab584fa747cd247bb491c9b Mon Sep 17 00:00:00 2001 From: Shintaro Jokagi <61367823+taroj1205@users.noreply.github.com> Date: Fri, 6 Jun 2025 13:29:15 +1200 Subject: [PATCH 2/2] fix(i18n): fix get path for external links (#665) --- src/utils/i18n.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/utils/i18n.ts b/src/utils/i18n.ts index a995d24..31784b3 100644 --- a/src/utils/i18n.ts +++ b/src/utils/i18n.ts @@ -16,6 +16,11 @@ export type Locale = (typeof locales)[number] export const getPath = (locale?: Locale): ((arg0: string) => string) => (path: string) => { + // Return external URLs unchanged + if (path.startsWith('http://') || path.startsWith('https://')) { + return path + } + // Check if path already contains any locale prefix const existingLocale = locales.find(l => path.startsWith(`/${l}/`))