Add translation + fix spelling for mojang servers down

This commit is contained in:
md_5 2013-06-11 10:29:19 +10:00
parent f0d4e8c24a
commit 3c1a5aabfd
2 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
@Override @Override
public void onThrowable(Throwable t) public void onThrowable(Throwable t)
{ {
disconnect( "Error occured while contacting login servers, are they down?" ); disconnect( bungee.getTranslation( "mojang_fail" ) );
bungee.getLogger().log( Level.SEVERE, "Error authenticating " + getName() + " with minecraft.net", t ); bungee.getLogger().log( Level.SEVERE, "Error authenticating " + getName() + " with minecraft.net", t );
} }
} ); } );

View File

@ -5,6 +5,7 @@ current_server: \u00a76You are currently connected to
fallback_kick: \u00a7cCould not connect to default server, please try again later: fallback_kick: \u00a7cCould not connect to default server, please try again later:
fallback_lobby: \u00a7cCould not connect to target server, you have been moved to the lobby server fallback_lobby: \u00a7cCould not connect to target server, you have been moved to the lobby server
lost_connection: [Proxy] Lost connection to server. lost_connection: [Proxy] Lost connection to server.
mojang_fail: Error occurred while contacting login servers, are they down?
no_permission: \u00a7cYou do not have permission to execute this command! no_permission: \u00a7cYou do not have permission to execute this command!
no_server: \u00a7cThe specified server does not exist no_server: \u00a7cThe specified server does not exist
no_server_permission: \u00a7cYou don't have permission to access this server no_server_permission: \u00a7cYou don't have permission to access this server