Skip to content

Commit

Permalink
Merge branch 'alexandrutabolcea-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nbourguig committed Jan 16, 2019
2 parents 75567a0 + 3bd23b6 commit e63eb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translation/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected function buildTranslationsForFile($fileTranslations)
// For instance, we have `app.title` that is the same for each locale,
// We dont want to translate it to every locale, and prefer letting
// Laravel default back to the default locale.
if (empty($translation[$locale])) {
if (!isset($translation[$locale])) {
continue;
}

Expand Down

0 comments on commit e63eb31

Please sign in to comment.