aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-07-26 23:04:04 +0200
committerfilip <filip.komar@gmail.com>2016-07-26 23:04:04 +0200
commita382f0102954d9c6ebc45cc63aa88cefaa10121f (patch)
tree10877d755e07a36d18c1404a13cb43118c4f1fdc /en/about
parentca582cf48744e49388504a223e42b0a493b82e10 (diff)
downloadwww-a382f0102954d9c6ebc45cc63aa88cefaa10121f.tar
www-a382f0102954d9c6ebc45cc63aa88cefaa10121f.tar.gz
www-a382f0102954d9c6ebc45cc63aa88cefaa10121f.tar.bz2
www-a382f0102954d9c6ebc45cc63aa88cefaa10121f.tar.xz
www-a382f0102954d9c6ebc45cc63aa88cefaa10121f.zip
changed structure of resulting l10n array for license
Diffstat (limited to 'en/about')
-rw-r--r--en/about/license/license.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index d7a713b14..eebf1163e 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -40,8 +40,8 @@ function read_license_from_vcs($locale) {
foreach($license_strings as $value) {
str_replace(array(".", "_"), array(".", "_"), $value[0], $count);
$num_of_sentences_for_translation += $count;
- if(!empty($po_file[$value[0]]["msgstr"][0]) && trim($po_file[$value[0]]["msgstr"][0]) != "" && $po_file[$value[0]]["msgstr"][0] != $value[0]) {
- $license_string = $po_file[$value[0]]["msgstr"][0];
+ if(!empty($po_file[$value[0]][0][0]) && trim($po_file[$value[0]][0][0]) != "" && $po_file[$value[0]][0][0] != $value[0]) {
+ $license_string = $po_file[$value[0]][0][0];
} else {
$num_of_untranslated_sentences += $count;
$untranslated_sentences[] = $value[0];