Forms preview
This commit is contained in:
parent
97bbac8698
commit
ba996d845d
23 changed files with 206 additions and 99 deletions
|
@ -9,9 +9,7 @@ const {convertToFake, getLang} = require('../../shared/langs');
|
|||
const resourcesCommon = {};
|
||||
|
||||
function loadLanguage(longCode) {
|
||||
resourcesCommon[longCode] = {
|
||||
common: JSON.parse(fs.readFileSync(path.join(__dirname, '..', '..', 'locales', longCode, 'common.json')))
|
||||
};
|
||||
resourcesCommon[longCode] = JSON.parse(fs.readFileSync(path.join(__dirname, '..', '..', 'locales', longCode, 'common.json')));
|
||||
}
|
||||
|
||||
loadLanguage('en-US');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue