From 142bcd680612e80d982dda5af7893ab782603fdc Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 28 Jul 2016 18:26:06 -0700 Subject: [PATCH] move fixes to po2php forward to 1.10 --- util/po2php.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.'"] = '; }