This commit is contained in:
Mekan1206
2026-05-04 16:34:33 +05:00
parent a6cf6410b2
commit 24b85763e5
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ function tr(string $text, string $locale = 'tk'): string
$text = json_decode($text);
if ($text) {
$text->{$locale} ?? '';
return $text->{$locale} ?? '';
}
return '';