Skip to content

Commit

Permalink
[core] Use international locale format (#3921)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Feb 11, 2022
1 parent 0f38b95 commit 4a91433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/l10n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4a91433

Please sign in to comment.