aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nFile.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-01-31 14:22:50 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-31 14:22:50 +0100
commit66912420a10f6eb214ad2261a93db6d7c8f1f64a (patch)
treed7638a9bb19aaaf5656239d20e43ae5528800ee4 /cli/i18n/I18nFile.php
parent47e242aa77bb8583e8716023c4bcef0462891ebd (diff)
i18n CLI compat PHP 7.0 (#4184)
Minor syntax change to pass the linting in PHP 7.0
Diffstat (limited to 'cli/i18n/I18nFile.php')
-rw-r--r--cli/i18n/I18nFile.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/cli/i18n/I18nFile.php b/cli/i18n/I18nFile.php
index 50b2d5023..ef8f8776e 100644
--- a/cli/i18n/I18nFile.php
+++ b/cli/i18n/I18nFile.php
@@ -152,20 +152,20 @@ class I18nFile {
$translation = preg_replace($patterns, $replacements, $translation);
return <<<OUTPUT
- <?php
+<?php
- /******************************************************************************/
- /* Each entry of that file can be associated with a comment to indicate its */
- /* state. When there is no comment, it means the entry is fully translated. */
- /* The recognized comments are (comment matching is case-insensitive): */
- /* + TODO: the entry has never been translated. */
- /* + DIRTY: the entry has been translated but needs to be updated. */
- /* + IGNORE: the entry does not need to be translated. */
- /* When a comment is not recognized, it is discarded. */
- /******************************************************************************/
+/******************************************************************************/
+/* Each entry of that file can be associated with a comment to indicate its */
+/* state. When there is no comment, it means the entry is fully translated. */
+/* The recognized comments are (comment matching is case-insensitive): */
+/* + TODO: the entry has never been translated. */
+/* + DIRTY: the entry has been translated but needs to be updated. */
+/* + IGNORE: the entry does not need to be translated. */
+/* When a comment is not recognized, it is discarded. */
+/******************************************************************************/
- return {$translation};
+return {$translation};
- OUTPUT;
+OUTPUT;
}
}