aboutsummaryrefslogtreecommitdiffstats
path: root/util/po2php.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 16:06:03 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 16:06:03 -0700
commit9abd95fad3784a10fc48bc40f9b8a75d7d74edda (patch)
tree3cf2eec6a29f384b80a8c607aa97172b84e37e62 /util/po2php.php
parent256c228efd249f2ce93405db8e36f52030aa4876 (diff)
downloadvolse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.tar.gz
volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.tar.bz2
volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.zip
static App
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") {