i18n: Translate options in worker edition
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
4fc9e2d118
commit
c20125b286
4 changed files with 3 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
</row>
|
||||
<row>
|
||||
<hbox>
|
||||
<label value="${i18n:_('Queue-based resource')}" />
|
||||
<label value="${i18n:_('Type')}" />
|
||||
<image height="15px" src="/common/img/axuda.gif" tooltip="limiting-resources-popup" />
|
||||
</hbox>
|
||||
<listbox mold="select" width="200px"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
<datebox id="filterFinishDate" constraint = "@{controller.checkConstraintFinishDate}"/>
|
||||
|
||||
<!-- Limiting resource -->
|
||||
<label value="${i18n:_('Queue-based resource')}"/>
|
||||
<label value="${i18n:_('Type')}"/>
|
||||
<listbox id="filterLimitingResource" mold="select" />
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
<textbox value="@{controller.worker.nif}" constraint="no empty"/>
|
||||
</row>
|
||||
<row visible="@{controller.isRealWorker}">
|
||||
<hbox><label value="${i18n:_('Queue-based resource')}" /><image height="15px" src="/common/img/axuda.gif" tooltip="limiting-resources-popup" />
|
||||
<hbox><label value="${i18n:_('Type')}" /><image height="15px" src="/common/img/axuda.gif" tooltip="limiting-resources-popup" />
|
||||
</hbox>
|
||||
<listbox mold="select" width="200px"
|
||||
model="@{controller.limitingResourceOptionList}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue