Skip to main content

ArlecchinoStrings class

Namespace: Arlecchino.Hosting · Assembly: Arlecchino

Every piece of text the framework itself draws, as delegates with English defaults. They are called on the frames that need them, so pointing them elsewhere switches language with nothing to rebuild.

public sealed class ArlecchinoStrings

Constructors

MemberSummary
ArlecchinoStrings()

Properties

MemberSummary
ColorHueLabel of the hue channel.
ColorLightnessLabel of the lightness channel.
ColorSaturationLabel of the saturation channel.
CommandPaletteTitleTitle of the command palette.
CommandUnknownShown when a key pressed in the palette belongs to no command.
EmptyStands in for a value that has not been set, in forms and fields.
FilePickerText of the file picker, which has enough of its own to be grouped separately.
FilterWhat the filter line above a list is called. What has been typed is drawn after it by the list itself, since it carries a caret and a selection of its own.
FormEditHint for opening the field under the cursor.
FormMoveHint for moving between form fields.
FormResetHint for clearing the field under the cursor.
HelpCloseLine under the title, saying how to leave.
HelpCommandsSectionHeading over the application's own commands.
HelpFrameworkSectionHeading over the keys the framework itself answers to.
HelpKeysWhat each key the framework answers to does, in the order the screen lists them.
HelpNoCommandsShown in place of the command list when the application registered none.
HelpScreenSectionHeading over the commands of the screen the help was opened from, given its route.
HelpTitleTitle of the screen listing every key.
HintCommandsWhat the hints box calls the command palette. The framework adds the line itself, beside the key that opens it, whenever there is at least one command to show.
KeysTitleTitle of the hints box.
ListPositionWhere the cursor is in a list that does not fit on screen. The position is one-based, since it is read by a person rather than an index.
LogEmptyShown in the log overlay while nothing has been logged.
LogHintsThe key line under the log overlay.
LogTitleTitle of the log overlay, with how many lines are held.
LogWithoutProvidersShown in the log overlay instead, when the host has no logging provider at all. The overlay shows what a provider writes to the console, so without one there is nothing for it to ever show.
ModalChoiceHintsFooter of a single-choice list.
ModalColorHintsFooter of the color picker.
ModalCommandHintsFooter of the command palette.
ModalDateHintsFooter of a date field.
ModalMessageHintsThe key line under a dialog that only has something to say.
ModalMultiChoiceHintsFooter of a multi-choice list.
ModalNotificationHintsThe key line under an opened notification that has something to do about it.
ModalNumberHintsFooter of a number field.
ModalSliderHintsFooter of a slider.
ModalTextAreaHintsThe key line under the multi-line text dialog.
ModalTextHintsFooter of a text field.
ModalTimeHintsFooter of a time field.
ModalToggleHintsFooter of a yes/no dialog.
NoThe negative chip of a yes/no dialog.
NotANumberShown when a number field holds something that will not parse.
NotAUrlShown when a link field holds something that is not an http address.
NotAnEmailShown when an email field holds something that is not an address.
NothingMatchesShown in place of a list when the filter matches nothing.
NotificationsClearHint for throwing the list away.
NotificationsCloseHint for leaving the screen.
NotificationsCountLine under that title, saying how many are held.
NotificationsEmptyShown when nothing has been said lately.
NotificationsOpenHint for reading one notification in full.
NotificationsTitleTitle of the notifications screen.
OutOfRangeShown when a number is outside its bounds. The values arrive already formatted, affixes included.
SelectedCountHow many options are marked, shown in the title of a multi-choice list.
TerminalMinimumIntroduces the required size in that notice.
TerminalSizeFormats a window size, used for both the current and the required one.
TerminalTooSmallHeadline of the notice that replaces the view in a too-small window.
ViewFailedShown on the output line when a view or a callback throws. The application keeps running, so this is what the user sees instead of a crash.
YesThe affirmative chip of a yes/no dialog.

Constructors in detail

ArlecchinoStrings()

public ArlecchinoStrings();

Properties in detail

ColorHue

public Func<string> ColorHue { get; set; }

Label of the hue channel.

Type Func<TResult><string>

ColorLightness

