kopia lustrzana https://github.com/Tldraw/Tldraw
5ab93eef5f
This PR improves the language selection. Previously, we would miss the user's languages that included a locale. For example, if a user's languages were `['en-US', 'fr'], then they would get 'fr' because 'en-US' wasn't in our table—though 'en' was! We were already doing the splitting elsewhere but now we do it here, too. ### Release Note - Improves default language --------- Co-authored-by: Lu[ke] Wilson <l2wilson94@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
records | ||
shapes | ||
TLRecord.ts | ||
TLStore.ts | ||
fixup.ts | ||
geometry-types.ts | ||
index.ts | ||
languages.ts | ||
migrations.test.ts | ||
schema.ts | ||
style-types.ts | ||
translations.test.ts | ||
translations.ts | ||
ui-types.ts | ||
util-types.ts | ||
validation.ts |