Skip to content

Commit

Permalink
Add title to Microsoft login screen
Browse files Browse the repository at this point in the history
  • Loading branch information
wohaopa committed Jan 27, 2024
1 parent a9fc25a commit 48d44e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void updateScreen() {
@Override
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
this.drawBackground(0);
drawCenteredString(mc.fontRenderer, title, width / 2, 17, 16777215);
drawCenteredString(
Minecraft.getMinecraft().fontRenderer,
renderText,
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/assets/oauth/lang/zh_CN.lang
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ oauth.status.online=状态: 在线
oauth.status.offline=状态: 离线

oauth.screen.title=选择账号类型
oauth.btn.login.mojang=Mojang登录
oauth.btn.login.microsoft=Microsoft登录
oauth.btn.login.mojang=Mojang 登录
oauth.btn.login.microsoft=Microsoft 登录

oauth.screen.title.mojang=OAuth登录
oauth.text.usernameoremail=用户名/邮箱
Expand All @@ -17,6 +17,6 @@ oauth.text.usernameorpassword.wrong=账号或密码错误!
oauth.btn.login=登录
oauth.btn.login.offline=离线登录

oauth.screen.title.microsoft=Microsoft登录
oauth.screen.title.microsoft=Microsoft 登录
oauth.text.loading=登录中
oauth.text.check.browser=请查看浏览器

0 comments on commit 48d44e7

Please sign in to comment.