From e383e305052c4bd7c022bebfef4e9b3449e4a06a Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Thu, 22 May 2025 21:13:17 +0200 Subject: [PATCH] Add translations --- src/App.tsx | 4 +++- src/components/BuyQortInformation.tsx | 25 +++++++++++++++++++++---- src/i18n/locales/en/core.json | 5 ++++- 3 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 2c0e0c4..d756f44 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1560,7 +1560,9 @@ function App() { executeEvent('open-apps-mode', {}); }} > - {t('core:action.get_qort', { postProcess: 'capitalizeFirstChar' })} + {t('core:action.get_qort_trade', { + postProcess: 'capitalizeFirstChar', + })} ); diff --git a/src/components/BuyQortInformation.tsx b/src/components/BuyQortInformation.tsx index b3f6442..9b46bdc 100644 --- a/src/components/BuyQortInformation.tsx +++ b/src/components/BuyQortInformation.tsx @@ -50,7 +50,12 @@ export const BuyQortInformation = ({ balance }) => { aria-labelledby="alert-dialog-title" aria-describedby="alert-dialog-description" > - {'Get QORT'} + + {t('core:action.get_qort', { + postProcess: 'capitalizeFirstChar', + })} + + { postProcess: 'capitalizeFirstChar', })} + { - + + - + + diff --git a/src/i18n/locales/en/core.json b/src/i18n/locales/en/core.json index 346b075..50e53d0 100644 --- a/src/i18n/locales/en/core.json +++ b/src/i18n/locales/en/core.json @@ -27,6 +27,7 @@ "copy_link": "copy link", "create_apps": "create apps", "create_file": "create file", + "create_transaction": "create transactions on the Qortal Blockchain", "create_thread": "create thread", "decline": "decline", "decrypt": "decrypt", @@ -38,7 +39,8 @@ "enable_dev_mode": "enable dev mode", "enter_name": "enter a name", "export": "export", - "get_qort": "get QORT at Q-Trade", + "get_qort": "get QORT", + "get_qort_trade": "get QORT at Q-Trade", "hide": "hide", "import": "import", "import_theme": "import theme", @@ -227,6 +229,7 @@ "fetching_data": "fetching app data", "foreign_fee": "foreign fee: {{ message }}", "get_qort_trade_portal": "get QORT using Qortal's crosschain trade portal", + "minimal_qort_balance": "having at least {{ quantity }} QORT in your balance allows you to send chat messages at near instant speed.", "mentioned": "mentioned", "message_with_image": "this message already has an image", "most_recent_payment": "{{ count }} most recent payment",