Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure all Paragraph types are translatable #739

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Next Next commit
Update config.
  • Loading branch information
dipakmdhrm committed Oct 24, 2024
commit b7bdb2e3a65f02bc79d40500b959985ba67dd6a7
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ bundle: documents
label: Documents
description: 'An uploaded file or document, such as a PDF.'
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ bundle: hero_image
label: Image
description: ''
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ bundle: hero_image
label: Link
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ bundle: hero_image
label: Subtitle
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ bundle: hero_image
label: Title
description: ''
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ bundle: info_card
label: Header
description: 'The value that should appear on the top of the card (e.g. "100%").'
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ bundle: related_content
label: 'Related content'
description: ''
required: true
translatable: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
7 changes: 7 additions & 0 deletions config/sync/language.content_settings.media.document.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,13 @@ status: true
dependencies:
config:
- media.type.document
module:
- content_translation
third_party_settings:
content_translation:
enabled: false
bundle_settings:
untranslatable_fields_hide: '0'
id: media.document
target_entity_type_id: media
target_bundle: document
7 changes: 7 additions & 0 deletions config/sync/language.content_settings.media.video.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,13 @@ status: true
dependencies:
config:
- media.type.video
module:
- content_translation
third_party_settings:
content_translation:
enabled: false
bundle_settings:
untranslatable_fields_hide: '0'
id: media.video
target_entity_type_id: media
target_bundle: video
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
untranslatable_fields_hide: '1'
id: node.landing_page
target_entity_type_id: node
target_bundle: landing_page
2 changes: 1 addition & 1 deletion config/sync/language.content_settings.node.news.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
untranslatable_fields_hide: '1'
id: node.news
target_entity_type_id: node
target_bundle: news
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@ dependencies:
- content_translation
third_party_settings:
content_translation:
enabled: false
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: paragraph.hero_image
target_entity_type_id: paragraph
target_bundle: hero_image
default_langcode: site_default
language_alterable: false
language_alterable: true