public Func<string> ColorLightness { get; set; }

Label of the lightness channel.

Type Func<TResult><string>

ColorSaturation

public Func<string> ColorSaturation { get; set; }

Label of the saturation channel.

Type Func<TResult><string>

CommandPaletteTitle

public Func<string> CommandPaletteTitle { get; set; }

Title of the command palette.

Type Func<TResult><string>

CommandUnknown

public Func<string, string> CommandUnknown { get; set; }

Shown when a key pressed in the palette belongs to no command.

Type Func<T, TResult><string, string>

Empty

public Func<string> Empty { get; set; }

Stands in for a value that has not been set, in forms and fields.

Type Func<TResult><string>

FilePicker

public ArlecchinoStrings+FilePickerStrings FilePicker { get; set; }

Text of the file picker, which has enough of its own to be grouped separately.

Type FilePickerStrings

Filter

public Func<string> Filter { get; set; }

What the filter line above a list is called. What has been typed is drawn after it by the list itself, since it carries a caret and a selection of its own.

Type Func<TResult><string>

FormEdit

public Func<string> FormEdit { get; set; }

Hint for opening the field under the cursor.

Type Func<TResult><string>

FormMove

public Func<string> FormMove { get; set; }

Hint for moving between form fields.

Type Func<TResult><string>

FormReset

public Func<string> FormReset { get; set; }

Hint for clearing the field under the cursor.

Type Func<TResult><string>

HelpClose

public Func<string> HelpClose { get; set; }

Line under the title, saying how to leave.

Type Func<TResult><string>

HelpCommandsSection

public Func<string> HelpCommandsSection { get; set; }

Heading over the application's own commands.

Type Func<TResult><string>

HelpFrameworkSection

public Func<string> HelpFrameworkSection { get; set; }

Heading over the keys the framework itself answers to.

Type Func<TResult><string>

HelpKeys

public Func<ArlecchinoKeymap, IReadOnlyList<ValueTuple<KeyBinding, string>>> HelpKeys { get; set; }

What each key the framework answers to does, in the order the screen lists them.

Type Func<T, TResult><ArlecchinoKeymap, IReadOnlyList<T><ValueTuple<T1, T2><KeyBinding, string>>>

HelpNoCommands

public Func<string> HelpNoCommands { get; set; }

Shown in place of the command list when the application registered none.

Type Func<TResult><string>

HelpScreenSection

public Func<string, string> HelpScreenSection { get; set; }

Heading over the commands of the screen the help was opened from, given its route.

Type Func<T, TResult><string, string>

HelpTitle

public Func<string> HelpTitle { get; set; }

Title of the screen listing every key.

Type Func<TResult><string>

HintCommands

public Func<string> HintCommands { get; set; }

What the hints box calls the command palette. The framework adds the line itself, beside the key that opens it, whenever there is at least one command to show.

Type Func<TResult><string>

KeysTitle

public Func<string> KeysTitle { get; set; }

Title of the hints box.

Type Func<TResult><string>

ListPosition

public Func<int, int, string> ListPosition { get; set; }

Where the cursor is in a list that does not fit on screen. The position is one-based, since it is read by a person rather than an index.

Type Func<T1, T2, TResult><int, int, string>

LogEmpty

public Func<string> LogEmpty { get; set; }

Shown in the log overlay while nothing has been logged.

Type Func<TResult><string>

LogHints

public Func<string> LogHints { get; set; }

The key line under the log overlay.

Type Func<TResult><string>

LogTitle

public Func<int, string> LogTitle { get; set; }

Title of the log overlay, with how many lines are held.

Type Func<T, TResult><int, string>

LogWithoutProviders

public Func<string> LogWithoutProviders { get; set; }

Shown in the log overlay instead, when the host has no logging provider at all. The overlay shows what a provider writes to the console, so without one there is nothing for it to ever show.

Type Func<TResult><string>

ModalChoiceHints

public Func<string> ModalChoiceHints { get; set; }

Footer of a single-choice list.

Type Func<TResult><string>

ModalColorHints

public Func<string> ModalColorHints { get; set; }

Footer of the color picker.

Type Func<TResult><string>

ModalCommandHints

