Browse Source

parametres translation paragraphs & translators' permissions

ouidade 1 year ago
parent
commit
072c32ccd2
57 changed files with 601 additions and 64 deletions
  1. 1 1
      config/sync/block.block.rorschach_content.yml
  2. 1 1
      config/sync/core.base_field_override.node.static.changed.yml
  3. 1 1
      config/sync/core.base_field_override.node.static.created.yml
  4. 1 1
      config/sync/core.base_field_override.node.static.menu_link.yml
  5. 1 1
      config/sync/core.base_field_override.node.static.path.yml
  6. 1 1
      config/sync/core.base_field_override.node.static.promote.yml
  7. 1 1
      config/sync/core.base_field_override.node.static.status.yml
  8. 1 1
      config/sync/core.base_field_override.node.static.sticky.yml
  9. 1 1
      config/sync/core.base_field_override.node.static.title.yml
  10. 1 1
      config/sync/core.base_field_override.node.static.uid.yml
  11. 18 0
      config/sync/core.base_field_override.paragraph.article.created.yml
  12. 22 0
      config/sync/core.base_field_override.paragraph.article.status.yml
  13. 18 0
      config/sync/core.base_field_override.paragraph.chapitre.created.yml
  14. 22 0
      config/sync/core.base_field_override.paragraph.chapitre.status.yml
  15. 18 0
      config/sync/core.base_field_override.paragraph.image.created.yml
  16. 22 0
      config/sync/core.base_field_override.paragraph.image.status.yml
  17. 18 0
      config/sync/core.base_field_override.paragraph.subheading.created.yml
  18. 22 0
      config/sync/core.base_field_override.paragraph.subheading.status.yml
  19. 18 0
      config/sync/core.base_field_override.paragraph.tablefield.created.yml
  20. 22 0
      config/sync/core.base_field_override.paragraph.tablefield.status.yml
  21. 18 0
      config/sync/core.base_field_override.paragraph.text.created.yml
  22. 22 0
      config/sync/core.base_field_override.paragraph.text.status.yml
  23. 18 0
      config/sync/core.base_field_override.paragraph.title.created.yml
  24. 22 0
      config/sync/core.base_field_override.paragraph.title.status.yml
  25. 18 0
      config/sync/core.base_field_override.taxonomy_term.book.changed.yml
  26. 20 0
      config/sync/core.base_field_override.taxonomy_term.book.description.yml
  27. 18 0
      config/sync/core.base_field_override.taxonomy_term.book.name.yml
  28. 20 0
      config/sync/core.base_field_override.taxonomy_term.book.path.yml
  29. 22 0
      config/sync/core.base_field_override.taxonomy_term.book.status.yml
  30. 1 1
      config/sync/field.field.node.book.field_bookpage_subheading.yml
  31. 1 1
      config/sync/field.field.node.book.field_parent_book.yml
  32. 1 1
      config/sync/field.field.node.static.body.yml
  33. 1 1
      config/sync/field.field.paragraph.article.field_article.yml
  34. 1 1
      config/sync/field.field.paragraph.chapitre.field_chapitre.yml
  35. 3 3
      config/sync/field.field.paragraph.image.field_image.yml
  36. 1 1
      config/sync/field.field.paragraph.subheading.field_subheading.yml
  37. 1 1
      config/sync/field.field.paragraph.title.field_title.yml
  38. 2 0
      config/sync/language.content_settings.block_content.content_book_page.yml
  39. 2 2
      config/sync/language.content_settings.node.static.yml
  40. 18 0
      config/sync/language.content_settings.paragraph.article.yml
  41. 2 2
      config/sync/language.content_settings.paragraph.chapitre.yml
  42. 18 0
      config/sync/language.content_settings.paragraph.image.yml
  43. 18 0
      config/sync/language.content_settings.paragraph.subheading.yml
  44. 18 0
      config/sync/language.content_settings.paragraph.tablefield.yml
  45. 18 0
      config/sync/language.content_settings.paragraph.text.yml
  46. 18 0
      config/sync/language.content_settings.paragraph.title.yml
  47. 7 0
      config/sync/language.content_settings.taxonomy_term.book.yml
  48. 3 1
      config/sync/language.types.yml
  49. 11 0
      config/sync/user.role.editor.yml
  50. 27 0
      config/sync/user.role.translator.yml
  51. 14 17
      web/themes/custom/rorschach/css-compiled/styles.css
  52. 0 3
      web/themes/custom/rorschach/scss/global/_layout.scss
  53. 0 18
      web/themes/custom/rorschach/scss/pages/_bookpage.scss
  54. 23 0
      web/themes/custom/rorschach/scss/partials/_booknavigation.scss
  55. 3 0
      web/themes/custom/rorschach/scss/partials/_breadcrumbs.scss
  56. 0 0
      web/themes/custom/rorschach/scss/partials/_summary.scss
  57. 1 1
      web/themes/custom/rorschach/scss/styles.scss

