Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Add proxy shutdown localization (#663)
Dieser Commit ist enthalten in:
Ursprung
42acf84dda
Commit
e2743ffa4e
@ -533,7 +533,7 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
|
|||||||
* @param explicitExit whether the user explicitly shut down the proxy
|
* @param explicitExit whether the user explicitly shut down the proxy
|
||||||
*/
|
*/
|
||||||
public void shutdown(boolean explicitExit) {
|
public void shutdown(boolean explicitExit) {
|
||||||
shutdown(explicitExit, Component.text("Proxy shutting down."));
|
shutdown(explicitExit, Component.translatable("velocity.kick.shutdown"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -67,3 +67,6 @@ velocity.command.dump-success=Created an anonymised report containing useful inf
|
|||||||
velocity.command.dump-will-expire=This link will expire in a few days.
|
velocity.command.dump-will-expire=This link will expire in a few days.
|
||||||
velocity.command.dump-server-error=An error occurred on the Velocity servers and the dump could not be completed. Please contact the Velocity staff about this problem and provide the details about this error from the Velocity console or server log.
|
velocity.command.dump-server-error=An error occurred on the Velocity servers and the dump could not be completed. Please contact the Velocity staff about this problem and provide the details about this error from the Velocity console or server log.
|
||||||
velocity.command.dump-offline=Likely cause: Invalid system DNS settings or no internet connection
|
velocity.command.dump-offline=Likely cause: Invalid system DNS settings or no internet connection
|
||||||
|
|
||||||
|
# Kick
|
||||||
|
velocity.kick.shutdown=Proxy shutting down.
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren