From 4a9143357a535e9e08fe85c693764759a615f4ee Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 11 Feb 2022 11:00:21 +0100 Subject: [PATCH] [core] Use international locale format (#3921) --- scripts/l10n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/l10n.ts b/scripts/l10n.ts index 5d5740fe8253..25e35854afa3 100644 --- a/scripts/l10n.ts +++ b/scripts/l10n.ts @@ -207,7 +207,7 @@ async function generateReport( if (info.locations.length === 0) { return; } - lines.push(`### ${countryToFlag(code.slice(2))} ${code}`); + lines.push(`### ${countryToFlag(code.slice(2))} ${code.slice(0, 2)}-${code.slice(2)}`); info.locations.forEach((location) => { const permalink = `${SOURCE_CODE_REPO}/blob/${lastCommitRef}/${info.path}#L${location}`; lines.push(permalink);