Skip to content

Commit

Permalink
fix(notifications): translation of attestation_missed info
Browse files Browse the repository at this point in the history
Pluralization rule needs type `number` instead of `string`

See: BEDS-609
  • Loading branch information
marcel-bitfly committed Oct 21, 2024
1 parent 064616d commit 3c9b3c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ watch(hasAllEvents, () => {
<BcSettingsRow
v-model:checkbox="checkboxes.is_attestations_missed_subscribed"
:label="$t('notifications.subscriptions.validators.attestation_missed.label')"
:info="$t('notifications.subscriptions.validators.attestation_missed.info', { count: formatSecondsTo(secondsPerEpoch, { minimumFractionDigits: 1 }).minutes })"
:info="$t('notifications.subscriptions.validators.attestation_missed.info', { count: Number(formatSecondsTo(secondsPerEpoch, { minimumFractionDigits: 1 }).minutes) })"
/>
<BcSettingsRow
v-model:checkbox="checkboxes.is_block_proposal_subscribed"
Expand Down

0 comments on commit 3c9b3c2

Please sign in to comment.