diff --git a/MinecraftClient/Protocol/ProtocolHandler.cs b/MinecraftClient/Protocol/ProtocolHandler.cs index e95ca732..84b0880c 100644 --- a/MinecraftClient/Protocol/ProtocolHandler.cs +++ b/MinecraftClient/Protocol/ProtocolHandler.cs @@ -571,20 +571,20 @@ namespace MinecraftClient.Protocol } else { - string availablePlayers = ""; + string availableProfiles = ""; foreach (Json.JSONData profile in loginResponse.Properties["availableProfiles"].DataArray) { - availablePlayers += " " + profile.Properties["name"].StringValue; + availableProfiles += " " + profile.Properties["name"].StringValue; } - ConsoleIO.WriteLine(Translations.mcc_avaliable_players + availablePlayers); + ConsoleIO.WriteLine(Translations.mcc_avaliable_profiles + availableProfiles); - ConsoleIO.WriteLine(Translations.mcc_select_player); - string selectedPlayer = ConsoleIO.ReadLine(); - ConsoleIO.WriteLine(Translations.mcc_selected_player + selectedPlayer); + ConsoleIO.WriteLine(Translations.mcc_select_profile); + string selectedProfileName = ConsoleIO.ReadLine(); + ConsoleIO.WriteLine(Translations.mcc_selected_profile + " " + selectedProfileName); Json.JSONData? selectedProfile = null; foreach (Json.JSONData profile in loginResponse.Properties["availableProfiles"].DataArray) { - selectedProfile = profile.Properties["name"].StringValue == selectedPlayer ? profile : selectedProfile; + selectedProfile = profile.Properties["name"].StringValue == selectedProfileName ? profile : selectedProfile; } if (selectedProfile != null) diff --git a/MinecraftClient/Resources/Translations/Translations.Designer.cs b/MinecraftClient/Resources/Translations/Translations.Designer.cs index 693e44df..f545aa9b 100644 --- a/MinecraftClient/Resources/Translations/Translations.Designer.cs +++ b/MinecraftClient/Resources/Translations/Translations.Designer.cs @@ -5374,11 +5374,11 @@ namespace MinecraftClient { } /// - /// Looks up a localized string similar to Avaliable players:. + /// Looks up a localized string similar to Avaliable profiles:. /// - internal static string mcc_avaliable_players { + internal static string mcc_avaliable_profiles { get { - return ResourceManager.GetString("mcc.avaliable_players", resourceCulture); + return ResourceManager.GetString("mcc.avaliable_profiles", resourceCulture); } } @@ -5756,20 +5756,20 @@ namespace MinecraftClient { } /// - /// Looks up a localized string similar to Select a player from available players:. + /// Looks up a localized string similar to Select a profile from available profiles:. /// - internal static string mcc_select_player { + internal static string mcc_select_profile { get { - return ResourceManager.GetString("mcc.select_player", resourceCulture); + return ResourceManager.GetString("mcc.select_profile", resourceCulture); } } /// - /// Looks up a localized string similar to Selected player:. + /// Looks up a localized string similar to Selected profile:. /// - internal static string mcc_selected_player { + internal static string mcc_selected_profile { get { - return ResourceManager.GetString("mcc.selected_player", resourceCulture); + return ResourceManager.GetString("mcc.selected_profile", resourceCulture); } } diff --git a/MinecraftClient/Resources/Translations/Translations.resx b/MinecraftClient/Resources/Translations/Translations.resx index c2a82ea2..abc5c08b 100644 --- a/MinecraftClient/Resources/Translations/Translations.resx +++ b/MinecraftClient/Resources/Translations/Translations.resx @@ -2121,13 +2121,13 @@ Logging in... Shift right-clicking slot {0} in window #{1} - - Avaliable players: + + Avaliable profiles: - - Selected player: + + Selected profile: - - Select a player from available players: + + Select a profile from available profiles: \ No newline at end of file