[Scummvm-git-logs] scummvm-web master -> 83cdf2c8282aaef07ebb1fbb3f89d0a3dd478d18

Mataniko mataniko at gmail.com
Sun Nov 18 07:51:05 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
83cdf2c828 I18N: Add a line break at the end of the news translation base


Commit: 83cdf2c8282aaef07ebb1fbb3f89d0a3dd478d18
    https://github.com/scummvm/scummvm-web/commit/83cdf2c8282aaef07ebb1fbb3f89d0a3dd478d18
Author: Matan Bareket (mataniko at gmail.com)
Date: 2018-11-18T01:49:57-05:00

Commit Message:
I18N: Add a line break at the end of the news translation base

Changed paths:
    include/I18N.php


diff --git a/include/I18N.php b/include/I18N.php
index 3317ae4..9ac48ff 100644
--- a/include/I18N.php
+++ b/include/I18N.php
@@ -63,7 +63,7 @@ class I18N {
 				);
 			}
 
-			file_put_contents(DIR_NEWS . "/i18n/news.{$lang}.json", json_encode($newsJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES |  JSON_UNESCAPED_UNICODE));
+			file_put_contents(DIR_NEWS . "/i18n/news.{$lang}.json", json_encode($newsJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES |  JSON_UNESCAPED_UNICODE) . "\n");
     }
 
   }





More information about the Scummvm-git-logs mailing list