]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/UserPreferencesController.php
Adjusted global search preview for dark mode
[bookstack] / app / Http / Controllers / UserPreferencesController.php
index e5ac69818f98ec976b5d8e18a4adc9a3eb22385a..aef95971288986ceb6344d67b8508c66fce84d3f 100644 (file)
@@ -41,7 +41,7 @@ class UserPreferencesController extends Controller
         setting()->putForCurrentUser('ui-shortcuts', $shortcuts->toJson());
         setting()->putForCurrentUser('ui-shortcuts-enabled', $enabled);
 
-        $this->showSuccessNotification('Shortcut preferences have been updated!');
+        $this->showSuccessNotification(trans('preferences.shortcuts_update_success'));
 
         return redirect('/preferences/shortcuts');
     }