private String getDisplayValue(XWikiContext context, int value) {
try {
XWikiMessageTool msg = (XWikiMessageTool) context.get("msg");
String strname = getDisplayType() + "_" + value;
String result = msg.get(strname);
<BUG>if (result.equals(strname)) {
return "" + value;</BUG>
}
return result;
} catch (Exception e) {

private String getDisplayValue(XWikiContext context, int value) {
try {
XWikiMessageTool msg = (XWikiMessageTool) context.get("msg");
String strname = getDisplayType() + "_" + value;
String result = msg.get(strname);
if (result.equals(strname)) {
if (value==2)
return "---";
else
return "" + value;
}
return result;
} catch (Exception e) {
