From c39df6c1e4c975c7901e7edd25d18a0209ed4ed4 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 10 Feb 2022 23:21:08 +0100 Subject: [PATCH] [core] Use international locale format --- scripts/l10n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/l10n.ts b/scripts/l10n.ts index 5d5740fe8253d..25e35854afa32 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);