SCION Workbench Client - v1.0.0-beta.35
    Preparing search index...

    Type Alias Translatable

    Translatable: string | `%${string}`

    Represents either a text or a key for translation.

    A translation key starts with the percent symbol (%) and may include parameters in matrix notation for text interpolation.

    Key and parameters are passed to the registered text provider for translation. Applications can register a text provider using WorkbenchClient.registerTextProvider.

    Semicolons in interpolation parameters must be escaped with two backslashes (\\;).

    Examples:

    • %key: translation key
    • %key;param=value: translation key with a single interpolation parameter
    • %key;param1=value1;param2=value2: translation key with multiple interpolation parameters
    • text: no translation key, text is returned as is