flags
This commit is contained in:
@ -37,6 +37,7 @@ public class ConfigUIHelper extends HelperBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static final String langs[] = {"de", "en", "fr", "nl", "se", "zh"};
|
private static final String langs[] = {"de", "en", "fr", "nl", "se", "zh"};
|
||||||
|
private static final String flags[] = {"de", "us", "fr", "nl", "se", "cn"};
|
||||||
private static final String xlangs[] = {_x("German"), _x("English"), _x("French"),
|
private static final String xlangs[] = {_x("German"), _x("English"), _x("French"),
|
||||||
_x("Dutch"), _x("Swedish"), _x("Chinese")};
|
_x("Dutch"), _x("Swedish"), _x("Chinese")};
|
||||||
|
|
||||||
@ -49,7 +50,9 @@ public class ConfigUIHelper extends HelperBase {
|
|||||||
buf.append("<input type=\"radio\" class=\"optbox\" name=\"lang\" ");
|
buf.append("<input type=\"radio\" class=\"optbox\" name=\"lang\" ");
|
||||||
if (langs[i].equals(current))
|
if (langs[i].equals(current))
|
||||||
buf.append("checked=\"true\" ");
|
buf.append("checked=\"true\" ");
|
||||||
buf.append("value=\"").append(langs[i]).append("\">").append(_(xlangs[i])).append("<br>\n");
|
buf.append("value=\"").append(langs[i]).append("\">")
|
||||||
|
.append("<img height=\"11\" width=\"16\" alt=\"\" src=\"/flags.jsp?c=").append(flags[i]).append("\"> ")
|
||||||
|
.append(_(xlangs[i])).append("<br>\n");
|
||||||
}
|
}
|
||||||
return buf.toString();
|
return buf.toString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user