Translate field names in collection dialog (#18708)

* dont format translation strings

* Create silver-baboons-give.md

* Revert "dont format translation strings"

This reverts commit e4fea9730e.

* Translate before passing as props

* Update changeset

---------

Co-authored-by: ian <licitdev@gmail.com>
This commit is contained in:
Brainslug
2023-05-25 20:18:38 +02:00
committed by GitHub
parent 93cba4e1b6
commit b920b72e79
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@directus/app": patch
---
Translated field names in collection dialog

View File

@@ -30,7 +30,7 @@
:fields="[
{
field: 'language',
name: '$t:language',
name: t('language'),
type: 'string',
schema: {
default_value: 'en-US',
@@ -42,7 +42,7 @@
},
{
field: 'translation',
name: '$t:field_options.directus_collections.collection_name',
name: t('field_options.directus_collections.collection_name'),
type: 'string',
meta: {
interface: 'input',