+ 1 - 1
config/sync/block.block.rorschach_content.yml

@@ -1,6 +1,6 @@
 uuid: d8bb4fc8-9053-45e1-a864-79d86f06b678
 langcode: en
-status: true
+status: false
 dependencies:
   module:
     - context

+ 1 - 1
config/sync/core.base_field_override.node.static.changed.yml

@@ -11,7 +11,7 @@ bundle: static
 label: Changed
 description: 'The time that the node was last edited.'
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 1
config/sync/core.base_field_override.node.static.created.yml

@@ -11,7 +11,7 @@ bundle: static
 label: 'Authored on'
 description: 'The time that the node was created.'
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 1
config/sync/core.base_field_override.node.static.menu_link.yml

@@ -11,7 +11,7 @@ bundle: static
 label: 'Menu link'
 description: 'Computed menu link for the node (only available during node saving).'
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 1 - 1
config/sync/core.base_field_override.node.static.path.yml

@@ -13,7 +13,7 @@ bundle: static
 label: 'URL alias'
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 1
config/sync/core.base_field_override.node.static.promote.yml

@@ -13,7 +13,7 @@ bundle: static
 label: 'Promoted to front page'
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value:
   -
     value: 0

+ 1 - 1
config/sync/core.base_field_override.node.static.status.yml

@@ -11,7 +11,7 @@ bundle: static
 label: Published
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value:
   -
     value: 1

+ 1 - 1
config/sync/core.base_field_override.node.static.sticky.yml

@@ -11,7 +11,7 @@ bundle: static
 label: 'Sticky at top of lists'
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value:
   -
     value: 0

+ 1 - 1
config/sync/core.base_field_override.node.static.title.yml

@@ -11,7 +11,7 @@ bundle: static
 label: Title
 description: ''
 required: true
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 1
config/sync/core.base_field_override.node.static.uid.yml

@@ -11,7 +11,7 @@ bundle: static
 label: 'Authored by'
 description: 'The username of the content author.'
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: 'Drupal\node\Entity\Node::getDefaultEntityOwner'
 settings:

+ 18 - 0
config/sync/core.base_field_override.paragraph.article.created.yml

@@ -0,0 +1,18 @@
+uuid: 590119a3-0bcf-4db9-84ae-2b06ca180161
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.article
+id: paragraph.article.created
+field_name: created
+entity_type: paragraph
+bundle: article
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.article.status.yml

@@ -0,0 +1,22 @@
+uuid: e534929b-03dd-4c3e-9536-eefdfe244a2a
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.article
+id: paragraph.article.status
+field_name: status
+entity_type: paragraph
+bundle: article
+label: Published
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.paragraph.chapitre.created.yml

@@ -0,0 +1,18 @@
+uuid: ce9c5938-adb4-447f-af47-2054120e32e1
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.chapitre
+id: paragraph.chapitre.created
+field_name: created
+entity_type: paragraph
+bundle: chapitre
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.chapitre.status.yml

@@ -0,0 +1,22 @@
+uuid: 44b28d68-6848-4366-be20-27f60dbe4e23
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.chapitre
+id: paragraph.chapitre.status
+field_name: status
+entity_type: paragraph
+bundle: chapitre
+label: Published
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.paragraph.image.created.yml

@@ -0,0 +1,18 @@
+uuid: 01c06e76-fde0-44a5-9d3c-276abe106f5f
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.image
+id: paragraph.image.created
+field_name: created
+entity_type: paragraph
+bundle: image
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.image.status.yml

