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:
parent
0b54ae9124
commit
509962abc6
@ -1,4 +0,0 @@
|
|||||||
def gettext(message):
|
|
||||||
return message
|
|
||||||
|
|
||||||
_ = gettext
|
|
@ -1,3 +1,8 @@
|
|||||||
def loadres(name):
|
def loadres(name):
|
||||||
with open(name, 'rb') as f:
|
with open(name, 'rb') as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
|
def gettext(message):
|
||||||
|
return message
|
||||||
|
|
||||||
|
_ = gettext
|
||||||
|
Loading…
Reference in New Issue
Block a user