Skip to content

Commit b28fdcc

Browse files
committed
chore: improve link checker and linkit, configure asymmetric translation for paragraphs
1 parent 70c21f0 commit b28fdcc

31 files changed

+303
-33
lines changed

composer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"drupal/memcache": "^2.3",
6868
"drupal/node_edit_protection": "^1.0",
6969
"drupal/oembed_providers": "^2.0",
70+
"drupal/paragraphs_asymmetric_translation_widgets": "^1.0",
7071
"drupal/paragraphs_ee": "^2.0",
7172
"drupal/pathauto": "^1.10",
7273
"drupal/permissions_filter": "^1.2",
@@ -203,11 +204,21 @@
203204
"https://www.drupal.org/projectc/layout_paragraphs/issues/3214406#comment-14425196": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/70.diff",
204205
"https://www.drupal.org/project/layout_paragraphs/issues/3265794": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/84.diff"
205206
},
207+
"drupal/linkit": {
208+
"https://www.drupal.org/project/linkit/issues/3022261#comment-14257900": "https://www.drupal.org/files/issues/2021-10-15/3022261_linkit_add-better-support-for-linking-to-anchors_22.patch"
209+
},
206210
"drupal/metatag": {
207211
"https://www.drupal.org/project/metatag/issues/2945817#comment-14420231": "https://www.drupal.org/files/issues/2022-02-21/metatag-n2945817-143.patch"
208212
},
209213
"drupal/node_edit_protection": {
210214
"Triggers if button used instead of input https://www.drupal.org/project/node_edit_protection/issues/3208719": "./patch/3208719.diff"
215+
},
216+
"drupal/paragraphs": {
217+
"https://www.drupal.org/project/paragraphs/issues/2904705#comment-13918715": "https://www.drupal.org/files/issues/2020-11-27/paragraphs_support_asym_translations-2904705-122.patch"
218+
},
219+
"drupal/paragraphs_asymmetric_translation_widgets": {
220+
"https://www.drupal.org/project/paragraphs_asymmetric_translation_widgets/issues/3175491#comment-13891174": "https://www.drupal.org/files/issues/2020-11-03/3175491-2.patch",
221+
"https://www.drupal.org/project/paragraphs_asymmetric_translation_widgets/issues/3180118#comment-14188544": "https://www.drupal.org/files/issues/2021-08-12/3180118-7.patch"
211222
}
212223
}
213224
}

config/sync/core.entity_form_display.media.document.default.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ content:
9090
settings:
9191
display_label: true
9292
third_party_settings: { }
93+
translation:
94+
weight: 10
95+
region: content
96+
settings: { }
97+
third_party_settings: { }
9398
uid:
9499
type: entity_reference_autocomplete
95100
weight: 7

config/sync/core.entity_form_display.media.document.media_library.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ content:
6464
size: 60
6565
placeholder: ''
6666
third_party_settings: { }
67+
translation:
68+
weight: 10
69+
region: content
70+
settings: { }
71+
third_party_settings: { }
6772
hidden:
6873
created: true
6974
langcode: true

config/sync/core.entity_form_display.media.image.default.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ content:
104104
settings:
105105
display_label: true
106106
third_party_settings: { }
107+
translation:
108+
weight: 10
109+
region: content
110+
settings: { }
111+
third_party_settings: { }
107112
uid:
108113
type: entity_reference_autocomplete
109114
weight: 8

config/sync/core.entity_form_display.media.image.media_library.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ content:
7676
size: 60
7777
placeholder: ''
7878
third_party_settings: { }
79+
translation:
80+
weight: 10
81+
region: content
82+
settings: { }
83+
third_party_settings: { }
7984
hidden:
8085
created: true
8186
langcode: true

config/sync/core.extension.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ module:
9898
oembed_providers: 0
9999
options: 0
100100
page_cache: 0
101+
paragraphs_asymmetric_translation_widgets: 0
101102
paragraphs_features: 0
102103
paragraphs_library: 0
103104
paragraphs_type_permissions: 0

config/sync/field.field.media.image.field_media_caption.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bundle: image
1818
label: Caption
1919
description: "Alt text is a description of what an image shows, eg. 'Small dog'. \r\nThe caption should convey information as to why you have placed the image, it usually include image title and credits, who is shown in the photo, etc. eg. 'Rufus the Corgi as a puppy. Photo taken by Brian Gilbert'"
2020
required: true
21-
translatable: false
21+
translatable: true
2222
default_value: { }
2323
default_value_callback: ''
2424
settings: { }

config/sync/field.field.media.image.field_media_content_owner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bundle: image
1212
label: 'Content owner'
1313
description: 'Enter the person or role that is primary contact regarding this image.'
1414
required: false
15-
translatable: false
15+
translatable: true
1616
default_value: { }
1717
default_value_callback: ''
1818
settings: { }

config/sync/field.field.media.image.field_media_copyright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bundle: image
1212
label: Copyright
1313
description: ''
1414
required: false
15-
translatable: false
15+
translatable: true
1616
default_value: { }
1717
default_value_callback: ''
1818
settings: { }

config/sync/field.field.media.image.field_media_description.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bundle: image
1212
label: Description
1313
description: 'Enter a very short description to help editors find relevant media.'
1414
required: true
15-
translatable: false
15+
translatable: true
1616
default_value: { }
1717
default_value_callback: ''
1818
settings: { }

0 commit comments

Comments
 (0)