@@ -0,0 +1,22 @@
+uuid: cfe978da-bd92-4308-bec9-c2fffe5cccfc
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.image
+id: paragraph.image.status
+field_name: status
+entity_type: paragraph
+bundle: image
+label: Published
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.paragraph.subheading.created.yml

@@ -0,0 +1,18 @@
+uuid: 7d877219-588b-4015-a2c4-ea464d49a65e
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.subheading
+id: paragraph.subheading.created
+field_name: created
+entity_type: paragraph
+bundle: subheading
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.subheading.status.yml

@@ -0,0 +1,22 @@
+uuid: a7fd1a65-17cb-4fe9-aac8-4e848aebd1e8
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.subheading
+id: paragraph.subheading.status
+field_name: status
+entity_type: paragraph
+bundle: subheading
+label: Published
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.paragraph.tablefield.created.yml

@@ -0,0 +1,18 @@
+uuid: cf8692cf-8f6b-4c54-a637-a6e6f1e2d9fa
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.tablefield
+id: paragraph.tablefield.created
+field_name: created
+entity_type: paragraph
+bundle: tablefield
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.tablefield.status.yml

@@ -0,0 +1,22 @@
+uuid: 6f7e0486-983d-435d-a186-2324c333d73f
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.tablefield
+id: paragraph.tablefield.status
+field_name: status
+entity_type: paragraph
+bundle: tablefield
+label: Published
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.paragraph.text.created.yml

@@ -0,0 +1,18 @@
+uuid: eb21e0b4-6e76-4995-8802-4fd27024cab4
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.text
+id: paragraph.text.created
+field_name: created
+entity_type: paragraph
+bundle: text
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.text.status.yml

@@ -0,0 +1,22 @@
+uuid: 44c7df12-b7fa-414b-9824-83c4fb395fdb
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.text
+id: paragraph.text.status
+field_name: status
+entity_type: paragraph
+bundle: text
+label: Published
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.paragraph.title.created.yml

@@ -0,0 +1,18 @@
+uuid: 9a011566-49ec-40ed-a8d3-119950275e13
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.title
+id: paragraph.title.created
+field_name: created
+entity_type: paragraph
+bundle: title
+label: 'Authored on'
+description: 'The time that the Paragraph was created.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 22 - 0
config/sync/core.base_field_override.paragraph.title.status.yml

@@ -0,0 +1,22 @@
+uuid: 861433b1-c54d-4142-aab1-e0bfaa70ec4e
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.title
+id: paragraph.title.status
+field_name: status
+entity_type: paragraph
+bundle: title
+label: Published
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.taxonomy_term.book.changed.yml

@@ -0,0 +1,18 @@
+uuid: 444da61b-726b-46a9-8981-ee5d74024860
+langcode: fr
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.book
+id: taxonomy_term.book.changed
+field_name: changed
+entity_type: taxonomy_term
+bundle: book
+label: Changed
+description: 'The time that the term was last edited.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 20 - 0
config/sync/core.base_field_override.taxonomy_term.book.description.yml

@@ -0,0 +1,20 @@
+uuid: ae5aa228-6bd3-429b-8fd4-3e609ad9fbff
+langcode: fr
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.book
+  module:
+    - text
+id: taxonomy_term.book.description
+field_name: description
+entity_type: taxonomy_term
+bundle: book
+label: Description
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: text_long

+ 18 - 0
config/sync/core.base_field_override.taxonomy_term.book.name.yml

@@ -0,0 +1,18 @@
+uuid: 171879f5-a300-46e9-b5f1-fd0950905329
+langcode: fr
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.book
+id: taxonomy_term.book.name
+field_name: name
+entity_type: taxonomy_term
+bundle: book
+label: Name
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 20 - 0
config/sync/core.base_field_override.taxonomy_term.book.path.yml

@@ -0,0 +1,20 @@
+uuid: 5d375fd4-6d1a-4590-b58f-85878f906bbc
+langcode: fr
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.book
+  module:
+    - path
+id: taxonomy_term.book.path
+field_name: path
+entity_type: taxonomy_term
+bundle: book
+label: 'URL alias'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 22 - 0
config/sync/core.base_field_override.taxonomy_term.book.status.yml

