Commands › The document and its citations
#t The document and its citations
Prints one of the engine's words in the report's language, for a caller in the text.
#t(, )Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
keyrequiredA key of the glossary's
engine or templates block...valuesoptionalOne named argument per hole of the template.
The essentials
The glossaryThe engine's words live in calc/i18n/strings.json, in three languages.
Content
t returns content; t-str a string, in a context.Not for a headingHeadings are the engineer's, written by hand.
Arguments
| Argument | Status | What 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
#t("governing")Examples
#t("governing")#set-report-language("fr")
#t("governing") -- #t("with")Defined in lib/i18n.typ:311