WoodcoreMake the numbers vibe

Commands › The document and its citations

#t-str The document and its citations

Gives one of the engine's words as a string, in the report's language: what the engine calls wherever it prints.

#t-str(, )

Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.

The essentials

In a contextIt reads the report's language: call it in a context.
The glossaryThe engine's words live in calc/i18n/strings.json, in three languages.
A stringIt can be transformed: upper(t-str("governing")).

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
A key of the glossary's engine or templates block.
"governing"«governing» in English
"connection.caption"a template, with its holes
optional
One named argument per hole of the template.
id: "VU-MP-1"the template's hole {id}
sheet: "SL"the hole {sheet}

Lines to copy

Minimal call

#context t-str("governing")

Examples

Example 1
#context [#t-str("governing")]
The page t-str produces, level 2
Example 2
#context [#upper(t-str("governing"))]
The page t-str produces, level 2

Defined in lib/i18n.typ:236