diff --git a/system/Commands/Translation/LocalizationSync.php b/system/Commands/Translation/LocalizationSync.php index b2bff0c1d473..f534f2f0889d 100644 --- a/system/Commands/Translation/LocalizationSync.php +++ b/system/Commands/Translation/LocalizationSync.php @@ -150,7 +150,7 @@ private function process(string $originalLocale, string $targetLocale): void private function mergeLanguageKeys(array $originalLanguageKeys, array $targetLanguageKeys, string $prefix = ''): array { foreach ($originalLanguageKeys as $key => $value) { - $placeholderValue = $prefix === '' ? $prefix . '.' . $key : $key; + $placeholderValue = $prefix !== '' ? $prefix . '.' . $key : $key; if (! is_array($value)) { // Keep the old value