Skip to content

Commit c3f3a77

Browse files
committed
Normalize translations file path.
1 parent ec50ba4 commit c3f3a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Translations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private function getTranslations(string $locale): array
2929
{
3030
$appPHPTranslations = $this->getPHPTranslations(lang_path($locale));
3131

32-
$appJsonTranslations = $this->getJsonTranslations(lang_path("$locale/$locale.json"));
32+
$appJsonTranslations = $this->getJsonTranslations(lang_path("$locale.json"));
3333
$modularJsonTranslations = $this->getJsonTranslations(lang_path("vendor/modular/$locale/$locale.json"));
3434

3535
return array_merge($appPHPTranslations, $appJsonTranslations, $modularJsonTranslations);

0 commit comments

Comments
 (0)