Skip to content

Commit

Permalink
Merge pull request #457 from DissNik/2.0
Browse files Browse the repository at this point in the history
docs: translation of resource title
  • Loading branch information
DissNik authored Apr 29, 2024
2 parents 365cf94 + 2eb8cba commit eebfdf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/MoonShine/Resources/DocResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ protected function pages(): array
{
return $this->docPages;
}

public function title(): string
{
return __($this->title);
}
}

0 comments on commit eebfdf1

Please sign in to comment.