1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Extracted shortcut text to language files

This commit is contained in:
Dan Brown
2022-11-10 10:25:28 +00:00
parent a3fcc98d6e
commit 737904fa63
5 changed files with 33 additions and 18 deletions

View 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');
}