Skip to content

Commit baebf09

Browse files
committed
fix: fix nav menu labels
1 parent 7ea86d4 commit baebf09

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/CommonServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ public function register(): self
2222
// Plugin class must be set as singleton
2323
$this->app->singleton(CommonPlugin::class);
2424

25+
// Set translation loading in register method, so that the nav file is ready when the panel is being configured
26+
$this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'eclipse-common');;
27+
2528
return $this;
2629
}
2730
}

0 commit comments

Comments
 (0)