diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index 063e52776d..e9bf84f201 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -595,7 +595,7 @@ public class FragmentIdentity extends FragmentBase { if (!should && TextUtils.isEmpty(email)) throw new IllegalArgumentException(context.getString(R.string.title_no_email)); if (!should && !Patterns.EMAIL_ADDRESS.matcher(email).matches()) - throw new IllegalArgumentException(context.getString(R.string.title_email_invalid)); + throw new IllegalArgumentException(context.getString(R.string.title_email_invalid, email)); if (!should && TextUtils.isEmpty(host)) throw new IllegalArgumentException(context.getString(R.string.title_no_host)); if (TextUtils.isEmpty(port)) @@ -605,6 +605,11 @@ public class FragmentIdentity extends FragmentBase { if (!should && synchronize && TextUtils.isEmpty(password) && !insecure) throw new IllegalArgumentException(context.getString(R.string.title_no_password)); + if (!should && !TextUtils.isEmpty(replyto) && !Patterns.EMAIL_ADDRESS.matcher(replyto).matches()) + throw new IllegalArgumentException(context.getString(R.string.title_email_invalid, replyto)); + if (!should && !TextUtils.isEmpty(bcc) && !Patterns.EMAIL_ADDRESS.matcher(bcc).matches()) + throw new IllegalArgumentException(context.getString(R.string.title_email_invalid, bcc)); + if (TextUtils.isEmpty(display)) display = null; diff --git a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java index e3468af3c1..6a212408ce 100644 --- a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java @@ -232,7 +232,7 @@ public class FragmentQuickSetup extends FragmentBase { if (TextUtils.isEmpty(email)) throw new IllegalArgumentException(context.getString(R.string.title_no_email)); if (!Patterns.EMAIL_ADDRESS.matcher(email).matches()) - throw new IllegalArgumentException(context.getString(R.string.title_email_invalid)); + throw new IllegalArgumentException(context.getString(R.string.title_email_invalid, email)); String[] dparts = email.split("@"); EmailProvider provider = EmailProvider.fromDomain(context, dparts[1], EmailProvider.Discover.ALL); diff --git a/app/src/main/res/values-ar-rBH/strings.xml b/app/src/main/res/values-ar-rBH/strings.xml index 3994e27b98..490b7ff7d5 100644 --- a/app/src/main/res/values-ar-rBH/strings.xml +++ b/app/src/main/res/values-ar-rBH/strings.xml @@ -157,7 +157,6 @@ تحقق الاسم مفقود عنوان البريد الإلكتروني مفقود - عنوان البريد الإلكتروني غير صالح الحساب مفقود اسم المضيف مفقود اسم المستخدم مفقود diff --git a/app/src/main/res/values-ar-rEG/strings.xml b/app/src/main/res/values-ar-rEG/strings.xml index 3994e27b98..490b7ff7d5 100644 --- a/app/src/main/res/values-ar-rEG/strings.xml +++ b/app/src/main/res/values-ar-rEG/strings.xml @@ -157,7 +157,6 @@ تحقق الاسم مفقود عنوان البريد الإلكتروني مفقود - عنوان البريد الإلكتروني غير صالح الحساب مفقود اسم المضيف مفقود اسم المستخدم مفقود diff --git a/app/src/main/res/values-ar-rSA/strings.xml b/app/src/main/res/values-ar-rSA/strings.xml index 3994e27b98..490b7ff7d5 100644 --- a/app/src/main/res/values-ar-rSA/strings.xml +++ b/app/src/main/res/values-ar-rSA/strings.xml @@ -157,7 +157,6 @@ تحقق الاسم مفقود عنوان البريد الإلكتروني مفقود - عنوان البريد الإلكتروني غير صالح الحساب مفقود اسم المضيف مفقود اسم المستخدم مفقود diff --git a/app/src/main/res/values-ar-rYE/strings.xml b/app/src/main/res/values-ar-rYE/strings.xml index 3994e27b98..490b7ff7d5 100644 --- a/app/src/main/res/values-ar-rYE/strings.xml +++ b/app/src/main/res/values-ar-rYE/strings.xml @@ -157,7 +157,6 @@ تحقق الاسم مفقود عنوان البريد الإلكتروني مفقود - عنوان البريد الإلكتروني غير صالح الحساب مفقود اسم المضيف مفقود اسم المستخدم مفقود diff --git a/app/src/main/res/values-az-rAZ/strings.xml b/app/src/main/res/values-az-rAZ/strings.xml index cdbfd66c2e..1865a7c3de 100644 --- a/app/src/main/res/values-az-rAZ/strings.xml +++ b/app/src/main/res/values-az-rAZ/strings.xml @@ -208,7 +208,6 @@ Yoxla Ad əskikdir E-poçt ünvanı əskikdir - E-poçt ünvanı yalnışdır Hesab əskikdir Host adı əskikdir İstifadəçi adı əskikdir diff --git a/app/src/main/res/values-cs-rCZ/strings.xml b/app/src/main/res/values-cs-rCZ/strings.xml index 194eb1ac7a..28020c5759 100644 --- a/app/src/main/res/values-cs-rCZ/strings.xml +++ b/app/src/main/res/values-cs-rCZ/strings.xml @@ -174,6 +174,7 @@ Světlý motiv Tmavý motiv Černý motiv + Šedý motiv Motiv systému Pokročilé Možnosti @@ -347,7 +348,6 @@ Ověřit Chybí jméno Chybí e-mailová adresa - E-mailová adresa je neplatná Adresa \"%1$s\" neplatná: %2$s Chybí účet Chybí název hostitele @@ -674,6 +674,7 @@ Rozbalit Avatar Zobraz citace + Ukončit odebírání kanálu Zobraz obrázky Zobraz na celou obrazovku Upravit diff --git a/app/src/main/res/values-da-rDK/strings.xml b/app/src/main/res/values-da-rDK/strings.xml index c99d98e5be..d552e3db67 100644 --- a/app/src/main/res/values-da-rDK/strings.xml +++ b/app/src/main/res/values-da-rDK/strings.xml @@ -324,7 +324,6 @@ Tjek Navn mangler E-mailadresse mangler - Ugyldig e-mailadresse Ugyldig \'%1$s\'-adresse: %2$s Konto mangler Værtsnavn mangler diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml index ffb2c2ae57..0572e3fb94 100644 --- a/app/src/main/res/values-de-rDE/strings.xml +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -151,6 +151,7 @@ Konten und Identitäten (Aliase) können bei Bedarf auch manuell eingerichtet we Helles Design Dunkles Design Schwarzes Design + Graues Thema System Design Erweitert Optionen @@ -324,7 +325,6 @@ Konten und Identitäten (Aliase) können bei Bedarf auch manuell eingerichtet we Prüfen Name fehlt E-Mail-Adresse fehlt - E-Mail-Adresse ungültig Adresse \'%1$s\' ungültig: %2$s Konto fehlt Hostname fehlt diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index ed9ed73cc0..a9483cb6a7 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -325,7 +325,6 @@ Verificar Falta nombre Falta dirección de correo electrónico - Dirección de correo electrónico inválida Dirección \'%1$s\' inválida: %2$s Falta cuenta Falta nombre de host diff --git a/app/src/main/res/values-fa-rIR/strings.xml b/app/src/main/res/values-fa-rIR/strings.xml index b3ddc84168..b3f93f9eb6 100644 --- a/app/src/main/res/values-fa-rIR/strings.xml +++ b/app/src/main/res/values-fa-rIR/strings.xml @@ -138,7 +138,6 @@ بررسی نام وجود ندارد ایمیل آدرس وجود ندارد - آدرس ایمیل نامعتبر است حساب وجود ندارد نام میزبان وجود ندارد نام کاربری وجود ندارد diff --git a/app/src/main/res/values-fi-rFI/strings.xml b/app/src/main/res/values-fi-rFI/strings.xml index a7ca08780a..7a777ff90e 100644 --- a/app/src/main/res/values-fi-rFI/strings.xml +++ b/app/src/main/res/values-fi-rFI/strings.xml @@ -152,6 +152,7 @@ Vaalea teema Tumma teema Musta teema + Harmaa teema Järjestelmän teema Lisäasetukset Asetukset @@ -325,7 +326,6 @@ Tarkista Nimi puuttuu Sähköpostiosoite puuttuu - Virheellinen sähköpostiosoite Osoite \'%1$s\' virheellinen: %2$s Tili puuttuu Verkko-osoite puuttuu @@ -652,6 +652,7 @@ Laajennin Hahmo Näytä lainaukset + Peruuta listan tilaus Näytä kuvat Näytä koko näytöllä Muokkaa diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml index 1a4e547733..ad3dfc40ad 100644 --- a/app/src/main/res/values-fr-rFR/strings.xml +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -152,6 +152,7 @@ Thème clair Thème sombre Thème noir + Thème gris Thème système Avancé Options @@ -325,7 +326,6 @@ Vérifier Nom manquant Adresse e-mail manquante - Adresse e-mail invalide Adresse \'%1$s\' invalide : %2$s Compte manquant Nom d\'hôte manquant diff --git a/app/src/main/res/values-hr-rHR/strings.xml b/app/src/main/res/values-hr-rHR/strings.xml index 0a47ea1de6..2f9c931fbd 100644 --- a/app/src/main/res/values-hr-rHR/strings.xml +++ b/app/src/main/res/values-hr-rHR/strings.xml @@ -335,7 +335,6 @@ Ako je potrebno, računi i identiteti (aliasi) mogu se postaviti i ručno. Provjeri Nedostaje ime Adresa e-pošte nedostaje - Adresa e-pošte nije valjana Adresa \'%1$s\' je nevažeća: %2$s Nedostaje račun Nedostaje naziv hosta diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml index 0dd242d732..6fc02427bd 100644 --- a/app/src/main/res/values-it-rIT/strings.xml +++ b/app/src/main/res/values-it-rIT/strings.xml @@ -151,6 +151,7 @@ Tema chiaro Tema scuro Tema nero + Tema grigio Tema di sistema Avanzate Opzioni @@ -324,7 +325,6 @@ Controlla Nome mancante Indirizzo email mancante - Indirizzo email non valido Indirizzo \'%1$s\' non valido: %2$s Account mancante Nome dell\'host mancante diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml index d54e37605e..d18c19e427 100644 --- a/app/src/main/res/values-nl-rNL/strings.xml +++ b/app/src/main/res/values-nl-rNL/strings.xml @@ -152,6 +152,7 @@ Licht thema Donker thema Zwart thema + Grijs thema Systeem thema Geavanceerd Opties @@ -325,7 +326,7 @@ Controleer Naam ontbreekt Email adres ontbreekt - E-mail adres ongeldig + E-mailadres ongeldig: \'%1$s\' Adres \'%1$s\' ongeldig: %2$s Account ontbreekt Hostnaam ontbreekt diff --git a/app/src/main/res/values-nn-rNO/strings.xml b/app/src/main/res/values-nn-rNO/strings.xml index d8b1fa41ba..43777e2cfb 100644 --- a/app/src/main/res/values-nn-rNO/strings.xml +++ b/app/src/main/res/values-nn-rNO/strings.xml @@ -152,6 +152,7 @@ Lyst tema Mørkt tema Svart tema + Grått tema System tema Avansert Alternativer @@ -325,7 +326,6 @@ Sjekk Navn mangler E-post adressen mangler - E-post adressen er ugyldig Adresse \'%1$s\' ugyldig: %2$s Konto mangler Vertsnavn mangler diff --git a/app/src/main/res/values-no-rNO/strings.xml b/app/src/main/res/values-no-rNO/strings.xml index d8b1fa41ba..43777e2cfb 100644 --- a/app/src/main/res/values-no-rNO/strings.xml +++ b/app/src/main/res/values-no-rNO/strings.xml @@ -152,6 +152,7 @@ Lyst tema Mørkt tema Svart tema + Grått tema System tema Avansert Alternativer @@ -325,7 +326,6 @@ Sjekk Navn mangler E-post adressen mangler - E-post adressen er ugyldig Adresse \'%1$s\' ugyldig: %2$s Konto mangler Vertsnavn mangler diff --git a/app/src/main/res/values-pl-rPL/strings.xml b/app/src/main/res/values-pl-rPL/strings.xml index a4831d799c..a7f880fd70 100644 --- a/app/src/main/res/values-pl-rPL/strings.xml +++ b/app/src/main/res/values-pl-rPL/strings.xml @@ -347,7 +347,6 @@ Sprawdź Brak nazwy Brak adresu e-mail - Błędny adres e-mail Adres \'%1$s\' nieprawidłowy: %2$s Brak konta Brak nazwy hosta diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index eea8c23e03..d248c9bc1b 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -320,7 +320,6 @@ Verificar Nome ausente Endereço de e-mail ausente - Endereço de e-mail inválido Endereço \'%1$s\' inválido: %2$s Conta ausente Nome do servidor faltante diff --git a/app/src/main/res/values-ro-rRO/strings.xml b/app/src/main/res/values-ro-rRO/strings.xml index 02fcc62329..2d91f7aead 100644 --- a/app/src/main/res/values-ro-rRO/strings.xml +++ b/app/src/main/res/values-ro-rRO/strings.xml @@ -336,7 +336,6 @@ Verificare Lipsește numele Lipsește adresa de e-mail - Adresa de e-mail nu este validă Adresa \'%1$s\' este invalidă: %2$s Lipsește contul Lipsește numele serverului diff --git a/app/src/main/res/values-ru-rRU/strings.xml b/app/src/main/res/values-ru-rRU/strings.xml index 1114fccb31..9e1f78f517 100644 --- a/app/src/main/res/values-ru-rRU/strings.xml +++ b/app/src/main/res/values-ru-rRU/strings.xml @@ -347,7 +347,6 @@ Проверить Отсутствует имя Адрес электронной почты отсутствует - Некорректный адрес электронной почты Адрес \'%1$s\' неверный: %2$s Учетная запись отсутствует Отсутствует имя хоста diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml index 5da1031893..bceaa7068e 100644 --- a/app/src/main/res/values-sv-rSE/strings.xml +++ b/app/src/main/res/values-sv-rSE/strings.xml @@ -325,7 +325,6 @@ Kontrollera Namn saknas E-postadressen saknas - Ogiltig e-postadress Adress \"%1$s\" ogiltig: %2$s Konto saknas Värdnamn saknas diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index bddfa1f785..873fbe3e83 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -315,7 +315,6 @@ Kontrol et İsim eksik E-posta adresi eksik - E-posta adresi geçersiz %1$s adresi geçersiz: %2$s Hesap bilgisi eksik Sunucu adı eksik diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index ce7de6e089..bdd34fbf04 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -140,6 +140,7 @@ 亮色主题 暗色主题 黑色主题 + 灰色主题 系统主题 高级选项 选项 @@ -313,7 +314,6 @@ 检查 缺少名称 缺少邮箱地址 - 邮件地址无效 地址 \'%1$s\' 无效: %2$s 缺少账户 缺少主机名称 @@ -640,6 +640,7 @@ 已展开 头像 显示引用内容 + 取消订阅 显示图片 全屏显示 编辑 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index bf937ef053..02acf62cd2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -384,7 +384,7 @@ Check Name missing Email address missing - Email address invalid + Email address invalid: \'%1$s\' Address \'%1$s\' invalid: %2$s Account missing Host name missing