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:
@@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
9
frontend/src/i18n/locales/en/passwordReset.json
Normal file
9
frontend/src/i18n/locales/en/passwordReset.json
Normal 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."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user