Commit 9edd712e authored by webchick's avatar webchick
Browse files

Issue #1640050 by Schnitzel: Fixed Locale summary in language table should be...

Issue #1640050 by Schnitzel: Fixed Locale summary in language table should be 'not applicable' for locked languages.
parent b62fb408
...@@ -525,7 +525,7 @@ function locale_form_language_admin_overview_form_alter(&$form, &$form_state) { ...@@ -525,7 +525,7 @@ function locale_form_language_admin_overview_form_alter(&$form, &$form_state) {
'translated' => 0, 'translated' => 0,
'ratio' => 0, 'ratio' => 0,
); );
if ($langcode != 'en' || locale_translate_english()) { if (!$language->locked && ($langcode != 'en' || locale_translate_english())) {
$form['languages'][$langcode]['locale_statistics'] = array( $form['languages'][$langcode]['locale_statistics'] = array(
'#markup' => l( '#markup' => l(
t('@translated/@total (@ratio%)', array( t('@translated/@total (@ratio%)', array(
......
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