Add internationalization on progression value.
This commit is contained in:
parent
b34045ad34
commit
498eaa02cb
|
|
@ -6,4 +6,7 @@ navbar.my_animals = My animals
|
||||||
navbar.cares_and_behaviors = Care and Behaviors
|
navbar.cares_and_behaviors = Care and Behaviors
|
||||||
|
|
||||||
footer.license = Application under {0} license
|
footer.license = Application under {0} license
|
||||||
footer.source_code = Source code
|
footer.source_code = Source code
|
||||||
|
progression.value.NOT_TRAINED=Not trained
|
||||||
|
progression.value.CURRENTLY_TRAINING=Currently training
|
||||||
|
progression.value.TRAINED=Done
|
||||||
|
|
|
||||||
|
|
@ -7,3 +7,6 @@ navbar.cares_and_behaviors = Care and Behaviors
|
||||||
|
|
||||||
footer.source_code=Source code
|
footer.source_code=Source code
|
||||||
footer.license=Application under {0} license
|
footer.license=Application under {0} license
|
||||||
|
progression.value.NOT_TRAINED=Not trained
|
||||||
|
progression.value.CURRENTLY_TRAINING=Currently training
|
||||||
|
progression.value.TRAINED=Done
|
||||||
|
|
|
||||||
|
|
@ -7,3 +7,6 @@ navbar.cares_and_behaviors = Soins et Comportements
|
||||||
|
|
||||||
footer.source_code=Code source
|
footer.source_code=Code source
|
||||||
footer.license=Application sous licence {0}
|
footer.license=Application sous licence {0}
|
||||||
|
progression.value.NOT_TRAINED=Non entrainn\u00e9
|
||||||
|
progression.value.CURRENTLY_TRAINING=En cours
|
||||||
|
progression.value.TRAINED=Fait
|
||||||
|
|
|
||||||
|
|
@ -57,19 +57,19 @@
|
||||||
<c:if test="${progression.getProgressionByMe() == 'NOT_TRAINED'}">active</c:if>
|
<c:if test="${progression.getProgressionByMe() == 'NOT_TRAINED'}">active</c:if>
|
||||||
">
|
">
|
||||||
<a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/progression_by_me/${progression.getProgressionByMe()}">
|
<a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/progression_by_me/${progression.getProgressionByMe()}">
|
||||||
${progression.getProgressionByMe()}
|
<fmt:message key="progression.value.${progression.getProgressionByMe()}"></fmt:message>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="
|
<td class="
|
||||||
<c:if test="${progression.getProgressionBySomeoneElse() == 'TRAINED'}">success</c:if>
|
<c:if test="${progression.getProgressionBySomeoneElse() == 'TRAINED'}">success</c:if>
|
||||||
<c:if test="${progression.getProgressionBySomeoneElse() == 'CURRENTLY_TRAINING'}">info</c:if>
|
<c:if test="${progression.getProgressionBySomeoneElse() == 'CURRENTLY_TRAINING'}">info</c:if>
|
||||||
<c:if test="${progression.getProgressionBySomeoneElse() == 'NOT_TRAINED'}">active</c:if>
|
<c:if test="${progression.getProgressionBySomeoneElse() == 'NOT_TRAINED'}">active</c:if>
|
||||||
">${progression.getProgressionBySomeoneElse()}</td>
|
"><fmt:message key="progression.value.${progression.getProgressionBySomeoneElse()}"></fmt:message></td>
|
||||||
<td class="
|
<td class="
|
||||||
<c:if test="${progression.getProgressionByVeterinary() == 'TRAINED'}">success</c:if>
|
<c:if test="${progression.getProgressionByVeterinary() == 'TRAINED'}">success</c:if>
|
||||||
<c:if test="${progression.getProgressionByVeterinary() == 'CURRENTLY_TRAINING'}">info</c:if>
|
<c:if test="${progression.getProgressionByVeterinary() == 'CURRENTLY_TRAINING'}">info</c:if>
|
||||||
<c:if test="${progression.getProgressionByVeterinary() == 'NOT_TRAINED'}">active</c:if>
|
<c:if test="${progression.getProgressionByVeterinary() == 'NOT_TRAINED'}">active</c:if>
|
||||||
">${progression.getProgressionByVeterinary()}</td>
|
"><fmt:message key="progression.value.${progression.getProgressionByVeterinary()}"></fmt:message></td>
|
||||||
<td>
|
<td>
|
||||||
<!--TODO MODIFICATION-->
|
<!--TODO MODIFICATION-->
|
||||||
<form class="pull-right" action="${animalDeleteProgressionURL}/${progression.getId()}" method="POST">
|
<form class="pull-right" action="${animalDeleteProgressionURL}/${progression.getId()}" method="POST">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue