Improve theme/component delete modal warning

This commit is contained in:
Penar Musaraj 2019-05-10 14:14:12 -04:00
parent c093fa0376
commit a859ddc77e
2 changed files with 4 additions and 2 deletions

View File

@ -263,7 +263,9 @@ export default Ember.Controller.extend({
destroy() {
return bootbox.confirm(
I18n.t("admin.customize.delete_confirm"),
I18n.t("admin.customize.delete_confirm", {
theme_name: this.get("model.name")
}),
I18n.t("no_value"),
I18n.t("yes_value"),
result => {

View File

@ -3360,7 +3360,7 @@ en:
new_style: "New Style"
install: "Install"
delete: "Delete"
delete_confirm: "Delete this theme?"
delete_confirm: 'Are you sure you want to delete "%{theme_name}"?'
color: "Color"
opacity: "Opacity"
copy: "Copy"