Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/src/apps/ethereum/onekey/sign_tx_eip1559.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ async def sign_tx_eip1559(

from trezor.ui.layouts.lvgl import confirm_turbo

await confirm_turbo(ctx, (_(i18n_keys.LIST_VALUE__SEND) + suffix), network.name)
if value == 0:
title = _(i18n_keys.TITLE_REQUEST_CONFIRMATION)
else:
title = _(i18n_keys.LIST_VALUE__SEND) + suffix
await confirm_turbo(ctx, title, network.name)

elif approve_info:
from .providers import provider_by_chain_address
Expand Down
5 changes: 4 additions & 1 deletion core/src/apps/management/recovery_device/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ async def show_group_threshold_reached(ctx: wire.GenericContext) -> None:
await show_warning(
ctx,
"warning_group_threshold",
"Threshold of this\ngroup has been reached.\nInput share from\ndifferent group.",
_(i18n_keys.SUBTITLE__ENTER_A_DIFFERENT_SHARE),
header=_(i18n_keys.TITLE__ENTER_A_DIFFERENT_SHARE),
button=_(i18n_keys.BUTTON__TRY_AGAIN),
btn_yes_bg_color=lv_colors.ONEKEY_GRAY_3,
)


Expand Down
4 changes: 3 additions & 1 deletion core/src/trezor/lvglui/i18n/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -2228,12 +2228,14 @@
WARNING_UNRECOGNIZED_TOKEN = 1012
# Recipient is a known energy rental service provider address.
BANNER_ENERGY_RENTAL = 1013
# Use the latest version of the OneKey App to use “Attach to PIN”.
# This version doesn’t support the “Attach to PIN” feature.
MSG__ATTACH_TO_PIN_TIPS = 1014
# Request Confirmation
TITLE_REQUEST_CONFIRMATION = 1015
# Abort Recovery Phrase Creation?
TITLE__ABORT_RECOVERY_PHRASE_CREATION = 1016
# This is Share {num1} of {num2}.
SUBTITLE__THIS_IS_SHARE_STR_OF_STR = 1017
# Threshold of this group has been reached. Input share from different group.
SUBTITLE__ENTER_A_DIFFERENT_SHARE = 1018
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/de.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Transaktions-Hash",
"Dieses Token wird von der Hardware-Wallet nicht erkannt. Bitte überprüfen Sie dies sorgfältig.",
"Der Empfänger ist eine bekannte Adresse eines Energie-Mietdienstleisters.",
"Verwenden Sie die neueste Version der OneKey App, um „An PIN anheften“ zu nutzen.",
"Diese Version unterstützt die Funktion „An PIN anhängen“ nicht.",
"Anfragebestätigung",
"Wiederherstellungsphrase-Erstellung abbrechen?",
"Dies ist Anteil {num1} von {num2}.",
"Der Schwellenwert dieser Gruppe wurde erreicht. Bitte einen Anteil aus einer anderen Gruppe eingeben.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Transaction Hash",
"This token is not recognized by the hardware wallet. Please verify carefully.",
"Recipient is a known energy rental service provider address.",
"Use the latest version of the OneKey App to use “Attach to PIN”.",
"This version doesn’t support the “Attach to PIN” feature.",
"Request Confirmation",
"Abort Recovery Phrase Creation?",
"This is Share {num1} of {num2}.",
"Threshold of this group has been reached. Input share from different group.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Hash de transacción",
"Este token no es reconocido por la billetera de hardware. Por favor, verifícalo cuidadosamente.",
"El destinatario es una dirección conocida de un proveedor de servicios de alquiler de energía.",
"Utilice la última versión de la OneKey App para usar \"Adjuntar al PIN\".",
"Esta versión no admite la función \"Adjuntar al PIN\".",
"Confirmación de solicitud",
"¿Abortar la creación de la frase de recuperación?",
"Esta es la parte {num1} de {num2}.",
"Se ha alcanzado el umbral de este grupo. Introduzca una participación de un grupo diferente.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/fr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Transaction Hash",
"Ce jeton n'est pas reconnu par le portefeuille matériel. Veuillez vérifier attentivement.",
"Le destinataire est une adresse connue de fournisseur de services de location d'énergie.",
"Utilisez la dernière version de OneKey App pour utiliser « Attacher au PIN ».",
"Cette version ne prend pas en charge la fonctionnalité « Associer au code PIN ».",
"Demande de confirmation",
"Abandonner la création de la phrase de récupération ?",
"Ceci est la part {num1} sur {num2}.",
"Le seuil de ce groupe a été atteint. Veuillez saisir une part d'un groupe différent.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/it.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Hash della transazione",
"Questo token non è riconosciuto dal wallet hardware. Si prega di verificare attentamente.",
"Il destinatario è un indirizzo noto di un fornitore di servizi di noleggio di energia.",
"Usa l'ultima versione della OneKey App per utilizzare \"Allega al PIN\".",
"Questa versione non supporta la funzione \"Associa al PIN\".",
"Conferma richiesta",
"Annullare la creazione della frase di recupero?",
"Questa è la quota {num1} di {num2}.",
"La soglia di questo gruppo è stata raggiunta. Inserisci una quota da un gruppo diverso.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/ja.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"トランザクションのハッシュ",
"このトークンはハードウェアウォレットで認識されません。ご確認ください。",
"受取人は、既知のエネルギーレンタルサービスプロバイダーのアドレスです。",
"「PINに接続」機能を利用するには、最新バージョンのOneKey Appをご利用ください。",
"このバージョンは「PINに接続」機能をサポートしていません。",
"リクエストの確認",
"リカバリーフレーズの作成を中止しますか?",
"これは {num2} のうちの {num1} つ目の共有です。",
"このグループのしきい値に達しました。別のグループからシェアを入力してください。",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/ko.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"트랜잭션 해시",
"이 토큰은 하드웨어 지갑에서 인식되지 않습니다. 반드시 신중하게 확인해 주세요.",
"수신자는 잘 알려진 에너지 렌탈 서비스 제공업체 주소입니다.",
"최신 버전의 OneKey App을 사용하여 “PIN에 첨부 기능을 이용하세요.",
"이 버전은 \"PIN에 첨부\" 기능을 지원하지 않습니다.",
"요청 확인",
"복구 구문 생성을 중단하시겠습니까?",
"이것은 {num2} 중 {num1}번째 공유입니다.",
"이 그룹의 임계값에 도달했습니다. 다른 그룹의 입력 쉐어를 사용하세요.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/pt_br.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Hash de transação",
"Este token não é reconhecido pela carteira física. Por favor, verifique cuidadosamente.",
"O destinatário é um endereço conhecido de provedor de serviços de aluguel de energia.",
"Use a versão mais recente do OneKey App para usar o recurso \"Vincular ao PIN\".",
"Esta versão não suporta o recurso \"Vincular ao PIN\".",
"Solicitar Confirmação",
"Cancelar a criação da frase de recuperação?",
"Esta é a Ação {num1} de {num2}.",
"O limite deste grupo foi atingido. Insira uma parte de um grupo diferente.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/ru.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"Хэш транзакции",
"Этот токен не распознан аппаратным кошельком. Пожалуйста, проверьте внимательно.",
"Получатель — это известный адрес поставщика услуг аренды энергии.",
"Используйте последнюю версию OneKey App, чтобы воспользоваться функцией «Прикрепить к PIN-коду».",
"В этой версии не поддерживается функция «Привязать к PIN».",
"Подтверждение запроса",
"Прервать создание фразы восстановления?",
"Это доля {num1} из {num2}.",
"Порог этой группы достигнут. Введите долю из другой группы.",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/zh_cn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"交易 Hash",
"该代币未被硬件钱包识别。请仔细验证。",
"收款地址是已知的能源租赁服务提供商。",
"请配合最新版本 OneKey APP 使用 “Passphrase 绑定 PIN 码功能。",
"当前版本不支持\"Passphrase 绑定 PIN 码\"功能。",
"确认请求",
"终止创建助记词?",
"这是第 {num1} 份,共 {num2} 份。",
"该组已达最低阈值条件,请输入其他组的分片。",
]
# fmt: on
3 changes: 2 additions & 1 deletion core/src/trezor/lvglui/i18n/locales/zh_hk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,10 @@
"交易哈希",
"此代幣未被硬件錢包識別。請仔細驗證。",
"收款地址是已知的能源租賃服務提供商。",
"請配合最新版本 OneKey APP 使用 “Passphrase 綁定 PIN 碼功能。",
"當前此版本不支持\"Passphrase 綁定 PIN 碼\"功能。",
"確認請求",
"終止創建助記詞?",
"這是第 {num1} 份,共 {num2} 份。",
"該組已達最低閾值條件,請輸入其他組的分片。",
]
# fmt: on
Loading