localize login page

pull/1096/head
XIAO XI LIU 2016-04-07 16:46:05 +08:00 committed by Justin Richer
parent 55b54c53b3
commit 0153ff9cb8
4 changed files with 13 additions and 4 deletions

View File

@ -31,18 +31,18 @@ $(document).ready(function() {
<div>
<div class="input-prepend input-block-level">
<span class="add-on"><i class="icon-user"></i></span>
<input type="text" placeholder="Username" autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false" value="<c:out value="${ login_hint }" />" id="j_username" name="j_username">
<input type="text" placeholder="<spring:message code="login.username"/>" autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false" value="<c:out value="${ login_hint }" />" id="j_username" name="j_username">
</div>
</div>
<div>
<div class="input-prepend input-block-level">
<span class="add-on"><i class="icon-lock"></i></span>
<input type="password" placeholder="Password" autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false" id="j_password" name="j_password">
<input type="password" placeholder="<spring:message code="login.password"/>" autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false" id="j_password" name="j_password">
</div>
</div>
<div>
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
<input type="submit" class="btn" value="Login" name="submit">
<input type="submit" class="btn" value="<spring:message code="login.login-button"/>" name="submit">
</div>
</form>
</div>

View File

@ -466,6 +466,9 @@
},
"login": {
"login_with_username_and_password": "Login with Username and Password",
"username": "Username",
"password": "Password",
"login-button": "Login",
"error": "The system was unable to log you in. Please try again."
}

View File

@ -475,6 +475,9 @@
},
"login": {
"login_with_username_and_password": "请使用您的用户名及密码登录",
"username": "用户名",
"password": "密码",
"login-button": "登录",
"error": "登录失败。请重试。"
}
}

View File

@ -475,6 +475,9 @@
},
"login": {
"login_with_username_and_password": "請用您的用戶名和密碼登入",
"username": "用戶名",
"password": "密碼",
"login-button": "登入",
"error": "登入失敗,請重試。"
}
}
}