Commit Graph

19 Commits

Author SHA1 Message Date
Christian Kaisermann
a7ce70fc0f refactor: some minor changes 2021-08-24 09:09:31 -03:00
Luma
8235f1e078 chore: fixes for 1st review 2021-08-24 09:09:31 -03:00
Luma
bf4189a862 fix: enable typescript strictNullChecks 2021-08-24 09:09:31 -03:00
Christian Kaisermann
4cc2088bef chore: remove unused methods 2021-03-27 17:01:18 -03:00
Christian Kaisermann
5db1dbc3a4 fix: 🐛 support more specific fallback locale (i.e en-GB vs en)
 Closes: #137
2021-03-27 17:01:18 -03:00
Benjamin Buhler
88ad5b2180
fix: clear locale lookup cache when new messages are added (#130)
* Added test to prove that addMessage is not updating returned messages

* Clear lookupCache for locale when addMessages is called

* Update test/runtime/includes/lookup.test.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
2021-03-17 15:43:23 -03:00
Ivan Chalyk
0d623f9884
fix: crash if message has syntax error (#128)
* fix crash if message has syntax error

* fix custom number format test & lint require error

Co-authored-by: Ivan Chalyk <boomfly@boomfly-pro.local>
2021-02-15 13:36:28 -03:00
Max Stewart
341ed7f363
fix: expose intl-messageformat option ignoreTag and default to true for backwards compatibility. (#121) 2021-02-10 21:42:23 -03:00
Christian Kaisermann
739d784c16 Refactor type imports to use type modifier 2020-12-03 15:08:34 -03:00
Christian Kaisermann
9dd1a19aef feat: 🎸 add $json method to get raw dictionary values
 Closes: #109, #83
2020-11-24 10:50:25 -03:00
Christian Kaisermann
940aa65f8c style: 💄 format tests 2020-11-05 15:55:42 -03:00
Christian Kaisermann
ff541367f8 feat: 🎸 Support getting deep localized objects/arrays
 Closes: Closes #83
2020-11-05 15:55:42 -03:00
Christian Kaisermann
e560514b1d fix: 🐛 also wait for loaders added while loading 2020-05-31 12:50:57 -03:00
Christian Kaisermann
9d82a98e8d fix: 🐛 ignore loadingDelay for the initialLocale
Fixes #53

 Closes: Closes #53
2020-03-06 14:11:51 -03:00
Christian Kaisermann
6b0ba2b902 refactor: 💡 split getClientLocale into multiple utilities 2020-02-03 13:33:03 -03:00
Christian Kaisermann
7bf47d8790 feat: 🎸 add runtime typings
 Closes: Closes #43
2020-02-03 11:24:50 -03:00
Christian Kaisermann
0822841140 refactor: 💡 split single utils file into multiple files 2020-02-03 11:24:50 -03:00
Ramiro Rikkert
27871f9775
fix: memoizing of formatters when no locale is given. (#47) 2020-01-29 11:29:32 -03:00
Christian Kaisermann
dadeaa2e7f feat: 🎸 add runtime typings
 Closes: Closes #43
2020-01-23 10:11:04 -03:00