aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/doc/doc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php
index ddcb016a9..49a5b1654 100644
--- a/en/doc/doc.php
+++ b/en/doc/doc.php
@@ -127,7 +127,7 @@ function doc_list($documentation_name, $type, $version)
if($single_version < $version && in_array($link_locale, $all_languages)) {
$language_present_before = "\t\t<tr><td>" .
sprintf(_r('Translation was present in %s before.<br/>Maybe you can check documentation for %s in Mageia %s.'),
- $lng_name, $documentation_name, $single_version) . "</td></tr>" . PHP_EOL;
+ $langs[locale_underscore_to_hyphen($locale)], $documentation_name, $single_version) . "</td></tr>" . PHP_EOL;
break;
} else {
$language_present_before = '';