From 00ec2e1d0995f32c4a1cfa08550a868506243010 Mon Sep 17 00:00:00 2001 From: Denis Nebytov Date: Fri, 20 Dec 2024 17:19:00 +0300 Subject: [PATCH] fixed remarks --- .../app/components/transfer/BaseTransferPage.js | 1 - .../app/components/transfer/cards/TransferTypeSelect.js | 6 +++++- packages/yoroi-extension/app/i18n/locales/en-US.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/yoroi-extension/app/components/transfer/BaseTransferPage.js b/packages/yoroi-extension/app/components/transfer/BaseTransferPage.js index c3b8e00794..c87f7f6aa7 100644 --- a/packages/yoroi-extension/app/components/transfer/BaseTransferPage.js +++ b/packages/yoroi-extension/app/components/transfer/BaseTransferPage.js @@ -55,7 +55,6 @@ export default class BaseTransferPage extends Component { actions={actions} closeOnOverlayClick={false} onClose={onBack} - className={undefined} backButton={} > diff --git a/packages/yoroi-extension/app/components/transfer/cards/TransferTypeSelect.js b/packages/yoroi-extension/app/components/transfer/cards/TransferTypeSelect.js index 170048e229..7813c07f4d 100644 --- a/packages/yoroi-extension/app/components/transfer/cards/TransferTypeSelect.js +++ b/packages/yoroi-extension/app/components/transfer/cards/TransferTypeSelect.js @@ -23,6 +23,10 @@ const messages = defineMessages({ id: 'wallet.transfer.subInstruction', defaultMessage: '!!!Learn more about Byron and Shelley eras and how to claim ADA on our', }, + faqAbbreviation: { + id: 'settings.support.faq.abbreviation', + defaultMessage: '!!!FAQ', + } }); @observer @@ -39,7 +43,7 @@ export default class TransferTypeSelect extends Component { onClick={event => handleExternalLinkClick(event)} id="settings:support-faq-link" > - FAQ + {intl.formatMessage(messages.faqAbbreviation)} ); diff --git a/packages/yoroi-extension/app/i18n/locales/en-US.json b/packages/yoroi-extension/app/i18n/locales/en-US.json index 501e9d078f..adfa645487 100644 --- a/packages/yoroi-extension/app/i18n/locales/en-US.json +++ b/packages/yoroi-extension/app/i18n/locales/en-US.json @@ -319,6 +319,7 @@ "settings.support.faq.faqLink": "FAQ on Yoroi website", "settings.support.faq.faqLinkURL": "https://yoroi-wallet.com/faq/", "settings.support.faq.title": "Frequently asked questions", + "settings.support.faq.abbreviation": "FAQ", "settings.support.logs.content": "If you want to inspect logs, you can {downloadLogsLink}. Logs do not contain sensitive information, and it would be helpful to attach them to problem reports to help the team investigate the issue you are experiencing.", "settings.support.logs.downloadLogsButtonLabel": "Download Logs", "settings.support.logs.downloadLogsLink": "download them here",