Vixen
dd8b0a81
csharp
public static class TexturingStrings

Every word the texturing toolset shows, declared once.

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

Remarks

A family rather than ten properties, because the ids were computed. Every one of this module's commands built its label at the call site — new StringId("editor.command." + OpenCommand, "Open Texture Graph") — which reads as a declaration and is not one: Strings.Template exports All lists, an id assembled from a constant is in no All list, and so none of these ten words was ever in a translator's template.

⚠ The prefix is the only part that was ever written out, and the key is the command id the call site already holds, so a registration reads TexturingStrings.Commands[TexturingModule.OpenCommand] where it used to build one. A key the family does not carry throws while the module registers, which is deterministic and covered by the module's own activation.

Fields and properties (2)

  • public static StringFamily Commands

    Every command the module registers, by its command id.

  • public static IReadOnlyList<StringId> All

    What a translator's template for this toolset holds.

Used by (2)

  • StringContributionTestsVixen.Editor.Texturing.Tests
  • TexturingModuleVixen.Editor.Texturing