summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2012-06-16 11:54:51 (GMT)
committerwebchick2012-06-16 11:54:51 (GMT)
commit9edd712e5dfbf16417cf74c0b49917bbcb1ccc04 (patch)
tree578354dae85cddd98b058bcf808a5d44a04ca606
parentb62fb408b08739b43b3ec99a35ede4dd4587a0f6 (diff)
Issue #1640050 by Schnitzel: Fixed Locale summary in language table should be 'not applicable' for locked languages.
-rw-r--r--core/modules/locale/locale.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module
index ef1b186..d5b3c68 100644
--- a/core/modules/locale/locale.module
+++ b/core/modules/locale/locale.module
@@ -525,7 +525,7 @@ function locale_form_language_admin_overview_form_alter(&$form, &$form_state) {
'translated' => 0,
'ratio' => 0,
);
- if ($langcode != 'en' || locale_translate_english()) {
+ if (!$language->locked && ($langcode != 'en' || locale_translate_english())) {
$form['languages'][$langcode]['locale_statistics'] = array(
'#markup' => l(
t('@translated/@total (@ratio%)', array(