Commit 22fa67d9 authored by alexpott's avatar alexpott

Issue #2185583 by longwave, InternetDevels: Allow to select "English" language...

Issue #2185583 by longwave, InternetDevels: Allow to select "English" language via mouse click in installer language selection screen.
parent 056096a3
......@@ -1627,8 +1627,10 @@ function install_select_language_form($form, &$form_state, $files = array()) {
if (empty($files)) {
$form['help'] = array(
'#type' => 'item',
'#markup' => '<p>Translations will be downloaded from the <a href="http://localize.drupal.org">Drupal Translation website</a>. ' .
'If you do not want this, select <em>English</em>.</p>',
'#markup' => \Drupal\Component\Utility\String::format('<p>Translations will be downloaded from the <a href="http://localize.drupal.org">Drupal Translation website</a>.
If you do not want this, select <a href="!english">English</a>.</p>', array(
'!english' => install_full_redirect_url(array('parameters' => array('langcode' => 'en'))),
)),
'#states' => array(
'invisible' => array(
'select[name="langcode"]' => array('value' => 'en'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment