- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
* 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
* Rewrite translator for efficiency and clarity
* Fixed failing tests
* Gorram tabs
* Move cache to Translator class, simplify creation
* Documentation and linting
* Use new translator API where it makes sense
* Revert 499fbe21fdd5b7f2735a27e76a300f69039cfbd3 (except translator.d.ts)
* promise polyfill for node<4
* Set `load` on the prototype
* Comment on Translator#translate
* Delete translator.d.ts
* Support translations added by plugins
If you `require(['string'], function (stringLib) { S = stringLib; })` it is an async call and thus you need to ensure any usage of `S` happens when this is resolved.
- Fixes issue with parentheses in translations (closes#4107)
- No longer marking translation keys invalid if they contain HTML,
as that was probably not performant. Instead, parameters will
simply be escaped via the StringJS library.