diff --git a/src/trezor/gettext.py b/src/trezor/gettext.py deleted file mode 100644 index a955d12acd..0000000000 --- a/src/trezor/gettext.py +++ /dev/null @@ -1,4 +0,0 @@ -def gettext(message): - return message - -_ = gettext diff --git a/src/trezor/res/__init__.py b/src/trezor/res/__init__.py index f05651be90..06a7f448de 100644 --- a/src/trezor/res/__init__.py +++ b/src/trezor/res/__init__.py @@ -1,3 +1,8 @@ def loadres(name): with open(name, 'rb') as f: return f.read() + +def gettext(message): + return message + +_ = gettext