mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-13 09:20:29 +00:00
feat: Add support for hash and private channels with corresponding UI updates
- Introduced new localization strings for channel types and their descriptions in Italian, German, Spanish, French, Croatian, Slovenian, and English. - Updated the `AppProvider` to handle channel info reception, including deletion of channels and updating the UI accordingly. - Enhanced `ChannelsProvider` to support channel removal and notify listeners. - Modified `ConnectionProvider` to include methods for checking empty channel slots and deleting channels. - Updated BLE service methods to handle channel deletion and verification. - Improved the `AddChannelDialog` to differentiate between hash and private channels, including dynamic UI elements based on channel type. - Added delete functionality for channels in the `ContactTile` widget with confirmation dialogs. - Adjusted permission request dialog behavior to allow dismissing by tapping outside.
This commit is contained in:
@@ -1045,6 +1045,8 @@
|
||||
"channelSecret": "Lozinka kanala",
|
||||
"channelSecretHint": "Zajednička lozinka za ovaj kanal",
|
||||
"channelSecretHelp": "Ova lozinka mora biti podijeljena sa svim članovima tima koji trebaju pristup ovom kanalu",
|
||||
"channelTypesInfo": "Hash kanali (#tim): Lozinka automatski generirana iz imena. Isto ime = isti kanal na svim uređajima.\n\nPrivatni kanali: Koristite eksplicitnu lozinku. Samo oni s lozinkom se mogu pridružiti.",
|
||||
"hashChannelInfo": "Hash kanal: Lozinka će biti automatski generirana iz imena kanala. Bilo tko tko koristi isto ime pridružit će se istom kanalu.",
|
||||
"channelNameRequired": "Ime kanala je obavezno",
|
||||
"channelNameTooLong": "Ime kanala mora imati najviše 31 znak",
|
||||
"channelSecretRequired": "Lozinka kanala je obavezna",
|
||||
@@ -1052,6 +1054,10 @@
|
||||
"invalidAsciiCharacters": "Samo ASCII znakovi su dozvoljeni",
|
||||
"channelCreatedSuccessfully": "Kanal uspješno kreiran",
|
||||
"channelCreationFailed": "Neuspješno kreiranje kanala: {error}",
|
||||
"deleteChannel": "Izbriši kanal",
|
||||
"deleteChannelConfirmation": "Jeste li sigurni da želite izbrisati kanal \"{channelName}\"? Ova radnja se ne može poništiti.",
|
||||
"channelDeletedSuccessfully": "Kanal uspješno izbrisan",
|
||||
"channelDeletionFailed": "Neuspješno brisanje kanala: {error}",
|
||||
"allChannelSlotsInUse": "Svi slotovi kanala su zauzeti (maksimalno 39 prilagođenih kanala)",
|
||||
"createChannel": "Kreiraj kanal",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user