17 Commits (7d8477289d7a0b32fbd97bbb43cc8d77e4d2f999)

Author SHA1 Message Date
Peter Jaszkowiak bb5fe0cc83 Escape arguments in `Translator.compile` 8 years ago
Peter Jaszkowiak a81aad61ab Add tests for translator static methods 8 years ago
Peter Jaszkowiak 375af7ad53 Restructure and rename translator tests 8 years ago
Peter Jaszkowiak 7c697759e9 Escape and ignore `%` and `\,` in translator args 8 years ago
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications 8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* 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
8 years ago
Peter Jaszkowiak 2824ce5587 Translator modules (#5135)
* Translator modules

* Fix language not being passed on creation

* fix test failures
8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

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