mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
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
This commit is contained in:
committed by
Julian Lam
parent
cafbdfd83e
commit
c5237443cd
@@ -73,7 +73,7 @@ var fallbackTransport;
|
||||
Emailer.sendToEmail = function (template, email, language, params, callback) {
|
||||
callback = callback || function () {};
|
||||
|
||||
var lang = language || meta.config.defaultLang || 'en_GB';
|
||||
var lang = language || meta.config.defaultLang || 'en-GB';
|
||||
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
|
||||
Reference in New Issue
Block a user