diff options
author | filip <filip.komar@gmail.com> | 2016-07-26 22:58:00 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2016-07-26 22:58:00 +0200 |
commit | ca582cf48744e49388504a223e42b0a493b82e10 (patch) | |
tree | acaa86d8f2091ef6c7095592b5a0d847ae7b3b57 /langs.inc.php | |
parent | 65de3a3abb7a3153caaac1b9df216d184d866b49 (diff) | |
download | www-ca582cf48744e49388504a223e42b0a493b82e10.tar www-ca582cf48744e49388504a223e42b0a493b82e10.tar.gz www-ca582cf48744e49388504a223e42b0a493b82e10.tar.bz2 www-ca582cf48744e49388504a223e42b0a493b82e10.tar.xz www-ca582cf48744e49388504a223e42b0a493b82e10.zip |
changed structure of resulting l10n array
Diffstat (limited to 'langs.inc.php')
-rw-r--r-- | langs.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/langs.inc.php b/langs.inc.php index bb412f2b8..aae94b38c 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -496,10 +496,10 @@ function _r($string_for_translation, $sufix = '') { global $dictionary; $escapeded_string = str_replace(array('"'), array('\\"'), $string_for_translation); - if(!empty($dictionary[$escapeded_string]["msgstr"][0])) { + if(!empty($dictionary[$escapeded_string][0][0])) { $find = array('\\"', '\n', ' ', '{ok}', '{OK}', '{Ok}', '{oK}'); $replace = array('"','<br>', ' '); - $prepared_string = trim(str_replace($find, $replace, $dictionary[$escapeded_string]["msgstr"][0])); + $prepared_string = trim(str_replace($find, $replace, $dictionary[$escapeded_string][0][0])); } if(empty($prepared_string)) { $prepared_string = $string_for_translation; |