diff options
Diffstat (limited to 'app/Report/ReportParserSetup.php')
| -rw-r--r-- | app/Report/ReportParserSetup.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Report/ReportParserSetup.php b/app/Report/ReportParserSetup.php index 08ee696c5e..c6a6dcd172 100644 --- a/app/Report/ReportParserSetup.php +++ b/app/Report/ReportParserSetup.php @@ -66,11 +66,11 @@ class ReportParserSetup extends ReportParserBase { */ protected function varStartHandler($attrs) { if (preg_match('/^I18N::number\((.+)\)$/', $attrs['var'], $match)) { - $this->text .= I18N::number($match[1]); + $this->text .= I18N::number($match[1]); } elseif (preg_match('/^I18N::translate\(\'(.+)\'\)$/', $attrs['var'], $match)) { - $this->text .= I18N::translate($match[1]); + $this->text .= I18N::translate($match[1]); } elseif (preg_match('/^I18N::translateContext\(\'(.+)\', *\'(.+)\'\)$/', $attrs['var'], $match)) { - $this->text .= I18N::translateContext($match[1], $match[2]); + $this->text .= I18N::translateContext($match[1], $match[2]); } else { $this->text .= $attrs['var']; } |