@@ -0,0 +1,22 @@
+uuid: b3f50006-d9e7-40de-afb1-3d62f8b408f6
+langcode: fr
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.book
+id: taxonomy_term.book.status
+field_name: status
+entity_type: taxonomy_term
+bundle: book
+label: Published
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 1 - 1
config/sync/field.field.node.book.field_bookpage_subheading.yml

@@ -14,7 +14,7 @@ bundle: book
 label: SubHeading
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 1
config/sync/field.field.node.book.field_parent_book.yml

@@ -12,7 +12,7 @@ bundle: book
 label: 'Parent Book'
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 1 - 1
config/sync/field.field.node.static.body.yml

@@ -16,7 +16,7 @@ bundle: static
 label: Body
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 1 - 1
config/sync/field.field.paragraph.article.field_article.yml

@@ -19,7 +19,7 @@ bundle: article
 label: Article
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 1 - 1
config/sync/field.field.paragraph.chapitre.field_chapitre.yml

@@ -14,7 +14,7 @@ bundle: chapitre
 label: chapitre
 description: ''
 required: false
-translatable: true
+translatable: false
 default_value: {  }
 default_value_callback: ''
 settings:

+ 3 - 3
config/sync/field.field.paragraph.image.field_image.yml

@@ -11,9 +11,9 @@ dependencies:
 third_party_settings:
   content_translation:
     translation_sync:
-      file: file
-      alt: '0'
-      title: '0'
+      alt: alt
+      title: title
+      file: '0'
 id: paragraph.image.field_image
 field_name: field_image
 entity_type: paragraph

+ 1 - 1
config/sync/field.field.paragraph.subheading.field_subheading.yml

@@ -14,7 +14,7 @@ bundle: subheading
 label: subheading
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 1
config/sync/field.field.paragraph.title.field_title.yml

@@ -14,7 +14,7 @@ bundle: title
 label: title
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 2 - 0
config/sync/language.content_settings.block_content.content_book_page.yml

@@ -9,6 +9,8 @@ dependencies:
 third_party_settings:
   content_translation:
     enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
 id: block_content.content_book_page
 target_entity_type_id: block_content
 target_bundle: content_book_page

+ 2 - 2
config/sync/language.content_settings.node.static.yml

@@ -8,7 +8,7 @@ dependencies:
     - content_translation
 third_party_settings:
   content_translation:
-    enabled: false
+    enabled: true
     bundle_settings:
       untranslatable_fields_hide: '0'
 _core:
@@ -17,4 +17,4 @@ id: node.static
 target_entity_type_id: node
 target_bundle: static
 default_langcode: site_default
-language_alterable: false
+language_alterable: true

+ 18 - 0
config/sync/language.content_settings.paragraph.article.yml

@@ -0,0 +1,18 @@
+uuid: 656eb76f-204e-47f4-a8e1-cd289735c522
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.article
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: paragraph.article
+target_entity_type_id: paragraph
+target_bundle: article
+default_langcode: site_default
+language_alterable: true

+ 2 - 2
config/sync/language.content_settings.paragraph.chapitre.yml

@@ -8,11 +8,11 @@ dependencies:
     - content_translation
 third_party_settings:
   content_translation:
-    enabled: true
+    enabled: false
     bundle_settings:
       untranslatable_fields_hide: '0'
 id: paragraph.chapitre
 target_entity_type_id: paragraph
 target_bundle: chapitre
 default_langcode: site_default
-language_alterable: true
+language_alterable: false

+ 18 - 0
config/sync/language.content_settings.paragraph.image.yml

@@ -0,0 +1,18 @@
+uuid: 49cc6fe7-be14-4e57-a598-9ca2ac8cc30c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.image
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: paragraph.image
+target_entity_type_id: paragraph
+target_bundle: image
+default_langcode: site_default
+language_alterable: true

+ 18 - 0
config/sync/language.content_settings.paragraph.subheading.yml

