From 96dfd3f23049f2e536e4f48817785217eb879fbf Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 12:01:12 +1000 Subject: [PATCH 1/8] Added select_contact string resource --- app/src/main/res/values-ar/strings.xml | 3 ++- app/src/main/res/values-az/strings.xml | 1 + app/src/main/res/values-be/strings.xml | 1 + app/src/main/res/values-bg/strings.xml | 3 ++- app/src/main/res/values-ca/strings.xml | 3 ++- app/src/main/res/values-cs/strings.xml | 1 + app/src/main/res/values-da/strings.xml | 1 + app/src/main/res/values-de/strings.xml | 3 ++- app/src/main/res/values-el/strings.xml | 1 + app/src/main/res/values-eo/strings.xml | 1 + app/src/main/res/values-es/strings.xml | 1 + app/src/main/res/values-et/strings.xml | 3 ++- app/src/main/res/values-fi/strings.xml | 1 + app/src/main/res/values-fr/strings.xml | 1 + app/src/main/res/values-gl/strings.xml | 1 + app/src/main/res/values-hr/strings.xml | 1 + app/src/main/res/values-hu/strings.xml | 1 + app/src/main/res/values-in/strings.xml | 1 + app/src/main/res/values-it/strings.xml | 1 + app/src/main/res/values-iw/strings.xml | 1 + app/src/main/res/values-ja/strings.xml | 1 + app/src/main/res/values-lt/strings.xml | 1 + app/src/main/res/values-ml/strings.xml | 1 + app/src/main/res/values-nb-rNO/strings.xml | 1 + app/src/main/res/values-nl/strings.xml | 3 ++- app/src/main/res/values-pa-rPK/strings.xml | 1 + app/src/main/res/values-pl/strings.xml | 3 ++- app/src/main/res/values-pt-rBR/strings.xml | 1 + app/src/main/res/values-pt/strings.xml | 3 ++- app/src/main/res/values-ro/strings.xml | 1 + app/src/main/res/values-ru/strings.xml | 1 + app/src/main/res/values-sk/strings.xml | 1 + app/src/main/res/values-sl/strings.xml | 1 + app/src/main/res/values-sr/strings.xml | 1 + app/src/main/res/values-sv/strings.xml | 1 + app/src/main/res/values-th/strings.xml | 1 + app/src/main/res/values-tr/strings.xml | 3 ++- app/src/main/res/values-uk/strings.xml | 3 ++- app/src/main/res/values-vi/strings.xml | 1 + app/src/main/res/values-zh-rCN/strings.xml | 3 ++- app/src/main/res/values-zh-rTW/strings.xml | 3 ++- app/src/main/res/values/strings.xml | 1 + 42 files changed, 54 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 256bc575..584119c7 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -6,6 +6,7 @@ الرجاء السماح بالعرض فوق التطبيقات الأخرى للحصول على سلوك موثوق تعذر الوصول إلى جهات الاتصال + Select contact لاتوجد مكالمات سابقة تعذر الوصول إلى سجل المكالمات @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index f886dd79..16399929 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -6,6 +6,7 @@ Please allow displaying over other apps for reliable behaviour Could not access your contacts + Select contact No previous calls have been found Could not access the call history diff --git a/app/src/main/res/values-be/strings.xml b/app/src/main/res/values-be/strings.xml index 998bf2f4..bf5a4f77 100644 --- a/app/src/main/res/values-be/strings.xml +++ b/app/src/main/res/values-be/strings.xml @@ -6,6 +6,7 @@ Дазвольце паказ над іншымі прыкладаннямі для надзейнай працы Не атрымалася атрымаць доступ да кантактаў + Select contact Папярэднія выклікі не знойдзены Не атрымалася атрымаць доступ да журнала выклікаў diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 39670c64..9d191834 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -6,6 +6,7 @@ Разрешете на приложението да се показва над други приложения за надеждната работа Няма достъп до контактите + Select contact Няма предишни обаждания Няма достъп до дневника с обажданията @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index 2daa91a3..27808dff 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -6,6 +6,7 @@ Permeteu la visualització sobre d\'altres aplicacions per a un comportament fiable No s\'ha pogut accedir als contactes + Select contact No s\'ha trobat cap trucada anterior No s\'ha pogut accedir a l\'historial de trucades @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 0b5a346c..f8272116 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -6,6 +6,7 @@ Pro správné fungování prosíme povolte zobrazování nad ostatními aplikacemi Nelze získat přístup k vašim kontaktům + Select contact Nebyly nalezeny žádné předchozí hovory Nelze získat přístup k historii hovorů diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 5ef9a759..09dfdd36 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -6,6 +6,7 @@ Tillad venligst visning over andre apps for pålidelig adfærd Kunne ikke få adgang til dine kontakter + Select contact Der blev ikke fundet nogle tidligere opkald Kunne ikke få adgang til opkaldshistorikken diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index ea76a564..6c85ac91 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -6,6 +6,7 @@ Bitte erlauben Sie die Anzeige über andere Anwendungen für ein zuverlässiges Verhalten Kein Zugriff auf Kontakte + Select contact Anrufliste ist leer Kein Zugriff auf Anrufliste @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index b8633a93..3578b2b6 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -6,6 +6,7 @@ Επιτρέψτε την προβολή πάνω από άλλες εφαρμογές για αξιόπιστη συμπεριφορά Αδυναμία πρόσβασης στις επαφές σας + Select contact Δεν βρέθηκαν προηγούμενες κλήσεις Αδυναμία πρόσβασης στο ιστορικό κλήσεων diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index e885838b..61465cba 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -6,6 +6,7 @@ Please allow displaying over other apps for reliable behaviour Could not access your contacts + Select contact No previous calls have been found Could not access the call history diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 988ae467..221f2e4e 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -6,6 +6,7 @@ Por favor, permita la visualización sobre otras aplicaciones para un comportamiento fiable No se ha podido acceder a tus contactos + Select contact No se han encontrado llamadas anteriores No se pudo acceder al historial de llamadas diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml index be093665..c2c90f89 100644 --- a/app/src/main/res/values-et/strings.xml +++ b/app/src/main/res/values-et/strings.xml @@ -6,6 +6,7 @@ Parima töökindluse tagamiseks palun luba seda rakendust käivtada teiste rakenduste peal Puudub ligipääs telefoniraamatule + Select contact Varasemaid kõnesid ei leidu Puudub ligipääs kõnede ajaloole @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index c0213773..2b4db075 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -6,6 +6,7 @@ Salli näkyminen muiden sovellusten päällä, jotta sovellus toimii luotettavasti Yhteystietojen käyttöoikeutta ei ole + Select contact Aiempia puheluita ei löytynyt Puheluhistorian käyttöoikeutta ei ole diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index ffca9e08..b5d2d0a0 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -6,6 +6,7 @@ Veuillez permettre l\'affichage sur d\'autres applications pour un comportement fiable Impossible d\'accéder à vos contacts + Select contact Aucun appel précédent n\'a été trouvé Impossible d\'accéder à l\'historique des appels diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 8623b230..95782939 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -6,6 +6,7 @@ Permite mostrala por riba doutras aplicacións para un comportamento fiable Non foi posible acceder aos contactos + Select contact Non existen chamadas anteriores Non foi posible acceder ao historial de chamadas diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index f6f571ad..0e19eb02 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -6,6 +6,7 @@ Za pouzdano ponašanje dozvoli prikazivanje ispred drugih aplikacija Nije moguće pristupiti tvojim kontaktima + Select contact Nije pronađen nijedan prethodni poziv Nije moguće pristupiti povijesti poziva diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 06a5667a..b69861d3 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -6,6 +6,7 @@ A kiszámítható viselkedés érdekében engedélyezze a más alkalmazások feletti megjelenítést A névjegyei nem érhetők el + Select contact Nem találhatók híváselőzmények A híváselőzmények nem érhetők el diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 0ae69a4e..96560c9c 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -6,6 +6,7 @@ Mohon izinkan tampilkan di atas aplikasi lain untuk perilaku yang andal Tidak dapat mengakses kontak anda + Select contact Tidak ada panggilan sebelumnya yang ditemukan Tidak dapat mengakses riwayat panggilan diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 36b0d552..3fd33102 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -6,6 +6,7 @@ Si prega di consentire la visualizzazione su altre app per un comportamento affidabile Impossibile accedere ai contatti + Select contact Non sono state trovate chiamate precedenti Impossibile accedere alla cronologia delle chiamate diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index a1657dff..6dd28c8c 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -6,6 +6,7 @@ אנא אפשר הצגה מעל אפליקציות אחרות לצורך התנהגות אמינה לא ניתן היה לגשת לאנשי הקשר שלך נא אפשר ידנית דרך הגדרות האפליקציה + Select contact לא נמצאו שיחות קודמות לא ניתן היה לגשת להיסטוריית השיחות נא התקן מחדש או אפשר הרשאות diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 013ba03e..f84e4c15 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -6,6 +6,7 @@ 安定した動作のために、他のアプリの上に重ねて表示することを許可して下さい 連絡先にアクセスできませんでした + Select contact 通話履歴が見つかりませんでした 通話履歴にアクセスできませんでした diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index e9903b88..63d035b5 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -6,6 +6,7 @@ Prašome leisti rodyti per kitas programas, kad būtų užtikrintas patikimas elgesys Nepavyko gauti prieigos prie adresatų + Select contact Nerasta jokių ankstesnių skambučių Nepavyko pasiekti skambučių istorijos diff --git a/app/src/main/res/values-ml/strings.xml b/app/src/main/res/values-ml/strings.xml index c3d7b58b..06317a61 100644 --- a/app/src/main/res/values-ml/strings.xml +++ b/app/src/main/res/values-ml/strings.xml @@ -6,6 +6,7 @@ വിശ്വസനീയമായ പെരുമാറ്റത്തിനായി മറ്റ് ആപ്പുകളിൽ പ്രദർശിപ്പിക്കാൻ അനുവദിക്കുക നിങ്ങളുടെ കോൺ‌ടാക്റ്റുകൾ‌ ആക്‌സസ് ചെയ്യാൻ‌ കഴിഞ്ഞില്ല + Select contact മുമ്പത്തെ കോളുകളൊന്നും കണ്ടെത്തിയില്ല കോൾ ചരിത്രം ആക്‌സസ്സുചെയ്യാനായില്ല diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 6f6c08d1..d1bae1b8 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -6,6 +6,7 @@ Please allow displaying over other apps for reliable behaviour Kunne ikke få tilgang til kontaktene dine + Select contact Ingen tidligere anrop er funnet Fikk ikke tilgang til anropsloggen diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 0a254ebf..0da59ce3 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -6,6 +6,7 @@ Geef toestemming tot weergave vóór andere apps voor betrouwbare werking Kon geen toegang krijgen tot de contactenlijst + Select contact Er zijn geen eerdere gesprekken gevonden Kon geen toegang krijgen tot de gespreksgeschiedenis @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pa-rPK/strings.xml b/app/src/main/res/values-pa-rPK/strings.xml index 8ba0442e..4cdbc2db 100644 --- a/app/src/main/res/values-pa-rPK/strings.xml +++ b/app/src/main/res/values-pa-rPK/strings.xml @@ -6,6 +6,7 @@ Please allow displaying over other apps for reliable behaviour تہاڈے فون‌بوک پہنچ نہیں سکے + Select contact کوئی پچھلیا کالاں نہیں لبھیاں Could not access the call history diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 22c35d2f..8e561619 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -6,6 +6,7 @@ Zezwól aplikacji na wyświetlanie nad innymi, aby zapewnić niezawodne działanie Nie udało się uzyskać dostępu do Twoich kontaktów + Select contact Nie znaleziono wcześniejszych połączeń Nie udało się uzyskać dostępu do historii połączeń @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 7a85db17..1927270d 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -6,6 +6,7 @@ Por favor, permita a sobreposição sobre outros aplicativos para um comportamento mais estável Não foi possível acessar seus contatos + Select contact Nenhuma chamada anterior foi encontrada Não foi possível acessar o histórico de chamadas diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index dc05f2e0..e5650936 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -6,6 +6,7 @@ Deve permitir que esta aplicação seja mostrada por cima das outras para evitar comportamentos erráticos Não foi possível aceder aos contactos + Select contact Não existem chamadas anteriores Não foi possível aceder ao histórico de chamadas @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index 3b9d372d..5a88ca67 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -6,6 +6,7 @@ Vă rugăm să permiteți afișarea peste alte aplicații pentru un aspect fiabil Contactele dumneavoastră nu au putut fi accesate + Select contact Nu au fost găsite apeluri anterioare Nu s-a putut accesa istoricul apelurilor diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 668b0424..03ed2f42 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -6,6 +6,7 @@ Разрешите отображение поверх других приложений для надёжной работы Невозможно получить доступ к контактам + Выберите контакт Предыдущие вызовы не найдены Невозможно получить доступ к истории вызовов diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index 5b4ce66e..0555a720 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -6,6 +6,7 @@ Pre spoľahlivé fungovanie prosím povoľte zobrazovanie nad ostatnými apkami Nepodarilo sa dostať ku kontaktom + Select contact Nenašli sa žiadne predošlé hovory Nepodarilo sa dostať ku histórií hovorov diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml index 8d81d961..6f40209c 100644 --- a/app/src/main/res/values-sl/strings.xml +++ b/app/src/main/res/values-sl/strings.xml @@ -6,6 +6,7 @@ Prosimo, dovolite prikaz nad drugimi aplikacijami za zanesljivo obnašanje Ni bilo mogoče dostopati do vaših stikov + Select contact Najden ni bil noben prejšnji klic Ni bilo mogoče dostopati do zgodovine klicev diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index 13ab835f..babf609f 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -6,6 +6,7 @@ Дозволите приказивање преко других апликација ради поузданог понашања Није могуће приступити вашим контактима + Select contact Није пронађен ниједан претходни позив Није могуће приступити историји позива diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 60347f61..47d7aea7 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -6,6 +6,7 @@ Tillåt visning över andra appar för att få ett tillförlitligt beteende Det gick inte att komma åt dina kontakter + Select contact Inga tidigare samtal hittades Det gick inte att komma åt samtalshistoriken diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml index f886dd79..16399929 100644 --- a/app/src/main/res/values-th/strings.xml +++ b/app/src/main/res/values-th/strings.xml @@ -6,6 +6,7 @@ Please allow displaying over other apps for reliable behaviour Could not access your contacts + Select contact No previous calls have been found Could not access the call history diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index bb5ab877..3ac9e076 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -6,6 +6,7 @@ Düzgün çalışması için lütfen diğer uygulamaların üzerinde görüntülemeye izin verin Kişilerinize erişilemedi + Select contact Önceki arama bulunamadı Arama geçmişine erişilemedi @@ -81,4 +82,4 @@ Bazı dizeleri bulamadınız mı? Burada daha fazlası var: https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 0313df9b..d4832fa7 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -6,6 +6,7 @@ Дозвольте відображення над іншими застосунками для надійної роботи Не вдалося отримати доступ до контактів + Select contact Попередні виклики не знайдено Не вдалося отримати доступ до історії викликів @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index e4c0aef4..eafea780 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -6,6 +6,7 @@ Vui lòng cho phép hiển thị trên các ứng dụng khác để có hành vi đáng tin cậy Không thể truy cập danh bạ của bạn + Select contact Không tìm thấy cuộc gọi nào trước đây Không vào được lịch sử cuộc gọi diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 1da54d87..ec00970f 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -6,6 +6,7 @@ 为了应用能稳定工作,请允许其显示在其他应用上方 无法访问您的通讯录 + Select contact 未找到先前的通话 无法访问通话记录 @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 0a3e198a..3571ddcd 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -6,6 +6,7 @@ Please allow displaying over other apps for reliable behaviour 無法存取您的通訊錄 + Select contact No previous calls have been found 無法存取通話歷史紀錄 @@ -81,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c9984f93..9e39bc8a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -7,6 +7,7 @@ Could not access your contacts + Select contact No previous calls have been found From 7f7e179d4b67d2c5f8bbc688597a436c6a8b3240 Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 12:03:57 +1000 Subject: [PATCH 2/8] ContactsAdapter mutable arrayList changed to list --- .../com/simplemobiletools/dialer/adapters/ContactsAdapter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt index e55a4473..313890a9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt @@ -149,9 +149,9 @@ class ContactsAdapter( override fun getItemCount() = contacts.size - fun updateItems(newItems: ArrayList, highlightText: String = "") { + fun updateItems(newItems: List, highlightText: String = "") { if (newItems.hashCode() != contacts.hashCode()) { - contacts = newItems.clone() as ArrayList + contacts = ArrayList(newItems) textToHighlight = highlightText notifyDataSetChanged() finishActMode() From b99a85106479663137eee22a03e66e3d65aaeaea Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 12:04:40 +1000 Subject: [PATCH 3/8] Implemented search in SelectContactDialog --- .../dialer/dialogs/SelectContactDialog.kt | 125 +++++++++++++++--- .../main/res/layout/dialog_select_contact.xml | 25 +++- 2 files changed, 134 insertions(+), 16 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt index cb6820aa..d204858c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt @@ -1,20 +1,28 @@ package com.simplemobiletools.dialer.dialogs +import android.graphics.Color +import android.view.KeyEvent +import android.view.View +import android.view.inputmethod.EditorInfo +import android.widget.EditText +import android.widget.ImageView import androidx.appcompat.app.AlertDialog import com.reddit.indicatorfastscroll.FastScrollItemIndicator import com.simplemobiletools.commons.extensions.* import com.simplemobiletools.commons.models.contacts.Contact +import com.simplemobiletools.commons.views.MySearchMenu import com.simplemobiletools.dialer.R import com.simplemobiletools.dialer.activities.SimpleActivity import com.simplemobiletools.dialer.adapters.ContactsAdapter -import kotlinx.android.synthetic.main.dialog_select_contact.view.letter_fastscroller -import kotlinx.android.synthetic.main.dialog_select_contact.view.letter_fastscroller_thumb -import kotlinx.android.synthetic.main.dialog_select_contact.view.select_contact_list +import kotlinx.android.synthetic.main.dialog_select_contact.view.* import java.util.Locale -class SelectContactDialog(val activity: SimpleActivity, contacts: MutableList, val callback: (selectedContact: Contact) -> Unit) { +class SelectContactDialog(val activity: SimpleActivity, val contacts: List, val callback: (selectedContact: Contact) -> Unit) { private var dialog: AlertDialog? = null private var view = activity.layoutInflater.inflate(R.layout.dialog_select_contact, null) + private val searchView = view.contact_search_view + private val searchEditText = view.findViewById(R.id.top_toolbar_search) + private val searchViewAppBarLayout = view.findViewById(R.id.top_app_bar_layout) init { view.apply { @@ -23,17 +31,10 @@ class SelectContactDialog(val activity: SimpleActivity, contacts: MutableList - try { - val name = contacts[position].getNameToDisplay() - val character = if (name.isNotEmpty()) name.substring(0, 1) else "" - FastScrollItemIndicator.Text(character.uppercase(Locale.getDefault())) - } catch (e: Exception) { - FastScrollItemIndicator.Text("") - } - }) + setupLetterFastScroller(contacts) + configureSearchView() - select_contact_list.adapter = ContactsAdapter(activity, contacts, select_contact_list, allowLongClick = false) { + select_contact_list.adapter = ContactsAdapter(activity, contacts.toMutableList(), select_contact_list, allowLongClick = false) { callback(it as Contact) dialog?.dismiss() } @@ -41,10 +42,104 @@ class SelectContactDialog(val activity: SimpleActivity, contacts: MutableList + if (keyEvent.action == KeyEvent.ACTION_UP && i == KeyEvent.KEYCODE_BACK) { + backPressed() + } + true + } .apply { - activity.setupDialogStuff(view, this) { alertDialog -> + activity.setupDialogStuff(view, this, R.string.select_contact) { alertDialog -> dialog = alertDialog } } } + + private fun setupLetterFastScroller(contacts: List) { + view.letter_fastscroller.setupWithRecyclerView(view.select_contact_list, { position -> + try { + val name = contacts[position].getNameToDisplay() + val character = if (name.isNotEmpty()) name.substring(0, 1) else "" + FastScrollItemIndicator.Text(character.uppercase(Locale.getDefault())) + } catch (e: Exception) { + FastScrollItemIndicator.Text("") + } + }) + } + + private fun configureSearchView() = with(searchView) { + updateHintText(context.getString(R.string.search_contacts)) + searchEditText.imeOptions = EditorInfo.IME_ACTION_DONE + + toggleHideOnScroll(true) + setupMenu() + setSearchViewListeners() + updateSearchViewUi() + } + + private fun MySearchMenu.updateSearchViewUi() { + getToolbar().beInvisible() + updateColors() + setBackgroundColor(Color.TRANSPARENT) + searchViewAppBarLayout.setBackgroundColor(Color.TRANSPARENT) + } + + private fun MySearchMenu.setSearchViewListeners() { + onSearchOpenListener = { + updateSearchViewLeftIcon(R.drawable.ic_cross_vector) + } + onSearchClosedListener = { + searchEditText.clearFocus() + activity.hideKeyboard(searchEditText) + updateSearchViewLeftIcon(R.drawable.ic_search_vector) + } + + onSearchTextChangedListener = { text -> + filterContactListBySearchQuery(text) + } + } + + private fun updateSearchViewLeftIcon(iconResId: Int) = with(view.findViewById(R.id.top_toolbar_search_icon)) { + post { + setImageResource(iconResId) + } + } + + private fun filterContactListBySearchQuery(query: String) { + val adapter = view.select_contact_list.adapter as? ContactsAdapter + var contactsToShow = contacts + if (query.isNotEmpty()) { + contactsToShow = contacts.filter { it.name.contains(query, true) } + } + checkPlaceholderVisibility(contactsToShow) + + if (adapter?.contacts != contactsToShow) { + adapter?.updateItems(contactsToShow) + setupLetterFastScroller(contactsToShow) + + view.select_contact_list.apply { + post { + scrollToPosition(0) + } + } + } + } + + private fun checkPlaceholderVisibility(contacts: List) = with(view) { + contacts_empty_placeholder.beVisibleIf(contacts.isEmpty()) + + if (contact_search_view.isSearchOpen) { + contacts_empty_placeholder.text = context.getString(R.string.no_items_found) + } + + letter_fastscroller.beVisibleIf(contacts_empty_placeholder.isGone()) + } + + private fun backPressed() { + if (searchView.isSearchOpen) { + searchView.closeSearch() + } else { + dialog?.dismiss() + } + } } diff --git a/app/src/main/res/layout/dialog_select_contact.xml b/app/src/main/res/layout/dialog_select_contact.xml index cd895a13..5ed57614 100644 --- a/app/src/main/res/layout/dialog_select_contact.xml +++ b/app/src/main/res/layout/dialog_select_contact.xml @@ -5,10 +5,33 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> + + + + @@ -17,6 +40,7 @@ android:id="@+id/letter_fastscroller" android:layout_width="32dp" android:layout_height="wrap_content" + android:layout_below="@+id/contact_search_view" android:layout_alignParentEnd="true" android:paddingTop="@dimen/big_margin" android:paddingBottom="@dimen/big_margin" /> @@ -29,5 +53,4 @@ android:layout_alignBottom="@+id/letter_fastscroller" android:layout_marginEnd="@dimen/activity_margin" android:layout_toStartOf="@+id/letter_fastscroller" /> - From 037e8ca9d42397c95a929c5cf232aa9f7ea0faef Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 23:07:40 +1000 Subject: [PATCH 4/8] Revert "Added select_contact string resource" This reverts commit 96dfd3f23049f2e536e4f48817785217eb879fbf. --- app/src/main/res/values-ar/strings.xml | 3 +-- app/src/main/res/values-az/strings.xml | 1 - app/src/main/res/values-be/strings.xml | 1 - app/src/main/res/values-bg/strings.xml | 3 +-- app/src/main/res/values-ca/strings.xml | 3 +-- app/src/main/res/values-cs/strings.xml | 1 - app/src/main/res/values-da/strings.xml | 1 - app/src/main/res/values-de/strings.xml | 3 +-- app/src/main/res/values-el/strings.xml | 1 - app/src/main/res/values-eo/strings.xml | 1 - app/src/main/res/values-es/strings.xml | 1 - app/src/main/res/values-et/strings.xml | 3 +-- app/src/main/res/values-fi/strings.xml | 1 - app/src/main/res/values-fr/strings.xml | 1 - app/src/main/res/values-gl/strings.xml | 1 - app/src/main/res/values-hr/strings.xml | 1 - app/src/main/res/values-hu/strings.xml | 1 - app/src/main/res/values-in/strings.xml | 1 - app/src/main/res/values-it/strings.xml | 1 - app/src/main/res/values-iw/strings.xml | 1 - app/src/main/res/values-ja/strings.xml | 1 - app/src/main/res/values-lt/strings.xml | 1 - app/src/main/res/values-ml/strings.xml | 1 - app/src/main/res/values-nb-rNO/strings.xml | 1 - app/src/main/res/values-nl/strings.xml | 3 +-- app/src/main/res/values-pa-rPK/strings.xml | 1 - app/src/main/res/values-pl/strings.xml | 3 +-- app/src/main/res/values-pt-rBR/strings.xml | 1 - app/src/main/res/values-pt/strings.xml | 3 +-- app/src/main/res/values-ro/strings.xml | 1 - app/src/main/res/values-ru/strings.xml | 1 - app/src/main/res/values-sk/strings.xml | 1 - app/src/main/res/values-sl/strings.xml | 1 - app/src/main/res/values-sr/strings.xml | 1 - app/src/main/res/values-sv/strings.xml | 1 - app/src/main/res/values-th/strings.xml | 1 - app/src/main/res/values-tr/strings.xml | 3 +-- app/src/main/res/values-uk/strings.xml | 3 +-- app/src/main/res/values-vi/strings.xml | 1 - app/src/main/res/values-zh-rCN/strings.xml | 3 +-- app/src/main/res/values-zh-rTW/strings.xml | 3 +-- app/src/main/res/values/strings.xml | 1 - 42 files changed, 12 insertions(+), 54 deletions(-) diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 584119c7..256bc575 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -6,7 +6,6 @@ الرجاء السماح بالعرض فوق التطبيقات الأخرى للحصول على سلوك موثوق تعذر الوصول إلى جهات الاتصال - Select contact لاتوجد مكالمات سابقة تعذر الوصول إلى سجل المكالمات @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index 16399929..f886dd79 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -6,7 +6,6 @@ Please allow displaying over other apps for reliable behaviour Could not access your contacts - Select contact No previous calls have been found Could not access the call history diff --git a/app/src/main/res/values-be/strings.xml b/app/src/main/res/values-be/strings.xml index bf5a4f77..998bf2f4 100644 --- a/app/src/main/res/values-be/strings.xml +++ b/app/src/main/res/values-be/strings.xml @@ -6,7 +6,6 @@ Дазвольце паказ над іншымі прыкладаннямі для надзейнай працы Не атрымалася атрымаць доступ да кантактаў - Select contact Папярэднія выклікі не знойдзены Не атрымалася атрымаць доступ да журнала выклікаў diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 9d191834..39670c64 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -6,7 +6,6 @@ Разрешете на приложението да се показва над други приложения за надеждната работа Няма достъп до контактите - Select contact Няма предишни обаждания Няма достъп до дневника с обажданията @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index 27808dff..2daa91a3 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -6,7 +6,6 @@ Permeteu la visualització sobre d\'altres aplicacions per a un comportament fiable No s\'ha pogut accedir als contactes - Select contact No s\'ha trobat cap trucada anterior No s\'ha pogut accedir a l\'historial de trucades @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index f8272116..0b5a346c 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -6,7 +6,6 @@ Pro správné fungování prosíme povolte zobrazování nad ostatními aplikacemi Nelze získat přístup k vašim kontaktům - Select contact Nebyly nalezeny žádné předchozí hovory Nelze získat přístup k historii hovorů diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 09dfdd36..5ef9a759 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -6,7 +6,6 @@ Tillad venligst visning over andre apps for pålidelig adfærd Kunne ikke få adgang til dine kontakter - Select contact Der blev ikke fundet nogle tidligere opkald Kunne ikke få adgang til opkaldshistorikken diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 6c85ac91..ea76a564 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -6,7 +6,6 @@ Bitte erlauben Sie die Anzeige über andere Anwendungen für ein zuverlässiges Verhalten Kein Zugriff auf Kontakte - Select contact Anrufliste ist leer Kein Zugriff auf Anrufliste @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 3578b2b6..b8633a93 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -6,7 +6,6 @@ Επιτρέψτε την προβολή πάνω από άλλες εφαρμογές για αξιόπιστη συμπεριφορά Αδυναμία πρόσβασης στις επαφές σας - Select contact Δεν βρέθηκαν προηγούμενες κλήσεις Αδυναμία πρόσβασης στο ιστορικό κλήσεων diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index 61465cba..e885838b 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -6,7 +6,6 @@ Please allow displaying over other apps for reliable behaviour Could not access your contacts - Select contact No previous calls have been found Could not access the call history diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 221f2e4e..988ae467 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -6,7 +6,6 @@ Por favor, permita la visualización sobre otras aplicaciones para un comportamiento fiable No se ha podido acceder a tus contactos - Select contact No se han encontrado llamadas anteriores No se pudo acceder al historial de llamadas diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml index c2c90f89..be093665 100644 --- a/app/src/main/res/values-et/strings.xml +++ b/app/src/main/res/values-et/strings.xml @@ -6,7 +6,6 @@ Parima töökindluse tagamiseks palun luba seda rakendust käivtada teiste rakenduste peal Puudub ligipääs telefoniraamatule - Select contact Varasemaid kõnesid ei leidu Puudub ligipääs kõnede ajaloole @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 2b4db075..c0213773 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -6,7 +6,6 @@ Salli näkyminen muiden sovellusten päällä, jotta sovellus toimii luotettavasti Yhteystietojen käyttöoikeutta ei ole - Select contact Aiempia puheluita ei löytynyt Puheluhistorian käyttöoikeutta ei ole diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index b5d2d0a0..ffca9e08 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -6,7 +6,6 @@ Veuillez permettre l\'affichage sur d\'autres applications pour un comportement fiable Impossible d\'accéder à vos contacts - Select contact Aucun appel précédent n\'a été trouvé Impossible d\'accéder à l\'historique des appels diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 95782939..8623b230 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -6,7 +6,6 @@ Permite mostrala por riba doutras aplicacións para un comportamento fiable Non foi posible acceder aos contactos - Select contact Non existen chamadas anteriores Non foi posible acceder ao historial de chamadas diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 0e19eb02..f6f571ad 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -6,7 +6,6 @@ Za pouzdano ponašanje dozvoli prikazivanje ispred drugih aplikacija Nije moguće pristupiti tvojim kontaktima - Select contact Nije pronađen nijedan prethodni poziv Nije moguće pristupiti povijesti poziva diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index b69861d3..06a5667a 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -6,7 +6,6 @@ A kiszámítható viselkedés érdekében engedélyezze a más alkalmazások feletti megjelenítést A névjegyei nem érhetők el - Select contact Nem találhatók híváselőzmények A híváselőzmények nem érhetők el diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 96560c9c..0ae69a4e 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -6,7 +6,6 @@ Mohon izinkan tampilkan di atas aplikasi lain untuk perilaku yang andal Tidak dapat mengakses kontak anda - Select contact Tidak ada panggilan sebelumnya yang ditemukan Tidak dapat mengakses riwayat panggilan diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 3fd33102..36b0d552 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -6,7 +6,6 @@ Si prega di consentire la visualizzazione su altre app per un comportamento affidabile Impossibile accedere ai contatti - Select contact Non sono state trovate chiamate precedenti Impossibile accedere alla cronologia delle chiamate diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index 6dd28c8c..a1657dff 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -6,7 +6,6 @@ אנא אפשר הצגה מעל אפליקציות אחרות לצורך התנהגות אמינה לא ניתן היה לגשת לאנשי הקשר שלך נא אפשר ידנית דרך הגדרות האפליקציה - Select contact לא נמצאו שיחות קודמות לא ניתן היה לגשת להיסטוריית השיחות נא התקן מחדש או אפשר הרשאות diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index f84e4c15..013ba03e 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -6,7 +6,6 @@ 安定した動作のために、他のアプリの上に重ねて表示することを許可して下さい 連絡先にアクセスできませんでした - Select contact 通話履歴が見つかりませんでした 通話履歴にアクセスできませんでした diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index 63d035b5..e9903b88 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -6,7 +6,6 @@ Prašome leisti rodyti per kitas programas, kad būtų užtikrintas patikimas elgesys Nepavyko gauti prieigos prie adresatų - Select contact Nerasta jokių ankstesnių skambučių Nepavyko pasiekti skambučių istorijos diff --git a/app/src/main/res/values-ml/strings.xml b/app/src/main/res/values-ml/strings.xml index 06317a61..c3d7b58b 100644 --- a/app/src/main/res/values-ml/strings.xml +++ b/app/src/main/res/values-ml/strings.xml @@ -6,7 +6,6 @@ വിശ്വസനീയമായ പെരുമാറ്റത്തിനായി മറ്റ് ആപ്പുകളിൽ പ്രദർശിപ്പിക്കാൻ അനുവദിക്കുക നിങ്ങളുടെ കോൺ‌ടാക്റ്റുകൾ‌ ആക്‌സസ് ചെയ്യാൻ‌ കഴിഞ്ഞില്ല - Select contact മുമ്പത്തെ കോളുകളൊന്നും കണ്ടെത്തിയില്ല കോൾ ചരിത്രം ആക്‌സസ്സുചെയ്യാനായില്ല diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index d1bae1b8..6f6c08d1 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -6,7 +6,6 @@ Please allow displaying over other apps for reliable behaviour Kunne ikke få tilgang til kontaktene dine - Select contact Ingen tidligere anrop er funnet Fikk ikke tilgang til anropsloggen diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 0da59ce3..0a254ebf 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -6,7 +6,6 @@ Geef toestemming tot weergave vóór andere apps voor betrouwbare werking Kon geen toegang krijgen tot de contactenlijst - Select contact Er zijn geen eerdere gesprekken gevonden Kon geen toegang krijgen tot de gespreksgeschiedenis @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-pa-rPK/strings.xml b/app/src/main/res/values-pa-rPK/strings.xml index 4cdbc2db..8ba0442e 100644 --- a/app/src/main/res/values-pa-rPK/strings.xml +++ b/app/src/main/res/values-pa-rPK/strings.xml @@ -6,7 +6,6 @@ Please allow displaying over other apps for reliable behaviour تہاڈے فون‌بوک پہنچ نہیں سکے - Select contact کوئی پچھلیا کالاں نہیں لبھیاں Could not access the call history diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 8e561619..22c35d2f 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -6,7 +6,6 @@ Zezwól aplikacji na wyświetlanie nad innymi, aby zapewnić niezawodne działanie Nie udało się uzyskać dostępu do Twoich kontaktów - Select contact Nie znaleziono wcześniejszych połączeń Nie udało się uzyskać dostępu do historii połączeń @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 1927270d..7a85db17 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -6,7 +6,6 @@ Por favor, permita a sobreposição sobre outros aplicativos para um comportamento mais estável Não foi possível acessar seus contatos - Select contact Nenhuma chamada anterior foi encontrada Não foi possível acessar o histórico de chamadas diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index e5650936..dc05f2e0 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -6,7 +6,6 @@ Deve permitir que esta aplicação seja mostrada por cima das outras para evitar comportamentos erráticos Não foi possível aceder aos contactos - Select contact Não existem chamadas anteriores Não foi possível aceder ao histórico de chamadas @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index 5a88ca67..3b9d372d 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -6,7 +6,6 @@ Vă rugăm să permiteți afișarea peste alte aplicații pentru un aspect fiabil Contactele dumneavoastră nu au putut fi accesate - Select contact Nu au fost găsite apeluri anterioare Nu s-a putut accesa istoricul apelurilor diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 03ed2f42..668b0424 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -6,7 +6,6 @@ Разрешите отображение поверх других приложений для надёжной работы Невозможно получить доступ к контактам - Выберите контакт Предыдущие вызовы не найдены Невозможно получить доступ к истории вызовов diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index 0555a720..5b4ce66e 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -6,7 +6,6 @@ Pre spoľahlivé fungovanie prosím povoľte zobrazovanie nad ostatnými apkami Nepodarilo sa dostať ku kontaktom - Select contact Nenašli sa žiadne predošlé hovory Nepodarilo sa dostať ku histórií hovorov diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml index 6f40209c..8d81d961 100644 --- a/app/src/main/res/values-sl/strings.xml +++ b/app/src/main/res/values-sl/strings.xml @@ -6,7 +6,6 @@ Prosimo, dovolite prikaz nad drugimi aplikacijami za zanesljivo obnašanje Ni bilo mogoče dostopati do vaših stikov - Select contact Najden ni bil noben prejšnji klic Ni bilo mogoče dostopati do zgodovine klicev diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index babf609f..13ab835f 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -6,7 +6,6 @@ Дозволите приказивање преко других апликација ради поузданог понашања Није могуће приступити вашим контактима - Select contact Није пронађен ниједан претходни позив Није могуће приступити историји позива diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 47d7aea7..60347f61 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -6,7 +6,6 @@ Tillåt visning över andra appar för att få ett tillförlitligt beteende Det gick inte att komma åt dina kontakter - Select contact Inga tidigare samtal hittades Det gick inte att komma åt samtalshistoriken diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml index 16399929..f886dd79 100644 --- a/app/src/main/res/values-th/strings.xml +++ b/app/src/main/res/values-th/strings.xml @@ -6,7 +6,6 @@ Please allow displaying over other apps for reliable behaviour Could not access your contacts - Select contact No previous calls have been found Could not access the call history diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 3ac9e076..bb5ab877 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -6,7 +6,6 @@ Düzgün çalışması için lütfen diğer uygulamaların üzerinde görüntülemeye izin verin Kişilerinize erişilemedi - Select contact Önceki arama bulunamadı Arama geçmişine erişilemedi @@ -82,4 +81,4 @@ Bazı dizeleri bulamadınız mı? Burada daha fazlası var: https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index d4832fa7..0313df9b 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -6,7 +6,6 @@ Дозвольте відображення над іншими застосунками для надійної роботи Не вдалося отримати доступ до контактів - Select contact Попередні виклики не знайдено Не вдалося отримати доступ до історії викликів @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index eafea780..e4c0aef4 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -6,7 +6,6 @@ Vui lòng cho phép hiển thị trên các ứng dụng khác để có hành vi đáng tin cậy Không thể truy cập danh bạ của bạn - Select contact Không tìm thấy cuộc gọi nào trước đây Không vào được lịch sử cuộc gọi diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index ec00970f..1da54d87 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -6,7 +6,6 @@ 为了应用能稳定工作,请允许其显示在其他应用上方 无法访问您的通讯录 - Select contact 未找到先前的通话 无法访问通话记录 @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 3571ddcd..0a3e198a 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -6,7 +6,6 @@ Please allow displaying over other apps for reliable behaviour 無法存取您的通訊錄 - Select contact No previous calls have been found 無法存取通話歷史紀錄 @@ -82,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9e39bc8a..c9984f93 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -7,7 +7,6 @@ Could not access your contacts - Select contact No previous calls have been found From 25b15785a097ea91c8066fbe77ca038f045199b8 Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 23:13:12 +1000 Subject: [PATCH 5/8] Changed MIN_COLUMNS_COUNT value to 1 and improved readability of created items in changeColumnCount --- .../com/simplemobiletools/dialer/activities/MainActivity.kt | 5 +++-- .../com/simplemobiletools/dialer/adapters/ContactsAdapter.kt | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/activities/MainActivity.kt index a1ab191a..0d9406a9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/activities/MainActivity.kt @@ -217,8 +217,9 @@ class MainActivity : SimpleActivity() { } private fun changeColumnCount() { - val items = (CONTACTS_GRID_MIN_COLUMNS_COUNT..CONTACTS_GRID_MAX_COLUMNS_COUNT).map { - RadioItem(it, resources.getQuantityString(R.plurals.column_counts, it, it)) + val items = ArrayList() + for (i in 1..CONTACTS_GRID_MAX_COLUMNS_COUNT) { + items.add(RadioItem(i, resources.getQuantityString(R.plurals.column_counts, i, i))) } val currentColumnCount = config.contactsGridColumnCount diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt index 313890a9..752a1501 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/adapters/ContactsAdapter.kt @@ -351,7 +351,7 @@ class ContactsAdapter( val layoutManager = recyclerView.layoutManager if (layoutManager is GridLayoutManager) { val currentSpanCount = layoutManager.spanCount - val newSpanCount = (currentSpanCount - 1).coerceIn(CONTACTS_GRID_MIN_COLUMNS_COUNT, CONTACTS_GRID_MAX_COLUMNS_COUNT) + val newSpanCount = (currentSpanCount - 1).coerceIn(1, CONTACTS_GRID_MAX_COLUMNS_COUNT) layoutManager.spanCount = newSpanCount recyclerView.requestLayout() onSpanCountListener(newSpanCount) @@ -362,7 +362,7 @@ class ContactsAdapter( val layoutManager = recyclerView.layoutManager if (layoutManager is GridLayoutManager) { val currentSpanCount = layoutManager.spanCount - val newSpanCount = (currentSpanCount + 1).coerceIn(CONTACTS_GRID_MIN_COLUMNS_COUNT, CONTACTS_GRID_MAX_COLUMNS_COUNT) + val newSpanCount = (currentSpanCount + 1).coerceIn(1, CONTACTS_GRID_MAX_COLUMNS_COUNT) layoutManager.spanCount = newSpanCount recyclerView.requestLayout() onSpanCountListener(newSpanCount) From 20e93c60651d39725bcc7f485dd32ffa59846406 Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 23:13:34 +1000 Subject: [PATCH 6/8] Updated commons --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 902c4059..152d37b1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -65,7 +65,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:2462c80e58' + implementation 'com.github.SimpleMobileTools:Simple-Commons:91763fe00f' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'me.grantland:autofittextview:0.2.1' implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" From c8539a114a58a3f48f06652d79dac190dc2119fe Mon Sep 17 00:00:00 2001 From: merkost Date: Sat, 22 Jul 2023 23:13:57 +1000 Subject: [PATCH 7/8] Changed string to choose_contact --- .../com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt index d204858c..711a5a37 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt @@ -49,7 +49,7 @@ class SelectContactDialog(val activity: SimpleActivity, val contacts: List + activity.setupDialogStuff(view, this, R.string.choose_contact) { alertDialog -> dialog = alertDialog } } From b3e5847b953bdea20d48db7b34696de7b4b73ab8 Mon Sep 17 00:00:00 2001 From: merkost Date: Mon, 24 Jul 2023 13:27:51 +1000 Subject: [PATCH 8/8] Managing letter_fastscroller_thumb visibility --- .../com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt index 711a5a37..b69f385a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/dialogs/SelectContactDialog.kt @@ -133,6 +133,7 @@ class SelectContactDialog(val activity: SimpleActivity, val contacts: List