diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-04-03 21:36:29 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-04-03 21:36:29 -0400 |
commit | 0523b4b2f1012a8b5f3bffb7f136a20dc9a4e43f (patch) | |
tree | a92197de4503ec52889dc05483493f4df1a305b8 /util/extract.php | |
parent | 99d9456b3addc651a68874ddd391d25684252c4d (diff) | |
parent | b4c1baada1fba46d4d75f40a7e78111d70d54e7a (diff) | |
download | volse-hubzilla-0523b4b2f1012a8b5f3bffb7f136a20dc9a4e43f.tar.gz volse-hubzilla-0523b4b2f1012a8b5f3bffb7f136a20dc9a4e43f.tar.bz2 volse-hubzilla-0523b4b2f1012a8b5f3bffb7f136a20dc9a4e43f.zip |
Merge branch 'master' of https://github.com/redmatrix/hubzilla into contextual-help
Diffstat (limited to 'util/extract.php')
-rw-r--r-- | util/extract.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/extract.php b/util/extract.php index 90127f3c1..bc838c712 100644 --- a/util/extract.php +++ b/util/extract.php @@ -45,19 +45,19 @@ function string_plural_select($n){ if (is_array($a)){ if(substr($a[1],0,1) == '$') continue; - $s .= '$a->strings[' . $a[0] . "] = array(\n"; + $s .= 'App::$strings[' . $a[0] . "] = array(\n"; $s .= "\t0 => ". $a[0]. ",\n"; $s .= "\t1 => ". $a[1]. ",\n"; $s .= ");\n"; } else { if(substr($a,0,1) == '$') continue; - $s .= '$a->strings[' . $a . '] = '. $a . ';' . "\n"; + $s .= 'App::$strings[' . $a . '] = '. $a . ';' . "\n"; } } $zones = timezone_identifiers_list(); foreach($zones as $zone) - $s .= '$a->strings[\'' . $zone . '\'] = \'' . $zone . '\';' . "\n"; + $s .= 'App::$strings[\'' . $zone . '\'] = \'' . $zone . '\';' . "\n"; echo $s;
\ No newline at end of file |