aboutsummaryrefslogtreecommitdiffstats
path: root/util/po2php.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 17:32:51 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 17:32:51 -0700
commitc0b3d7e1b480ceeed89b71efd056ed9edda2dfef (patch)
tree433552545eb0c746fb48666afdb74ff472bf17b1 /util/po2php.php
parent50d9b2934742ad9fb0dc8354d405789e3c14cd00 (diff)
parent9abd95fad3784a10fc48bc40f9b8a75d7d74edda (diff)
downloadvolse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.gz
volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.bz2
volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.zip
Merge branch 'static'
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") {