Commit Graph

245 Commits

Author SHA1 Message Date
Christian Kaisermann
dcf36b575a chore: 🤖 add test:ci script 2019-11-25 11:35:05 -03:00
Christian Kaisermann
ceacbaf990 Release v1.1.2 2019-11-25 11:27:33 -03:00
Christian Kaisermann
5f8b0f28fa chore(release): v2.0.2 🎉 2019-11-24 20:37:34 -03:00
Christian Kaisermann
9260b83756 fix: 🐛 fallback locale being looked twice 2019-11-24 20:22:41 -03:00
Christian Kaisermann
1ea650860c chore(release): v2.0.1 🎉 2019-11-24 00:21:17 -03:00
Christian Kaisermann
6e0df2fb25 fix: 🐛 fallback behaviour and simplify API contact points 2019-11-24 00:21:17 -03:00
Christian Kaisermann
ea2ac47d14 docs: ✏️ add tiny example to readme 2019-11-22 15:07:20 -03:00
Christian Kaisermann
7721b64e25 test: 💍 fix broken test 2019-11-22 15:00:59 -03:00
Christian Kaisermann
d3c8cfcbc1 chore(release): v2.0.0 🎉 2019-11-22 13:53:51 -03:00
Christian Kaisermann
d483244a9f feat: 🎸 add custom formats support
BREAKING CHANGE: This PR modifies the formatter method arguments.
2019-11-22 13:51:18 -03:00
Christian Kaisermann
7c28c09073 chore: 🤖 remove cypress from example 2019-11-22 13:51:18 -03:00
Christian Kaisermann
4e40c11836 chore: 🤖 update package.json scripts 2019-11-22 13:51:18 -03:00
Christian Kaisermann
7c443179b2 docs: ✏️ update example 2019-11-22 13:51:18 -03:00
Christian Kaisermann
233842baa2 refactor: 💡 remove removeFromLookupCache method 2019-11-22 13:51:18 -03:00
Christian Kaisermann
66972d4b15 fix: 🐛 flush use the same promise if it wasn't resolved yet 2019-11-22 13:51:18 -03:00
Christian Kaisermann
5f3595013e chore: 🤖 add warning of existing queue when id is not found 2019-11-22 13:51:18 -03:00
Christian Kaisermann
49e9562890 refactor: 💡 rename fallback locale methods 2019-11-22 13:51:18 -03:00
Christian Kaisermann
64c8e55f80 feat: 🎸 locale change automatically updates the document lang 2019-11-22 13:51:18 -03:00
Christian Kaisermann
3ec297e47d chore: 🤖 add Intl.svelte to pkg 2019-11-22 13:51:18 -03:00
Christian Kaisermann
06946ee3d1 refactor: 💡 rename addMessagesTo to addMessages 2019-11-22 13:51:18 -03:00
Christian Kaisermann
6ee28e7d27 feat: 🎸 add waitInitialLocale helper 2019-11-22 13:51:18 -03:00
Christian Kaisermann
766f196bba docs: ✏️ add npm and CI badge 2019-11-22 13:51:18 -03:00
Christian Kaisermann
c9eb746797 style: 💄 fix eslint errors 2019-11-22 13:51:18 -03:00
Christian Kaisermann
3423207c02 refactor: 💡 add dictionary type 2019-11-22 13:51:18 -03:00
Christian Kaisermann
02720aa6b6 docs: ✏️ link to wiki 2019-11-22 13:51:18 -03:00
Christian Kaisermann
6fe6c8cca8 docs: ✏️ initial wiki docs 2019-11-22 13:51:18 -03:00
Christian Kaisermann
649b779a6e refactor: 💡 rename intl component 2019-11-22 13:51:18 -03:00
Christian Kaisermann
d6b8664009 feat: 🎸 addMessagesTo method 2019-11-22 13:51:18 -03:00
Christian Kaisermann
a1dc268654 refactor: 💡 prevent null lookups from being cached 2019-11-22 13:51:18 -03:00
Christian Kaisermann
6573f51e9b perf: ️ delay the $loading state change for quick loadings 2019-11-22 13:51:18 -03:00
Christian Kaisermann
20e5a00e2e chore: 🤖 localize more things on example 2019-11-22 13:51:18 -03:00
Christian Kaisermann
1b0138c3f3 fix: 🐛 consider generic locales when registering loaders 2019-11-22 13:51:18 -03:00
Christian Kaisermann
b19b69050e feat: 🎸 add pathname and hostname pattern matching 2019-11-22 13:51:18 -03:00
Christian Kaisermann
bf5ad6e387 refactor: 💡 separation of a lot of concerns 2019-11-22 13:51:18 -03:00
Christian Kaisermann
3dce407f4f chore: 🤖 use new register and waitLocale methods 2019-11-22 13:51:18 -03:00
Christian Kaisermann
bd2b3501e9 feat: 🎸 add $loading indicator store 2019-11-22 13:51:18 -03:00
Christian Kaisermann
5ada5beed3 chore: 🤖 testing partial loading and merging 2019-11-22 13:51:18 -03:00
Christian Kaisermann
31faccec3b refactor: 💡 replace memoization with manual object cache 2019-11-22 13:51:18 -03:00
Christian Kaisermann
0a0e4b3bab feat: 🎸 add preloadLocale method 2019-11-22 13:51:18 -03:00
Christian Kaisermann
0c01a8b186 chore: 🤖 change minimum test version 2019-11-22 13:51:18 -03:00
Christian Kaisermann
690822b6ac refactor: 💡 include generic locales on id not found message 2019-11-22 13:51:18 -03:00
Christian Kaisermann
3f73cce65f chore: 🤖 add github templates 2019-11-22 13:51:18 -03:00
Christian Kaisermann
e5d7b84241 feat: 🎸 also look for message in generic locale
Issues: #19
2019-11-22 13:51:18 -03:00
Christian Kaisermann
31d96f24ff WIP - add Lang.svelte component 2019-11-22 13:51:18 -03:00
Christian Kaisermann
b8ce517455 refactor: 💡 move about messages to their own dir (not working) 2019-11-22 13:51:18 -03:00
Christian Kaisermann
408b40cc8c chore: 🤖 add TODO list to README 2019-11-22 13:51:18 -03:00
Christian Kaisermann
feb0c165b8 chore: 🤖 move prettier line-wrap to 100 chars 2019-11-22 13:51:18 -03:00
Christian Kaisermann
f58a20b21e feat: 🎸 export a store listing all locales available 2019-11-22 13:51:18 -03:00
Christian Kaisermann
db21bb878a refactor: 💡 rewrite to typescript 2019-11-22 13:51:18 -03:00
Christian Kaisermann
f056e70ec5 chore: 🤖 add github templates 2019-11-19 21:10:41 -03:00