plan tables for fixed billing

language translation fix
This commit is contained in:
Čarodej
2022-03-23 19:16:40 +01:00
parent aa515b5450
commit a608678bb9
11 changed files with 143 additions and 122 deletions

View File

@@ -21,7 +21,7 @@
<li class="mb-1.5 flex items-center" v-for="(value, key, i) in plan.data.attributes.features" :key="i">
<CheckIcon size="12" class="svg-stroke-theme" />
<small class="pl-1.5 text-xs font-bold text-gray-600" v-if="value !== -1">
{{ $t(key, { value: value }) }}
{{ $t(key === 'max_team_members' ? 'max_team_members_total' : key, { value: value }) }}
</small>
<small class="pl-1.5 text-xs font-bold text-gray-600" v-if="value === -1">
{{ $t(`${key}.unlimited`) }}