Use translation - closes #578

This commit is contained in:
md_5 2013-09-09 14:58:56 +10:00
parent 9c9657e36d
commit ffdb917f2c
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ public final class UserConnection implements ProxiedPlayer
if ( getServer() != null && Objects.equals( getServer().getInfo(), target ) ) if ( getServer() != null && Objects.equals( getServer().getInfo(), target ) )
{ {
sendMessage( ChatColor.RED + "Cannot connect to server you are already on!" ); sendMessage( bungee.getTranslation( "already_connected" ) );
return; return;
} }
if ( pendingConnects.contains( target ) ) if ( pendingConnects.contains( target ) )

View File

@ -1,5 +1,5 @@
alert: \u00a78[\u00a74Alert\u00a78]\u00a7r alert: \u00a78[\u00a74Alert\u00a78]\u00a7r
already_connected: You are already connected to the server already_connected: \u00a7cYou are already connected to this server
already_connecting: \u00a7cAlready connecting to this server! already_connecting: \u00a7cAlready connecting to this server!
connect_kick: \u00a7cKicked whilst connecting to connect_kick: \u00a7cKicked whilst connecting to
current_server: \u00a76You are currently connected to current_server: \u00a76You are currently connected to