diff options
author | sgiehl <stefan@piwik.org> | 2014-05-21 16:37:45 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-05-21 16:37:45 +0400 |
commit | b848f8b4b64d254b164a777172a97529d8352da8 (patch) | |
tree | 40933237b7dbb6135e7b7945dfe676061542fad5 /plugins/LanguagesManager/Commands | |
parent | 22227f61c2a19f1d7dcb672aade78636ed114147 (diff) |
remove en.json if present to prevent changes for english translation file
Diffstat (limited to 'plugins/LanguagesManager/Commands')
-rw-r--r-- | plugins/LanguagesManager/Commands/FetchFromOTrance.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/LanguagesManager/Commands/FetchFromOTrance.php b/plugins/LanguagesManager/Commands/FetchFromOTrance.php index c6bee90cc3..a7d7caf411 100644 --- a/plugins/LanguagesManager/Commands/FetchFromOTrance.php +++ b/plugins/LanguagesManager/Commands/FetchFromOTrance.php @@ -129,6 +129,7 @@ class FetchFromOTrance extends ConsoleCommand if (!$input->hasOption('keep-english')) { @unlink(self::getDownloadPath() . DIRECTORY_SEPARATOR . 'en.php'); + @unlink(self::getDownloadPath() . DIRECTORY_SEPARATOR . 'en.json'); } @unlink(self::getDownloadPath() . DIRECTORY_SEPARATOR . 'language_pack.tar.gz'); |