mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 13:41:09 -04:00
Translate badges
This commit is contained in:
@ -241,7 +241,7 @@
|
||||
:bg-color="$utils.getBadgeStatusColor(row.status).bgColor"
|
||||
:color="$utils.getBadgeStatusColor(row.status).color"
|
||||
>
|
||||
{{ row.status.replace('_', ' ') }}
|
||||
{{ $utils.getStatusTranslation(row.status.replace('_', ' ')) }}
|
||||
</sw-badge>
|
||||
</template>
|
||||
</sw-table-column>
|
||||
@ -258,7 +258,7 @@
|
||||
:bg-color="$utils.getBadgeStatusColor(row.status).bgColor"
|
||||
:color="$utils.getBadgeStatusColor(row.status).color"
|
||||
>
|
||||
{{ row.paid_status.replace('_', ' ') }}
|
||||
{{ $utils.getStatusTranslation(row.paid_status.replace('_', ' ')) }}
|
||||
</sw-badge>
|
||||
</template>
|
||||
</sw-table-column>
|
||||
|
||||
@ -189,7 +189,7 @@
|
||||
:font-size="$utils.getBadgeStatusColor(invoice.status).fontSize"
|
||||
class="px-1 text-xs"
|
||||
>
|
||||
{{ invoice.status }}
|
||||
{{ $utils.getStatusTranslation(invoice.status) }}
|
||||
</sw-badge>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user