Skip to content

Commit

Permalink
Improve translations
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Aug 27, 2024
1 parent 9a6ea26 commit f77acca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/Stats/ChainDetails/ChainInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const ChainInfo = () => {

const tokensData: GridItemProps[] = [
{
label: t('stats.voc_tokens', { defaultValue: 'VOC Tokens' }),
label: t('stats.tx_prices', { defaultValue: 'Transaction prices' }),
children: <TxCostsModal />,
isNumber: true,
},
Expand Down Expand Up @@ -93,7 +93,7 @@ export const ChainInfo = () => {
</VStack>
<DetailsGrid templateColumns={{ base: '1fr', sm: '1fr 1fr' }} details={statsData} rowGap={0} />
<Text fontSize='lg' fontWeight={'bold'} pt={2}>
<Trans i18nKey={'stats.tokens'}>Tokens</Trans>
<Trans i18nKey={'stats.tokens'}>Gas token details</Trans>
</Text>
<DetailsGrid templateColumns={{ base: '1fr', sm: '1fr 1fr' }} details={tokensData} rowGap={0} />
</StatsCardWrapper>
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,12 @@
"seconds_many": "{{count}} segons",
"seconds_other": "{{count}} segons",
"syncing": "Sincronitzant",
"tokens": "Tokens",
"tokens": "Detalls del gas per token",
"transactions_one": "{{count}} transacció",
"transactions_many": "{{count}} transaccions",
"transactions_other": "{{count}} transaccions",
"transactions_count": "Nombre de transaccions",
"tx_prices": "Preus de transacció",
"validators_one": "{{count}} validador",
"validators_many": "{{count}} validadors",
"validators_other": "{{count}} validadors",
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@
"seconds_one": "{{ count }} second",
"seconds_other": "{{ count }} seconds",
"syncing": "Syncing",
"tokens": "Tokens",
"tokens": "Gas token details",
"transactions_one": "{{count}} transactions",
"transactions_other": "{{count}} transactions",
"transactions_count": "Transactions count",
"tx_prices": "Transaction prices",
"validators_one": "{{count}} validators",
"validators_other": "{{count}} validators",
"validators_count": "Validators count",
"view_all_blocks": "View all blocks",
"voc_tokens": "VOC Tokens",
"votes": "Votes"
},
"transactions": {
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,12 @@
"seconds_many": "{{ count }} segundos",
"seconds_other": "{{ count }} segundos",
"syncing": "Sincronizando",
"tokens": "Tokens",
"tokens": "Detalles del gas por token",
"transactions_one": "{{count}} transacción",
"transactions_many": "{{count}} transacciones",
"transactions_other": "{{count}} transacciones",
"transactions_count": "Conteo de transacciones",
"tx_prices": "Precios de transacción",
"validators_one": "{{count}} validador",
"validators_many": "{{count}} validadores",
"validators_other": "{{count}} validadores",
Expand Down

0 comments on commit f77acca

Please sign in to comment.