Directorio traducciones ahora es /locale/.json
This commit is contained in:
parent
777e65f647
commit
7ea6c6b010
12
app.js
12
app.js
|
@ -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$/)); });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
0
locale/ca/forms/cms/training.json → forms/admin/shelves/locale/fr.json
Executable file → Normal file
0
locale/ca/forms/cms/training.json → forms/admin/shelves/locale/fr.json
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue