fix(i18n): translate the HTML preview 'Open source file' control as an action in fr, ja and ko (#43616)

Machine translation read "Open source file" as "open-source file" in French,
Japanese and Korean. Translate it as the verb "open" + "source file" and pin
the key in the cross-locale overrides so a catalog refresh keeps it.

Fixes #43615

Co-authored-by: Neil <neil@stably.ai>
This commit is contained in:
Christophe Benz
2026-11-17 06:41:38 -08:00
committed by GitHub
co-authored by Neil
parent 26d7b249e1
commit f5cdfc76b7
4 changed files with 9 additions and 3 deletions
@@ -137,5 +137,11 @@ export const CROSS_LOCALE_KEY_OVERRIDES = {
},
'auto.components.sidebar.workspace.status.caabd5ca85': {
zh: '锌灰'
},
// "Open source file" is the verb "open" + "source file"; MT reads it as open-source software.
'auto.components.editor.HtmlDocPreview.openSourceControl': {
fr: 'Ouvrir le fichier source',
ja: 'ソースファイルを開く',
ko: '소스 파일 열기'
}
}
+1 -1
View File
@@ -16783,7 +16783,7 @@
"documentPathCopied": "Copié",
"workspaceFileChipLabel": "Fichier d'espace de travail",
"previewMenuControl": "Options d'aperçu",
"openSourceControl": "Fichier open source",
"openSourceControl": "Ouvrir le fichier source",
"openExternallyControl": "Ouvrir avec l'application par défaut",
"copyDocumentRelativePathControl": "Copier le chemin relatif",
"openExternallyUnknownHostError": "Impossible d'ouvrir '{{value0}}' : l'hôte qui le possède n'est plus connu.",
+1 -1
View File
@@ -16969,7 +16969,7 @@
"documentPathCopied": "コピーしました",
"workspaceFileChipLabel": "ワークスペースファイル",
"previewMenuControl": "プレビューオプション",
"openSourceControl": "オープンソースファイル",
"openSourceControl": "ソースファイルを開く",
"openExternallyControl": "デフォルトのアプリで開く",
"copyDocumentRelativePathControl": "相対パスをコピーする",
"openExternallyUnknownHostError": "「{{value0}}」を開けません: それを所有するホストはもう不明です。",
+1 -1
View File
@@ -16113,7 +16113,7 @@
"documentPathCopied": "복사됨",
"workspaceFileChipLabel": "워크스페이스 파일",
"previewMenuControl": "미리보기 옵션",
"openSourceControl": "오픈 소스 파일",
"openSourceControl": "소스 파일 열기",
"openExternallyControl": "기본 앱으로 열기",
"copyDocumentRelativePathControl": "상대 경로 복사",
"openExternallyUnknownHostError": "'{{value0}}'을(를) 열 수 없습니다. 해당 항목을 소유한 호스트를 더 이상 알 수 없습니다.",