From 0b36a4abf4e2912f4e22079fd34031580a3c4e77 Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 25 May 2026 18:10:29 +0200 Subject: [PATCH] i18n(ja): add the 8 keys EN gained since this PR was opened Brings ja.ts to full parity with the current en.ts (journey upload progress/ errors + OAuth machine-client strings) so Japanese matches the EN key set. --- client/src/i18n/translations/ja.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/client/src/i18n/translations/ja.ts b/client/src/i18n/translations/ja.ts index 75014962..51eb31b4 100644 --- a/client/src/i18n/translations/ja.ts +++ b/client/src/i18n/translations/ja.ts @@ -2417,6 +2417,16 @@ const ja: Record = { 'transport.modalTitle.edit': '移動手段を編集', 'transport.title': '移動手段', 'transport.addManual': '手動で追加', + + // Added to match EN keys + 'journey.editor.uploadingProgress': 'アップロード中 {done}/{total}…', + 'journey.editor.uploadFailed': '写真のアップロードに失敗しました', + 'journey.editor.uploadPartialFailed': '{total}枚中{failed}枚の写真がアップロードに失敗しました — もう一度保存して再試行してください', + 'journey.photosUploadFailed': '一部の写真をアップロードできませんでした', + 'settings.oauth.modal.machineClient': 'マシンクライアント(ブラウザログインなし)', + 'settings.oauth.modal.machineClientHint': 'client_credentials グラントを使用します — リダイレクト URI は不要です。トークンは client_id + client_secret を介して直接発行され、選択したスコープ内であなたとして動作します。', + 'settings.oauth.modal.machineClientUsage': 'トークンを取得するには、grant_type=client_credentials、client_id、client_secret を指定して POST /oauth/token を呼び出します。ブラウザもリフレッシュトークンも不要です。', + 'settings.oauth.badge.machine': 'マシン', } export default ja