Default discovered-contact eviction on and harden the auto-add dialog

- Default evictDiscoveredContactsEnabled to true so the 500-entry cap stays
  in effect unless the user opts out
- Evict until under the cap when adding, so an oversized list recovers
- Pass the cap into the localized subtitle instead of hard-coding 500
- Fix German title and subtitle wording
- Save: block double taps, send radio config first, show an error if
  persisting the setting fails
- Restore untranslated.json to match dev
This commit is contained in:
zjs81 committed 2026-10-07 21:12:59 -07:00
1 parent 956c779e2c
commit ef53b8f390
26 files changed
+130 -223

No files matched your search

+9 -2
View File
@@ -2145,8 +2145,15 @@
"discoveredContacts_copyContact": "Kontakt in die Zwischenablage kopieren",
"contactsSettings_overwriteOldestTitle": "Überschreiben des Ältesten",
"contactsSettings_overwriteOldestSubtitle": "Wenn die Kontaktliste voll ist, wird der älteste nicht favorisierte Kontakt ersetzt.",
"contactsSettings_evictDiscoveredContactsTitle": "Kürze entdeckte Kontakte Liste",
"contactsSettings_evictDiscoveredContactsSubtitle": "Wenn aktiviert, wird die Liste der entdeckten Kontackte auf 500 Kontakten begrenzt.",
"contactsSettings_evictDiscoveredContactsTitle": "Liste entdeckter Kontakte kürzen",
"contactsSettings_evictDiscoveredContactsSubtitle": "Wenn aktiviert, wird die Liste der entdeckten Kontakte auf {limit} Kontakte begrenzt.",
"@contactsSettings_evictDiscoveredContactsSubtitle": {
"placeholders": {
"limit": {
"type": "int"
}
}
},
"common_deleteAll": "Alles löschen",
"discoveredContacts_deleteContactAllContent": "Sind Sie sicher, dass Sie alle gefundenen Kontakte löschen möchten?",
"discoveredContacts_deleteContactAll": "Alle entdeckten Kontakte löschen",
+8 -1
View File
@@ -2649,7 +2649,14 @@
"contactsSettings_overwriteOldestTitle": "Overwrite Oldest",
"contactsSettings_overwriteOldestSubtitle": "When the contact list is full, the oldest non-favorited contact will be replaced.",
"contactsSettings_evictDiscoveredContactsTitle": "Evict discovered contacts",
"contactsSettings_evictDiscoveredContactsSubtitle": "When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.",
"contactsSettings_evictDiscoveredContactsSubtitle": "When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of {limit} entries.",
"@contactsSettings_evictDiscoveredContactsSubtitle": {
"placeholders": {
"limit": {
"type": "int"
}
}
},
"discoveredContacts_Title": "Discovered Contacts",
"discoveredContacts_noMatching": "No matching contacts",
"discoveredContacts_searchHint": "Search discovered contacts",
+2 -2
View File
@@ -8215,8 +8215,8 @@ abstract class AppLocalizations {
/// No description provided for @contactsSettings_evictDiscoveredContactsSubtitle.
///
/// In en, this message translates to:
/// **'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.'**
String get contactsSettings_evictDiscoveredContactsSubtitle;
/// **'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of {limit} entries.'**
String contactsSettings_evictDiscoveredContactsSubtitle(int limit);
/// No description provided for @discoveredContacts_Title.
///
+3 -2
View File
@@ -4794,8 +4794,9 @@ class AppLocalizationsBg extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Открити контакти';
+4 -3
View File
@@ -4803,11 +4803,12 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get contactsSettings_evictDiscoveredContactsTitle =>
'Kürze entdeckte Kontakte Liste';
'Liste entdeckter Kontakte kürzen';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'Wenn aktiviert, wird die Liste der entdeckten Kontackte auf 500 Kontakten begrenzt.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'Wenn aktiviert, wird die Liste der entdeckten Kontakte auf $limit Kontakte begrenzt.';
}
@override
String get discoveredContacts_Title => 'Entdeckte Kontakte';
+3 -2
View File
@@ -4725,8 +4725,9 @@ class AppLocalizationsEn extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Discovered Contacts';
+3 -2
View File
@@ -4797,8 +4797,9 @@ class AppLocalizationsEs extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Contactos descubiertos';
+3 -2
View File
@@ -4819,8 +4819,9 @@ class AppLocalizationsFr extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Contacts découverts';
+3 -2
View File
@@ -4793,8 +4793,9 @@ class AppLocalizationsHu extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Felfedezett kapcsolatok';
+3 -2
View File
@@ -4803,8 +4803,9 @@ class AppLocalizationsIt extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Contatti scoperti';
+3 -2
View File
@@ -4559,8 +4559,9 @@ class AppLocalizationsJa extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => '連絡先が見つかった';
+3 -2
View File
@@ -4569,8 +4569,9 @@ class AppLocalizationsKo extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => '연락처 찾기';
+3 -2
View File
@@ -4771,8 +4771,9 @@ class AppLocalizationsNl extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Ontdekte contacten';
+3 -2
View File
@@ -4826,8 +4826,9 @@ class AppLocalizationsPl extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Odkryte Kontakty';
+3 -2
View File
@@ -4798,8 +4798,9 @@ class AppLocalizationsPt extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Contatos Descobertos';
+3 -2
View File
@@ -4810,8 +4810,9 @@ class AppLocalizationsRu extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Обнаруженные контакты';
+3 -2
View File
@@ -4780,8 +4780,9 @@ class AppLocalizationsSk extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Objavené kontakty';
+3 -2
View File
@@ -4780,8 +4780,9 @@ class AppLocalizationsSl extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Odkriti stiki';
+3 -2
View File
@@ -4755,8 +4755,9 @@ class AppLocalizationsSv extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Upptäckta kontakter';
+3 -2
View File
@@ -4809,8 +4809,9 @@ class AppLocalizationsUk extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => 'Виявлені контакти';
+3 -2
View File
@@ -4444,8 +4444,9 @@ class AppLocalizationsZh extends AppLocalizations {
'Evict discovered contacts';
@override
String get contactsSettings_evictDiscoveredContactsSubtitle =>
'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of 500 entries.';
String contactsSettings_evictDiscoveredContactsSubtitle(int limit) {
return 'When enabled, the app removes the oldest discovered contacts once the discovery list reaches its limit of $limit entries.';
}
@override
String get discoveredContacts_Title => '已发现的联系人';