Commit Graph

18 Commits (21861fa9311338b963dd67e0721094386751cce0)

Author SHA1 Message Date
barisusakli f1f00b63fb closes
Peter Jaszkowiak bb5fe0cc83 Escape arguments in `Translator.compile`
Peter Jaszkowiak a81aad61ab Add tests for translator static methods
Peter Jaszkowiak 375af7ad53 Restructure and rename translator tests
Peter Jaszkowiak 7c697759e9 Escape and ignore `%` and `\,` in translator args
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications
Peter Jaszkowiak c5237443cd Standard language codes ()
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
Peter Jaszkowiak 2824ce5587 Translator modules ()
* Translator modules

* Fix language not being passed on creation

* fix test failures
Sergii Paryzhskyi e515b791da Fix eslint rules ()
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
barisusakli 1a63672e66 more test fixes
Peter Jaszkowiak f519a36560 Fix , translator now accepts keys with `/` ()
Julian Lam 3272c0b98c linting
Julian Lam 45e412ed7c Merge branch 'master' of github.com:NodeBB/NodeBB
barisusakli afaaa8ab88 add failing test case for
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
Peter Jaszkowiak 2ce33ba2b0 Fix , translator made more safe ()
barisusakli 59fb7d7eef failing tests for
HeeL 4c6a75d85c Rename tests folder to test to follow standards