forked from I2P_Developers/i2p.i2p
Console: Use RTL CSS for Persian
thx drzed
This commit is contained in:
@ -64,12 +64,13 @@
|
|||||||
%><link rel="icon" href="<%=theThemePath%>images/favicon.ico">
|
%><link rel="icon" href="<%=theThemePath%>images/favicon.ico">
|
||||||
<link id="pagestyle" href="<%=theThemePath%>console.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
|
<link id="pagestyle" href="<%=theThemePath%>console.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
|
||||||
<%
|
<%
|
||||||
if (intl.getLang().equals("zh")) {
|
String curlang = intl.getLang();
|
||||||
|
if (curlang.equals("zh")) {
|
||||||
// make the fonts bigger for chinese
|
// make the fonts bigger for chinese
|
||||||
%><link href="<%=theThemePath%>console_big.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
|
%><link href="<%=theThemePath%>console_big.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
|
||||||
<%
|
<%
|
||||||
} else if (intl.getLang().equals("ar")) {
|
} else if (curlang.equals("ar") || curlang.equals("fa")) {
|
||||||
// Use RTL theme for Arabic
|
// Use RTL theme for Arabic and Persian
|
||||||
%><link href="<%=theThemePath%>console_ar.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
|
%><link href="<%=theThemePath%>console_ar.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user