From aef4e4a2a1d818568aab32b045bcea43f497c82d Mon Sep 17 00:00:00 2001 From: Baptiste Niviere Date: Tue, 4 May 2021 23:13:09 -0700 Subject: [PATCH] tmgmt module dependency / locale configuration --- composer.json | 1 + config/config-default/core.extension.yml | 1 + config/config-default/locale.settings.yml | 15 +++++++++++++++ config/config-default/user.role.editor.yml | 1 + .../config-default/user.role.jcc_web_services.yml | 1 + 5 files changed, 19 insertions(+) create mode 100644 config/config-default/locale.settings.yml diff --git a/composer.json b/composer.json index 30ff3a0d..8c9b22e3 100644 --- a/composer.json +++ b/composer.json @@ -168,6 +168,7 @@ "drupal/simple_sitemap": "^3.9", "drupal/smart_trim": "^1.1", "drupal/svg_image": "^1.14", + "drupal/tmgmt": "^1.12", "drupal/twig_tweak": "^2.4", "drupal/views_aggregator": "^1.0@alpha", "drupal/views_ajax_history": "^1.5", diff --git a/config/config-default/core.extension.yml b/config/config-default/core.extension.yml index 4f5c700b..c1cf3c46 100644 --- a/config/config-default/core.extension.yml +++ b/config/config-default/core.extension.yml @@ -71,6 +71,7 @@ module: language: 0 link: 0 linkit: 0 + locale: 0 login_emailusername: 0 markup: 0 maxlength: 0 diff --git a/config/config-default/locale.settings.yml b/config/config-default/locale.settings.yml new file mode 100644 index 00000000..cd1ac515 --- /dev/null +++ b/config/config-default/locale.settings.yml @@ -0,0 +1,15 @@ +cache_strings: true +translate_english: false +javascript: + directory: languages +translation: + use_source: remote_and_local + default_filename: '%project-%version.%language.po' + default_server_pattern: 'https://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po' + overwrite_customized: false + overwrite_not_customized: true + update_interval_days: 0 + path: sites/default/files/translations + import_enabled: true +_core: + default_config_hash: cSdYeE-_AQETCNZnl8BMFS9-sVn5--VzAYILkpPBUbM diff --git a/config/config-default/user.role.editor.yml b/config/config-default/user.role.editor.yml index 175f664e..173e81a0 100644 --- a/config/config-default/user.role.editor.yml +++ b/config/config-default/user.role.editor.yml @@ -64,6 +64,7 @@ permissions: - 'link to any page' - 'schedule publishing of nodes' - 'translate any entity' + - 'translate interface' - 'translate jcc_form media' - 'update content translations' - 'use editorial_workflow transition archive' diff --git a/config/config-default/user.role.jcc_web_services.yml b/config/config-default/user.role.jcc_web_services.yml index 745a27b4..ba31566b 100644 --- a/config/config-default/user.role.jcc_web_services.yml +++ b/config/config-default/user.role.jcc_web_services.yml @@ -174,6 +174,7 @@ permissions: - 'select account cancellation method' - 'switch shortcut sets' - 'translate any entity' + - 'translate interface' - 'translate jcc_form media' - 'update any media' - 'update content translations'