From 823995fab5777226a284a778b3e62babab11dde6 Mon Sep 17 00:00:00 2001 From: Muhittin Tan Date: Fri, 29 Mar 2019 16:35:52 +0300 Subject: [PATCH] fix force implementation for json --- src/commands/TranslateFilesCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/TranslateFilesCommand.php b/src/commands/TranslateFilesCommand.php index 5d8c8dc..a0bd7bd 100644 --- a/src/commands/TranslateFilesCommand.php +++ b/src/commands/TranslateFilesCommand.php @@ -260,7 +260,7 @@ private function translate_json_array_file($locale) //check existing translations if(isset($json_existing_translations[$to_be_translated]) && $json_existing_translations[$to_be_translated]!='' && - !$this->options('force')) + !$this->option('force')) { $new_lang[$to_be_translated] = $json_existing_translations[$to_be_translated]; $this->line('Exists Skipping -> ' . $to_be_translated . ' : ' . $new_lang[$to_be_translated]);