From 82a06ce3421da2a044fcde3dc3a14ed4fec80523 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 31 Jul 2017 02:31:30 +0200 Subject: [PATCH] firmware: mark more strings with gettext --- firmware/trezor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/trezor.c b/firmware/trezor.c index 73462ba6e4..5560421a01 100644 --- a/firmware/trezor.c +++ b/firmware/trezor.c @@ -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);