aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-07-26 22:54:46 +0200
committerfilip <filip.komar@gmail.com>2016-07-26 22:54:46 +0200
commit33cf39f3a2b103b6768147ec99b20f4822dc92a6 (patch)
treee1fa01338721ca6878c10aadb28e914238e6d9ef /lib.php
parent387d067e53211d538f545ff002227a989c263fa2 (diff)
downloadnav-33cf39f3a2b103b6768147ec99b20f4822dc92a6.tar
nav-33cf39f3a2b103b6768147ec99b20f4822dc92a6.tar.gz
nav-33cf39f3a2b103b6768147ec99b20f4822dc92a6.tar.bz2
nav-33cf39f3a2b103b6768147ec99b20f4822dc92a6.tar.xz
nav-33cf39f3a2b103b6768147ec99b20f4822dc92a6.zip
changed structure of resulting l10n array
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.php b/lib.php
index f253c58..bcba8e8 100644
--- a/lib.php
+++ b/lib.php
@@ -216,8 +216,8 @@ class l10n
foreach ($dictionary as $key => $value) {
if ($key != '') {
- if ($value['msgstr'][0] != '') {
- $_t[trim($key)] = trim($value['msgstr'][0]);
+ if ($value[0][0] != '') {
+ $_t[trim($key)] = trim($value[0][0]);
} else {
$_t[trim($key)] = trim($key);
}