feat: coge el idioma local
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fc516d4029
commit
284837083c
|
@ -88,7 +88,8 @@ module.exports = Self => {
|
|||
}
|
||||
|
||||
const modelLocale = modelsLocale.get(modelName);
|
||||
const locale = modelLocale && modelLocale.get('es');
|
||||
const lang = ctx.req.getLocale();
|
||||
const locale = modelLocale && modelLocale.get(lang);
|
||||
|
||||
json[modelName] = {
|
||||
properties: model.definition.rawProperties,
|
||||
|
|
Loading…
Reference in New Issue