Tomas Jelinek has uploaded a new change for review. Change subject: frontend: change remove templates message ......................................................................
frontend: change remove templates message When removing templates the confirmation dialog contained message: "Template(s)" Changed to: "Are you sure you want to remove the following items?" The original message left there because it has been used also on different place. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1001874 Change-Id: I1c6d0168a3be5f1aa0df7836167e4a78eddccf0e Signed-off-by: Tomas Jelinek <tjeli...@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java M frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java 2 files changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/25/18725/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java index 4ea27327..884bf4e 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java @@ -330,7 +330,7 @@ setWindow(model); model.setTitle(ConstantsManager.getInstance().getConstants().removeTemplatesTitle()); model.setHashName("remove_template"); //$NON-NLS-1$ - model.setMessage(ConstantsManager.getInstance().getConstants().templatesMsg()); + model.setMessage(ConstantsManager.getInstance().getConstants().areYouSureYouWantToDeleteTemplatesMsg()); ArrayList<String> items = new ArrayList<String>(); ArrayList<VmTemplate> templates = Linq.<VmTemplate> cast(getSelectedItems()); diff --git a/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java b/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java index 1612ebd..05cad94 100644 --- a/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java +++ b/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java @@ -724,6 +724,9 @@ @DefaultStringValue("Template(s)") String templatesMsg(); + @DefaultStringValue("Are you sure you want to remove the following items?") + String areYouSureYouWantToDeleteTemplatesMsg(); + @DefaultStringValue("There are No Data Centers to which the Storage Domain can be attached") String thereAreNoDataCenterStorageDomainAttachedMsg(); -- To view, visit http://gerrit.ovirt.org/18725 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1c6d0168a3be5f1aa0df7836167e4a78eddccf0e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches