Skip to content

Commit

Permalink
fix force implementation for json
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmuhittin committed Mar 29, 2019
1 parent 95700db commit 823995f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/TranslateFilesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 823995f

Please sign in to comment.