mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-06 22:08:52 +00:00
Reuse existing translation strings
This commit is contained in:
parent
680bdf246c
commit
42966fc56e
3 changed files with 3 additions and 7 deletions
web-frontend/modules/builder
|
@ -48,7 +48,7 @@ export default {
|
||||||
*/
|
*/
|
||||||
error() {
|
error() {
|
||||||
if (this.$v.values.padding.$error) {
|
if (this.$v.values.padding.$error) {
|
||||||
return this.$t('styleBoxForm.paddingError')
|
return this.$t('error.minMaxLength', { min: 0, max: 200 })
|
||||||
} else {
|
} else {
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
v-if="$v.builder.theme[`heading_${i}_font_size`].$error"
|
v-if="$v.builder.theme[`heading_${i}_font_size`].$error"
|
||||||
class="error"
|
class="error"
|
||||||
>
|
>
|
||||||
{{ $t('mainThemeConfigBlock.fontSizeError') }}
|
{{ $t('error.minMaxLength', { min: 1, max: 100 }) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -275,17 +275,13 @@
|
||||||
"boxTop": "Padding top",
|
"boxTop": "Padding top",
|
||||||
"boxBottom": "Padding bottom"
|
"boxBottom": "Padding bottom"
|
||||||
},
|
},
|
||||||
"styleBoxForm": {
|
|
||||||
"paddingError": "The value must be an integer between 0 and 200."
|
|
||||||
},
|
|
||||||
"mainThemeConfigBlock": {
|
"mainThemeConfigBlock": {
|
||||||
"colorsLabel": "Colors",
|
"colorsLabel": "Colors",
|
||||||
"primaryColor": "Primary",
|
"primaryColor": "Primary",
|
||||||
"secondaryColor": "Secondary",
|
"secondaryColor": "Secondary",
|
||||||
"typography": "Typography",
|
"typography": "Typography",
|
||||||
"headingLabel": "Heading {i} (h{i})",
|
"headingLabel": "Heading {i} (h{i})",
|
||||||
"headingValue": "Heading <h{i}>",
|
"headingValue": "Heading <h{i}>"
|
||||||
"fontSizeError": "The value must be an integer between 1 and 100."
|
|
||||||
},
|
},
|
||||||
"buttonElementForm": {
|
"buttonElementForm": {
|
||||||
"valueLabel": "Text",
|
"valueLabel": "Text",
|
||||||
|
|
Loading…
Add table
Reference in a new issue