Shahar Havivi has uploaded a new change for review. Change subject: webadmin: localize until text (#863294) ......................................................................
webadmin: localize until text (#863294) https://bugzilla.redhat.com/863294 Change-Id: I32e6acb3bb7e25d10060c136f8e3f123c9bd3cc2 Signed-off-by: Shahar Havivi <[email protected]> --- M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/CommonApplicationConstants.java M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/footer/TasksTree.java 2 files changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/52/8452/1 diff --git a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/CommonApplicationConstants.java b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/CommonApplicationConstants.java index 75625d1..87ccab0 100644 --- a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/CommonApplicationConstants.java +++ b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/CommonApplicationConstants.java @@ -518,6 +518,9 @@ @DefaultStringValue("Correlation Id") String correltaionIdEvent(); + @DefaultStringValue("Until") + String untilEndTime(); + // Snapshot @DefaultStringValue("Date") String dateSnapshot(); diff --git a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/footer/TasksTree.java b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/footer/TasksTree.java index 5410b32..0e70ff8 100644 --- a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/footer/TasksTree.java +++ b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/footer/TasksTree.java @@ -39,7 +39,7 @@ addItemToPanel(panel, new Image(getStatusImage(task.getStatus())), "25px"); //$NON-NLS-1$ addTextBoxToPanel(panel, new TextBoxLabel(), task.getDescription(), ""); //$NON-NLS-1$ addValueLabelToPanel(panel, new FullDateTimeLabel(), task.getStartTime(), "150px"); //$NON-NLS-1$ - addTextBoxToPanel(panel, new TextBoxLabel(), task.getEndTime() == null ? "" : "until", "40px"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + addTextBoxToPanel(panel, new TextBoxLabel(), task.getEndTime() == null ? "" : constants.untilEndTime(), "40px"); //$NON-NLS-1$ //$NON-NLS-2$ addValueLabelToPanel(panel, new FullDateTimeLabel(), task.getEndTime(), "150px"); //$NON-NLS-1$ TextBoxLabel corrIdTextBoxLabel = new TextBoxLabel(); corrIdTextBoxLabel.setTooltipCaption(constants.correltaionIdEvent()); -- To view, visit http://gerrit.ovirt.org/8452 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I32e6acb3bb7e25d10060c136f8e3f123c9bd3cc2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shahar Havivi <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
