Projet

Général

Profil

Révision 6ff32cea

Ajouté par Florent Torregrosa il y a environ 9 ans

Update core to 7.36

Voir les différences:

drupal7/modules/locale/locale.admin.inc
1139 1139
    '#value' => $source->location
1140 1140
  );
1141 1141

  
1142
  // Include default form controls with empty values for all languages.
1143
  // This ensures that the languages are always in the same order in forms.
1142
  // Include both translated and not yet translated target languages in the
1143
  // list. The source language is English for built-in strings and the default
1144
  // language for other strings.
1144 1145
  $languages = language_list();
1145 1146
  $default = language_default();
1146
  // We don't need the default language value, that value is in $source.
1147 1147
  $omit = $source->textgroup == 'default' ? 'en' : $default->language;
1148 1148
  unset($languages[($omit)]);
1149 1149
  $form['translations'] = array('#tree' => TRUE);

Formats disponibles : Unified diff