public Func<string> ModalCommandHints { get; set; }

Footer of the command palette.

Type Func<TResult><string>

ModalDateHints

public Func<string> ModalDateHints { get; set; }

Footer of a date field.

Type Func<TResult><string>

ModalMessageHints

public Func<string> ModalMessageHints { get; set; }

The key line under a dialog that only has something to say.

Type Func<TResult><string>

ModalMultiChoiceHints

public Func<string> ModalMultiChoiceHints { get; set; }

Footer of a multi-choice list.

Type Func<TResult><string>

ModalNotificationHints

public Func<string> ModalNotificationHints { get; set; }

The key line under an opened notification that has something to do about it.

Type Func<TResult><string>

ModalNumberHints

public Func<string> ModalNumberHints { get; set; }

Footer of a number field.

Type Func<TResult><string>

ModalSliderHints

public Func<string> ModalSliderHints { get; set; }

Footer of a slider.

Type Func<TResult><string>

ModalTextAreaHints

public Func<string> ModalTextAreaHints { get; set; }

The key line under the multi-line text dialog.

Type Func<TResult><string>

ModalTextHints

public Func<string> ModalTextHints { get; set; }

Footer of a text field.

Type Func<TResult><string>

ModalTimeHints

public Func<string> ModalTimeHints { get; set; }

Footer of a time field.

Type Func<TResult><string>

ModalToggleHints

public Func<string> ModalToggleHints { get; set; }

Footer of a yes/no dialog.

Type Func<TResult><string>

No

public Func<string> No { get; set; }

The negative chip of a yes/no dialog.

Type Func<TResult><string>

NotANumber

public Func<string> NotANumber { get; set; }

Shown when a number field holds something that will not parse.

Type Func<TResult><string>

NotAUrl

public Func<string> NotAUrl { get; set; }

Shown when a link field holds something that is not an http address.

Type Func<TResult><string>

NotAnEmail

public Func<string> NotAnEmail { get; set; }

Shown when an email field holds something that is not an address.

Type Func<TResult><string>

NothingMatches

public Func<string> NothingMatches { get; set; }

Shown in place of a list when the filter matches nothing.

Type Func<TResult><string>

NotificationsClear

public Func<string> NotificationsClear { get; set; }

Hint for throwing the list away.

Type Func<TResult><string>

NotificationsClose

public Func<string> NotificationsClose { get; set; }

Hint for leaving the screen.

Type Func<TResult><string>

NotificationsCount

public Func<int, string> NotificationsCount { get; set; }

Line under that title, saying how many are held.

Type Func<T, TResult><int, string>

NotificationsEmpty

public Func<string> NotificationsEmpty { get; set; }

Shown when nothing has been said lately.

Type Func<TResult><string>

NotificationsOpen

public Func<string> NotificationsOpen { get; set; }

Hint for reading one notification in full.

Type Func<TResult><string>

NotificationsTitle

public Func<string> NotificationsTitle { get; set; }

Title of the notifications screen.

Type Func<TResult><string>

OutOfRange

public Func<string, string, string> OutOfRange { get; set; }

Shown when a number is outside its bounds. The values arrive already formatted, affixes included.

Type Func<T1, T2, TResult><string, string, string>

SelectedCount

public Func<int, string> SelectedCount { get; set; }

How many options are marked, shown in the title of a multi-choice list.

Type Func<T, TResult><int, string>

TerminalMinimum

public Func<string> TerminalMinimum { get; set; }

Introduces the required size in that notice.

Type Func<TResult><string>

TerminalSize

public Func<int, int, string> TerminalSize { get; set; }

Formats a window size, used for both the current and the required one.

Type Func<T1, T2, TResult><int, int, string>

TerminalTooSmall

public Func<string> TerminalTooSmall { get; set; }

Headline of the notice that replaces the view in a too-small window.

Type Func<TResult><string>

ViewFailed

public Func<string, string> ViewFailed { get; set; }

Shown on the output line when a view or a callback throws. The application keeps running, so this is what the user sees instead of a crash.

Type Func<T, TResult><string, string>

Yes

public Func<string> Yes { get; set; }

The affirmative chip of a yes/no dialog.

Type Func<TResult><string>