Skip to content

Commit

Permalink
Localize Done in the OAuth prompt (GeyserMC#1851)
Browse files Browse the repository at this point in the history
Oops.
  • Loading branch information
Camotoy committed Jan 21, 2021
1 parent 2d9baf1 commit b93ce33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public static void showMicrosoftAuthenticationWindow(GeyserSession session) {
*/
public static void showMicrosoftCodeWindow(GeyserSession session, MsaAuthenticationService.MsCodeResponse response) {
ModalFormWindow msaCodeWindow = new ModalFormWindow("%xbox.signin", "%xbox.signin.website\n%xbox.signin.url\n%xbox.signin.enterCode\n" +
response.user_code, "Done", "%menu.disconnect");
response.user_code, "%gui.done", "%menu.disconnect");
session.sendForm(msaCodeWindow, LoginEncryptionUtils.AUTH_MSA_CODE_FORM_ID);
}

Expand Down

0 comments on commit b93ce33

Please sign in to comment.