mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-11-21 03:11:38 +08:00
Make copyright year a placeholder (#1305)
* make copyright year a placeholder * review
This commit is contained in:
parent
7e45c17b04
commit
f98c522fa6
@ -46,6 +46,7 @@ import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.StandardOpenOption;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.LocalDate;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
@ -165,7 +166,8 @@ public final class VelocityCommand {
|
||||
final Component copyright = Component
|
||||
.translatable("velocity.command.version-copyright",
|
||||
Component.text(version.getVendor()),
|
||||
Component.text(version.getName()));
|
||||
Component.text(version.getName()),
|
||||
Component.text(LocalDate.now().getYear()));
|
||||
source.sendMessage(velocity);
|
||||
source.sendMessage(copyright);
|
||||
|
||||
|
@ -48,7 +48,7 @@ velocity.command.glist-player-plural={0} players are currently connected to the
|
||||
velocity.command.glist-view-all=To view all players on servers, use /glist all.
|
||||
velocity.command.reload-success=Velocity configuration successfully reloaded.
|
||||
velocity.command.reload-failure=Unable to reload your Velocity configuration. Check the console for more details.
|
||||
velocity.command.version-copyright=Copyright 2018-2023 {0}. {1} is licensed under the terms of the GNU General Public License v3.
|
||||
velocity.command.version-copyright=Copyright 2018-{2} {0}. {1} is licensed under the terms of the GNU General Public License v3.
|
||||
velocity.command.no-plugins=There are no plugins currently installed.
|
||||
velocity.command.plugins-list=Plugins: {0}
|
||||
velocity.command.plugin-tooltip-website=Website: {0}
|
||||
|
Loading…
Reference in New Issue
Block a user