Use translation - closes #578
This commit is contained in:
parent
9c9657e36d
commit
ffdb917f2c
@ -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 ) )
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user