mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
5
.changeset/silver-baboons-give.md
Normal file
5
.changeset/silver-baboons-give.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@directus/app": patch
|
||||
---
|
||||
|
||||
Translated field names in collection dialog
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user