3
0

Rename number configurator precision to scale

This commit is contained in:
Jože Fortun 2024-10-04 14:14:58 +02:00
parent a0c79696f0
commit 9f7f2b8b6c
2 changed files with 3 additions and 4 deletions

View File

@ -23,14 +23,13 @@
lg="6"
>
<b-form-group
v-b-tooltip.hover="{ title: hasData ? $t('not-configurable') : '', container: '#body' }"
v-b-tooltip.hover="{ title: hasData ? $t('not-configurable') : $t('kind.number.precisionTooltip'), container: '#body' }"
:label="`${$t('kind.number.precisionLabel')} ${(f.options.precision)}`"
label-class="mb-2 text-primary"
>
<b-form-input
v-model="f.options.precision"
:disabled="hasData"
:placeholder="$t('kind.number.precisionPlaceholder')"
type="range"
min="0"
max="6"

View File

@ -72,8 +72,8 @@ kind:
formatPlaceholder: Format
label: Number
liveExample: Live example
precisionLabel: Precision
precisionPlaceholder: Precision
precisionLabel: Scale
precisionTooltip: Number of decimal places
prefixLabel: Prefix
prefixPlaceholder: Prefix
suffixLabel: Suffix