Projet

Général

Profil

Révision 76df55b7

Ajouté par Benjamin Luce il y a presque 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/i18n/i18n_menu/i18n_menu.module
588 588
    // If the title callback is 't' and the link title matches the router title
589 589
    // it will be localized by core, not by i18n_menu.
590 590
    if (!$router ||
591
        (empty($router['title_callback']) || $router['title_callback'] != 't') ||
591
        (empty($router['title_callback']) || ($router['title_callback'] != 't' || !empty($link['customized']))) ||
592 592
        (empty($router['title']) || $router['title'] != $link['link_title'])
593 593
    ) {
594 594
      $props[] = 'title';
......
597 597
  if (!empty($link['options']['attributes']['title'])) {
598 598
    // If the description matches the router description, it will be localized
599 599
    // by core.
600
    if (!$router || empty($router['description']) || $router['description'] != $link['options']['attributes']['title']) {
600
    if (!$router || empty($router['description']) || ($router['description'] != $link['options']['attributes']['title']) || !empty($link['customized'])) {
601 601
      $props[] = 'description';
602 602
    }
603 603
  }

Formats disponibles : Unified diff