dictionary.variables
Last updated
Last updated
$dictionary: () !default;
A global dictionary.
The dictionary is a map
where the key
is a word or phrase(list space), and the value
is a translation.
The key
can be also the name of the dictionary, for example, class
to put translations only for the classes, or var
for CSS variable name translations. For example.
To set the value of the global dictionary use dictionary.set()
function.
To get the global dictionary use dictionary.get()
function.
To merge multiple dictionaries with the global dictionary use dictionary.merge()
function.
word
translation
'word'
translation
('word-1', 'word-2')
translation
(first word, second word)
translation
class
(prefix: spectre, suffix: end, small: sm)
var
(prefix: s, suffix: e, small: sm)