Contact Settings: add Hop limit

Sets the companion firmware's autoadd_max_hops (optional third byte of
CMD_SET_AUTOADD_CONFIG). The radio only auto-adds contacts heard in
fewer hops than the limit; 0 means no limit. Shown only when the radio
reports the value. Review mode stores it like the firmware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
celsoazevedoandClaude Opus 5.5 committed 2026-11-23 22:12:10 +00:00
1 parent fc7bbe9e02
commit 6a5d15209b
46 files changed
+628 -1

No files matched your search

+19
View File
@@ -5920,6 +5920,25 @@ class AppLocalizationsDe extends AppLocalizations {
String get contactsSettings_overwriteOldestSubtitle =>
'Wenn die Kontaktliste des Funkgeräts voll ist, den ältesten Kontakt ersetzen, der kein Favorit ist.';
@override
String get contactsSettings_hopLimit => 'Sprunglimit';
@override
String contactsSettings_hopLimitOption(int hops) {
String _temp0 = intl.Intl.pluralLogic(
hops,
locale: localeName,
other: '$hops',
one: '1 (nur direkt)',
zero: 'Kein Limit',
);
return '$_temp0';
}
@override
String get contactsSettings_hopLimitSubtitle =>
'Das Funkgerät fügt nur Kontakte mit weniger Sprüngen als diesem Wert automatisch hinzu. Unter „Entdeckte Kontakte“ werden trotzdem alle gespeichert.';
@override
String get contactsSettings_evictDiscoveredContactsTitle =>
'Entdeckte Kontakte begrenzen';