RunicInspectMessage interface

Module @runic-artifex/vite-plugin-runic in @runic-artifex/vite-plugin-runic 0.23.0

interface RunicInspectMessage

A message of a generated m.*() call that the element shows. Runic Translations marks the text of these calls while select mode is on (the markers of its text-change channel), so they are known only then.

Properties

catalog

readonly catalog: string;

No documentation.

key

readonly key: string;

No documentation.

locale

readonly locale: string;

The locale whose text the element shows (a fallback names the fallback locale).

in

readonly in: readonly string[];

Where the element shows it: text (its text or a descendant's), or an attribute such as title or aria-label.

source

readonly source?: string;

The message in that locale as authored (MF2), from the Translations dev server.

location

readonly location?: RunicInspectLocation;

Where that text is defined, in its .rmf2/.mf2 source.

editable

readonly editable?: boolean;

Whether the Translations dev server's in-page editing API can write the message in some locale, so the overview offers "Edit" (the API's locales[].editable). Absent when the API did not answer.