@@ -0,0 +1,18 @@
+uuid: 6903a7c4-28bd-405b-8946-cb3ddc1d2352
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.subheading
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: paragraph.subheading
+target_entity_type_id: paragraph
+target_bundle: subheading
+default_langcode: site_default
+language_alterable: true

+ 18 - 0
config/sync/language.content_settings.paragraph.tablefield.yml

@@ -0,0 +1,18 @@
+uuid: 4ea20d44-c1e5-4505-bb90-86575c1cb3f7
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.tablefield
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: paragraph.tablefield
+target_entity_type_id: paragraph
+target_bundle: tablefield
+default_langcode: site_default
+language_alterable: true

+ 18 - 0
config/sync/language.content_settings.paragraph.text.yml

@@ -0,0 +1,18 @@
+uuid: 0ef0aecd-4f4b-4e1c-8f2f-2d6e901192f0
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.text
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: paragraph.text
+target_entity_type_id: paragraph
+target_bundle: text
+default_langcode: site_default
+language_alterable: true

+ 18 - 0
config/sync/language.content_settings.paragraph.title.yml

@@ -0,0 +1,18 @@
+uuid: 33005460-6fa6-4efa-a176-11ce923b5579
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.title
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: paragraph.title
+target_entity_type_id: paragraph
+target_bundle: title
+default_langcode: site_default
+language_alterable: true

+ 7 - 0
config/sync/language.content_settings.taxonomy_term.book.yml

@@ -4,6 +4,13 @@ status: true
 dependencies:
   config:
     - taxonomy.vocabulary.book
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: false
+    bundle_settings:
+      untranslatable_fields_hide: '0'
 id: taxonomy_term.book
 target_entity_type_id: taxonomy_term
 target_bundle: book

+ 3 - 1
config/sync/language.types.yml

@@ -10,7 +10,7 @@ configurable:
 negotiation:
   language_content:
     enabled:
-      language-interface: 0
+      language-interface: 9
     method_weights:
       language-content-entity: -9
       language-url: -8
@@ -25,7 +25,9 @@ negotiation:
       language-url-fallback: 1
   language_interface:
     enabled:
+      language-user-admin: -10
       language-url: -8
+      language-user: -4
       language-selected: 12
     method_weights:
       language-user-admin: -10

+ 11 - 0
config/sync/user.role.editor.yml

@@ -6,9 +6,11 @@ dependencies:
     - node.type.book
     - node.type.static
   module:
+    - block_content
     - book
     - content_translation
     - node
+    - paragraphs
     - system
     - tablefield
     - toolbar
@@ -24,10 +26,12 @@ permissions:
   - 'add content to books'
   - 'addrow tablefield'
   - 'administer book outlines'
+  - 'administer content translation'
   - 'create book content'
   - 'create content translations'
   - 'create new books'
   - 'create static content'
+  - 'delete content translations'
   - 'delete own book content'
   - 'delete own static content'
   - 'edit any book content'
@@ -37,6 +41,13 @@ permissions:
   - 'export tablefield'
   - 'import tablefield'
   - 'rebuild tablefield'
+  - 'translate any entity'
+  - 'translate block_content'
+  - 'translate book node'
+  - 'translate editable entities'
+  - 'translate paragraph'
+  - 'translate static node'
+  - 'translate user'
   - 'update content translations'
   - 'view book revisions'
   - 'view own unpublished content'

+ 27 - 0
config/sync/user.role.translator.yml

@@ -2,12 +2,39 @@ uuid: db60f537-3369-4dd0-af59-8af8e234cfed
 langcode: fr
 status: true
 dependencies:
+  config:
+    - node.type.book
+    - node.type.static
   module:
+    - block_content
     - content_translation
+    - node
+    - paragraphs
+    - system
 id: translator
 label: Translator
 weight: -4
 is_admin: null
 permissions:
+  - 'access administration pages'
+  - 'administer content translation'
+  - 'create book content'
   - 'create content translations'
+  - 'create static content'
+  - 'delete content translations'
+  - 'delete own book content'
+  - 'delete own static content'
+  - 'edit any book content'
+  - 'edit any static content'
+  - 'edit own book content'
+  - 'edit own static content'
+  - 'translate any entity'
+  - 'translate block_content'
+  - 'translate book node'
+  - 'translate editable entities'
+  - 'translate paragraph'
+  - 'translate static node'
+  - 'translate user'
   - 'update content translations'
