public static class ControlStringsEvery word the standard control set says, declared once.
Remarks
The control library's own strings, in the same shape an application declares its own. Thirteen labels — fifteen, with the two dialog-button defaults that doc 46 § A3 recorded as owed to itself — were English literals baked into control constructors, which meant "Clear" in every search box, "Dismiss" on every toast and "Previous tab" on every docked group, inside every localised window, with no way for the application to reach them — and the only party who could close that seam was this repository.
⚠ One class for both control assemblies. Six of these are used from Vixen.Ui.Controls.Advanced, which references this assembly. A second declaration class over there would hand a translator two files to find and would put the boundary between "a control" and "an advanced control" — an assembly split about compile cost — into a translator's workflow, where it means nothing.
⚠ Two ids for the two "Close"s, deliberately. A dialog's dismiss button and a dock tab's are the same English word and are not the same string: a language that distinguishes closing a question from closing a document needs to say so, and an id that says where the string is used is what makes that possible. Merging them saves one line and cannot be undone without a translator's file changing shape.
⚠ A control reads these in its constructor, so it shows the language it was built in. That is not a live binding: Strings.Catalog is a signal and an expression that reads it re-runs, but an assignment in OnCreated is not an expression. A control set that re-labelled itself would need an effect per label and a place to dispose it; what this buys today is that the words are *translatable at all*, and that a control built after the language changed is built in the new one.
Fields and properties (61)
public static StringId TextInputClearThe button that empties a text field.
public static StringId FieldRequiredWhy an empty field with Required set is not acceptable.
public static StringId FieldOutOfRangeWhy a number outside Minimum and Maximum is not acceptable.
public static StringId StepperIncreaseA stepper's upward arrow.
public static StringId StepperDecreaseA stepper's downward arrow.
public static StringId DialogCloseThe button that dismisses a dialog.
public static StringId DialogConfirmWhat a confirming button says when the caller does not name it.
public static StringId DialogCancelAnd what the button that backs out of it says.
public static StringId ToastDismissThe button that dismisses a toast.
public static StringId SelectSuggestionsThe toggle that opens a combo box's suggestion list.
public static StringId DockCloseThe button that closes a docked panel.
public static StringId DockPreviousTabThe button that scrolls a tab strip back.
public static StringId DockNextTabThe button that scrolls a tab strip on.
public static StringId PropertyGridResetThe button that puts a property back to its default.
public static StringId PropertyGridSearchThe prompt in a property grid's filter box.
public static StringId ColorPickerIntensityThe caption over a colour picker's HDR intensity slider.
public static StringId ColorPickerEyedropperThe eyedropper button.
public static StringId PaginationPreviousThe arrow that steps a pager back.
public static StringId PaginationNextThe arrow that steps a pager on.
public static StringId PaginationGapThe mark a pager draws where it leaves pages out.
public static StringId TimelineMuteWhat a screen reader calls a timeline track's mute toggle.
public static StringId TimelineMuteMarkThe one character a timeline track's mute toggle shows.
public static StringId CalendarPreviousMonthThe arrow that shows a calendar's previous month.
public static StringId CalendarNextMonthThe arrow that shows a calendar's next month.
public static StringId DatePickerDialogWhat a screen reader calls the calendar a date picker opens.
public static StringId ScrollBarVerticalWhat a screen reader calls the bar down the side of a scrolling area.
public static StringId ScrollBarHorizontalpublic static StringId ColorPickerHexThe colour picker's hexadecimal field, which has no caption beside it.
public static StringId ColorPickerHueThe hue band, which is a rainbow and has no words on it.
public static StringId ColorPickerAlphaThe alpha band beneath it.
public static StringId ColorPickerFieldThe two-dimensional square the marker moves in.
public static StringId ColorPickerPaletteThe row of saved colours under it.
public static StringId GradientEditorSpaceThe gradient editor's choice of how two stops are mixed.
public static StringId GradientEditorOpacityThe gradient editor's opacity slider, shown when an alpha stop is chosen.
public static StringId GradientEditorColorStopsThe rail of colour stops under the bar.
public static StringId GradientEditorAlphaStopsThe rail of alpha stops over it.
public static StringId NodeCanvasNodesThe set of nodes on a graph canvas.
public static StringId SplitViewDividerThe bar between a split view's two panes.
public static StringId DocumentSavePromptWhat the prompt on closing a dirty document asks.
public static StringId DocumentSaveThe prompt's confirming button.
public static StringId DocumentDiscardThe button that throws the changes away.
public static StringId KeysFilterWhat the keybinding panel's filter box says when it is empty.
public static StringId KeysRecordPuts the keybinding panel into capture mode.
public static StringId KeysRecordingWhat that button says while it is waiting.
public static StringId KeysClearUnbinds the selected command.
public static StringId KeysResetRowPuts one row back to the layer underneath.
public static StringId KeysResetAllPuts every row back.
public static StringId KeysImportAsks for a keymap file to be read in.
public static StringId KeysExportAsks for one to be written out.
public static StringId KeysColumnCommandThe command column.
public static StringId KeysColumnCategoryThe category column.
public static StringId KeysColumnBindingThe shortcut column.
public static StringId KeysColumnSourceThe column saying which layer a binding came from.
public static StringId KeysSourceDefaultWhat that column says for a binding the application shipped.
public static StringId KeysSourceUserAnd for one the user made.
public static StringId KeysPickRowWhat the status line says with no row chosen.
public static StringId KeysReadyAnd with one chosen.
public static StringId KeysWaitingAnd while it is waiting for one.
public static StringId KeysConflictWhat it says when the chord is taken.
public static StringId KeysUnknownPresetWhat it says when a keymap names a preset the application has not got.
public static IReadOnlyList<StringId> AllEvery string above, for a translator to start from.
Used by (43, showing 40)
- ShellCloseTestsHelloUi.Tests
- AccessibilityTreeTestsVixen.Ui.Controls.Tests
- AccessibilityTreeTestsVixen.Ui.Controls.Advanced.Tests
- AccessibleNameDomainTestsVixen.Ui.Controls.Advanced.Tests
- AccessibleNameLocalisationTestsVixen.Ui.Controls.Tests
- AccessibleNameLocalisationTestsVixen.Ui.Controls.Advanced.Tests
- CalendarVixen.Ui.Controls
- ColorFieldVixen.Ui.Controls.Advanced
- ColorPickerVixen.Ui.Controls.Advanced
- ColorPickerKeyboardTestsVixen.Ui.Controls.Advanced.Tests
- ColorStripVixen.Ui.Controls.Advanced
- ComboBoxVixen.Ui.Controls
- DatePickerVixen.Ui.Controls
- DatePickerTestsVixen.Ui.Controls.Tests
- DialogVixen.Ui.Controls
- DialogServiceVixen.Ui.Controls
- DockGroupViewVixen.Ui.Controls.Advanced
- DockTabVixen.Ui.Controls.Advanced
- DocumentClosePromptVixen.Ui.Controls
- DocumentClosePromptTestsVixen.Ui.Controls.Tests
- FieldValidationTestsVixen.Ui.Controls.Tests
- GradientEditorVixen.Ui.Controls.Advanced
- GradientRailVixen.Ui.Controls.Advanced
- GradientRailKeyboardTestsVixen.Ui.Controls.Advanced.Tests
- KeyBindingsViewVixen.Ui.Controls.Advanced
- KeyBindingsViewTestsVixen.Ui.Controls.Advanced.Tests
- LocalisationTestsVixen.Ui.Controls.Tests
- NodeCanvasVixen.Ui.Controls.Advanced
- NumericInputVixen.Ui.Controls
- PaginationVixen.Ui.Controls
- PropertyGridVixen.Ui.Controls.Advanced
- PropertyGridTestsVixen.Ui.Controls.Advanced.Tests
- PropertyRowVixen.Ui.Controls.Advanced
- ScrollBarVixen.Ui.Controls
- SearchBoxVixen.Ui.Controls
- SelectionTestsVixen.Ui.Controls.Tests
- SplitViewVixen.Ui.Controls
- StepperVixen.Ui.Controls
- TextFieldVixen.Ui.Controls
- TextFieldTestsVixen.Ui.Controls.Tests