Fix missing and wrong translations (#9537)

This commit is contained in:
Adrian Dimitrov
2021-11-05 09:30:59 -07:00
committed by GitHub
parent 2ff2f93028
commit b8fabe46f2
5 changed files with 23 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ fields:
- field: project_color
interface: select-color
note: $t:field_options.directus_settings.project_logo_note
note: $t:field_options.directus_settings.project_color_note
translations:
language: en-US
translations: Brand Color
@@ -44,7 +44,7 @@ fields:
- field: project_logo
interface: file
note: White 40x40 SVG/PNG
note: $t:field_options.directus_settings.project_logo_note
translations:
language: en-US
translations: Brand Logo
@@ -170,7 +170,7 @@ fields:
onlyOnCreate: false
width: full
- field: fit
name: Fit
name: $t:field_options.directus_settings.storage_asset_presets.fit_label
type: string
schema:
is_nullable: false
@@ -217,7 +217,7 @@ fields:
step: 1
width: half
- field: withoutEnlargement
name: Upscaling
name: $t:field_options.directus_settings.storage_asset_presets.upscaling
type: boolean
schema:
default_value: false
@@ -227,7 +227,7 @@ fields:
options:
label: $t:no_upscale
- field: format
name: Format
name: $t:format
type: string
schema:
is_nullable: false
@@ -307,7 +307,7 @@ fields:
meta:
interface: text-input
options:
placeholder: Enter the basemap name...
placeholder: $t:field_options.directus_settings.basemaps_name_placeholder
- field: type
name: $t:type
meta:

View File

@@ -40,19 +40,19 @@ fields:
display_options:
showAsDot: true
choices:
- text: $t:active
- text: $t:field_options.directus_webhooks.status_options_active
value: active
foreground: 'var(--primary-10)'
background: 'var(--primary)'
- text: $t:inactive
- text: $t:field_options.directus_webhooks.status_options_inactive
value: inactive
foreground: 'var(--foreground-normal)'
background: 'var(--background-normal-alt)'
options:
choices:
- text: $t:active
- text: $t:field_options.directus_webhooks.status_options_active
value: active
- text: $t:inactive
- text: $t:field_options.directus_webhooks.status_options_inactive
value: inactive
width: half