diff options
author | filip <filip.komar@gmail.com> | 2016-07-26 22:54:46 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2016-07-26 22:54:46 +0200 |
commit | 33cf39f3a2b103b6768147ec99b20f4822dc92a6 (patch) | |
tree | e1fa01338721ca6878c10aadb28e914238e6d9ef /lib.php | |
parent | 387d067e53211d538f545ff002227a989c263fa2 (diff) | |
download | nav-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.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |