A text the player translates with the plugin's catalog and fills in:
English source text with its arguments. Made by I18n.text; plain
data, not a translation (the plugin never sees the translated string).
Remarks
Accepted wherever the player shows a plugin's text: command titles, path
segments and reasons, Osd.show and OsdPanel.set (as the text
or an argument), the texts of Dialogs.confirm, file dialog titles and
saveFile's fileName, and property values where Slint expects a string
(at any depth: a [string] model, a struct field). Nested in another text's
arguments it is translated too. Limits: TEXT_LIMITS in
@vestra-player/sdk/testing.
The wire form { $vestraText, args } is what the player reads; write it
with I18n.text, so that vestra-plugin i18n extract finds the
source text.
A text the player translates with the plugin's catalog and fills in: English source text with its arguments. Made by I18n.text; plain data, not a translation (the plugin never sees the translated string).
Remarks
Accepted wherever the player shows a plugin's text: command titles, path segments and reasons, Osd.show and OsdPanel.set (as the text or an argument), the texts of Dialogs.confirm, file dialog titles and
saveFile'sfileName, and property values where Slint expects astring(at any depth: a[string]model, a struct field). Nested in another text's arguments it is translated too. Limits:TEXT_LIMITSin@vestra-player/sdk/testing.The wire form
{ $vestraText, args }is what the player reads; write it with I18n.text, so thatvestra-plugin i18n extractfinds the source text.Since
1.5.11