Skip to content

Commit 55b97bc

Browse files
committed
fix: Improve condition
1 parent 0ba5bc8 commit 55b97bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Commands/Translation/LocalizationSync.php

Lines changed: 1 addition & 1 deletion
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)