mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
fix(account): Resolve name clearing issue and update field labels
This commit is contained in:
@@ -349,7 +349,11 @@ impl AccountV2 {
|
||||
}
|
||||
|
||||
if let Some(name) = &request.name {
|
||||
new.name = Some(name.clone());
|
||||
if name.trim().is_empty() {
|
||||
new.name = None;
|
||||
} else {
|
||||
new.name = Some(name.clone());
|
||||
}
|
||||
}
|
||||
|
||||
if matches!(old.account_type, AccountType::IMAP) {
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "لا توجد تكوينات للحساب",
|
||||
"noAccountConfigurationsDesc": "لم تقم بإضافة أي تكوينات للحساب بعد. أضف واحدة لبدء استخدام ميزات الحساب.",
|
||||
"addConfiguration": "إضافة تكوين",
|
||||
"name": "الاسم",
|
||||
"name": "اسم الدخول",
|
||||
"email": "البريد الإلكتروني",
|
||||
"status": "الحالة",
|
||||
"type": "النوع",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Ingen kontokonfigurationer",
|
||||
"noAccountConfigurationsDesc": "Du har ikke tilføjet nogen kontokonfigurationer endnu. Tilføj en for at begynde at bruge kontofunktioner.",
|
||||
"addConfiguration": "Tilføj konfiguration",
|
||||
"name": "Navn",
|
||||
"name": "Logindnavn",
|
||||
"email": "E-mail",
|
||||
"status": "Status",
|
||||
"type": "Type",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Keine Kontokonfigurationen",
|
||||
"noAccountConfigurationsDesc": "Sie haben noch keine Kontokonfigurationen hinzugefügt. Fügen Sie eine hinzu, um mit der Nutzung der Kontofunktionen zu beginnen.",
|
||||
"addConfiguration": "Konfiguration hinzufügen",
|
||||
"name": "Name",
|
||||
"name": "Anmeldename",
|
||||
"email": "E-Mail",
|
||||
"status": "Status",
|
||||
"type": "Typ",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "No Account Configurations",
|
||||
"noAccountConfigurationsDesc": "You haven't added any Account configurations yet. Add one to start using Account features.",
|
||||
"addConfiguration": "Add Configuration",
|
||||
"name": "Name",
|
||||
"name": "Login Name",
|
||||
"email": "Email",
|
||||
"status": "Status",
|
||||
"type": "Type",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Sin configuraciones de cuenta",
|
||||
"noAccountConfigurationsDesc": "Aún no has añadido ninguna configuración de cuenta. Añade una para empezar a usar las funcionalidades de la cuenta.",
|
||||
"addConfiguration": "Añadir configuración",
|
||||
"name": "Nombre",
|
||||
"name": "Nombre de usuario",
|
||||
"email": "Correo electrónico",
|
||||
"status": "Estado",
|
||||
"type": "Tipo",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Ei tilimäärityksiä",
|
||||
"noAccountConfigurationsDesc": "Et ole vielä lisännyt tilimäärityksiä. Lisää yksi aloittaaksesi tilitoimintojen käytön.",
|
||||
"addConfiguration": "Lisää määritys",
|
||||
"name": "Nimi",
|
||||
"name": "Kirjautumisnimi",
|
||||
"email": "Sähköposti",
|
||||
"status": "Tila",
|
||||
"type": "Tyyppi",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Aucune Configuration de Compte",
|
||||
"noAccountConfigurationsDesc": "Vous n'avez pas encore ajouté de Configuration de Compte. Veuillez en ajouter une pour commencer à utiliser les fonctionnalités du Compte.",
|
||||
"addConfiguration": "Ajouter Configuration",
|
||||
"name": "Nom",
|
||||
"name": "Nom de connexion",
|
||||
"email": "E-mail",
|
||||
"status": "Statut",
|
||||
"type": "Type",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Nessuna Configurazione Account",
|
||||
"noAccountConfigurationsDesc": "Non hai ancora aggiunto alcuna Configurazione Account. Aggiungine una per iniziare a usare le funzionalità Account.",
|
||||
"addConfiguration": "Aggiungi Configurazione",
|
||||
"name": "Nome",
|
||||
"name": "Nome di accesso",
|
||||
"email": "Email",
|
||||
"status": "Stato",
|
||||
"type": "Tipo",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "アカウント設定がありません",
|
||||
"noAccountConfigurationsDesc": "まだアカウント設定を追加していません。機能を利用するには設定を追加してください。",
|
||||
"addConfiguration": "設定を追加",
|
||||
"name": "名前",
|
||||
"name": "ログイン名",
|
||||
"email": "メールアドレス",
|
||||
"status": "ステータス",
|
||||
"type": "タイプ",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "계정 구성 없음",
|
||||
"noAccountConfigurationsDesc": "아직 계정 구성을 추가하지 않았습니다. 기능을 사용하려면 추가하십시오.",
|
||||
"addConfiguration": "구성 추가",
|
||||
"name": "이름",
|
||||
"name": "로그인 이름",
|
||||
"email": "이메일",
|
||||
"status": "상태",
|
||||
"type": "유형",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Geen Accountconfiguraties",
|
||||
"noAccountConfigurationsDesc": "U heeft nog geen Accountconfiguraties toegevoegd. Voeg er een toe om de Accountfuncties te gebruiken.",
|
||||
"addConfiguration": "Configuratie Toevoegen",
|
||||
"name": "Naam",
|
||||
"name": "Inlognaam",
|
||||
"email": "E-mail",
|
||||
"status": "Status",
|
||||
"type": "Type",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Ingen kontokonfigurasjoner",
|
||||
"noAccountConfigurationsDesc": "Du har ikke lagt til noen kontokonfigurasjoner ennå. Legg til en for å begynne å bruke kontofunksjoner.",
|
||||
"addConfiguration": "Legg til konfigurasjon",
|
||||
"name": "Navn",
|
||||
"name": "Påloggingsnavn",
|
||||
"email": "E-post",
|
||||
"status": "Status",
|
||||
"type": "Type",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Nenhuma Configuração de Conta",
|
||||
"noAccountConfigurationsDesc": "Você ainda não adicionou nenhuma configuração de conta. Adicione uma para utilizar a funcionalidade.",
|
||||
"addConfiguration": "Adicionar Configuração",
|
||||
"name": "Nome",
|
||||
"name": "Nome de login",
|
||||
"email": "Email",
|
||||
"status": "Status",
|
||||
"type": "Tipo",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Нет настроек учетных записей",
|
||||
"noAccountConfigurationsDesc": "Вы еще не добавили ни одной конфигурации учетной записи. Добавьте одну, чтобы начать использовать функции аккаунта.",
|
||||
"addConfiguration": "Добавить конфигурацию",
|
||||
"name": "Имя",
|
||||
"name": "Имя для входа",
|
||||
"email": "Email",
|
||||
"status": "Статус",
|
||||
"type": "Тип",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "Inga kontokonfigurationer",
|
||||
"noAccountConfigurationsDesc": "Du har inte lagt till några kontokonfigurationer ännu. Lägg till en för att börja använda kontofunktioner.",
|
||||
"addConfiguration": "Lägg till konfiguration",
|
||||
"name": "Namn",
|
||||
"name": "Inloggningsnamn",
|
||||
"email": "E-post",
|
||||
"status": "Status",
|
||||
"type": "Typ",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "沒有帳號設定",
|
||||
"noAccountConfigurationsDesc": "您尚未新增任何帳號設定。請新增設定以使用功能。",
|
||||
"addConfiguration": "新增設定",
|
||||
"name": "名稱",
|
||||
"name": "登入名稱",
|
||||
"email": "電子郵件",
|
||||
"status": "狀態",
|
||||
"type": "類型",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"noAccountConfigurations": "无账户配置",
|
||||
"noAccountConfigurationsDesc": "您尚未添加任何账户配置。添加一个以开始使用账户功能。",
|
||||
"addConfiguration": "添加配置",
|
||||
"name": "名称",
|
||||
"name": "登录名",
|
||||
"email": "邮箱",
|
||||
"status": "状态",
|
||||
"type": "类型",
|
||||
|
||||
Reference in New Issue
Block a user