Add functionality for managing user-owned chat rooms: Implement getOwnRooms and deleteOwnRoom methods in ChatController and ChatService, add corresponding API routes in chatRouter, and enhance MultiChatDialog for displaying and deleting owned rooms with localized messages. Update i18n files for new features.
This commit is contained in:
@@ -49,11 +49,11 @@
|
||||
"roomName": "Room name",
|
||||
"visibility": "Visibility",
|
||||
"gender": "Gender",
|
||||
"minAge": "min_age",
|
||||
"maxAge": "max_age",
|
||||
"minAge": "Minimum age",
|
||||
"maxAge": "Maximum age",
|
||||
"password": "Password",
|
||||
"rightId": "right_id",
|
||||
"typeId": "type_id",
|
||||
"rightId": "Required right",
|
||||
"typeId": "Room type",
|
||||
"friendsOnly": "friends_only=true"
|
||||
},
|
||||
"placeholders": {
|
||||
@@ -61,7 +61,12 @@
|
||||
"password": "without spaces"
|
||||
},
|
||||
"options": {
|
||||
"none": "(none)"
|
||||
"none": "(none)",
|
||||
"visibilityPublic": "Public",
|
||||
"visibilityPrivate": "Private",
|
||||
"genderMale": "Male",
|
||||
"genderFemale": "Female",
|
||||
"genderAny": "Any / No restriction"
|
||||
},
|
||||
"actions": {
|
||||
"create": "Create room",
|
||||
@@ -82,7 +87,30 @@
|
||||
"roomNameMissing": "Please enter a room name.",
|
||||
"sent": "Room creation sent: {command}"
|
||||
},
|
||||
"rights": {},
|
||||
"ownedRooms": {
|
||||
"title": "My created rooms",
|
||||
"hint": "Delete via daemon command: /dr <roomname> (alias: /delete_room <roomname>)",
|
||||
"empty": "You have no own rooms yet.",
|
||||
"public": "public",
|
||||
"private": "private",
|
||||
"confirmDelete": "Do you really want to delete room \"{room}\"?",
|
||||
"deleteSent": "Delete command sent: /dr {room}",
|
||||
"deleteError": "Could not delete room."
|
||||
},
|
||||
"rights": {
|
||||
"mainadmin": "Main administrator",
|
||||
"contactrequests": "Contact requests",
|
||||
"users": "Users",
|
||||
"userrights": "User rights",
|
||||
"forum": "Forum",
|
||||
"interests": "Interests",
|
||||
"falukant": "Falukant",
|
||||
"minigames": "Mini games",
|
||||
"match3": "Match3",
|
||||
"taxiTools": "Taxi tools",
|
||||
"chatrooms": "Chat rooms",
|
||||
"servicesStatus": "Service status"
|
||||
},
|
||||
"types": {}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user