jeresig / i18n-node-2

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

Configurable indent string #43

Closed pawelrychlik closed 9 years ago

gjuchault commented 9 years ago

Do you have any use case of this (apart from the code formatter - that you may configure to ignore specific files-) ?

pawelrychlik commented 9 years ago

Formatting is the only use case here.

It is a pain when you stick to spaces everywhere in the project, but end up having tabs generated in the i18n files. The worst part is the mess in git repo, when you do a small change in the code, but end up with tons of lines with changed indenting by accident.

pawelrychlik commented 9 years ago

thanks!.