From 26a5263cb5ca2f95eb64c52f3cf4279d738893cc Mon Sep 17 00:00:00 2001 From: hiro Date: Sun, 21 Jun 2026 01:47:10 +0900 Subject: [PATCH] fix(i18n): correct Japanese "primary" worktree badge label (#5923) --- config/scripts/locale-key-overrides.mjs | 5 ++++- src/renderer/src/i18n/locales/ja.json | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/scripts/locale-key-overrides.mjs b/config/scripts/locale-key-overrides.mjs index a2826259f..787c9143d 100644 --- a/config/scripts/locale-key-overrides.mjs +++ b/config/scripts/locale-key-overrides.mjs @@ -600,7 +600,10 @@ const BASE_LOCALE_KEY_OVERRIDES = { ja: 'レビューコメントを追加しました。' }, // Port forwarding "Forward" is 転送, not the browser-navigation 進む. - 'auto.components.right.sidebar.PortsPanel.c9d106547a': { ja: '転送' } + 'auto.components.right.sidebar.PortsPanel.c9d106547a': { ja: '転送' }, + // Worktree badge: stand-alone 主要な leaves the adnominal な dangling — align with the Tooltip's プライマリ. + 'auto.components.sidebar.WorktreeCard.7d517f82e2': { ja: 'プライマリ' }, + 'auto.components.WorktreeJumpPalette.739bda980c': { ja: 'プライマリ' } } export const LOCALE_KEY_OVERRIDES = mergeLocaleKeyOverrides(BASE_LOCALE_KEY_OVERRIDES) diff --git a/src/renderer/src/i18n/locales/ja.json b/src/renderer/src/i18n/locales/ja.json index 6fec6e877..4fe0645c8 100644 --- a/src/renderer/src/i18n/locales/ja.json +++ b/src/renderer/src/i18n/locales/ja.json @@ -1668,7 +1668,7 @@ "f65d992a11": "入力", "c5081f2814": "現在のワークツリー", "52404f8096": "現在のタブ", - "739bda980c": "主要な", + "739bda980c": "プライマリ", "556e7232ca": "現在", "684e8d7bc2": "最近のワークツリーと開いているタブを収集します。", "ff908adfe9": "ジャンプターゲットをロード中", @@ -3749,7 +3749,7 @@ "0777de5970": "プライマリ ワークツリー (元のクローン ディレクトリ)", "0f33af979b": "部分的なチェックアウト。これらのパスの外にあるファイルはディスク上にありません。", "4f964d5e8c": "スパース", - "7d517f82e2": "主要な", + "7d517f82e2": "プライマリ", "4eba2ea99e": "自動名前付けに失敗しました。クリックすると詳細が表示されます。", "74522ee457": "名前の変更に失敗しました", "02e19349f4": "名前の自動変更に失敗しました: 表示エラー",