mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 10:58:09 +00:00
16 lines
337 B
Mako
16 lines
337 B
Mako
# generated from ${THIS_FILE.name}
|
|
# (by running `make templates` in `core`)
|
|
# do not edit manually!
|
|
<%
|
|
import json
|
|
|
|
en_file = ROOT / "core" / "translations" / "en.json"
|
|
en_data = json.loads(en_file.read_text())["translations"]
|
|
|
|
%>\
|
|
class TR:
|
|
% for name, text in sorted(en_data.items()):
|
|
${name}: str = ${json.dumps(text)}
|
|
% endfor
|
|
|
|
|