From c20125b286fa3221d1095665f428caa8366a72fe Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Wed, 4 Jul 2012 17:59:41 +0200 Subject: [PATCH] i18n: Translate options in worker edition FEA: ItEr76S04BugFixing --- .../web/resources/worker/WorkerCRUDController.java | 7 ------- .../src/main/webapp/resources/machine/_editMachine.zul | 2 +- .../src/main/webapp/resources/search/_resourceFilter.zul | 2 +- .../src/main/webapp/resources/worker/_edition.zul | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/resources/worker/WorkerCRUDController.java b/libreplan-webapp/src/main/java/org/libreplan/web/resources/worker/WorkerCRUDController.java index 1ebd4e899..b255f4177 100644 --- a/libreplan-webapp/src/main/java/org/libreplan/web/resources/worker/WorkerCRUDController.java +++ b/libreplan-webapp/src/main/java/org/libreplan/web/resources/worker/WorkerCRUDController.java @@ -850,13 +850,6 @@ public class WorkerCRUDController extends GenericForwardComposer implements LIMITING_RESOURCE(_("Queue-based resource")), NON_LIMITING_RESOURCE(_("Normal resource")); - /** - * Forces to mark the string as needing translation - */ - private static String _(String string) { - return string; - } - private String option; private LimitingResourceEnum(String option) { diff --git a/libreplan-webapp/src/main/webapp/resources/machine/_editMachine.zul b/libreplan-webapp/src/main/webapp/resources/machine/_editMachine.zul index 16228d6ee..5439c592a 100644 --- a/libreplan-webapp/src/main/webapp/resources/machine/_editMachine.zul +++ b/libreplan-webapp/src/main/webapp/resources/machine/_editMachine.zul @@ -65,7 +65,7 @@ - - -