Add password reset localization and chat configuration

- Implemented German and English localization for password reset functionality.
- Added WebSocket URL resolution logic in chat services to support various environments and configurations.
- Created centralized chat configuration for event keys and payload mappings.
- Developed RoomsView component for admin chat room management, including create, edit, and delete functionalities.
This commit is contained in:
Torsten Schulz (local)
2025-08-18 07:44:56 +02:00
parent 23f698d8fd
commit 19ee6ba0a1
50 changed files with 3117 additions and 359 deletions

View File

@@ -1,5 +1,46 @@
{
"randomchat": {
"chat": {
"multichat": {
"title": "Multi Chat",
"autoscroll": "Auto scroll",
"options": "Options",
"send": "Send",
"shout": "Shout",
"action": "Action",
"roll": "Roll",
"colorpicker": "Pick color",
"colorpicker_preview": "Preview: This message uses the chosen color.",
"hex": "HEX",
"invalid_hex": "Invalid hex value",
"hue": "Hue",
"saturation": "Saturation",
"lightness": "Lightness",
"ok": "Ok",
"cancel": "Cancel",
"placeholder": "Type a message…",
"action_select_user": "Please select a user",
"action_to": "Action to {to}",
"action_phrases": {
"left_room": "switches to room",
"leaves_room": "leaves room",
"left_chat": "has left the chat."
},
"system": {
"room_entered": "You entered the room \"{room}\".",
"user_entered_room": "{user} has entered the room.",
"user_left_room": "{user} has left the room."
,
"color_changed_self": "You changed your color to {color}.",
"color_changed_user": "{user} changed their color to {color}."
},
"status": {
"connecting": "Connecting…",
"connected": "Connected",
"disconnected": "Disconnected",
"error": "Connection error"
}
},
"randomchat": {
"title": "Random Chat",
"close": "Close",
"age": "Age",
@@ -16,6 +57,16 @@
"autosearch": "Auto Search",
"input": "Input",
"start": "Start",
"waitingForMatch": "Waiting for a match..."
"waitingForMatch": "Waiting for a match...",
"chatpartner": "You are now chatting with a <gender> person aged <age> years.",
"partnergenderm": "male",
"partnergenderf": "female",
"self": "You",
"partner": "Partner",
"jumptonext": "End this chat",
"userleftchat": "The chat partner has left the chat.",
"startsearch": "Search next conversation",
"selfstopped": "You left the conversation."
}
}
}

View File

@@ -0,0 +1,9 @@
{
"passwordReset": {
"title": "Reset Password",
"email": "Email",
"reset": "Reset",
"success": "If the email exists, we've sent reset instructions.",
"failure": "Password reset failed. Please try again later."
}
}