We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f37fe commit 8cb3435Copy full SHA for 8cb3435
src/Providers/Provider.php
@@ -86,7 +86,7 @@ public function getIterator()
86
87
protected function translate($id)
88
{
89
- return app('translator')->has($key = 'navigation.' . $id . '.title')
+ return app('translator')->has($key = 'navigation::routes.' . $id)
90
? trans($key)
91
: $this->titleCase($id);
92
}
@@ -97,4 +97,4 @@ protected function titleCase($title)
97
98
return StringHumanizer::humanize($title);
99
100
-}
+}
0 commit comments