Kanagaraj M has uploaded a new change for review.

Change subject: webadmin: Fix remove bricks error message
......................................................................

webadmin: Fix remove bricks error message

Changed the hash name to not to append the default
remove message template.
Fixed the typos.

Bug-Url: https://bugzilla.redhat.com/905873
Bug-Url: https://bugzilla.redhat.com/905881
Change-Id: Ie4923746fbc9487eab47b7b1b3d995637641e777
Signed-off-by: Kanagaraj M <kmayi...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
M 
frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/82/11582/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
index c83cfd5..7919494 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
@@ -421,7 +421,7 @@
             model.setEntity(removeBrickModel.isReduceReplica());
             
model.setTitle(ConstantsManager.getInstance().getConstants().removeBricksTitle());
             model.setMessage(removeBrickModel.getValidationMessage());
-            model.setHashName("remove_bricks_invalid"); //$NON-NLS-1$
+            model.setHashName("volume_remove_bricks_invalid"); //$NON-NLS-1$
 
             UICommand command2 = new UICommand("Cancel", this); //$NON-NLS-1$
             
command2.setTitle(ConstantsManager.getInstance().getConstants().close());
diff --git 
a/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
 
b/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
index a5c59b0..763ed8c 100644
--- 
a/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
+++ 
b/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
@@ -1556,10 +1556,10 @@
     @DefaultStringValue("Cannot remove more than one brick from a Replicate 
volume at a time")
     String cannotRemoveBricksReplicateVolume();
 
-    @DefaultStringValue("Incorrect bricks selected for the removel in 
Distributed Replicate volume. Either all the bricks should be from the same sub 
volume or one brick each for every sub volume!")
+    @DefaultStringValue("Incorrect bricks selected for the removal in 
Distributed Replicate volume. Either all the selected bricks should be from the 
same sub volume or one brick each for every sub volume!")
     String cannotRemoveBricksDistributedReplicateVolume();
 
-    @DefaultStringValue("Incorrect bricks selected for the removel in 
Distributed Stripe volume. Selected bricks should be from the same sub volume!")
+    @DefaultStringValue("Incorrect bricks selected for the removal in 
Distributed Stripe volume. Selected bricks should be from the same sub volume!")
     String cannotRemoveBricksDistributedStripeVolume();
 
     @DefaultStringValue("Replica count can be increased by only one")


--
To view, visit http://gerrit.ovirt.org/11582
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4923746fbc9487eab47b7b1b3d995637641e777
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayi...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to