Vixen
02b45cc4
csharp
public static class EditorStrings

Every string the shell shows, declared once.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The shape Strings.Resource will generate — an id, the source text, and a list of all of them — written by hand until it does, in the same way Samples/02-HelloUi hand-writes the descriptor its generator would emit. Nothing at a call site changes when the generator lands.

⚠ All is spelled out rather than reflected over. It feeds Template, which is what a translator starts from, and a list gathered by walking the fields at run time would be a list this assembly's trimming settings are entitled to shorten. The duplication is the cost of the id table being data; the generator removes it.

Fields and properties (123)

  • public static StringId MenuFile

    The File menu.

  • public static StringId MenuEdit

    The Edit menu.

  • public static StringId MenuView

    The View menu.

  • public static StringId MenuWindow

    The Window menu.

  • public static StringId MenuHelp

    The Help menu.

  • public static StringId MenuAssets

    The Assets menu.

  • public static StringId MenuEntity

    The Entity menu — Unreal's Actor, Unity's GameObject.

  • public static StringId MenuPlay

    The Play menu.

  • public static StringId MenuBuild

    The Build menu.

  • public static StringId MenuTools

    The Tools menu.

  • public static StringId MenuRecent

    The Open Recent submenu.

  • public static StringId MenuCreate

    The Create submenu, under Assets.

  • public static StringId MenuLayout

    The Layout submenu.

  • public static StringId MenuPanels

    The Panels submenu.

  • public static StringId CategoryFile

    The command category a file command is filed under in the palette.

  • public static StringId CategoryEdit

    Ditto, for editing.

  • public static StringId CategoryView

    Ditto, for the view.

  • public static StringId CategoryPanel

    Ditto, for panels.

  • public static StringId CategoryMode

    Ditto, for the verbs that enter an editor mode.

  • public static StringId CategoryHelp

    Ditto, for help.

  • public static StringId CommandNewProject

    Makes a new project.

  • public static StringId CommandOpenProject

    Opens one.

  • public static StringId CommandSave

    Saves the open document.

  • public static StringId CommandSaveAll

    Saves all of them.

  • public static StringId CommandExit

    Closes the editor.

  • public static StringId CommandUndo

    Undoes the last change.

  • public static StringId CommandRedo

    Redoes it.

  • public static StringId CommandPreferences

    Opens the settings.

  • public static StringId CommandPalette

    Opens the command palette.

  • public static StringId NextMode

    Tab: enter the next editor mode along the strip.

  • public static StringId CommandSearchEverywhere

    Opens the search over assets, entities and settings.

  • public static StringId CommandResetLayout

    Puts the arrangement back to the preset it started from.

  • public static StringId CommandSaveLayout

    Saves the arrangement under a name.

  • public static StringId CommandFloatPanel

    Takes the panel the user is in out into a window of its own.

  • public static StringId CommandToggleTheme

    Switches between the light and dark themes.

  • public static StringId CommandClosePanel

    Closes the panel the user is in.

  • public static StringId CommandNextTab

    Moves to the next tab of its group.

  • public static StringId CommandPreviousTab

    And the previous one.

  • public static StringId CommandAbout

    Says what version this is.

  • public static StringId CommandDocumentation

    Opens the manual.

  • public static StringId PalettePlaceholder

    What the palette's field says when it is empty.

  • public static StringId PaletteEmpty

    What the palette says when nothing matches.

  • public static StringId TasksTitle

    The heading over the running background work.

  • public static StringId TasksIdle

    What the task list says when there is none.

  • public static StringId TasksCancel

    Stops one.

  • public static StringId TasksCancelled

    What a task that was cancelled reports.

  • public static StringId TasksFailed

    What a task that threw reports.

  • public static StringId NotificationsTitle

    The heading over the messages that have been shown.

  • public static StringId NotificationsEmpty

    What the notification list says when there are none.

  • public static StringId NotificationsClear

    Throws them all away.

  • public static StringId LayoutReset

    What the shell reports after putting the arrangement back.

  • public static StringId DialogOk

    The confirming button on a dialog that asks nothing more specific.

  • public static StringId DialogCancel

    The one that backs out of it.

  • public static StringId StatusSelection

    What the status bar calls the selection when there is more than one thing in it.

  • public static StringId StatusFrameTime

    What the status bar's frame-time cell says.

  • public static StringId ConsoleClear

    Empties the console and the ring behind it.

  • public static StringId ConsoleCollapse

    Folds identical lines into one row with a count.

  • public static StringId ConsoleClearOnPlay

    Empties it on the way into play mode.

  • public static StringId ConsoleSearch

    What the console's search box says when it is empty.

  • public static StringId ConsoleAllCategories

    The category picker's "no filter" choice.

  • public static StringId ConsoleNoSelection

    What the detail pane says when no line is selected.

  • public static StringId KeyBindingConflict

    What it reports when a keybinding could not be taken.

  • public static StringId PanelKeys

    The keybinding editor's tab.

  • public static StringId PanelMessages

    The message log's.

  • public static StringId PanelPreferences

    The preferences window's.

  • public static StringId PanelProjectSettings

    The project settings window's.

  • public static StringId PanelPlugins

    The plugin manager's.

  • public static StringId PanelHistory

    The undo history's.

  • public static StringId KeysFilter

    What the keybinding editor's filter box says when it is empty.

  • public static StringId KeysRecord

    Puts the panel into capture mode.

  • public static StringId KeysRecording

    What that button says while it is waiting.

  • public static StringId KeysClear

    Unbinds the selected command.

  • public static StringId KeysResetRow

    Puts one row back to the layer underneath.

  • public static StringId KeysResetAll

    Puts every row back.

  • public static StringId KeysImport

    Reads a keymap file in.

  • public static StringId KeysExport

    Writes one out.

  • public static StringId KeysColumnCommand

    The command column.

  • public static StringId KeysColumnCategory

    The category column.

  • public static StringId KeysColumnBinding

    The shortcut column.

  • public static StringId KeysColumnSource

    The column saying which layer a binding came from.

  • public static StringId KeysSourceDefault

    What that column says for a binding the application shipped.

  • public static StringId KeysSourceUser

    And for one the user made.

  • public static StringId KeysPickRow

    What the status line says with no row chosen.

  • public static StringId KeysReady

    And with one chosen.

  • public static StringId KeysWaiting

    And while it is waiting for one.

  • public static StringId KeysConflict

    What it says when the chord is taken.

  • public static StringId KeysUnknownPreset

    What it says when a keymap file names a preset this editor has not got.

  • public static StringId MessagesAllLevels

    The message log's "no filter" choice.

  • public static StringId MessagesErrors

    Its errors-only choice.

  • public static StringId MessagesWarnings

    Its warnings-only choice.

  • public static StringId MessagesSuccesses

    Its successes-only choice.

  • public static StringId MessagesInfos

    Its information-only choice.

  • public static StringId MessagesNoSelection

    What its detail pane says when no line is selected.

  • public static StringId SettingsSearch

    What the settings window's search box says when it is empty.

  • public static StringId SettingsResetPage

    Puts one page back to its defaults.

  • public static StringId SettingsRevert

    Throws away what has been typed since the last write.

  • public static StringId SettingsApply

    Writes it.

  • public static StringId SettingsNoPage

    What the pane says when the search has matched nothing.

  • public static StringId PluginsFilter

    What the plugin manager's filter box says when it is empty.

  • public static StringId PluginsDisable

    Switches the selected plugin off.

  • public static StringId PluginsEnable

    And back on.

  • public static StringId PluginsReload

    Unloads it and loads it again from disk.

  • public static StringId PluginsColumnName

    The name column.

  • public static StringId PluginsColumnId

    The id column.

  • public static StringId PluginsColumnVersion

    The version column.

  • public static StringId PluginsColumnState

    The state column.

  • public static StringId PluginsColumnAuthor

    The author column.

  • public static StringId PluginsStateActive

    What the state column says for a running plugin.

  • public static StringId PluginsStateDisabled

    For one that is switched off.

  • public static StringId PluginsStateFailed

    For one that did not start.

  • public static StringId PluginsStateUnloaded

    For one that has been taken back out.

  • public static StringId PluginsNone

    What the detail line says when nothing is installed.

  • public static StringId PluginsPickRow

    And when nothing is selected.

  • public static StringId PluginsSwitchedOff

    And for one the user switched off.

  • public static StringId PluginsManifestOff

    And for one its own manifest switches off.

  • public static StringId HistoryHint

    What the undo history's strip says.

  • public static StringId HistoryOriginal

    What the history calls the point before anything was done.

  • public static StringId ProjectsTitle

    The heading over the startup project browser.

  • public static StringId ProjectsEmpty

    What it says when nothing has been opened yet.

  • public static StringId ProjectsBrowse

    Opens one that is already on disk.

  • public static StringId ProjectsNew

    Starts one.

  • public static StringId ProjectsMissing

    What a row says when the directory has gone.

  • public static IReadOnlyList<StringId> All

    Every string above, for a translator to start from.

Used by (20)

  • AssetPickerVixen.Editor.App
  • CommandPaletteVixen.Editor.Ui
  • ConsoleViewVixen.Editor.Ui
  • DialogServiceVixen.Editor.Ui
  • DialogTestsVixen.Editor.Ui.Tests
  • EditorApplicationVixen.Editor.App
  • EditorModesVixen.Editor.Ui
  • EditorShellVixen.Editor.Ui
  • EditorShellTestsVixen.Editor.Ui.Tests
  • KeyBindingsViewVixen.Editor.Ui
  • MessageLogViewVixen.Editor.Ui
  • MilestoneE3TestsVixen.Editor.App.Tests
  • PaletteTestsVixen.Editor.Ui.Tests
  • PluginManagerViewVixen.Editor.App
  • ProjectBrowserTestsVixen.Editor.App.Tests
  • ServiceTestsVixen.Editor.Ui.Tests
  • SettingsViewVixen.Editor.Ui
  • StringsVixen.Editor.Ui
  • TaskCenterVixen.Editor.Ui
  • UndoHistoryVixen.Editor.App