19 Commits (60c86400d7a24d4d109a3eca7fedab04187a34a5)

Author SHA1 Message Date
Julian Lam 99315e1c73 updated translator so that language key parameters cannot contain
html in them (or more specifically, < and >)
9 years ago
Julian Lam 2d48faf5df Fixed #4033
Also related to regression first caused by the fix to #3695 from
fcb381f922

Also, added tests for translator. omg.
9 years ago
Julian Lam fcb381f922 Fixes #3695
Guests now trigger topic notifications, and the translator has
been updated so that translations inside translations are
handled in a way that doesn't cause the translator to explode.
9 years ago
Julian Lam a091067175 closes #3963 9 years ago
barisusakli ca294fc6ec closes #3663 10 years ago
psychobunny 6c44db9a0c closes #3490 10 years ago
Julian Lam 3b3c383d93 adding a fallback for en_GB and en_US 10 years ago
Julian Lam 3d9415b65e Fixes #3442 10 years ago
barisusakli 5e3e1f8781 #3430 10 years ago
barisusakli 6e630b3cfd closes #3434, thanks to @psychobunny 10 years ago
Julian Lam 1b812068ca Fix bug where translator would split on all colons, and not just the first 10 years ago
barisusakli 954c25823e closes #3352 10 years ago
Julian Lam b2a69758ee added back multi-line support for translator 10 years ago
Julian Lam eaa35c8057 making translator regex stricter, so it doesn't match language strings that won't ever exist 10 years ago
psychobunny 5ff9a7f9a9 allow multiline support for translator
see: https://github.com/psychobunny/templates.js/issues/36
10 years ago
Barış Soner Uşaklı b717da0229 Merge pull request #3110 from pitaj/master
Fixed translator backwards compatibility issue
10 years ago
Ole R. 22e227a6cd fixed error-report within translator.js
reported by [rex-huang](https://community.nodebb.org/user/rex-huang), see https://community.nodebb.org/topic/4520/error-handling-is-wrong-in-translator-js
10 years ago
Peter Jaszkowiak ad7b561dd4 Fixed translator backwards compatibility issue
Also removed the _clearMenus global object because populating the global namespace is bad, bad, bad
10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago