Class TextKey
- Namespace
- Signal.Application.Localization
- Assembly
- Signal.Application.dll
Keys of the texts the framework sends (errors, help, prompts). Translate them under
Signal:Localization:Texts:{culture}:{key}; {0}, {1}, … are the documented arguments.
Argument type names in error messages are translated with the key Type.{English display name},
e.g. Type.whole number.
public static class TextKey
- Inheritance
-
TextKey
- Inherited Members
Fields
CommandError
A command threw. Default: Commands:ErrorMessage.
public const string CommandError = "CommandError"
Field Value
Cooldown
[Cooldown] is active. {0} = seconds left.
public const string Cooldown = "Cooldown"
Field Value
DidYouMean
Appended suggestion. {0} = suggested invocation, e.g. /help.
public const string DidYouMean = "DidYouMean"
Field Value
DisabledCommand
Command disabled in the conversation. Default: Commands:DisabledCommandMessage; empty = no reply.
public const string DisabledCommand = "DisabledCommand"
Field Value
HelpAliases
{0} = aliases.
public const string HelpAliases = "HelpAliases"
Field Value
HelpDetails
{0} = prefix.
public const string HelpDetails = "HelpDetails"
Field Value
HelpExamples
Heading of the examples of a command.
public const string HelpExamples = "HelpExamples"
Field Value
HelpGeneral
Heading of commands without group or category.
public const string HelpGeneral = "HelpGeneral"
Field Value
HelpGroupDetails
{0} = prefix, {1} = group name.
public const string HelpGroupDetails = "HelpGroupDetails"
Field Value
HelpHeader
Help list header.
public const string HelpHeader = "HelpHeader"
Field Value
HelpHeaderPaged
Paged help list header. {0} = page, {1} = pages.
public const string HelpHeaderPaged = "HelpHeaderPaged"
Field Value
HelpMore
{0} = prefix, {1} = next page.
public const string HelpMore = "HelpMore"
Field Value
HelpOnlyOnePage
Page out of range with a single page.
public const string HelpOnlyOnePage = "HelpOnlyOnePage"
Field Value
HelpOnlyPages
Page out of range. {0} = pages.
public const string HelpOnlyPages = "HelpOnlyPages"
Field Value
HelpUnknown
/help x for an unknown x. {0} = x.
public const string HelpUnknown = "HelpUnknown"
Field Value
InvalidArgument
{0} = input, {1} = type name, {2} = parameter name.
public const string InvalidArgument = "InvalidArgument"
Field Value
MissingArgument
{0} = parameter name.
public const string MissingArgument = "MissingArgument"
Field Value
MissingOption
{0} = option name.
public const string MissingOption = "MissingOption"
Field Value
OptionNeedsValue
{0} = option name.
public const string OptionNeedsValue = "OptionNeedsValue"
Field Value
PromptInvalid
A prompt answer could not be parsed. {0} = answer, {1} = type name, {2} = the question.
public const string PromptInvalid = "PromptInvalid"
Field Value
RequireAdmin
[RequireAdmin] failed.
public const string RequireAdmin = "RequireAdmin"
Field Value
RequireAnyRole
[RequireRole] with several roles failed. {0} = roles.
public const string RequireAnyRole = "RequireAnyRole"
Field Value
RequireDirectMessage
[RequireDirectMessage] failed.
public const string RequireDirectMessage = "RequireDirectMessage"
Field Value
RequireGroup
[RequireGroup] (or [RequireGroupAdmin] outside a group) failed.
public const string RequireGroup = "RequireGroup"
Field Value
RequireGroupAdmin
[RequireGroupAdmin] failed.
public const string RequireGroupAdmin = "RequireGroupAdmin"
Field Value
RequireRole
[RequireRole] with one role failed. {0} = role.
public const string RequireRole = "RequireRole"
Field Value
SubcommandRequired
{0} = group (with prefix), {1} = available subcommands, {2} = prefix, {3} = group name.
public const string SubcommandRequired = "SubcommandRequired"
Field Value
TooManyArguments
{0} = first unexpected argument.
public const string TooManyArguments = "TooManyArguments"
Field Value
TypePrefix
The prefix of type-name keys: Type.{English display name}.
public const string TypePrefix = "Type."
Field Value
UnknownCommand
Unknown command. {0} = typed name, {1} = prefix. Default: Commands:UnknownCommandMessage.
public const string UnknownCommand = "UnknownCommand"
Field Value
UnknownOption
{0} = option name.
public const string UnknownOption = "UnknownOption"
Field Value
UnknownSubcommand
{0} = subcommand, {1} = group (with prefix), {2} = available subcommands.
public const string UnknownSubcommand = "UnknownSubcommand"
Field Value
UnresolvedMention
{0} = parameter name.
public const string UnresolvedMention = "UnresolvedMention"
Field Value
Usage
Line after a binding error. {0} = usage line.
public const string Usage = "Usage"