Build AsminVoicechat / prepare-release (push) Successful in 14s
Build AsminVoicechat / build-and-test (17) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (18) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (19) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (20) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (21) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (22) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (23) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (24) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (25) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (26) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (27-ea) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (16) (push) Canceled after 38s
32 lines
2.9 KiB
Java
32 lines
2.9 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package de.maxhenkel.voicechat.config;
|
|
|
|
import de.maxhenkel.voicechat.configbuilder.ConfigBuilder;
|
|
import de.maxhenkel.voicechat.configbuilder.entry.ConfigEntry;
|
|
|
|
public class Translations {
|
|
public final ConfigEntry<String> forceVoicechatKickMessage;
|
|
public final ConfigEntry<String> rateLimitKickMessage;
|
|
public final ConfigEntry<String> voicechatNotCompatibleMessage;
|
|
public final ConfigEntry<String> voicechatNeededForCommandMessage;
|
|
public final ConfigEntry<String> playerCommandMessage;
|
|
public final ConfigEntry<String> placeholderVoicechatInstalled;
|
|
public final ConfigEntry<String> placeholderVoicechatNotInstalled;
|
|
public final ConfigEntry<String> placeholderVoicechatDisabled;
|
|
|
|
public Translations(ConfigBuilder builder) {
|
|
builder.header("Simple Voice Chat translations", "This file contains all server-side translations for the Simple Voice Chat plugin");
|
|
this.forceVoicechatKickMessage = builder.stringEntry("force_voicechat_kick_message", "You need %s %s to play on this server", "The message a player gets when kicked for not having voice chat installed and the server has force_voicechat enabled", "The first parameter is the mod/plugin name and the second parameter is the mod/plugin version");
|
|
this.rateLimitKickMessage = builder.stringEntry("rate_limit_kick_message", "Kicked for exceeding packet rate limit", "The message a player gets when kicked for sending too many voice chat packets");
|
|
this.voicechatNotCompatibleMessage = builder.stringEntry("voicechat_not_compatible_message", "Your voice chat client version is not compatible with the server-side version.\\nPlease install version %s of %s.", "The message a player gets when joining a server with an incompatible voice chat version", "The first parameter is the mod/plugin version and the second parameter is the mod/plugin name");
|
|
this.voicechatNeededForCommandMessage = builder.stringEntry("voicechat_needed_for_command_message", "You need to have %s installed on your client to use this command", "The message a player gets when trying to execute a command that requires the voice chat mod installed on the client side.", "The first parameter is the mod/plugin name");
|
|
this.playerCommandMessage = builder.stringEntry("player_command_message", "This command can only be executed as a player", "The message a player gets when trying to execute a command that can only be executed as a player");
|
|
this.placeholderVoicechatInstalled = builder.stringEntry("placeholder_api_voicechat_installed", "", "The Placeholder API string for '%voicechat_installed%'");
|
|
this.placeholderVoicechatNotInstalled = builder.stringEntry("placeholder_api_voicechat_not_installed", "", "The Placeholder API string for '%voicechat_not_installed%'");
|
|
this.placeholderVoicechatDisabled = builder.stringEntry("placeholder_api_voicechat_disabled", "", "The Placeholder API string for '%voicechat_disabled%'");
|
|
}
|
|
}
|
|
|