diff options
author | Filip Komar <filip@mageia.org> | 2014-03-09 10:03:23 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-03-09 10:03:23 +0000 |
commit | 860178e777d469b751c4f09e5009345aa7599a27 (patch) | |
tree | 2f34bdd63f57af8c312e274aeb455937c15adfe4 /langs | |
parent | b0e15407a664677201a3b9b8251786652b5e147f (diff) | |
download | www-860178e777d469b751c4f09e5009345aa7599a27.tar www-860178e777d469b751c4f09e5009345aa7599a27.tar.gz www-860178e777d469b751c4f09e5009345aa7599a27.tar.bz2 www-860178e777d469b751c4f09e5009345aa7599a27.tar.xz www-860178e777d469b751c4f09e5009345aa7599a27.zip |
fix of report for langs with abbreviation with more than 2 char
Diffstat (limited to 'langs')
-rw-r--r-- | langs/report.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/langs/report.php b/langs/report.php index 25ea9a398..5725137d3 100644 --- a/langs/report.php +++ b/langs/report.php @@ -102,15 +102,11 @@ $enStringsCount[$f] = 0; if ($f == '../_nav/langs/en.lang') { $nav = true; + $langF = '../_nav/langs/' . $l . '.lang'; } else { $nav = false; } - if ($nav) { - $langF = '../_nav/langs/' . $l . '.lang'; - } else { - $langF = $l . substr($langF, 2); - } $link = str_replace('index', '', $resource); if ($nav) { $dest_en = sprintf('%s/%s/%s', G_APP_ROOT, '_nav/langs', 'en.lang'); |