diff options
| author | AAGaming <aagaming@riseup.net> | 2024-07-08 18:05:08 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-07-08 18:05:08 -0400 |
| commit | 383225aa54af65a67c1b7e68813b5c0ffa7b249d (patch) | |
| tree | b721ca84a5230464fcfbf9a7971d110fa6ec5bf3 /frontend | |
| parent | 89c9751f048a408e791290cc249cbaf9d98c4b03 (diff) | |
| download | decky-loader-383225aa54af65a67c1b7e68813b5c0ffa7b249d.tar.gz decky-loader-383225aa54af65a67c1b7e68813b5c0ffa7b249d.zip | |
sort the same way as weblate
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/i18next-parser.config.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/i18next-parser.config.mjs b/frontend/i18next-parser.config.mjs index c2c4f194..4d592645 100644 --- a/frontend/i18next-parser.config.mjs +++ b/frontend/i18next-parser.config.mjs @@ -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, |
