Skip to content

Commit 61b06c1

Browse files
committed
scripts: add sort() function for sortened locale
1 parent 71a63c0 commit 61b06c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-translation-doc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function generateTranslationsMarkdown(locale: string): string {
1717
}
1818

1919
export function generateReadmeLocales() {
20-
const availableLocales = Object.keys(locales);
20+
const availableLocales = Object.keys(locales).sort();
2121

2222
let localesListTable = "";
2323
for (let i = 0; i < availableLocales.length; i += 1) {

0 commit comments

Comments
 (0)