cardioception.HSD.languages.get_texts#

cardioception.HSD.languages.get_texts(language, device)[source]#

Every string this session will show the participant.

Parameters
language

A filename stem in texts/. available() lists them.

device

Selects the wording of the instructions that name keys. Only "keyboard" is written so far.

Raises
ValueError

If the language does not exist, or its file is missing a key.