sort the same way as weblate

This commit is contained in:
AAGaming
2024-07-08 18:05:08 -04:00
parent 89c9751f04
commit 383225aa54

View File

@@ -58,7 +58,7 @@ export default {
// An array of globs that describe where to look for source files
// relative to the location of the configuration file
sort: true,
sort: (a, b) => a.localeCompare(b, undefined, { numeric: true }),
// Whether or not to sort the catalog. Can also be a [compareFunction](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#parameters)
verbose: false,