mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
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:
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>
|
||||
|
||||
Reference in new issue
Block a user