Refactor notification handling and streamline router registration
- Replaced legacy notification functions with a unified NotificationService for better maintainability and clarity. - Updated the main bot router registration to utilize a root router, simplifying the inclusion of user and admin routes. - Removed unused middleware and helper functions to enhance code cleanliness and focus on essential components. - Improved localization by adding new error messages for user interactions.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"choose_language": "Choose language / Выберите язык:",
|
||||
"language_set_alert": "Language changed!",
|
||||
"error_occurred_try_again": "An error occurred, please try again.",
|
||||
"error_try_again": "Please try again.",
|
||||
"error_displaying_menu": "Error displaying menu.",
|
||||
"main_menu_unknown_action": "Unknown action.",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user