"Create" modal i18n capitalization (#4441)

This commit is contained in:
Jerozgen
2025-09-29 18:23:55 +03:00
committed by GitHub
parent d5f756fd86
commit f6f66a313f
2 changed files with 2 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
:type="hasHitLimit ? 'critical' : 'warning'"
:header="
hasHitLimit
? formatMessage(messages.limitReached, { type: capitalizeString(typeName.singular) })
? capitalizeString(formatMessage(messages.limitReached, { type: typeName.singular }))
: formatMessage(messages.approachingLimit, { type: typeName.singular, current, max })
"
class="mb-4"

View File

@@ -53,6 +53,7 @@
v-model="visibility"
:items="visibilities"
:format-label="(x) => x.display"
:capitalize="false"
:disabled="hasHitLimit"
/>
</div>