1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-28 16:21:03 +00:00

firmware: mark more strings with gettext

This commit is contained in:
Pavol Rusnak 2017-07-31 02:31:30 +02:00
parent c778d7b9c3
commit 82a06ce342
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -29,6 +29,7 @@
#include "rng.h"
#include "timer.h"
#include "buttons.h"
#include "gettext.h"
#include "fastflash.h"
void check_lock_screen(void)
@ -44,7 +45,7 @@ void check_lock_screen(void)
// button held for long enough (2 seconds)
if (layoutLast == layoutHome && button.NoDown >= 285000 * 2) {
layoutDialog(&bmp_icon_question, "Cancel", "Lock Device", NULL, "Do you really want to", "lock your TREZOR?", NULL, NULL, NULL, NULL);
layoutDialog(&bmp_icon_question, _("Cancel"), _("Lock Device"), NULL, _("Do you really want to"), _("lock your TREZOR?"), NULL, NULL, NULL, NULL);
// wait until NoButton is released
usbTiny(1);