-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ryan Wang <i@ryanc.cc>
- Loading branch information
Showing
20 changed files
with
111 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
application/src/main/resources/templates/challenges/two-factor/totp_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
title=Two-Factor Authentication | ||
messages.invalidError=Invalid TOTP code | ||
form.code.label=TOTP Code | ||
form.submit=Verify |
4 changes: 4 additions & 0 deletions
4
application/src/main/resources/templates/challenges/two-factor/totp_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
title=两步验证 | ||
messages.invalidError=错误的验证码 | ||
form.code.label=验证码 | ||
form.submit=验证 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
application/src/main/resources/templates/gateway_modules/common_fragments_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
socialLogin.label=Social Login |
1 change: 1 addition & 0 deletions
1
application/src/main/resources/templates/gateway_modules/common_fragments_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
socialLogin.label=社交登录 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 10 additions & 9 deletions
19
application/src/main/resources/templates/gateway_modules/login_fragments_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
login.error=Invalid credentials. | ||
logout.success=Logout successfully. | ||
signup.success=Congratulations! Signup successfully, please sign in now. | ||
rememberMe=Remember me | ||
login.button=Sign in | ||
returnToSite=Return to site | ||
noAccount=Don't have an account? | ||
signup=Sign up | ||
retrievePassword=Retrieve password | ||
messages.loginError=Invalid credentials. | ||
messages.logoutSuccess=Logout successfully. | ||
messages.signupSuccess=Congratulations! Sign up successfully, please sign in now. | ||
|
||
form.rememberMe.label=Remember me | ||
form.submit=Login | ||
otherLogin.label=Other Login | ||
signup.description=Don't have an account? | ||
signup.link=Sign up | ||
returnToSite=Return to site |
19 changes: 10 additions & 9 deletions
19
application/src/main/resources/templates/gateway_modules/login_fragments_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
login.error=无效的凭证。 | ||
logout.success=登出成功。 | ||
signup.success=恭喜!注册成功,请立即登录。 | ||
rememberMe=保持登录会话 | ||
login.button=登录 | ||
returnToSite=返回网站 | ||
noAccount=没有账号? | ||
signup=立即注册 | ||
retrievePassword=忘记密码? | ||
messages.loginError=无效的凭证。 | ||
messages.logoutSuccess=登出成功。 | ||
messages.signupSuccess=恭喜!注册成功,请立即登录。 | ||
|
||
form.rememberMe.label=保持登录会话 | ||
form.submit=登录 | ||
otherLogin.label=其他登录方式 | ||
signup.description=没有账号? | ||
signup.link=立即注册 | ||
returnToSite=返回网站 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
title=Please Sign In | ||
otherLoginMethods=Other Login Methods | ||
socialLogin=Social logins | ||
miscellaneous=Miscellaneous | ||
title=Login |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
application/src/main/resources/templates/login_local_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
form.username.label=Username | ||
form.password.label=Password | ||
form.password.forgot=Fotgot your password? |
3 changes: 3 additions & 0 deletions
3
application/src/main/resources/templates/login_local_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
form.username.label=用户名 | ||
form.password.label=密码 | ||
form.password.forgot=忘记密码? |
5 changes: 1 addition & 4 deletions
5
application/src/main/resources/templates/login_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
title=登录 | ||
otherLoginMethods=其他登录方式 | ||
socialLogin=社交登录 | ||
miscellaneous=杂项 | ||
title=登录 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html | ||
xmlns:th="https://www.thymeleaf.org" | ||
th:replace="~{gateway_modules/layout:: layout(title = |退出登录 - ${site.title}|, head = null, body = ~{::body})}" | ||
th:replace="~{gateway_modules/layout:: layout(title = |#{title} - ${site.title}|, head = null, body = ~{::body})}" | ||
> | ||
<th:block th:fragment="body"> | ||
<div class="gateway-page-wrapper"> | ||
<div class="halo-form-wrapper"> | ||
<h1 class="form-title">Are you sure want to log out?</h1> | ||
<h1 class="form-title" th:text="#{form.title}"></h1> | ||
<form class="halo-form" id="logout-form" name="logout-form" th:action="@{/logout}" method="post"> | ||
<div class="form-item"> | ||
<button type="submit">Log out</button> | ||
<button type="submit" th:text="#{form.submit}"></button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</th:block> | ||
</html> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
application/src/main/resources/templates/logout_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title=Logout | ||
form.title=Are you sure want to log out? | ||
form.submit=Logout |
3 changes: 3 additions & 0 deletions
3
application/src/main/resources/templates/logout_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title=退出登录 | ||
form.title=确定要退出登录吗? | ||
form.submit=退出登录 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
application/src/main/resources/templates/signup_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title=Sign up | ||
form.username.label=Username | ||
form.displayName.label=Display name | ||
form.email.label=Email | ||
form.emailCaptcha.label=Email Captcha | ||
form.emailCaptcha.sendButton=Send | ||
form.password.label=Password | ||
form.confirmPassword.label=Confirm password | ||
form.submit=Sign up |
9 changes: 9 additions & 0 deletions
9
application/src/main/resources/templates/signup_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title=注册 | ||
form.username.label=用户名 | ||
form.displayName.label=名称 | ||
form.email.label=电子邮箱 | ||
form.emailCaptcha.label=邮箱验证码 | ||
form.emailCaptcha.sendButton=发送 | ||
form.password.label=密码 | ||
form.confirmPassword.label=确认密码 | ||
form.submit=注册 |