mashpie / i18n-node

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
MIT License
3.08k stars 419 forks source link

Mustaches named variables argument. #204

Open dangreen opened 8 years ago

dangreen commented 8 years ago

You should update docs or fix code, because of in docs named variables is second argument, in code is last argument.

mashpie commented 8 years ago

I see, docs are mixed, tests refer to implementation https://github.com/mashpie/i18n-node/blob/master/test/i18n.api.js#L90 - but wouldn't it be nice to have choice? :)