From 0bb0993d93ffc131897100368aee066580416b60 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Tue, 22 Aug 2023 00:56:00 +0200 Subject: [PATCH 1/2] Consistently capitalize columns and description terms --- .changelog/810.internal.md | 1 + src/locales/en/translation.json | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .changelog/810.internal.md diff --git a/.changelog/810.internal.md b/.changelog/810.internal.md new file mode 100644 index 000000000..b7e8cf742 --- /dev/null +++ b/.changelog/810.internal.md @@ -0,0 +1 @@ +Consistently capitalize columns and description terms diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 7a6b299ad..fe37e47ba 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -49,14 +49,14 @@ "ethHash": "ETH hash", "events": "Events", "failed": "Failed", - "fiatValue": "Fiat value", + "fiatValue": "Fiat Value", "fiatValueInUSD": "{{value, currency}}", "fill": "Fill", "formattedBlockTimestamp": "{{timestamp, dateTime}} ({{distance}})", "formattedDateTime": "{{timestamp, dateTime}}", "from": "From", - "gasUsed": "Gas used", - "gasLimit": "Gas limit", + "gasUsed": "Gas Used", + "gasLimit": "Gas Limit", "hash": "Hash", "height": "Height", "hide": "Hide", @@ -217,7 +217,7 @@ "emptyTokenHolderList": "There are no token holders on record for this token.", "holders": "Token Holders", "holdersValue": "{{ value, number }}", - "holdersCount": "Holders count", + "holdersCount": "Holders Count", "holdersCount_short": "Holders", "totalSupply": "Total Supply", "totalSupplyValue": "{{ value, number }}", From 4b98a2e7005a997dcb810a223361bee6f17fabfa Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Tue, 22 Aug 2023 00:38:36 +0200 Subject: [PATCH 2/2] Update Transaction Fee text --- src/app/components/Transactions/index.tsx | 2 +- src/app/pages/TransactionDetailPage/index.tsx | 2 +- src/locales/en/translation.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/Transactions/index.tsx b/src/app/components/Transactions/index.tsx index ab755cb9f..c35706385 100644 --- a/src/app/components/Transactions/index.tsx +++ b/src/app/components/Transactions/index.tsx @@ -80,7 +80,7 @@ export const Transactions: FC = ({ { key: 'type', content: t('common.type'), align: TableCellAlign.Center }, { key: 'from', content: t('common.from'), width: '150px' }, { key: 'to', content: t('common.to'), width: '150px' }, - { key: 'txnFee', content: t('common.txnFee'), align: TableCellAlign.Right, width: '250px' }, + { key: 'txnFee', content: t('common.transactionFee'), align: TableCellAlign.Right, width: '250px' }, { key: 'value', align: TableCellAlign.Right, content: t('common.value'), width: '250px' }, ] : []), diff --git a/src/app/pages/TransactionDetailPage/index.tsx b/src/app/pages/TransactionDetailPage/index.tsx index 68c90ad91..a81e9d042 100644 --- a/src/app/pages/TransactionDetailPage/index.tsx +++ b/src/app/pages/TransactionDetailPage/index.tsx @@ -321,7 +321,7 @@ export const TransactionDetailView: FC<{ )} -
{t('common.txnFee')}
+
{t('common.transactionFee')}
{t('common.valueInToken', { ...getPreciseNumberFormat(transaction.charged_fee), diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index fe37e47ba..8135acf89 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -89,7 +89,7 @@ "totalSent": "Total Sent", "transactions": "Transactions", "transactionAbbreviation": "Txs", - "txnFee": "Txn Fee", + "transactionFee": "Transaction Fee", "type": "Type", "quantity": "Quantity", "undefined": "Undefined",