Scan official MeshCore channel QR codes

The QR scanner only read community codes, so the standard
meshcore://channel/add?name=...&secret=... links used by the official
app and sites like ipnt.uk were rejected as invalid community codes.

The scanner now also accepts channel links. It skips channels already on
the radio, asks before adding, and only uses a free slot after the
channel sync has finished. Also fills in the 59 untranslated strings in
all 17 locales.

Fixes #604
This commit is contained in:
zjs81 committed 2026-10-24 22:26:09 -07:00
1 parent b6c67b113c
commit b1e968e7bf
42 files changed
+3816 -1850

No files matched your search

+76 -51
View File
@@ -152,7 +152,8 @@ class AppLocalizationsSk extends AppLocalizations {
'Možný obrázok z URL; povoľte ho v Nastaveniach.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
String get urlImage_disabledInAppSettings =>
'Vypnuté v nastaveniach aplikácie';
@override
String get common_reboot => 'Restartovať';
@@ -431,7 +432,7 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
'Nastavenia rádia boli použité, ale rádio nepotvrdilo novú veľkosť hashu cesty';
@override
String get settings_regionSettings => 'Regiony';
@@ -1067,32 +1068,32 @@ class AppLocalizationsSk extends AppLocalizations {
'Počet pokusov o odošleť pred označením správy ako neúspešnej';
@override
String get appSettings_ipfsImageLinks => 'IPFS provider configuration';
String get appSettings_ipfsImageLinks => 'Konfigurácia poskytovateľa IPFS';
@override
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
'Nahrávanie obrázkov (alebo súborov) cez URL pomocou poskytovateľa IPFS a predvolenej brány na príjem';
@override
String get appSettings_loadLinkImages => 'Load images from links';
String get appSettings_loadLinkImages => 'Načítať obrázky z odkazov';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
'Zobrazovať obrázky z odkazov v správach. Načítaním obrázka sa vaša IP adresa zdieľa so stránkou, ktorá ho hostuje.';
@override
String get appSettings_showLinkImagesByDefault =>
'Show link images in all chats by default';
'Predvolene zobrazovať obrázky z odkazov vo všetkých chatoch';
@override
String get appSettings_showLinkImagesByDefaultSubtitle =>
'Load link images in every chat unless you turned them off there. This shares your IP address with image hosts in every chat.';
'Načítať obrázky z odkazov v každom chate, ak ste ich tam nevypli. Vaša IP adresa sa tak zdieľa s hostiteľmi obrázkov vo všetkých chatoch.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
String get appSettings_publicIpfsGateway => 'Verejná brána';
@override
String get appSettings_ipfsGatewayDeactivated => 'Deactivated';
String get appSettings_ipfsGatewayDeactivated => 'Deaktivované';
@override
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
@@ -1104,31 +1105,31 @@ class AppLocalizationsSk extends AppLocalizations {
String get appSettings_ipfsGatewayFilebase => 'Filebase';
@override
String get appSettings_ipfsGatewayCustom => 'Custom (Kubo)';
String get appSettings_ipfsGatewayCustom => 'Vlastná (Kubo)';
@override
String get appSettings_uploadIpfsProvider => 'Upload provider';
String get appSettings_uploadIpfsProvider => 'Poskytovateľ nahrávania';
@override
String get appSettings_uploadIpfsGateway => 'Upload gateway';
String get appSettings_uploadIpfsGateway => 'Brána nahrávania';
@override
String get appSettings_uploadIpfsGatewaySubtitle =>
'Gateway to share Image or File as url-link. Leave empty to use ipfs: format, which may not be opened by other clients.';
'Brána na zdieľanie obrázka alebo súboru ako URL odkazu. Nechajte prázdne, ak chcete použiť formát ipfs:, ktorý iní klienti nemusia vedieť otvoriť.';
@override
String get appSettings_uploadIpfsEndpoint => 'Upload endpoint';
String get appSettings_uploadIpfsEndpoint => 'Koncový bod nahrávania';
@override
String get appSettings_uploadIpfsEndpointSubtitle =>
'The API endpoint used to upload files';
'API koncový bod používaný na nahrávanie súborov';
@override
String get appSettings_uploadIpfsApiKey => 'Upload API key';
String get appSettings_uploadIpfsApiKey => 'API kľúč nahrávania';
@override
String get appSettings_ipfsImageLinksDescription =>
'Public gateway downloads ipfs: format images. Upload gateway is used to generate share links for uploaded url images or files.';
'Verejná brána sťahuje obrázky vo formáte ipfs:. Brána nahrávania sa používa na vytváranie odkazov na zdieľanie nahraných obrázkov alebo súborov.';
@override
String get appSettings_battery => 'Batéria';
@@ -1350,11 +1351,11 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
'Vaše rádio tento typ kontaktu pridáva automaticky, preto sa vráti pri jeho ďalšom inzeráte. Ak ho chcete ponechať odstránený, vypnite automatické pridávanie v nastaveniach kontaktov.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
'Rádio odstránenie nepotvrdilo. Kontakt nebol odstránený.';
@override
String contacts_discoveredNearby(int count) {
@@ -1545,7 +1546,7 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
return 'Upozornenia: $mode';
}
@override
@@ -1728,6 +1729,31 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get channels_scanQrCodeComingSoon => 'Čoskoro';
@override
String get channels_scanQrCodeDesc =>
'Pripojte sa ku kanálu alebo komunite pomocou QR kódu.';
@override
String get channels_scanQrInstructions =>
'Namierte kameru na QR kód kanála alebo komunity';
@override
String get channels_invalidQrCode =>
'Toto nie je QR kód kanála ani komunity MeshCore';
@override
String get channels_joinChannelTitle => 'Pripojiť sa ku kanálu';
@override
String channels_joinChannelConfirm(String name) {
return 'Pridať „$name“ do vášho rádia?';
}
@override
String channels_alreadyOnRadio(String name) {
return '„$name“ je už vo vašom rádiu';
}
@override
String get channels_enterHashtag => 'Zadajte hashtag';
@@ -1847,43 +1873,43 @@ class AppLocalizationsSk extends AppLocalizations {
String get chat_sendImageLora => 'Odoslať obrázok cez MeshCore';
@override
String get chat_sendImageIpfs => 'Send image or file via IPFS';
String get chat_sendImageIpfs => 'Odoslať obrázok alebo súbor cez IPFS';
@override
String chat_ipfsUploadFailed(String error) {
return 'IPFS upload failed: $error';
return 'Nahrávanie do IPFS zlyhalo: $error';
}
@override
String get chat_ipfsUploadNotConfigured =>
'Configure an IPFS upload provider in App Settings first.';
'Najprv nastavte poskytovateľa nahrávania IPFS v nastaveniach aplikácie.';
@override
String get chat_ipfsSelectedFileEmpty => 'The selected file is empty.';
String get chat_ipfsSelectedFileEmpty => 'Vybraný súbor je prázdny.';
@override
String get chat_ipfsEndpointInvalid =>
'The IPFS upload endpoint must be a full http:// or https:// address. Check it in App Settings.';
'Koncový bod nahrávania IPFS musí byť úplná adresa http:// alebo https://. Skontrolujte ho v nastaveniach aplikácie.';
@override
String get chat_ipfsPinataTokenMissing =>
'Pinata needs an API key or JWT. Add it in App Settings.';
'Pinata vyžaduje API kľúč alebo JWT. Pridajte ho v nastaveniach aplikácie.';
@override
String get chat_ipfsFilebaseTokenMissing =>
'Filebase needs an API token. Add it in App Settings.';
'Filebase vyžaduje API token. Pridajte ho v nastaveniach aplikácie.';
@override
String get chat_ipfsKuboPathInvalid =>
'The Kubo upload endpoint must end with /api/v0/add. Check it in App Settings.';
'Koncový bod nahrávania Kubo musí končiť na /api/v0/add. Skontrolujte ho v nastaveniach aplikácie.';
@override
String get chat_ipfsLinkNoRoom =>
'Not enough room for the image link. Shorten your message, then try again.';
'Nie je dosť miesta na odkaz na obrázok. Skráťte správu a skúste to znova.';
@override
String get chat_ipfsLinkOverLimit =>
'Image link added, but the message is now too long. Shorten it before sending.';
'Odkaz na obrázok bol pridaný, ale správa je teraz príliš dlhá. Pred odoslaním ju skráťte.';
@override
String get chat_imagePickFailed => 'Nesmiela jsem otvoriť tento obrázok';
@@ -2508,24 +2534,24 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
'Ťuknutím na ďalšie uzly pridajte skoky, vyberte, ako sa sledovanie vráti, a potom ťuknite na Spustiť sledovanie cesty.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
String get map_pathTraceModeRoundTrip => 'Tam a späť';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
'Sledovanie prejde cez tieto skoky a vráti sa rovnakou cestou.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
String get map_pathTraceModeAsEntered => 'Podľa zadania';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
'Sledovanie presne prejde cez tieto skoky. Skoky späť k sebe pridajte sami.';
@override
String get map_pathTraceViewLast => 'View last result';
String get map_pathTraceViewLast => 'Zobraziť posledný výsledok';
@override
String get mapCache_title => 'Offline Mapa Pamäť';
@@ -4869,11 +4895,11 @@ class AppLocalizationsSk extends AppLocalizations {
String get notification_activityTitle => 'Aktivita MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
String get notification_lowBatteryTitle => 'Slabá batéria';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
return 'Batéria zariadenia $deviceName je na $percent %';
}
@override
@@ -4921,23 +4947,23 @@ class AppLocalizationsSk extends AppLocalizations {
String get notification_receivedNewMessage => 'Prijatá nová správa';
@override
String get notification_sharedLocation => 'Shared a location';
String get notification_sharedLocation => 'Zdieľal(a) polohu';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
return 'Zdieľal(a) polohu: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
return 'Reakcia $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
String get notification_sentGif => 'Odoslal(a) GIF';
@override
String get notification_sentImage => 'Sent an image';
String get notification_sentImage => 'Odoslal(a) obrázok';
@override
String get notification_actionReply => 'Odpovedať';
@@ -5041,11 +5067,11 @@ class AppLocalizationsSk extends AppLocalizations {
'Opakovače, ktoré vaše rádio počulo priamo, najskôr tie naposledy počuté.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
String get snrIndicator_unknownRepeater => 'Neznámy opakovač';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
'Tento opakovač zatiaľ nie je vo vašich kontaktoch. Jeho názov, poloha a možnosti sa zobrazia, keď rádio prijme jeho inzerát.';
@override
String get contactsSettings_title => 'Nastavenia kontaktov';
@@ -6340,7 +6366,7 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
return 'Prefix kľúča $prefix';
}
@override
@@ -6427,15 +6453,14 @@ class AppLocalizationsSk extends AppLocalizations {
String get networkMap_sourceBoth => 'Obe';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
String get networkMap_sourceLocalHint => 'Uzly, ktoré vaše rádio zachytilo';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
String get networkMap_sourceOnlineHint => 'Opakovače z online mapy siete';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
'Uzly vášho rádia a online mapa siete';
@override
String get networkMap_zoomInHint =>