Skip to content

Commit 75a2e51

Browse files
committed
fix: Improve condition
1 parent f5d88a4 commit 75a2e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Commands/Translation/LocalizationSync.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private function process(string $originalLocale, string $targetLocale): void
150150
private function mergeLanguageKeys(array $originalLanguageKeys, array $targetLanguageKeys, string $prefix = ''): array
151151
{
152152
foreach ($originalLanguageKeys as $key => $value) {
153-
$placeholderValue = $prefix === '' ? $prefix . '.' . $key : $key;
153+
$placeholderValue = $prefix !== '' ? $prefix . '.' . $key : $key;
154154

155155
if (! is_array($value)) {
156156
// Keep the old value

0 commit comments

Comments
 (0)