aboutsummaryrefslogtreecommitdiffstats
path: root/util/po2php.php
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2016-04-15 09:22:27 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2016-04-15 09:22:27 +0200
commitc38c79d71c8ef70ef649f83e322f1984b75ee2dd (patch)
tree958fcd22f04546f40b6ac68bb58cfe1a1b1fb7f6 /util/po2php.php
parent1806da0851dd5cf5978b19d12783ae3101a11257 (diff)
parent45a854762b451dafb882bc56efce054b64420627 (diff)
downloadvolse-hubzilla-c38c79d71c8ef70ef649f83e322f1984b75ee2dd.tar.gz
volse-hubzilla-c38c79d71c8ef70ef649f83e322f1984b75ee2dd.tar.bz2
volse-hubzilla-c38c79d71c8ef70ef649f83e322f1984b75ee2dd.zip
Merge branch 'redmatrix-master'
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") {