Skip to content

Commit

Permalink
enabled translation for menus / taxonomies / paragraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisten committed May 7, 2021
1 parent aef4e4a commit 89e5fdf
Show file tree
Hide file tree
Showing 105 changed files with 983 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bundle: basic
label: Changed
description: 'The time that the custom block was last edited.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bundle: basic
label: 'Block description'
description: 'A brief description of your block.'
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bundle: basic
label: Metatags
description: 'The meta tags for the entity.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bundle: basic
label: Published
description: ''
required: false
translatable: false
translatable: true
default_value:
-
value: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: f4cf1d15-4d73-467b-a42f-ca1efa0c8dd5
langcode: en
status: true
dependencies:
config:
- media.type.snippet
id: media.snippet.changed
field_name: changed
entity_type: media
bundle: snippet
label: Changed
description: 'The time the media item was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: 0eff5162-d1e0-49c3-a0e8-fdadb9deba7b
langcode: en
status: true
dependencies:
config:
- media.type.snippet
id: media.snippet.created
field_name: created
entity_type: media
bundle: snippet
label: 'Authored on'
description: 'The time the media item was created.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getRequestTime'
settings: { }
field_type: created
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: 0474c728-6f33-42f4-bd4b-3babf91781dc
langcode: en
status: true
dependencies:
config:
- media.type.snippet
id: media.snippet.metatag
field_name: metatag
entity_type: media
bundle: snippet
label: Metatags
description: 'The meta tags for the entity.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: map
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 0f6102bb-3efc-4f1d-8580-9fcf180f8694
langcode: en
status: true
dependencies:
config:
- media.type.snippet
id: media.snippet.name
field_name: name
entity_type: media
bundle: snippet
label: Name
description: ''
required: true
translatable: false
default_value:
-
value: ''
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 869ddad2-2485-4d36-a5db-5862f368593b
langcode: en
status: true
dependencies:
config:
- media.type.snippet
module:
- path
id: media.snippet.path
field_name: path
entity_type: media
bundle: snippet
label: 'URL alias'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: path
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: dd5b02a1-1065-4828-bd6a-157bf99a2c4b
langcode: en
status: true
dependencies:
config:
- media.type.snippet
id: media.snippet.status
field_name: status
entity_type: media
bundle: snippet
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
uuid: 73cd934b-050e-45b5-af95-d35f288cd0cc
langcode: en
status: true
dependencies:
config:
- media.type.snippet
module:
- image
id: media.snippet.thumbnail
field_name: thumbnail
entity_type: media
bundle: snippet
label: Thumbnail
description: 'The thumbnail of the media item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'png gif jpg jpeg'
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
handler: default
handler_settings: { }
field_type: image
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 18694174-de35-4165-b637-5132036de728
langcode: en
status: true
dependencies:
config:
- media.type.snippet
id: media.snippet.uid
field_name: uid
entity_type: media
bundle: snippet
label: 'Authored by'
description: 'The user ID of the author.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getDefaultEntityOwner'
settings:
handler: default
handler_settings: { }
field_type: entity_reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: c90886f7-70ec-43b2-8707-026430fb172f
langcode: en
status: true
dependencies:
config:
- media.type.svg
id: media.svg.changed
field_name: changed
entity_type: media
bundle: svg
label: Changed
description: 'The time the media item was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: 26ee3e44-a4ab-4a20-8b2f-4610baa1fdd6
langcode: en
status: true
dependencies:
config:
- media.type.svg
id: media.svg.created
field_name: created
entity_type: media
bundle: svg
label: 'Authored on'
description: 'The time the media item was created.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getRequestTime'
settings: { }
field_type: created
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: 85bd1172-aa62-4e91-aa7d-5b846f427e59
langcode: en
status: true
dependencies:
config:
- media.type.svg
id: media.svg.metatag
field_name: metatag
entity_type: media
bundle: svg
label: Metatags
description: 'The meta tags for the entity.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: map
20 changes: 20 additions & 0 deletions config/config-default/core.base_field_override.media.svg.name.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: b8d28b3c-8ccf-49e9-ab67-7b52a0fa3c78
langcode: en
status: true
dependencies:
config:
- media.type.svg
id: media.svg.name
field_name: name
entity_type: media
bundle: svg
label: Name
description: ''
required: true
translatable: false
default_value:
-
value: ''
default_value_callback: ''
settings: { }
field_type: string
20 changes: 20 additions & 0 deletions config/config-default/core.base_field_override.media.svg.path.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: d19156a4-edb6-47e5-a7b7-d4c2990f0252
langcode: en
status: true
dependencies:
config:
- media.type.svg
module:
- path
id: media.svg.path
field_name: path
entity_type: media
bundle: svg
label: 'URL alias'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: path
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 03e609fd-f88b-4f9c-accd-dfb847ec6a09
langcode: en
status: true
dependencies:
config:
- media.type.svg
id: media.svg.status
field_name: status
entity_type: media
bundle: svg
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
uuid: 9350e605-b923-4434-9db5-bdb55eeb7807
langcode: en
status: true
dependencies:
config:
- media.type.svg
module:
- image
id: media.svg.thumbnail
field_name: thumbnail
entity_type: media
bundle: svg
label: Thumbnail
description: 'The thumbnail of the media item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'png gif jpg jpeg'
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
handler: default
handler_settings: { }
field_type: image
20 changes: 20 additions & 0 deletions config/config-default/core.base_field_override.media.svg.uid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: a4b6642a-b8ff-41f9-b42e-9b632e9c2d51
langcode: en
status: true
dependencies:
config:
- media.type.svg
id: media.svg.uid
field_name: uid
entity_type: media
bundle: svg
label: 'Authored by'
description: 'The user ID of the author.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getDefaultEntityOwner'
settings:
handler: default
handler_settings: { }
field_type: entity_reference
Loading

0 comments on commit 89e5fdf

Please sign in to comment.