Class CommonTranslations
- Namespace
- Uncreated.Warfare.Translations.Collections
- Assembly
- Uncreated.Warfare.dll
public class CommonTranslations : PropertiesTranslationCollection
- Inheritance
-
CommonTranslations
- Inherited Members
Fields
CommandCooldown
[TranslationData("A command or feature is on cooldown.", new string?[] { "Time until available", "Feature or command name" })]
public readonly Translation<Cooldown, string> CommandCooldown
Field Value
ConsoleOnly
[TranslationData("A command or feature can only be used by the server console.")]
public readonly Translation ConsoleOnly
Field Value
CorrectUsage
[TranslationData("Sent when a command is not used correctly.", new string?[] { "Command usage." })]
public readonly Translation<string> CorrectUsage
Field Value
ErrorCommandCancelled
[TranslationData("An async command was cancelled mid-execution.")]
public readonly Translation ErrorCommandCancelled
Field Value
GamemodeError
[TranslationData("A command is disabled in the current gamemode type (ex, /deploy in a gamemode without FOBs).")]
public readonly Translation GamemodeError
Field Value
InvalidTime
[TranslationData("The value of a parameter was not in a valid time span format.", new string?[] { "Inputted text." })]
public readonly Translation<string> InvalidTime
Field Value
NoPermissions
[TranslationData("The caller of a command is not allowed to use the command.")]
public readonly Translation NoPermissions
Field Value
NoPermissionsSpecific
[TranslationData("The caller of a command is not allowed to use the command.")]
public readonly Translation<PermissionLeaf> NoPermissionsSpecific
Field Value
NotEnabled
[TranslationData("A command or feature is turned off in the configuration or for the current layout.")]
public readonly Translation NotEnabled
Field Value
NotImplemented
[TranslationData("A command or feature hasn't been completed or implemented.")]
public readonly Translation NotImplemented
Field Value
NotInMain
[TranslationData("Sent when a player tries to use a command that requires them to be in main.")]
public readonly Translation NotInMain
Field Value
NotOnDuty
[TranslationData("The caller of a command has permission to use the command but isn't on duty.")]
public readonly Translation NotOnDuty
Field Value
PlayerNotFound
[TranslationData("A player name or ID search turned up no results.")]
public readonly Translation PlayerNotFound
Field Value
PlayersOnly
[TranslationData("A command or feature can only be used by a player (instead of the server console).")]
public readonly Translation PlayersOnly
Field Value
PopupCancel
[TranslationData("Cancel button in the popup UI.")]
public readonly Translation PopupCancel
Field Value
PopupNo
[TranslationData("No button in the popup UI.")]
public readonly Translation PopupNo
Field Value
PopupOkay
[TranslationData("Okay button in the popup UI.")]
public readonly Translation PopupOkay
Field Value
PopupYes
[TranslationData("Yes button in the popup UI.")]
public readonly Translation PopupYes
Field Value
UnknownCommand
[TranslationData("A player ran an unknown command.")]
public readonly Translation UnknownCommand
Field Value
UnknownCommandHelp
[TranslationData("A player tried to get help with an unknown command.")]
public readonly Translation UnknownCommandHelp
Field Value
UnknownError
[TranslationData("A command didn't respond to an interaction, or a command chose to throw a vague error response to an uncommon problem.")]
public readonly Translation UnknownError
Field Value
VanillaCommandDidNotRespond
[TranslationData("A vanilla command didn't print a response.")]
public readonly Translation VanillaCommandDidNotRespond
Field Value
Properties
FileName
Name of the translation file without an extension.
protected override string FileName { get; }