+  - 'view own unpublished content'
+  - 'view the administration theme'

+ 14 - 17
web/themes/custom/rorschach/css-compiled/styles.css

@@ -163,9 +163,6 @@ table {
   display: flex;
   flex-direction: row; }
 
-.block-system-breadcrumb-block {
-  margin: 4rem; }
-
 a {
   text-decoration: none; }
 
@@ -825,20 +822,6 @@ a {
 .field--name-field-subheading {
   font-size: 1rem; }
 
-article.node-type-book {
-  width: 70%; }
-  article.node-type-book h2 {
-    visibility: hidden; }
-  article.node-type-book div:nth-child(1) > nav:nth-child(1) > ul:nth-child(2) {
-    display: flex;
-    flex-direction: row;
-    justify-content: space-between;
-    list-style: none;
-    box-shadow: 0px 0px 1px black; }
-  article.node-type-book .links.inline {
-    list-style: none;
-    box-shadow: 0px 0px 1px black; }
-
 .node-book-edit-form {
   width: 80%;
   border-top-style: solid;
@@ -1037,6 +1020,20 @@ article.node-type-book {
         padding-right: 1rem;
         padding-bottom: 1rem; }
 
+article.node-type-book {
+  width: 70%; }
+  article.node-type-book nav h2 {
+    visibility: hidden; }
+  article.node-type-book nav ul {
+    display: flex;
+    flex-direction: row;
+    justify-content: space-between;
+    list-style: none;
+    box-shadow: 0px 0px 1px black; }
+  article.node-type-book .links.inline {
+    list-style: none;
+    box-shadow: 0px 0px 1px black; }
+
 #block-breadcrumbs nav ol {
   list-style: none;
   display: flex;

+ 0 - 3
web/themes/custom/rorschach/scss/global/_layout.scss

@@ -78,6 +78,3 @@
     flex-direction: row;
 }
 
-.block-system-breadcrumb-block{
-    margin: 4rem;
-}

+ 0 - 18
web/themes/custom/rorschach/scss/pages/_bookpage.scss

@@ -3,22 +3,4 @@
 }
 
 
-article.node-type-book{
-    width: 70%;
-    h2{
-        visibility: hidden;
-    }
-    div:nth-child(1) > nav:nth-child(1) > ul:nth-child(2){
-        display: flex;
-        flex-direction: row;
-        justify-content: space-between;
-        list-style: none;
-        box-shadow: 0px 0px 1px black;
-
-    }
-    .links.inline{
-        list-style: none;
-        box-shadow: 0px 0px 1px black;
-    }
-}
 

+ 23 - 0
web/themes/custom/rorschach/scss/partials/_booknavigation.scss

@@ -0,0 +1,23 @@
+article.node-type-book{
+    width: 70%;
+    nav{
+
+        h2{
+        
+            visibility: hidden;
+        }
+        ul{
+            display: flex;
+            flex-direction: row;
+            justify-content: space-between;
+            list-style: none;
+            box-shadow: 0px 0px 1px black;
+    
+        }
+
+    }
+    .links.inline{
+        list-style: none;
+        box-shadow: 0px 0px 1px black;
+    }
+}

+ 3 - 0
web/themes/custom/rorschach/scss/partials/_breadcrumbs.scss

@@ -19,6 +19,9 @@
     
     }
 }
+// .block-system-breadcrumb-block{
+//     margin: 4rem;
+// }
 
 
         // #block-breadcrumbs > nav:nth-child(1) > ol:nth-child(2)

+ 0 - 0
web/themes/custom/rorschach/scss/partials/_navigation.scss → web/themes/custom/rorschach/scss/partials/_summary.scss


+ 1 - 1
web/themes/custom/rorschach/scss/styles.scss

@@ -31,7 +31,7 @@
 /*partials*/
 @import "partials/_header";
 @import "partials/_footer";
-@import "partials/_navigation";
+@import "partials/_booknavigation";
 @import "partials/_breadcrumbs";
 @import "partials/_primary-tabs";