1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

move trezor.gettext.gettext to trezor.res.gettext

This commit is contained in:
Pavol Rusnak 2016-05-27 15:33:04 +02:00
parent 0b54ae9124
commit 509962abc6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +0,0 @@
def gettext(message):
return message
_ = gettext

View File

@ -1,3 +1,8 @@
def loadres(name):
with open(name, 'rb') as f:
return f.read()
def gettext(message):
return message
_ = gettext