13
0
geforkt von Mirrors/Velocity

Add proxy shutdown localization (#663)

Dieser Commit ist enthalten in:
virustotalop 2022-03-19 15:54:24 -07:00 committet von GitHub
Ursprung 42acf84dda
Commit e2743ffa4e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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

Datei anzeigen

@ -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.