Commit 45d02e00 by Antti Tonkyra

i18nzation, fixed old merge stuff in i18n_fi

1 parent 04de6611
......@@ -3,5 +3,10 @@ package fi.insomnia.bortal.enums;
public enum ActionLogMessageState {
NEW,
PENDING,
DONE
DONE;
public String getKey(){
return "actionlog.messagestate." + name();
}
}
......@@ -74,7 +74,7 @@
<f:facet name="header">
<h:outputText value="tilanvaihdos" />
</f:facet>
<h:outputText value="#{response.stateChange}" />
<h:outputText value="#{i18n[response.stateChange.key]}" />
</h:column>
</h:dataTable>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!