diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 81c97d651fa220603ba483ccfea31ffc809da00e..f76606b611447bcc2f11c5be86afe120b37c9976 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1119,12 +1119,15 @@ function install_select_profile_form($form, &$form_state, $profile_files) { } foreach ($names as $profile => $name) { + // The profile name and description are extracted for translation from the + // .info file, so we can use st() on them even though they are dynamic data + // at this point. $form['profile'][$name] = array( '#type' => 'radio', '#value' => 'standard', '#return_value' => $profile, - '#title' => $name, - '#description' => isset($profiles[$profile]['description']) ? $profiles[$profile]['description'] : '', + '#title' => st($name), + '#description' => isset($profiles[$profile]['description']) ? st($profiles[$profile]['description']) : '', '#parents' => array('profile'), ); }