Level.getLocalizedName should be preferred to Level.toString().toLowerCase().

Consider the poor Turk who is prompted to log at fıner!
This commit is contained in:
Jesse Glick committed 2013-06-10 13:09:25 -04:00
1 parent b8b1edc566
commit 2527778d3b
1 file changed
+1 -1
@@ -55,7 +55,7 @@ THE SOFTWARE.
<td>
<select name="level">
<j:forEach var="lv" items="${it.LEVELS}">
<f:option selected="${instance.level==lv}">${lv.toString().toLowerCase()}</f:option>
<f:option selected="${instance.level==lv}">${lv.localizedName}</f:option>
</j:forEach>
</select>
</td>