Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/koajs/locales
koa locales, i18n solution for koa
https://github.com/koajs/locales
b22bfc52a2dbe0ca22270f1b49f63aaa1dfb7520 authored over 1 year ago
update readme to correct setLocale function
ca9d0f997edda8296e735bc983729a4100e27de3 authored over 4 years agoAdds support for yml and yaml files
ff616cb4e598c5dfbb396c7e5d42d28887ae665f authored over 4 years ago8a1f8c02faa9d623e75bfce7066e27d224b75ffa authored over 4 years ago
3db636481a6191b0c8e8cfb3ade51b08c2c58a67 authored over 5 years ago
8963af3a0a90f66fa949353583f0172aa61e3b8e authored over 5 years ago
```js
app.__(locale, text, value);
```
6d00106b6340b57b465a0632eac6abab2f70c7d1 authored almost 6 years ago
0767037b3cd27ddf1b82a93f03ace79e76c0e400 authored almost 6 years ago
5b00e90a11429c98d77c5ebfccb4e6711074bee6 authored almost 6 years ago
* chore: test on node 12
3043365e09cfd76bf6ef54a4cd7347a97d08fdc5 authored almost 6 years ago86514e3f97b524a32cac84d31b9429709262f91c authored almost 6 years ago
* test: use mocha@4
08037ee0ae0a1d74a63d1d7112c79fa43ddf6cd0 authored almost 6 years agob3c8ab19e5cfe33cfacd97cfe89ed1d5e1457b85 authored about 7 years ago
f89c6755c1b16a78617ceb071d1c9a8137c8c7a6 authored about 7 years ago
043fab2b973818ae5df5b2769736afccd2e85419 authored almost 8 years ago
c46d049a5e18ba5b636f4d56d5e1362e91c44fec authored almost 8 years ago
2d9f68ab8c17e84c6cee404970386d46643c18ce authored almost 8 years ago
dddb4c0c2e3bb5c961691a28aba7e4aa655f5a40 authored almost 8 years ago
6857227777b4263be714f79b6a33f82d19579985 authored about 8 years ago
1f485fde8302c1583709372d4e8306bbad03ba62 authored about 8 years ago
1327118e10e4c93a865bb0452b5cc7ec63120173 authored over 8 years ago
1ec4e37bee17dea8b749b6cc92917b6b5339f5a3 authored over 8 years ago
dc6e8b2f7fa46194123ebdb6cfdc4de3d0cfd37d authored almost 9 years ago
ec48f1f20cc6ec30cbc1fb9a67eb228a44321df9 authored almost 9 years ago
Update benchmark to version 2.0.0 🚀
b5c5c2e47a6fb43036ec01e42ce391d5c6d4f34e authored about 9 years agohttp://greenkeeper.io/
259510e6abaa8b39fb7e32027a9d705d740ae04e authored about 9 years ago0e0cf4fddebb8c952d883349f58bf463b02be327 authored about 9 years ago
PR-URL: https://github.com/koajs/locales/pull/17
Reviewed-By: fengmk2 <[email protected]>
Review...
e4679a486d3e54cb44c3f26e31f939fc27c81bd6 authored about 9 years ago
fix: if header sent, don't set the cookie
a796c66b6c32e57a3b2392de04f07792e5e10e18 authored about 9 years agobigpipe will fail
629141717e14d839807f2f3e12be148e5d2df622 authored about 9 years agodoc(options.dirs): fix api doc
205a58f270cdede876b631b15d62bcd10a1e882f authored over 9 years agoc4323c2a15d276c4b639834a3f99393ee75eea89 authored over 9 years ago
64ea46d5496cdde543ab4e19d99525fbfeb01fa0 authored over 9 years ago
refact(es6): use es6 syntax.
f58a5034d7c3fe00b82690f5cb14731a97408ef3 authored over 9 years ago
* fixed #10, But iojs-2 not support Object.assign, so use object-assign
shim instead for now.
...
eae25a474d168058251c60ef5c55ee060a9ab72f authored over 9 years ago
refact(nested-data): transform nested data on load localization data.
04bb9daf8f8dcbb6101903295f8bca40e351f813 authored over 9 years agocc81fbda187367e07e071b71bdaa00aaa9d1bd10 authored over 9 years ago
d5a9eb0468d3cf52f877b911653dde425d581cfe authored over 9 years ago
feat: Support nested locale keys.
d2b6911503573f186139dbab20b31d2984472e23 authored over 9 years agoExample:
```js
{
model: {
user: {
name: 'Real Name',
createdAt: 'Joined At'
...
1c347630f10c98adb4614c21ed6c3eff82bb6247 authored over 9 years ago
e7ed19683625370a389ed59224ef2eb106494f54 authored over 9 years ago
fix: merge-descriptors should be in dependencies
145272906c56a067c03dc1825929b7ee249c6504 authored over 9 years agocloses #8
7da34b5d6aadf6ed168f6cf3e3b17981a651e62a authored over 9 years agod5417af0274508e89522d19f59344b40d1acdf79 authored over 9 years ago
Multiple locale paths support.
d224b85d3a979639c83aaede7d8321e1105036a5 authored over 9 years ago5ffefcc982201e280e739736230ee38a9eb3ab90 authored over 9 years ago
refact(apply): apply is not too slow than direct call. fixed #2
135d55773af65a236dad2cf428ced0067286d88a authored over 9 years ago8796cb1a3a523273c5063f782214b7dd054d3f23 authored over 9 years ago
98f9ebcfd4c4a7ac0fa4979bd52e90205484615e authored over 9 years ago
refact(endsWith): endsWith is fast than regexp
b75534b46000581c401ab02f0f7e75f904acf734 authored over 9 years ago3039718c1b537de7df17c06eaaa5159d4636f770 authored over 9 years ago
revert slice arguments to args
fe92c90b53333899eb7e1a225d41d82241707f96 authored over 9 years ago
- revert 4ecffe8d22368f4a2cb65113600d9a514b10274e
- also add benchmark
feat: paramter support object
0b387e3940e51f691d3271c61e9a5ba05f96eeba authored over 9 years agoPatch
75b7a203a073fcc7fac4c3cc96059a25b8870578 authored over 9 years ago757b28d170089014f77d828a7be4ddb70d755e94 authored over 9 years ago
4ecffe8d22368f4a2cb65113600d9a514b10274e authored over 9 years ago
41b16b7561c392abbeab2a67d715c42ff5d5ff8a authored over 9 years ago
c0a48cd9a325b1d861b1c801b5bcf4432df1caf8 authored over 9 years ago
a2462e6a8490a5f8d00f8c692384953149a608d9 authored over 9 years ago
1ee07403a00c625c18ccdb440866908b39be7920 authored over 9 years ago
see https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#3-managing-arguments
20d513f0a308fdaf7620501abcb70c06bbaa2dcd authored over 9 years agoc367102c7190d07d907242e235cfc9e73b994e21 authored over 9 years ago
1bd4f46acb932d4b5966e30a054401da26f9d616 authored over 9 years ago
ce2881e72c977a32b40a71e8a43a8a222ec0cf0d authored over 9 years ago
15864d180dcebed7eb33826e28bd5a5d4656b854 authored over 9 years ago