Rename "administration" to "settings"

This commit is contained in:
James Cole
2025-01-18 17:10:47 +01:00
parent df863b6cff
commit 3ecad3457f
5 changed files with 8 additions and 26 deletions

View File

@@ -175,7 +175,7 @@ Breadcrumbs::for(
'admin.index',
static function (Generator $breadcrumbs): void {
$breadcrumbs->parent('home');
$breadcrumbs->push(trans('firefly.administration'), route('admin.index'));
$breadcrumbs->push(trans('firefly.system_settings'), route('admin.index'));
}
);

View File

@@ -1369,7 +1369,7 @@ Route::group(
// For the admin routes, the user must be logged in and have the role of 'owner'.
Route::group(
['middleware' => 'admin', 'namespace' => 'FireflyIII\Http\Controllers\Admin', 'prefix' => 'admin', 'as' => 'admin.'],
['middleware' => 'admin', 'namespace' => 'FireflyIII\Http\Controllers\Admin', 'prefix' => 'settings', 'as' => 'admin.'],
static function (): void {
// admin home
Route::get('', ['uses' => 'HomeController@index', 'as' => 'index']);