Tldraw/packages
Steve Ruiz 5ab93eef5f
[fix] pick a better default language (#1201)
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>
2023-04-29 23:06:02 +00:00
..
assets derived presence state (#1204) 2023-04-27 18:03:19 +00:00
editor Use `strokePathData` for `<ShapeFill/>` path to avoid bugs in the inner path algo (#1207) 2023-04-29 22:58:18 +00:00
file-format [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
polyfills [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
primitives Use `strokePathData` for `<ShapeFill/>` path to avoid bugs in the inner path algo (#1207) 2023-04-29 22:58:18 +00:00
tldraw derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tlschema [fix] pick a better default language (#1201) 2023-04-29 23:06:02 +00:00
tlstore derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tlsync-client [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
tlvalidate [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
ui [fix] pick a better default language (#1201) 2023-04-29 23:06:02 +00:00
utils derived presence state (#1204) 2023-04-27 18:03:19 +00:00