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:
parent
48c02ef641
commit
3fefb68c69
4
app/_locales/de/messages.json
generated
4
app/_locales/de/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/el/messages.json
generated
4
app/_locales/el/messages.json
generated
@ -2308,10 +2308,6 @@
|
||||
"notificationsMarkAllAsRead": {
|
||||
"message": "Επισήμανση όλων ως αναγνωσμένων"
|
||||
},
|
||||
"numberOfNewTokensDetected": {
|
||||
"message": "$1 νέα token βρέθηκαν σε αυτόν τον λογαριασμό",
|
||||
"description": "$1 is the number of new tokens detected"
|
||||
},
|
||||
"ofTextNofM": {
|
||||
"message": "από"
|
||||
},
|
||||
|
8
app/_locales/en/messages.json
generated
8
app/_locales/en/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/es/messages.json
generated
4
app/_locales/es/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/fr/messages.json
generated
4
app/_locales/fr/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/hi/messages.json
generated
4
app/_locales/hi/messages.json
generated
@ -2308,10 +2308,6 @@
|
||||
"notificationsMarkAllAsRead": {
|
||||
"message": "सभी को पढ़ा हुआ चिन्हित करें"
|
||||
},
|
||||
"numberOfNewTokensDetected": {
|
||||
"message": "इस खाते में $1 के नए टोकन पाए गए",
|
||||
"description": "$1 is the number of new tokens detected"
|
||||
},
|
||||
"ofTextNofM": {
|
||||
"message": "का"
|
||||
},
|
||||
|
4
app/_locales/id/messages.json
generated
4
app/_locales/id/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/ja/messages.json
generated
4
app/_locales/ja/messages.json
generated
@ -2308,10 +2308,6 @@
|
||||
"notificationsMarkAllAsRead": {
|
||||
"message": "すべて既読にする"
|
||||
},
|
||||
"numberOfNewTokensDetected": {
|
||||
"message": "$1 の新しいトークンがこのアカウントで見つかりました",
|
||||
"description": "$1 is the number of new tokens detected"
|
||||
},
|
||||
"ofTextNofM": {
|
||||
"message": "中の"
|
||||
},
|
||||
|
4
app/_locales/ko/messages.json
generated
4
app/_locales/ko/messages.json
generated
@ -2308,10 +2308,6 @@
|
||||
"notificationsMarkAllAsRead": {
|
||||
"message": "모두 읽음으로 표시"
|
||||
},
|
||||
"numberOfNewTokensDetected": {
|
||||
"message": "계정에서 $1개의 새로운 토큰이 발견됨",
|
||||
"description": "$1 is the number of new tokens detected"
|
||||
},
|
||||
"ofTextNofM": {
|
||||
"message": "/"
|
||||
},
|
||||
|
4
app/_locales/pt/messages.json
generated
4
app/_locales/pt/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/ru/messages.json
generated
4
app/_locales/ru/messages.json
generated
@ -2308,10 +2308,6 @@
|
||||
"notificationsMarkAllAsRead": {
|
||||
"message": "Отметить все как прочитанные"
|
||||
},
|
||||
"numberOfNewTokensDetected": {
|
||||
"message": "$1 новых токена(-ов) найдены в этом аккаунте",
|
||||
"description": "$1 is the number of new tokens detected"
|
||||
},
|
||||
"ofTextNofM": {
|
||||
"message": "из"
|
||||
},
|
||||
|
4
app/_locales/tl/messages.json
generated
4
app/_locales/tl/messages.json
generated
@ -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"
|
||||
},
|
||||
|
4
app/_locales/tr/messages.json
generated
4
app/_locales/tr/messages.json
generated
@ -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": "/"
|
||||
},
|
||||
|
4
app/_locales/vi/messages.json
generated
4
app/_locales/vi/messages.json
generated
@ -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"
|
||||
},
|
||||
|
@ -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>
|
||||
);
|
||||
|
@ -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}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user