Skip to content

Commit 57a9184

Browse files
committed
default values for missing:en
1 parent 2cb5076 commit 57a9184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/Commands/NovaLangMissing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function handleLocale(string $locale): void
5353
$outputKeys = [];
5454

5555
foreach ($this->sourceKeys as $sourceKey) {
56-
$outputKeys[$sourceKey] = $localeTranslations[$sourceKey] ?? static::MISSING_TEXT;
56+
$outputKeys[$sourceKey] = $localeTranslations[$sourceKey] ?? ($locale == 'en' ? $sourceKey : static::MISSING_TEXT);
5757
}
5858

5959
$outputFile = $inputFile;

0 commit comments

Comments
 (0)