summaryrefslogtreecommitdiff
path: root/frontend/i18next-parser.config.mjs
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-07-08 18:05:08 -0400
committerAAGaming <aagaming@riseup.net>2024-07-08 18:05:08 -0400
commit383225aa54af65a67c1b7e68813b5c0ffa7b249d (patch)
treeb721ca84a5230464fcfbf9a7971d110fa6ec5bf3 /frontend/i18next-parser.config.mjs
parent89c9751f048a408e791290cc249cbaf9d98c4b03 (diff)
downloaddecky-loader-383225aa54af65a67c1b7e68813b5c0ffa7b249d.tar.gz
decky-loader-383225aa54af65a67c1b7e68813b5c0ffa7b249d.zip
sort the same way as weblate
Diffstat (limited to 'frontend/i18next-parser.config.mjs')
-rw-r--r--frontend/i18next-parser.config.mjs2
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,