feat: microsoft account migration link.

This commit is contained in:
huanghongxun 2021-09-12 00:04:52 +08:00
parent 1b3e4e5bd6
commit 97f08bf74e
4 changed files with 21 additions and 0 deletions

View File

@ -413,6 +413,18 @@ public class CreateAccountPane extends JFXDialogLayout implements DialogAware {
rowIndex++;
}
if (factory instanceof YggdrasilAccountFactory) {
HBox box = new HBox();
Hyperlink migrationLink = new Hyperlink(i18n("account.methods.yggdrasil.migration"));
migrationLink.setOnAction(e -> FXUtils.openLink("https://help.minecraft.net/hc/en-us/articles/360050865492-JAVA-Account-Migration-FAQ"));
GridPane.setColumnSpan(box, 2);
box.getChildren().setAll(migrationLink);
add(box, 0, rowIndex);
rowIndex++;
}
if (factory instanceof OfflineAccountFactory) {
HBox box = new HBox();
MenuUpDownButton advancedButton = new MenuUpDownButton();

View File

@ -93,6 +93,7 @@ account.methods.offline.uuid=UUID
account.methods.offline.uuid.hint=UUID is the unique identifier to the game character in Minecraft. The way that UUID is generated varies from different game launchers. Changing UUID to the one generated by other launcher would promise that game blocks/items in the backpack of your offline account remain. This option is for expert. Unless you know what you are doing, we do not suggest you to change this option.
account.methods.offline.uuid.malformed=Malformed
account.methods.yggdrasil=Mojang
account.methods.yggdrasil.migration=How to migrate to Microsoft Account?
account.missing=No Account
account.missing.add=Click here to add
account.not_logged_in=Not logged in
@ -582,6 +583,8 @@ repositories.chooser.title=Do you want to download JavaFX?
resourcepack=Resource Pack
search=Search
search.hint.chinese=Support search in Chinese and English
search.hint.english=Support search only in English
search.sort=Sort
selector.choose=Choose

View File

@ -98,6 +98,7 @@ account.methods.offline.uuid=UUID
account.methods.offline.uuid.hint=UUID 是 Minecraft 對玩家角色的唯一標識符,每個啟動器生成 UUID 的方式可能不同。通過修改 UUID 選項至原啟動器所生成的 UUID你可以保證在切換啟動器後遊戲還能將你的遊戲角色識別為給定 UUID 所對應的角色從而保留原來角色的背包物品。UUID 選項為高級選項,除非你知道你在做什麼,否則你不需要調整該選項。
account.methods.offline.uuid.malformed=格式錯誤
account.methods.yggdrasil=正版登入
account.methods.yggdrasil.migration=如何遷移至微軟帳戶?
account.missing=沒有遊戲帳戶
account.missing.add=按一下此處加入帳戶
account.not_logged_in=未登入
@ -589,6 +590,8 @@ repositories.chooser.title=是否下載 JavaFX
resourcepack=資源包
search=搜索
search.hint.chinese=支持中英文搜尋
search.hint.english=僅支持英文搜尋
search.sort=排序
selector.choose=選擇

View File

@ -93,6 +93,7 @@ account.methods.offline.uuid=UUID
account.methods.offline.uuid.hint=UUID 是 Minecraft 对玩家角色的唯一标识符,每个启动器生成 UUID 的方式可能不同。通过修改 UUID 选项至原启动器所生成的 UUID你可以保证在切换启动器后游戏还能将你的游戏角色识别为给定 UUID 所对应的角色从而保留原来角色的背包物品。UUID 选项为高级选项,除非你知道你在做什么,否则你不需要调整该选项。
account.methods.offline.uuid.malformed=格式错误
account.methods.yggdrasil=Mojang 帐户
account.methods.yggdrasil.migration=如何迁移至微软帐户?
account.missing=没有游戏帐户
account.missing.add=点击此处添加帐户
account.not_logged_in=未登录
@ -585,6 +586,8 @@ repositories.chooser.title=是否下载 JavaFX
resourcepack=资源包
search=搜索
search.hint.chinese=支持中英文搜索
search.hint.english=仅支持英文搜索
search.sort=排序
selector.choose=选择