From 67c173f79b011224c28ee7296484db065b2cd87a Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sun, 4 Mar 2018 14:41:40 +0100 Subject: Add new tools to manipulate translations (#1818) I've added a tool to add a new translation for a specific key and language. I've added a tool to format the i18n files. This is one of the steps to improve the translation process. --- cli/i18n/I18nFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/i18n/I18nFile.php') diff --git a/cli/i18n/I18nFile.php b/cli/i18n/I18nFile.php index 627f6f580..a07efdf88 100644 --- a/cli/i18n/I18nFile.php +++ b/cli/i18n/I18nFile.php @@ -113,7 +113,7 @@ class i18nFile { $translation = preg_replace($patterns, $replacements, $translation); // Double quoting is mandatory to have new lines instead of \n strings - return sprintf("