Skip to content

Commit

Permalink
fix: Multisig address sync tip language (nervosnetwork#3198)
Browse files Browse the repository at this point in the history
  • Loading branch information
devchenyan authored Jul 4, 2024
1 parent d7018b3 commit fe2082c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/neuron-ui/src/components/MultisigAddress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,8 @@ const MultisigAddress = () => {
confirmProps={{ type: 'cancel', className: styles.confirmBtn }}
>
<img src={AttentionCloseDialog} alt="Synchronization Abort" />
<h4>Synchronization Abort</h4>
<p>
Leaving the current window will cause the multisig synchronization to be aborted, so please confirm to leave.
</p>
<h4>{t('multisig-address.synchronization-abort')}</h4>
<p>{t('multisig-address.synchronization-abort-msg')}</p>
</Dialog>

{sendAction.sendFromMultisig && sendAction.isDialogOpen ? (
Expand Down
2 changes: 2 additions & 0 deletions packages/neuron-ui/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,8 @@
"export": "Export Tx"
},
"multi-details": "Multisig address details",
"synchronization-abort": "Synchronization Abort",
"synchronization-abort-msg": "Leaving the current window will cause the multisig synchronization to be aborted, so please confirm to leave.",
"create-dialog": {
"title": "Create multisig address",
"preview-title": "Multisig address has been generated",
Expand Down
2 changes: 2 additions & 0 deletions packages/neuron-ui/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,8 @@
"export": "Exportar Tx"
},
"multi-details": "Detalles de la dirección multifirma",
"synchronization-abort": "Abortar sincronización",
"synchronization-abort-msg": "Salir de la ventana actual provocará que se aborte la sincronización de multisig, por favor confirme si desea salir.",
"create-dialog": {
"title": "Crear dirección multifirma",
"preview-title": "La dirección multifirma se ha generado",
Expand Down
2 changes: 2 additions & 0 deletions packages/neuron-ui/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,8 @@
"export": "Exporter Tx"
},
"multi-details": "Détails de l'adresse multisig",
"synchronization-abort": "Abandon de la synchronisation",
"synchronization-abort-msg": "Quitter la fenêtre actuelle entraînera l'abandon de la synchronisation multisig, veuillez confirmer si vous souhaitez quitter.",
"create-dialog": {
"title": "Créer une adresse multisig",
"preview-title": "L'adresse multisig a été générée",
Expand Down
2 changes: 2 additions & 0 deletions packages/neuron-ui/src/locales/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,8 @@
"export": "導出交易"
},
"multi-details": "多簽地址詳情",
"synchronization-abort": "同步中止",
"synchronization-abort-msg": "離開當前窗口將導致多簽同步中止,請確認是否離開。",
"create-dialog": {
"title": "創建多重簽名地址",
"preview-title": "簽名地址已生成",
Expand Down
2 changes: 2 additions & 0 deletions packages/neuron-ui/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,8 @@
"export": "导出交易"
},
"multi-details": "多签地址详情",
"synchronization-abort": "同步中止",
"synchronization-abort-msg": "离开当前窗口将导致多签同步中止,请确认是否离开。",
"create-dialog": {
"title": "创建多重签名地址",
"preview-title": "多签地址已生成",
Expand Down

0 comments on commit fe2082c

Please sign in to comment.