aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2015-06-29 18:34:43 +0200
committerfilip <filip.komar@gmail.com>2015-06-29 18:34:43 +0200
commit1e70b494aa4c3e3231d9a0196763d0749f9c0f69 (patch)
tree750b3f065f571994d882bf7cf141f382f62a408f
parent59f21c6da18605ee6acf061b29da9069d034fafe (diff)
downloadwww-1e70b494aa4c3e3231d9a0196763d0749f9c0f69.tar
www-1e70b494aa4c3e3231d9a0196763d0749f9c0f69.tar.gz
www-1e70b494aa4c3e3231d9a0196763d0749f9c0f69.tar.bz2
www-1e70b494aa4c3e3231d9a0196763d0749f9c0f69.tar.xz
www-1e70b494aa4c3e3231d9a0196763d0749f9c0f69.zip
bugfix for language name
-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 = '';