Commit aa368a17 authored by Stephen Mulvihill's avatar Stephen Mulvihill Committed by Will Hearn
Browse files

Issue #3311926 by smulvih2: Translate the History tab

parent 4323a744
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
display:
  page:
    display_options:
      menu:
        title: Historique
+7 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
 */

use Drupal\node\Entity\NodeType;
use Drupal\wxt_translation\TranslationHelper;

/**
 * Implements hook_install().
@@ -27,4 +28,10 @@ function wxt_ext_workflow_install() {
  foreach (NodeType::loadMultiple() as $node_type) {
    wxt_ext_workflow_node_type_insert($node_type);
  }

  // Install config translations.
  $moduleHandler = \Drupal::service('module_handler');
  if ($moduleHandler->moduleExists('wxt_translation')) {
    TranslationHelper::importTranslations('wxt_ext_workflow');
  }
}