fix frontend

This commit is contained in:
2026-04-24 01:44:03 +03:00
parent ff46a37956
commit 1c7e05f6a3
10 changed files with 260 additions and 209 deletions

View File

@@ -45,7 +45,8 @@
"leavePasswordBlank": "Leave blank to keep current password",
"deleteConfirmation": "Are you sure you want to delete this item? This action cannot be undone.",
"operationSuccess": "Operation completed successfully",
"operationFailed": "Operation failed"
"operationFailed": "Operation failed",
"networkError": "Network error"
},
"dashboard": {
"totalUsers": "Total Users",
@@ -68,7 +69,8 @@
"new": "New",
"today": "Today",
"yesterday": "Yesterday",
"daysAgo": "{count} days ago"
"daysAgo": "{count} days ago",
"loadError": "Failed to load dashboard data"
},
"users": {
"pageName": "Users Management",
@@ -76,9 +78,21 @@
"edit": "Edit User",
"delete": "Delete User",
"you": "(You)",
"cannotChangeOwnRole": "You cannot change your own role",
"confirmDelete": "Delete User",
"deleteConfirmation": "Are you sure you want to delete this user? This action cannot be undone."
"deleteConfirmation": "Are you sure you want to delete this user? This action cannot be undone.",
"statusUpdated": "User status updated",
"statusUpdateError": "Failed to update user status",
"passwordRequired": "Password is required for new user",
"createSuccess": "User created successfully",
"createError": "Failed to create user",
"updateSuccess": "User updated successfully",
"updateError": "Failed to update user",
"deleteSuccess": "User deleted",
"deleteError": "Failed to delete user",
"cannotChangeOwnRole": "You cannot change your own role",
"noUsers": "No users found",
"loadError": "Failed to load users",
"loadCurrentError": "Failed to load current user info"
},
"restaurants": {
"pageName": "Restaurants",
@@ -92,7 +106,7 @@
"noRestaurants": "No restaurants found. Click \"Add Restaurant\" to create one.",
"deleteConfirmation": "Are you sure you want to delete this restaurant? This action cannot be undone.",
"check": "Check connection",
"checkError": "Error",
"checkError": "Check failed: {error}",
"loadError": "Failed to load restaurants",
"createSuccess": "Restaurant created successfully",
"updateSuccess": "Restaurant updated successfully",
@@ -109,7 +123,10 @@
"saved": "Settings saved successfully",
"saveFailed": "Failed to save settings",
"loadFailed": "Failed to load settings metadata",
"enabled": "Enabled"
"enabled": "Enabled",
"saveSuccess": "Settings saved successfully",
"saveError": "Failed to save settings",
"loadMetaError": "Failed to load settings metadata"
},
"profile": {
"title": "My Profile",
@@ -122,9 +139,9 @@
"save": "Save Changes",
"reset": "Reset",
"role": "Role",
"passwordMismatch": "Passwords do not match",
"passwordsMismatch": "Passwords do not match",
"updateSuccess": "Profile updated successfully",
"updateFailed": "Failed to update profile"
"updateError": "Failed to update profile"
},
"login": {
"title": "Welcome Back",