From 7835973428412893c45bd80462c041d37f609fb3 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 29 May 2020 12:50:52 +0000 Subject: [PATCH] core/src: add i18n demo --- core/src/main.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/src/main.py b/core/src/main.py index e7b44b3c0..4576058c4 100644 --- a/core/src/main.py +++ b/core/src/main.py @@ -9,6 +9,15 @@ import usb import storage.recovery from trezor import loop, utils, wire, workflow +######## + +from trezor import i18n +i18n.init() +for i in range(6): + print(i18n.get(i)) + +######## + # start the USB usb.bus.open()