aboutsummaryrefslogtreecommitdiffstats
path: root/langs
diff options
context:
space:
mode:
Diffstat (limited to 'langs')
-rw-r--r--langs/report.php6
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');