added room actions: leave and delete, and improved connection error handling

This commit is contained in:
2026-01-17 07:09:52 +01:00
parent e30631be60
commit d325511d0e
17 changed files with 874 additions and 350 deletions

View File

@@ -25,6 +25,7 @@ auth-error-email-invalid = Please enter a valid email address
## Chat page
chat-no-room = Select a room to start talking
chat-no-messages = No messages yet. Say hi!
chat-input-placeholder = type a message
chat-invite-title = Invite People
chat-invite-receiver = Receiver username
@@ -32,8 +33,16 @@ chat-invite-friend-too = Also send a friend request
chat-invite-send = Send
chat-invite-username-placeholder = username
chat-room-list-title = Rooms
chat-room-list-empty = No rooms found
chat-room-list-connecting = Connecting...
chat-room-owner = by {$owner}
chat-room-global = Global room
chat-room-members = Members
chat-room-actions-leave = Leave Room
chat-room-actions-leave-confirm = Are you sure you want to leave this room?
chat-room-actions-delete = Delete Room
chat-room-actions-delete-confirm = Are you sure you want to delete this room? This cannot be undone.
chat-room-actions-ownership = Transfer Ownership
chat-create-title = Create room
chat-create-name = Room name
chat-create-name-placeholder = room name
@@ -95,6 +104,9 @@ warning-wrongversion-dismiss = I know what I'm doing
## Shared
shared-cancel = Cancel
shared-close = Close
shared-error = An error occurred
shared-save = Save
shared-updating = Updating
shared-delete = Delete
shared-leave = Leave

View File

@@ -25,8 +25,10 @@ auth-error-email-invalid = Veuillez entrer une adresse email valide
## Chat page
chat-no-room = Sélectionnez un salon pour commencer à discuter
chat-no-messages = Pas encore de messages. Dites bonjour !
chat-input-placeholder = tapez un message
chat-invite-title = Inviter des gens
chat-room-list-empty = Aucun salon trouvé
chat-invite-receiver = Nom du destinataire
chat-invite-friend-too = Envoyer aussi une demande d'ami
chat-invite-send = Envoyer
@@ -34,6 +36,13 @@ chat-invite-username-placeholder = nom d'utilisateur
chat-room-list-title = Salons
chat-room-list-connecting = Connexion...
chat-room-owner = par {$owner}
chat-room-global = Salon global
chat-room-members = Membres
chat-room-actions-leave = Quitter le Salon
chat-room-actions-leave-confirm = Voulez-vous vraiment quitter ce salon?
chat-room-actions-delete = Supprimer le Salon
chat-room-actions-delete-confirm = Voulez-vous vraiment supprimer ce salon? C'est irréversible.
chat-room-actions-ownership = Transférer la Propriété
chat-create-title = Créer un salon
chat-create-name = Nom du salon
chat-create-name-placeholder = nom du salon
@@ -93,6 +102,9 @@ warning-wrongversion-dismiss = Je sais ce que je fais
## Shared
shared-cancel = Annuler
shared-close = Fermer
shared-error = Une erreur est survenue
shared-save = Enregistrer
shared-updating = Mise à jour...
shared-delete = Supprimer
shared-leave = Quitter