diff --git a/framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs b/framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs index a719c62c2a..0e99a94460 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs +++ b/framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs @@ -480,7 +480,12 @@ public abstract class AbpCrudPageBase< await GetEntitiesAsync(); await InvokeAsync(CreateModal!.Hide); - await Notify.Success(L["SavedSuccessfully"]); + await Notify.Success(GetCreateMessage()); + } + + protected virtual string GetCreateMessage() + { + return UiLocalizer["CreatedSuccessfully"]; } protected virtual async Task UpdateEntityAsync() @@ -519,7 +524,12 @@ public abstract class AbpCrudPageBase< await GetEntitiesAsync(); await InvokeAsync(EditModal!.Hide); - await Notify.Success(L["SavedSuccessfully"]); + await Notify.Success(GetUpdateMessage()); + } + + protected virtual string GetUpdateMessage() + { + return UiLocalizer["SavedSuccessfully"]; } protected virtual async Task DeleteEntityAsync(TListViewModel entity) @@ -546,7 +556,12 @@ public abstract class AbpCrudPageBase< { await GetEntitiesAsync(); await InvokeAsync(StateHasChanged); - await Notify.Success(L["DeletedSuccessfully"]); + await Notify.Success(GetDeleteMessage()); + } + + protected virtual string GetDeleteMessage() + { + return UiLocalizer["DeletedSuccessfully"]; } protected virtual string GetDeleteConfirmationMessage(TListViewModel entity) diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ar.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ar.json index c5a82323a7..6a862fa016 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ar.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ar.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "حفظ...", "Actions": "الإجراءات", "Delete": "حذف", + "CreatedSuccessfully": "تم الإنشاء بنجاح", "SavedSuccessfully": "تم الحفظ بنجاح", "DeletedSuccessfully": "تم الحذف بنجاح", "Edit": "تعديل", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/cs.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/cs.json index 0ad24147ad..46de32b3e6 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/cs.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/cs.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Ukládám...", "Actions": "Akce", "Delete": "Smazat", + "CreatedSuccessfully": "Úspěšně vytvořeno", "SavedSuccessfully": "Úspěšně uloženo", "DeletedSuccessfully": "Úspěšně smazáno", "Edit": "Upravit", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de.json index 4ccf318098..3d5a4f3bf3 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Speichern...", "Actions": "Aktionen", "Delete": "Löschen", + "CreatedSuccessfully": "Erfolgreich erstellt", "SavedSuccessfully": "Erfolgreich gespeichert", "DeletedSuccessfully": "Erfolgreich gelöscht", "Edit": "Bearbeiten", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/el.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/el.json index 41516ba8ea..ede2ca211a 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/el.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/el.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Αποθηκεύεται...", "Actions": "Ενέργειες", "Delete": "Διαγραφή", + "CreatedSuccessfully": "Δημιουργήθηκε με επιτυχία", "SavedSuccessfully": "Αποθηκεύτηκε με επιτυχία", "DeletedSuccessfully": "Διαγράφηκε με επιτυχία", "Edit": "Επεξεργασία", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en-GB.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en-GB.json index 9376548bf2..44913c3b1e 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en-GB.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en-GB.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Saving", "Actions": "Actions", "Delete": "Delete", + "CreatedSuccessfully": "Created successfully", "SavedSuccessfully": "Saved successfully", "DeletedSuccessfully": "Deleted successfully", "Edit": "Edit", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json index 5bac61fe4d..5c2810f555 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Saving...", "Actions": "Actions", "Delete": "Delete", + "CreatedSuccessfully": "Created successfully", "SavedSuccessfully": "Saved successfully", "DeletedSuccessfully": "Deleted successfully", "Edit": "Edit", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/es.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/es.json index 3b1cf8620f..9d8578bc94 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/es.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/es.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Guardando...", "Actions": "Opciones", "Delete": "Borrar", + "CreatedSuccessfully": "Creado con éxito", "SavedSuccessfully": "Guardado con éxito", "DeletedSuccessfully": "Eliminado con éxito", "Edit": "Editar", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fa.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fa.json index 102e497c2a..017f97ccb2 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fa.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fa.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "ذخیره...", "Actions": "عملیات", "Delete": "حذف", + "CreatedSuccessfully": "با موفقیت ایجاد شد", "SavedSuccessfully": "با موفقیت ذخیره شد", "DeletedSuccessfully": "با موفقیت حذف شد", "Edit": "ویرایش", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json index 73a29e3e95..481ac49158 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Tallennetaan...", "Actions": "Toiminnot", "Delete": "Poista", + "CreatedSuccessfully": "Luotu onnistuneesti", "SavedSuccessfully": "Tallennettu onnistuneesti", "DeletedSuccessfully": "Poistettu onnistuneesti", "Edit": "Muokkaa", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json index 734056ac05..ecef824b2a 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Enregistrement...", "Actions": "Actions", "Delete": "Supprimer", + "CreatedSuccessfully": "Créé avec succès", "SavedSuccessfully": "Enregistré avec succès", "DeletedSuccessfully": "Supprimé avec succès", "Edit": "Modifier", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hi.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hi.json index d5305a50ac..a21b9e3443 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hi.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hi.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "सहेजा जा रहा है...", "Actions": "कार्रवाई", "Delete": "हटाएं", + "CreatedSuccessfully": "सफलतापूर्वक बनाया गया", "SavedSuccessfully": "सफलतापूर्वक सहेजा गया", "DeletedSuccessfully": "सफलतापूर्वक हटा दिया गया", "Edit": "संपादित करें", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hr.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hr.json index fab7011098..e3c7ebf295 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hr.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hr.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Spremanje...", "Actions": "Akcije", "Delete": "Izbrisati", + "CreatedSuccessfully": "Uspješno kreirano", "SavedSuccessfully": "Uspešno zabeleženo", "DeletedSuccessfully": "Uspješno izbrisano", "Edit": "Uredi", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hu.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hu.json index edf6b38b16..bf54087eba 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hu.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hu.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Mentés...", "Actions": "Műveletek", "Delete": "Törlés", + "CreatedSuccessfully": "Sikeresen létrehozva", "SavedSuccessfully": "Sikeresen mentve", "DeletedSuccessfully": "Sikeresen törölve", "Edit": "Szerkesztés", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/is.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/is.json index 635fc4d6d1..93d0d8a161 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/is.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/is.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Er að vista...", "Actions": "Aðgerðir", "Delete": "Eyða", + "CreatedSuccessfully": "Tókst að búa til", "SavedSuccessfully": "Tókst að vista", "DeletedSuccessfully": "Tókst að eyða", "Edit": "Breyta", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/it.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/it.json index bb8bb2ee31..852ce0d3e2 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/it.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/it.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Salvataggio...", "Actions": "Azioni", "Delete": "Elimina", + "CreatedSuccessfully": "Creato con successo", "SavedSuccessfully": "Salvato con successo", "DeletedSuccessfully": "Eliminato con successo", "Edit": "Modifica", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json index b074253db8..2ac54e4341 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Opslaan...", "Actions": "Acties", "Delete": "Verwijder", + "CreatedSuccessfully": "Succesvol aangemaakt", "SavedSuccessfully": "Succesvol opgeslagen", "DeletedSuccessfully": "Succesvol verwijderd", "Edit": "Bewerk", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pl-PL.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pl-PL.json index 1f5135b80a..596f816b4f 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pl-PL.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pl-PL.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Zapisywanie...", "Actions": "Akcje", "Delete": "Usuń", + "CreatedSuccessfully": "Pomyślnie utworzono", "SavedSuccessfully": "Pomyślnie zapisano", "DeletedSuccessfully": "Pomyślnie usunięto", "Edit": "Edytuj", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pt-BR.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pt-BR.json index 51a1ce8ba0..73ec4120ce 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pt-BR.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pt-BR.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Salvando...", "Actions": "Ações", "Delete": "Excluir", + "CreatedSuccessfully": "Criado com sucesso", "SavedSuccessfully": "Salvo com sucesso", "DeletedSuccessfully": "Excluído com sucesso", "Edit": "Editar", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ro-RO.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ro-RO.json index 2a2151b081..bf83b4e89a 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ro-RO.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ro-RO.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Se salvează...", "Actions": "Acţiuni", "Delete": "Şterge", + "CreatedSuccessfully": "Creat cu succes", "SavedSuccessfully": "Salvat cu succes", "DeletedSuccessfully": "Șters cu succes", "Edit": "Editează", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ru.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ru.json index f78af7c6a7..c7e6cc5439 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ru.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ru.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Сохранение...", "Actions": "Действия", "Delete": "Удалить", + "CreatedSuccessfully": "Успешно создано", "SavedSuccessfully": "Успешно сохранено", "DeletedSuccessfully": "Успешно удалено", "Edit": "Редактировать", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sk.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sk.json index c0e3c9f3bd..eb06cdf1d0 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sk.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sk.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Úkladanie...", "Actions": "Akcie", "Delete": "Odstrániť", + "CreatedSuccessfully": "Úspešne vytvorené", "SavedSuccessfully": "Úspešne uložené", "DeletedSuccessfully": "Úspešne odstránené", "Edit": "Upraviť", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sl.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sl.json index d417af7cf7..3516ba5499 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sl.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sl.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Shranjujem...", "Actions": "Dejanja", "Delete": "Izbriši", + "CreatedSuccessfully": "Uspešno ustvarjeno", "SavedSuccessfully": "Uspešno shranjeno", "DeletedSuccessfully": "Uspešno izbrisano", "Edit": "Uredi", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json index ae54b8d15e..1278ee2375 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Kaydediliyor...", "Actions": "İşlemler", "Delete": "Sil", + "CreatedSuccessfully": "Başarıyla oluşturuldu", "SavedSuccessfully": "Başarıyla kaydedildi", "DeletedSuccessfully": "Başarıyla silindi", "Edit": "Düzenle", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/vi.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/vi.json index 1204aa588b..e807f851a1 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/vi.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/vi.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "Đang lưu...", "Actions": "Hành động", "Delete": "Xóa", + "CreatedSuccessfully": "Đã tạo thành công", "SavedSuccessfully": "Đã lưu thành công", "DeletedSuccessfully": "Đã xóa thành công", "Edit": "Sửa", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json index 6d55191b06..9a2ab1091b 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "保存中...", "Actions": "操作", "Delete": "删除", + "CreatedSuccessfully": "创建成功", "SavedSuccessfully": "保存成功", "DeletedSuccessfully": "删除成功", "Edit": "编辑", diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json index 51bdc6de5f..897356e3b7 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json @@ -13,6 +13,7 @@ "SavingWithThreeDot": "保存中...", "Actions": "操作", "Delete": "刪除", + "CreatedSuccessfully": "創建成功", "SavedSuccessfully": "保存成功", "DeletedSuccessfully": "刪除成功", "Edit": "修改",