1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fixing token detection grammar (#15644)

* Fixing token detection grammar

* Unused locale cleanup
This commit is contained in:
ryanml 2022-08-19 13:19:15 -07:00 committed by GitHub
parent 48c02ef641
commit 3fefb68c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 15 additions and 55 deletions

View File

@ -2271,10 +2271,6 @@
"notificationsMarkAllAsRead": {
"message": "Alle als gelesen markieren"
},
"numberOfNewTokensDetected": {
"message": "$1 neue Tokens in diesem Konto gefunden",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "von"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Επισήμανση όλων ως αναγνωσμένων"
},
"numberOfNewTokensDetected": {
"message": "$1 νέα token βρέθηκαν σε αυτόν τον λογαριασμό",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "από"
},

View File

@ -2396,10 +2396,13 @@
"notificationsMarkAllAsRead": {
"message": "Mark all as read"
},
"numberOfNewTokensDetected": {
"numberOfNewTokensDetectedPlural": {
"message": "$1 new tokens found in this account",
"description": "$1 is the number of new tokens detected"
},
"numberOfNewTokensDetectedSingular": {
"message": "1 new token found in this account"
},
"ofTextNofM": {
"message": "of"
},
@ -3866,6 +3869,9 @@
"tokenDetectionDescription": {
"message": "ConsenSys' token API aggregates a list of tokens from various third party token lists. When turned on, tokens will be automatically detected, and searchable, on Ethereum mainnet, Binance, Polygon and Avalanche. When turned off, you will still be able to search for tokens on Ethereum mainnet using MetaMask's legacy token list."
},
"tokenFoundTitle": {
"message": "1 new token found"
},
"tokenId": {
"message": "Token ID"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Marcar todo como leído"
},
"numberOfNewTokensDetected": {
"message": "Se encontraron tokens nuevos de $1 en esta cuenta",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "de"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Marquer tout comme lu"
},
"numberOfNewTokensDetected": {
"message": "$1 nouveaux jetons trouvés dans ce compte",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "de"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "सभी को पढ़ा हुआ चिन्हित करें"
},
"numberOfNewTokensDetected": {
"message": "इस खाते में $1 के नए टोकन पाए गए",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "का"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Tandai semua telah dibaca"
},
"numberOfNewTokensDetected": {
"message": "$1 token baru ditemukan di akun ini",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "dari"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "すべて既読にする"
},
"numberOfNewTokensDetected": {
"message": "$1 の新しいトークンがこのアカウントで見つかりました",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "中の"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "모두 읽음으로 표시"
},
"numberOfNewTokensDetected": {
"message": "계정에서 $1개의 새로운 토큰이 발견됨",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "/"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Marcar todas como lidas"
},
"numberOfNewTokensDetected": {
"message": "$1 novos tokens encontrados nesta conta",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "de"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Отметить все как прочитанные"
},
"numberOfNewTokensDetected": {
"message": "$1 новых токена(-ов) найдены в этом аккаунте",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "из"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Markahan ang lahat bilang nabasa na"
},
"numberOfNewTokensDetected": {
"message": "$1 bagong token ang nakita sa account na ito",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "ng"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Tümünü okundu olarak işaretle"
},
"numberOfNewTokensDetected": {
"message": "Bu hesapta $1 yeni token bulundu",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "/"
},

View File

@ -2308,10 +2308,6 @@
"notificationsMarkAllAsRead": {
"message": "Đánh dấu đã đọc tất cả"
},
"numberOfNewTokensDetected": {
"message": "Tìm thấy $1 token mới trong tài khoản này",
"description": "$1 is the number of new tokens detected"
},
"ofTextNofM": {
"message": "trên"
},

View File

@ -43,7 +43,9 @@ const DetectedTokensLink = ({ className = '', setShowDetectedTokens }) => {
className="detected-tokens-link__link"
onClick={onClick}
>
{t('numberOfNewTokensDetected', [detectedTokens.length])}
{detectedTokens.length === 1
? t('numberOfNewTokensDetectedSingular')
: t('numberOfNewTokensDetectedPlural', [detectedTokens.length])}
</Button>
</Box>
);

View File

@ -71,7 +71,11 @@ const DetectedTokenSelectionPopover = ({
return (
<Popover
className="detected-token-selection-popover"
title={t('tokensFoundTitle', [detectedTokens.length])}
title={
detectedTokens.length === 1
? t('tokenFoundTitle')
: t('tokensFoundTitle', [detectedTokens.length])
}
onClose={onClose}
footer={footer}
>