Resource translation improvements

* Fix locale context management
* Assure proper locale context parameters are used when updating,
  listing translations
* Return missing module field translations
This commit is contained in:
Tomaž Jerman
2021-09-22 11:33:37 +02:00
parent 8668e15ad8
commit fc9061fee3
7 changed files with 198 additions and 8 deletions
+4 -4
View File
@@ -17,8 +17,8 @@ locale:
skipSvc: true
keys:
- label
# - { name: descriptionView, path: meta.description.view, custom: true }
# - { name: descriptionEdit, path: meta.description.edit, custom: true }
# - { name: hintView, path: meta.hint.view, custom: true }
# - { name: hintEdit, path: meta.hint.edit, custom: true }
- { name: descriptionView, path: meta.description.view, custom: true, customHandler: descriptionView }
- { name: descriptionEdit, path: meta.description.edit, custom: true, customHandler: descriptionEdit }
- { name: hintView, path: meta.hint.view, custom: true, customHandler: hintView }
- { name: hintEdit, path: meta.hint.edit, custom: true, customHandler: hintEdit }
- { name: validatorError, path: "expression.validator.{{validatorID}}.error", custom: true, customHandler: validatorError }