Table of Contents

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

Translation<Cooldown, string>

ConsoleOnly

[TranslationData("A command or feature can only be used by the server console.")]
public readonly Translation ConsoleOnly

Field Value

Translation

CorrectUsage

[TranslationData("Sent when a command is not used correctly.", new string?[] { "Command usage." })]
public readonly Translation<string> CorrectUsage

Field Value

Translation<string>

ErrorCommandCancelled

[TranslationData("An async command was cancelled mid-execution.")]
public readonly Translation ErrorCommandCancelled

Field Value

Translation

GamemodeError

[TranslationData("A command is disabled in the current gamemode type (ex, /deploy in a gamemode without FOBs).")]
public readonly Translation GamemodeError

Field Value

Translation

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

Translation<string>

NoPermissions

[TranslationData("The caller of a command is not allowed to use the command.")]
public readonly Translation NoPermissions

Field Value

Translation

NoPermissionsSpecific

[TranslationData("The caller of a command is not allowed to use the command.")]
public readonly Translation<PermissionLeaf> NoPermissionsSpecific

Field Value

Translation<PermissionLeaf>

NotEnabled

[TranslationData("A command or feature is turned off in the configuration or for the current layout.")]
public readonly Translation NotEnabled

Field Value

Translation

NotImplemented

[TranslationData("A command or feature hasn't been completed or implemented.")]
public readonly Translation NotImplemented

Field Value

Translation

NotInMain

[TranslationData("Sent when a player tries to use a command that requires them to be in main.")]
public readonly Translation NotInMain

Field Value

Translation

NotOnDuty

[TranslationData("The caller of a command has permission to use the command but isn't on duty.")]
public readonly Translation NotOnDuty

Field Value

Translation

PlayerNotFound

[TranslationData("A player name or ID search turned up no results.")]
public readonly Translation PlayerNotFound

Field Value

Translation

PlayersOnly

[TranslationData("A command or feature can only be used by a player (instead of the server console).")]
public readonly Translation PlayersOnly

Field Value

Translation

PopupCancel

[TranslationData("Cancel button in the popup UI.")]
public readonly Translation PopupCancel

Field Value

Translation

PopupNo

[TranslationData("No button in the popup UI.")]
public readonly Translation PopupNo

Field Value

Translation

PopupOkay

[TranslationData("Okay button in the popup UI.")]
public readonly Translation PopupOkay

Field Value

Translation

PopupYes

[TranslationData("Yes button in the popup UI.")]
public readonly Translation PopupYes

Field Value

Translation

UnknownCommand

[TranslationData("A player ran an unknown command.")]
public readonly Translation UnknownCommand

Field Value

Translation

UnknownCommandHelp

[TranslationData("A player tried to get help with an unknown command.")]
public readonly Translation UnknownCommandHelp

Field Value

Translation

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

Translation

VanillaCommandDidNotRespond

[TranslationData("A vanilla command didn't print a response.")]
public readonly Translation VanillaCommandDidNotRespond

Field Value

Translation

Properties

FileName

Name of the translation file without an extension.

protected override string FileName { get; }

Property Value

string