Add channel management features and localization support

- Implemented functionality to add new channels with a dialog interface.
- Added validation for channel name and secret inputs, ensuring they meet specified criteria.
- Integrated channel creation logic into the connection provider, including automatic slot assignment and MD5 hashing for channel secrets.
- Updated localization files for multiple languages (Spanish, French, Croatian, Italian, German, Slovenian, and English) to include new channel-related strings.
- Enhanced the contacts tab to display the add channel button conditionally based on device connection status.
- Refactored the contacts tab to improve readability and maintainability.
This commit is contained in:
Janez T
2025-10-28 10:17:02 +01:00
parent 6b15006d4e
commit e6289199ba
20 changed files with 1092 additions and 122 deletions

View File

@@ -2610,5 +2610,21 @@
"recentMessages": "Messages Récents",
"@recentMessages": {
"description": "Header for recent messages overlay on map in fullscreen mode"
}
},
"addChannel": "Ajouter un Canal",
"channelName": "Nom du Canal",
"channelNameHint": "par ex. Équipe de Sauvetage Alpha",
"channelSecret": "Mot de Passe du Canal",
"channelSecretHint": "Mot de passe partagé pour ce canal",
"channelSecretHelp": "Ce mot de passe doit être partagé avec tous les membres de l'équipe qui ont besoin d'accéder à ce canal",
"channelNameRequired": "Le nom du canal est requis",
"channelNameTooLong": "Le nom du canal doit contenir 31 caractères ou moins",
"channelSecretRequired": "Le mot de passe du canal est requis",
"channelSecretTooLong": "Le mot de passe du canal doit contenir 32 caractères ou moins",
"invalidAsciiCharacters": "Seuls les caractères ASCII sont autorisés",
"channelCreatedSuccessfully": "Canal créé avec succès",
"channelCreationFailed": "Échec de la création du canal : {error}",
"allChannelSlotsInUse": "Tous les emplacements de canaux sont utilisés (maximum 39 canaux personnalisés)",
"createChannel": "Créer un Canal"
}