Minor i18n fixes (#2585)

*  Make subcategory render keys consistent

*  Add missing or key

*  Fix default text for multiple value button

*  Simplify subcategory extraction
This commit is contained in:
Iván Ovejero
2021-12-23 12:21:27 +01:00
committed by GitHub
parent cbe2fc2210
commit 0ce26d48e0
4 changed files with 9 additions and 12 deletions

View File

@@ -65,8 +65,8 @@ export default mixins(genericHelpers)
computed: {
addButtonText (): string {
if (
!this.parameter.typeOptions &&
!this.parameter.typeOptions.multipleValueButtonText
!this.parameter.typeOptions ||
(this.parameter.typeOptions && !this.parameter.typeOptions.multipleValueButtonText)
) {
return this.$locale.baseText('multipleParameter.addItem');
}