aboutsummaryrefslogtreecommitdiffstats
path: root/util/po2php.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/po2php.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/po2php.php')
-rw-r--r--util/po2php.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/po2php.php b/util/po2php.php
index e8f6c2c39..66807083b 100644
--- a/util/po2php.php
+++ b/util/po2php.php
@@ -55,7 +55,7 @@ function po2php_run($argv, $argc) {
}
if ($k!="" && substr($l,0,7)=="msgstr "){
- if ($ink) { $ink = False; $out .= '$a->strings["'.$k.'"] = '; }
+ if ($ink) { $ink = False; $out .= 'App::$strings["'.$k.'"] = '; }
if ($inv) { $inv = False; $out .= '"'.$v.'"'; }
$v = substr($l,8,$len-10);
@@ -66,7 +66,7 @@ function po2php_run($argv, $argc) {
if ($k!="" && substr($l,0,7)=="msgstr["){
if ($ink) {
$ink = False;
- $out .= '$a->strings["'.$k.'"] = ';
+ $out .= 'App::$strings["'.$k.'"] = ';
}
if ($inv) {
$inv = False;
@@ -86,14 +86,14 @@ function po2php_run($argv, $argc) {
if (substr($l,0,6)=="msgid_") {
$ink = False;
- $out .= '$a->strings["'.$k.'"] = ';
+ $out .= 'App::$strings["'.$k.'"] = ';
}
if ($ink) {
$k .= trim_message($l);
$k = preg_replace_callback($escape_s_exp,'escape_s',$k);
- //$out .= '$a->strings['.$k.'] = ';
+ //$out .= 'App::$strings['.$k.'] = ';
}
if (substr($l,0,6)=="msgid "){
@@ -112,7 +112,7 @@ function po2php_run($argv, $argc) {
if ($inv && substr($l,0,6)!="msgstr" && substr($l,0,7)!="msgctxt") {
$v .= trim_message($l);
$v = preg_replace_callback($escape_s_exp,'escape_s',$v);
- //$out .= '$a->strings['.$k.'] = ';
+ //$out .= 'App::$strings['.$k.'] = ';
}
if (substr($l,0,7)=="msgctxt") {