Skip to content

Commit

Permalink
Merge pull request #24 from mstfkhazaal/patch-1
Browse files Browse the repository at this point in the history
Translate Navigation Group
  • Loading branch information
RickDBCN authored Nov 1, 2023
2 parents a691974 + d151071 commit 5bfa526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filament/Resources/EmailResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ class EmailResource extends Resource

public static function getNavigationLabel(): string
{
return Config::get('filament-email.label') ?? __('Email log');
return __('Config::get('filament-email.label')') ?? __('Email log');
}

public static function getNavigationGroup(): ?string
{
return Config::get('filament-email.resource.group' ?? parent::getNavigationGroup());
return __(Config::get('filament-email.resource.group' ?? parent::getNavigationGroup()));
}

public static function getNavigationSort(): ?int
Expand Down

0 comments on commit 5bfa526

Please sign in to comment.