Skip to content

Commit 0f2d652

Browse files
authored
fix: update fide i18n and fix issue (#166)
1 parent d117f32 commit 0f2d652

File tree

12 files changed

+85
-8
lines changed

12 files changed

+85
-8
lines changed

legacy/firmware/i18n/i18n.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <stdio.h>
66
#include "keys.h"
77

8-
#define I18N_ITEMS_COUNT 423
8+
#define I18N_ITEMS_COUNT 427
99
#define I18N_LANGUAGE_ITEMS 8
1010

1111
typedef enum {

legacy/firmware/i18n/keys.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,5 +885,13 @@
885885
#define C__INCORRECT_PIN_THE_PIN_YOU_ENTERED_IS_INCORRECT 421
886886
// Lock the screen?
887887
#define C__LOCK_THE_SCREEN 422
888+
// Confirm Typed Data
889+
#define T_CONFIRM_TYPED_DATA 423
890+
// {} authorization. Check dApp trust first.
891+
#define I_TYPED_DATA_AUTHORIZATION_WARNING 424
892+
// Review Struct
893+
#define I_REVIEW_STRUCT 425
894+
// Tips: Press “ ” both at once to switch case / numbers / symbols.
895+
#define C__TIPS_PRESS_BOTH_AT_ONCE_TO_SWITCH_CASE_NUMBERS_SYMBOLS 426
888896
#endif
889897
// clang-format on

legacy/firmware/i18n/locales/de.inc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const char *const languages_de[] = {
258258
"Memo:",
259259
"Multi-Senden:",
260260
"Beim Eingeben der PIN auf\n\" \" klicken, um zu\nverringern, und auf \" \"\nklicken, um zu erhöhen.",
261-
"Beim Eingeben der PIN klicken Sie auf die Schaltfläche „ “, um zu erhöhen, und auf die Schaltfläche „ “, um zu verringern.",
261+
"Beim Eingeben der PIN \nklicken Sie auf die Schaltfläche „ “, \num zu erhöhen, und auf die Schaltfläche „ “, \num zu verringern.",
262262
"Transaktion aktualisieren",
263263
"Transaktions-ID:",
264264
"Neue Transaktionsgebühr:",
@@ -422,4 +422,8 @@ const char *const languages_de[] = {
422422
"Verwaltungsschlüssel",
423423
"Falsche PIN! Die von Ihnen eingegebene PIN ist falsch.",
424424
"Den Bildschirm sperren?",
425+
"Eingegebene Daten bestätigen",
426+
"{}-Autorisierung. Überprüfe zuerst das Vertrauen in die dApp.",
427+
"Struktur bewerten",
428+
"Tipps: „ “drücken, um Buchstaben, Zahlen und Symbole zu wechseln.",
425429
};

legacy/firmware/i18n/locales/en.inc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const char *const languages_en[] = {
132132
"It will temporarily allow you to perform some actions with potentially risky.",
133133
"Are you sure to temporarily disable Safety-Checks?",
134134
"Enter PIN",
135-
"CAUTION!\nDevice will be reset after {} more times wrong",
135+
"CAUTION!\nDevice will reset after {} more wrong attempts.",
136136
"Incorrect PIN!\n0 attempt left, device\nwill be reset now...",
137137
"Erasing...",
138138
"Reset completed\nConfirm to restart.",
@@ -422,4 +422,8 @@ const char *const languages_en[] = {
422422
"Management Security Key",
423423
"Incorrect PIN! The PIN you entered is incorrect",
424424
"Lock the screen?",
425+
"Confirm Typed Data",
426+
"{} authorization. Check dApp trust first.",
427+
"Review Struct",
428+
"Tips: Press “ ” both at once to switch case / numbers / symbols.",
425429
};

legacy/firmware/i18n/locales/es.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,8 @@ const char *const languages_es[] = {
422422
"Clave de Gestión",
423423
"¡PIN incorrecto! El PIN que ingresaste es incorrecto",
424424
"¿Bloquear la pantalla?",
425+
"Confirmar datos escritos",
426+
"{} autorización. Verifica primero la confiabilidad de la dApp.",
427+
"Estructura de revisión",
428+
"Consejos: Pulsa “ ”para cambiar entre letras, números y símbolos.",
425429
};

legacy/firmware/i18n/locales/ja.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,8 @@ const char *const languages_ja[] = {
422422
"管理セキュリティキー",
423423
"PINが正しくありません!入力したPINが間違っています。",
424424
"画面をロックしますか?",
425+
"型付きデータ確認",
426+
"{} の認可。まず dApp の信頼性を確認してください。",
427+
"レビュー構造体",
428+
"ヒント:「 」を押すと、文字・数字・記号を切り替えられます。",
425429
};

legacy/firmware/i18n/locales/ko_kr.inc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const char *const languages_ko_kr[] = {
257257
"거래 유형:",
258258
"메모:",
259259
"멀티 전송:",
260-
"PIN을 입력할 때, \" \" 버튼을 클릭하면 감소하고, \" \" 버튼을 클릭하면 증가합니다.",
260+
"PIN을 입력할 때,\n \" \" 버튼을 클릭하면 감소하고,\n \" \" 버튼을 클릭하면 증가합니다.",
261261
"PIN을 입력할 때, \" \" 버튼을 클릭하면 증가하고, \" \" 버튼을 클릭하면 감소합니다.",
262262
"거래 업데이트",
263263
"거래 ID:",
@@ -422,4 +422,8 @@ const char *const languages_ko_kr[] = {
422422
"관리 보안 키",
423423
"잘못된 PIN입니다! 입력하신 PIN이 올바르지 않습니다.",
424424
"화면을 잠그시겠습니까?",
425+
"입력된 데이터 확인",
426+
"{} 인가. 먼저 dApp 신뢰를 확인하세요.",
427+
"리뷰 구조체",
428+
"팁: 대/소문자·숫자·기호를 전환하려면 “ ”을(를) 동시에 누르세요.",
425429
};

legacy/firmware/i18n/locales/pt_br.inc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const char *const languages_pt_br[] = {
133133
"Desativar as Verificações de Segurança temporariamente?",
134134
"Informe o PIN",
135135
"ATENÇÃO!\nO dispositivo será reiniciado após {} tentativas incorretas adicionais.",
136-
"PIN Incorreto! 0\ntentativas restantes o\ndispositivo será\nredefinido agora...",
136+
"PIN Incorreto! \n0 tentativas restantes \ndispositivo será redefinido agora...",
137137
"Apagando…",
138138
"Redefinição concluída\nConfirme para reiniciar.",
139139
"Inserir Passphrase",
@@ -422,4 +422,8 @@ const char *const languages_pt_br[] = {
422422
"Chave de Gerenciamento",
423423
"PIN incorreto! O PIN que você inseriu está incorreto",
424424
"Bloquear a tela?",
425+
"Confirmar Dados Digitados",
426+
"Autorização de {}. Verifique a confiança do dApp primeiro.",
427+
"Revisar Struct",
428+
"Dicas: Pressione \" \" para alternar entre letras, números e símbolos.",
425429
};

legacy/firmware/i18n/locales/zh_cn.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,8 @@ const char *const languages_zh_cn[] = {
422422
"管理安全密钥",
423423
"PIN 码错误!您输入的 PIN 码不正确",
424424
"锁定屏幕?",
425+
"确认结构化数据",
426+
"{} 授权。请先检查 dApp 信任度。",
427+
"审查结构体",
428+
"提示:同时按下\" \"来切换大小写/数字/符号。",
425429
};

legacy/firmware/i18n/locales/zh_tw.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,8 @@ const char *const languages_zh_tw[] = {
422422
"管理安全金鑰",
423423
"PIN 碼錯誤!您輸入的 PIN 碼不正確",
424424
"鎖定螢幕?",
425+
"確認結構數據",
426+
"{} 授權。請先檢查 dApp 信任度。",
427+
"檢閱結構體",
428+
"提示:同時按下「 」來切換大小寫/數字/符號。",
425429
};

0 commit comments

Comments
 (0)