Gilad Chaplik has uploaded a new change for review.

Change subject: webadmin: missing translation in Quota ($VmName)
......................................................................

webadmin: missing translation in Quota ($VmName)

Change-Id: I4777fa20f4663e1ab47e611bbc80aec26ee84166
Bug-Url: https://bugzilla.redhat.com/871103
Signed-off-by: Gilad Chaplik <gchap...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/62/9662/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
index b2325b5..d2ff82c 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
@@ -632,6 +632,8 @@
         Quota quota = fetchQuotaFromCache(param.getQuotaGuid(), 
parameters.getStoragePool().getId());
         if (quota == null) {
             
parameters.getCanDoActionMessages().add(VdcBllMessages.ACTION_TYPE_FAILED_QUOTA_IS_NO_LONGER_AVAILABLE_IN_SYSTEM.toString());
+            parameters.getCanDoActionMessages().add(String.format("$%1$s 
%2$s", "VmName", parameters.getAuditLogable()
+                    .getVmName()));
             auditLogPair.setFirst(param.getParameterType() == 
QuotaConsumptionParameter.ParameterType.STORAGE ?
                     
AuditLogType.MISSING_QUOTA_STORAGE_PARAMETERS_PERMISSIVE_MODE:
                     
AuditLogType.MISSING_QUOTA_CLUSTER_PARAMETERS_PERMISSIVE_MODE);


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

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

Reply via email to