aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-28 18:26:06 -0700
committerredmatrix <git@macgirvin.com>2016-07-28 18:26:06 -0700
commit142bcd680612e80d982dda5af7893ab782603fdc (patch)
tree052c1872698f92c572c5210e3542b53262a12392
parent856133b07d206cc1b4e5cce03e3fa39b3ff277ce (diff)
downloadvolse-hubzilla-142bcd680612e80d982dda5af7893ab782603fdc.tar.gz
volse-hubzilla-142bcd680612e80d982dda5af7893ab782603fdc.tar.bz2
volse-hubzilla-142bcd680612e80d982dda5af7893ab782603fdc.zip
move fixes to po2php forward to 1.10
-rw-r--r--util/po2php.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/po2php.php b/util/po2php.php
index ba7fa4afb..50941c062 100644
--- a/util/po2php.php
+++ b/util/po2php.php
@@ -58,8 +58,9 @@ function po2php_run($argc,$argv) {
$out .= 'function string_plural_select_' . $lang . '($n){'."\n";
$out .= ' return '.$cond.';'."\n";
$out .= '}}'."\n";
+
+ $out .= 'App::$rtl = ' . intval($rtl) ;
}
- $out .= 'App::$rtl = ' . intval($rtl) . ';';
if ($k!="" && substr($l,0,7)=="msgstr "){
if ($ink) { $ink = False; $out .= 'App::$strings["'.$k.'"] = '; }