aboutsummaryrefslogtreecommitdiffstats
path: root/util/extract.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-04-03 21:36:29 -0400
committerAndrew Manning <tamanning@zoho.com>2016-04-03 21:36:29 -0400
commit0523b4b2f1012a8b5f3bffb7f136a20dc9a4e43f (patch)
treea92197de4503ec52889dc05483493f4df1a305b8 /util/extract.php
parent99d9456b3addc651a68874ddd391d25684252c4d (diff)
parentb4c1baada1fba46d4d75f40a7e78111d70d54e7a (diff)
downloadvolse-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.php6
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