Skip to content

Commit

Permalink
use global help __() for translation instead of trans()
Browse files Browse the repository at this point in the history
  • Loading branch information
milewski committed Oct 14, 2019
1 parent 5244ae5 commit 20f835d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CollapsibleResourceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private function translateKey(?string $key): string

if ($key && config('collapsible-resource-manager.translate_title', false)) {

return trans($key);
return __($key);

}

Expand Down

0 comments on commit 20f835d

Please sign in to comment.