mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-13 01:10:28 +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:
@@ -1049,6 +1049,8 @@
|
||||
"channelSecret": "Geslo kanala",
|
||||
"channelSecretHint": "Skupno geslo za ta kanal",
|
||||
"channelSecretHelp": "To geslo mora biti deljeno z vsemi člani ekipe, ki potrebujejo dostop do tega kanala",
|
||||
"channelTypesInfo": "Hash kanali (#ekipa): Geslo samodejno generirano iz imena. Enako ime = isti kanal na vseh napravah.\n\nZasebni kanali: Uporabite eksplicitno geslo. Samo tisti z geslom se lahko pridružijo.",
|
||||
"hashChannelInfo": "Hash kanal: Geslo bo samodejno generirano iz imena kanala. Kdorkoli uporabi isto ime, se bo pridružil istemu kanalu.",
|
||||
"channelNameRequired": "Ime kanala je obvezno",
|
||||
"channelNameTooLong": "Ime kanala mora imeti največ 31 znakov",
|
||||
"channelSecretRequired": "Geslo kanala je obvezno",
|
||||
@@ -1056,6 +1058,10 @@
|
||||
"invalidAsciiCharacters": "Dovoljeni so samo ASCII znaki",
|
||||
"channelCreatedSuccessfully": "Kanal uspešno ustvarjen",
|
||||
"channelCreationFailed": "Neuspešno ustvarjanje kanala: {error}",
|
||||
"deleteChannel": "Izbriši kanal",
|
||||
"deleteChannelConfirmation": "Ali ste prepričani, da želite izbrisati kanal \"{channelName}\"? Tega dejanja ni mogoče razveljaviti.",
|
||||
"channelDeletedSuccessfully": "Kanal uspešno izbrisan",
|
||||
"channelDeletionFailed": "Neuspešno brisanje kanala: {error}",
|
||||
"allChannelSlotsInUse": "Vsa mesta za kanale so zasedena (maksimalno 39 prilagojenih kanalov)",
|
||||
"createChannel": "Ustvari kanal",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user