Directorio traducciones ahora es /locale/.json

This commit is contained in:
Juan Ferrer Toribio 2016-10-20 18:37:28 +02:00
parent 777e65f647
commit 7ea6c6b010
229 changed files with 15 additions and 15 deletions

12
app.js
View File

@ -25,27 +25,27 @@ function loadLocale (lang, cb)
{
case 'ca':
require ([], function () {
cb (require.context ('locale/ca/js')); });
cb (require.context ('js', true, /locale\/ca.json$/)); });
break;
case 'es':
require ([], function () {
cb (require.context ('locale/es/js')); });
cb (require.context ('js', true, /locale\/es.json$/)); });
break;
case 'fr':
require ([], function () {
cb (require.context ('locale/fr/js')); });
cb (require.context ('js', true, /locale\/fr.json$/)); });
break;
case 'mn':
require ([], function () {
cb (require.context ('locale/mn/js')); });
cb (require.context ('js', true, /locale\/mn.json$/)); });
break;
case 'pt':
require ([], function () {
cb (require.context ('locale/pt/js')); });
cb (require.context ('js', true, /locale\/pt.json$/)); });
break;
default:
require ([], function () {
cb (require.context ('locale/en/js')); });
cb (require.context ('js', true, /locale\/en.json$/)); });
}
}

Some files were not shown because too many files have changed in this diff Show More