mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:05:24 +08:00
Improve theme/component delete modal warning
This commit is contained in:
parent
c093fa0376
commit
a859ddc77e
|
@ -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 => {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user