mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Add target object word to "View on Etherscan" links (#12100)
* Add target object word to "View on Etherscan" links Fix for: #9476 Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Fix Swap tests checking for View $1 at or View $1 on Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Linter Fixes Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Fix ui/hooks/useTransactionDisplayData.test.js expected result should be May 13, 2020 Update Jest snapshot for view on etherscan test Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Add description of the variables in messages. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * 1. localize all of the blockExplorerViewAction values 2. Apply this nit. https://github.com/MetaMask/metamask-extension/pull/12100#discussion_r708343532 Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Lint fixes. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Fix locale value not used on GUI error lint error. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Reverted this commit, on circle ci, the date is May 12. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Add description to link block explore actions to where it's used. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Fix missing messages. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
This commit is contained in:
parent
30105a19d1
commit
08dff86be0
@ -1124,15 +1124,6 @@
|
||||
"viewContact": {
|
||||
"message": "ዕውቂያን ይመልከቱ"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "በ $1ይመልከቱ"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "በ Etherscan ላይ ይመልከቱ"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "በኤክስፕሎረር ተመልከት"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "ድረ ገጻችንን ይጎብኙ"
|
||||
},
|
||||
|
@ -1120,15 +1120,6 @@
|
||||
"viewContact": {
|
||||
"message": "عرض جهة الاتصال"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "عرض في $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "عرضه على Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "عرض في متصفح Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "قم بزيارة موقعنا على الإنترنت"
|
||||
},
|
||||
|
@ -1123,15 +1123,6 @@
|
||||
"viewContact": {
|
||||
"message": "Преглед на контакта"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Преглед на $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Преглед на Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Преглед в Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Посетете нашият уеб сайт"
|
||||
},
|
||||
|
@ -1127,15 +1127,6 @@
|
||||
"viewContact": {
|
||||
"message": "পরিচিতি দেখুন"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "$1 এ দেখুন"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Etherscan দেখুন"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "এক্সপ্লোরারে দেখুন"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "আমাদের ওয়েবসাইট দেখুন"
|
||||
},
|
||||
|
@ -1096,15 +1096,6 @@
|
||||
"viewContact": {
|
||||
"message": "Veure Contacte"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Mostra a $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Veure a Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Mostra a Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visita el nostre lloc web"
|
||||
},
|
||||
|
@ -1096,15 +1096,6 @@
|
||||
"viewContact": {
|
||||
"message": "Vis kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Se på $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Se på Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Vis i stifinder"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Besøg vores webside"
|
||||
},
|
||||
|
@ -1087,15 +1087,6 @@
|
||||
"viewContact": {
|
||||
"message": "Kontakt anzeigen"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Für $1 ansehen"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Auf Etherscan ansehen"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Im Explorer anzeigen"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Gehe zu unserer Webseite"
|
||||
},
|
||||
|
@ -1121,15 +1121,6 @@
|
||||
"viewContact": {
|
||||
"message": "Εμφάνιση Επαφής"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Προβολή σε $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Προβολή στο Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Προβολή στον Εξερευνητή"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Επισκεφθείτε τον ιστότοπό μας"
|
||||
},
|
||||
|
@ -259,6 +259,22 @@
|
||||
"betaWelcome": {
|
||||
"message": "Welcome to MetaMask Beta"
|
||||
},
|
||||
"blockExplorerAccountAction": {
|
||||
"message": "Account",
|
||||
"description": "This is used with viewOnEtherscan and viewInExplorer e.g View Account in Explorer"
|
||||
},
|
||||
"blockExplorerAssetAction": {
|
||||
"message": "Asset",
|
||||
"description": "This is used with viewOnEtherscan and viewInExplorer e.g View Asset in Explorer"
|
||||
},
|
||||
"blockExplorerSwapAction": {
|
||||
"message": "Swap",
|
||||
"description": "This is used with viewOnEtherscan e.g View Swap on Etherscan"
|
||||
},
|
||||
"blockExplorerTransactionAction": {
|
||||
"message": "Transaction",
|
||||
"description": "This is used with viewOnCustomBlockExplorer and viewOnEtherscan e.g View Transaction on Etherscan"
|
||||
},
|
||||
"blockExplorerUrl": {
|
||||
"message": "Block Explorer URL"
|
||||
},
|
||||
@ -2781,13 +2797,16 @@
|
||||
"message": "View More"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "View at $1"
|
||||
"message": "View $1 at $2",
|
||||
"description": "$1 is the action type. e.g (Account, Transaction, Swap) and $2 is the Custom Block Exporer URL"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "View on Etherscan"
|
||||
"message": "View $1 on Etherscan",
|
||||
"description": "$1 is the action type. e.g (Account, Transaction, Swap)"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "View in Explorer"
|
||||
"message": "View $1 in Explorer",
|
||||
"description": "$1 is the action type. e.g (Account, Transaction, Swap)"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visit our web site"
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Ver más"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Ver en $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Ver en Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Ver en el explorador"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visite nuestro sitio web"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Ver más"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Ver en $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Ver en Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Ver en el explorador"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visite nuestro sitio web"
|
||||
},
|
||||
|
@ -1117,15 +1117,6 @@
|
||||
"viewContact": {
|
||||
"message": "Kuva kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Vaata $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Kuva Etherscanil"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Kuva Exploreris"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Külastage meie veebilehte"
|
||||
},
|
||||
|
@ -1127,15 +1127,6 @@
|
||||
"viewContact": {
|
||||
"message": "مشاهده تماس"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "مشاهده در 1$1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "مشاهده در ایترسکن"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "مشاهده در براوزر"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "از وب سایت ما دیدن نمایید"
|
||||
},
|
||||
|
@ -1124,15 +1124,6 @@
|
||||
"viewContact": {
|
||||
"message": "Näytä yhteyshenkilö"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Tarkastele kohdassa $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Näytä Etherscanissa"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Tarkastele Explorerissa"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Vieraile verkkosivustollamme"
|
||||
},
|
||||
|
@ -1021,15 +1021,6 @@
|
||||
"viewContact": {
|
||||
"message": "Tingnan ang Contact"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Tingnan sa $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Tingnan sa Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Tingnan sa Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Bisitahin ang aming web site"
|
||||
},
|
||||
|
@ -1103,15 +1103,6 @@
|
||||
"viewContact": {
|
||||
"message": "Voir contact"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Afficher sur $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Voir sur Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Afficher dans Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visitez notre site web"
|
||||
},
|
||||
|
@ -1121,15 +1121,6 @@
|
||||
"viewContact": {
|
||||
"message": "הצג איש קשר"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "הצג ב- $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "הצג ב-Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "הצג באקספלורר"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "בקר/י באתר שלנו"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "और देखें"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "$1 पर देखें"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Etherscan पर देखें"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "एक्सप्लोरर में देखें"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "हमारी वेबसाइट पर जाएँ"
|
||||
},
|
||||
|
@ -1117,15 +1117,6 @@
|
||||
"viewContact": {
|
||||
"message": "Prikaži kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Prikaži u $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Prikaži na Etherscanu"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Prikaži u Exploreru"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Posjetite naše mrežno mjesto"
|
||||
},
|
||||
|
@ -688,9 +688,6 @@
|
||||
"viewAccount": {
|
||||
"message": "Wè Kont"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Wè sou Etherscan"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Vizite sit entènèt nou an"
|
||||
},
|
||||
|
@ -1117,15 +1117,6 @@
|
||||
"viewContact": {
|
||||
"message": "Névjegy megtekintése"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Megtekintés $1-kor"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Nézze meg Etherscanen"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Megtekintés Explorerben"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Látogass el weboldalunkra"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Lihat Selengkapnya"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Lihat di $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Lihat di Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Lihat di Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Kunjungi situs web kami"
|
||||
},
|
||||
|
@ -1947,15 +1947,6 @@
|
||||
"viewContact": {
|
||||
"message": "Visualizza contatto"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Vedi su $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Vedi su Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Vista in Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visita il nostro sito web"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "詳細を表示"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "$1 に表示"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Etherscan で表示"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Explorer で表示"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "当社の Web サイトにアクセス"
|
||||
},
|
||||
|
@ -1127,15 +1127,6 @@
|
||||
"viewContact": {
|
||||
"message": "ಸಂಪರ್ಕವನ್ನು ವೀಕ್ಷಿಸಿ"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "$1 ನಲ್ಲಿ ವೀಕ್ಷಿಸಿ"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "ಎಥೆರ್ಸ್ಕ್ಯಾನ್ನಲ್ಲಿ ವೀಕ್ಷಿಸಿ"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "ಎಕ್ಸ್ಪ್ಲೋರರ್ನಲ್ಲಿ ವೀಕ್ಷಿಸಿ"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "ನಮ್ಮ ವೆಬ್ ಸೈಟ್ ಅನ್ನು ಭೇಟಿ ಮಾಡಿ"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "더 보기"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "$1에서 보기"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Etherscan에서 보기"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "탐색기에서 보기"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "당사 웹사이트 방문하기"
|
||||
},
|
||||
|
@ -1127,15 +1127,6 @@
|
||||
"viewContact": {
|
||||
"message": "Peržiūrėti kontaktą"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Peržiūrėti $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Peržiūrėti „Etherscan“"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Peržiūrėti naršyklėje"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Apsilankykite mūsų svetainėje"
|
||||
},
|
||||
|
@ -1123,15 +1123,6 @@
|
||||
"viewContact": {
|
||||
"message": "Skatīt līgumu"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Skatīt $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Skatīt Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Skatīt Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Apmeklējiet mūsu tīmekļa vietni"
|
||||
},
|
||||
|
@ -1101,15 +1101,6 @@
|
||||
"viewContact": {
|
||||
"message": "Lihat Kenalan"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Lihat pada $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Lihat di Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Lihat di Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Kunjungi laman web kami"
|
||||
},
|
||||
|
@ -1102,15 +1102,6 @@
|
||||
"viewContact": {
|
||||
"message": "Se kontrakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Vis ved $1 "
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Vis på Etherscan "
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Se i Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Besøk nettsiden vår "
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Tumingin Pa"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Tingnan sa $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Tingnan sa Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Tingnan sa Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Bisitahin ang aming website"
|
||||
},
|
||||
|
@ -1115,15 +1115,6 @@
|
||||
"viewContact": {
|
||||
"message": "Wyświetl kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Wyświetl w $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Zobacz na Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Wyświetl w przeglądarce"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Odwiedź naszą stronę"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Exibir Mais"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Exibir em $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Exibir no Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Exibir no Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Visite nosso website"
|
||||
},
|
||||
|
@ -1108,15 +1108,6 @@
|
||||
"viewContact": {
|
||||
"message": "Vizualizare contact"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Vizualizați la $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Vizualizați pe Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Vizualizare în Explorator"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Accesați site-ul nostru"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Посмотреть больше"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Посмотреть на $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Посмотреть на Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Проводник в проводнике"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Посетите наш веб-сайт"
|
||||
},
|
||||
|
@ -1084,15 +1084,6 @@
|
||||
"viewContact": {
|
||||
"message": "Zobraziť kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Zobraziť na $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Zobraziť na Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Zobraziť v Exploreri"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Navštivte naši stránku"
|
||||
},
|
||||
|
@ -1112,15 +1112,6 @@
|
||||
"viewContact": {
|
||||
"message": "Ogled stika"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Ogled na $1 "
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Poglej na Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Ogled v Explorerju"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Obiščite našo spletno stran"
|
||||
},
|
||||
|
@ -1112,15 +1112,6 @@
|
||||
"viewContact": {
|
||||
"message": "Pogledaj kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Pogledaj na $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Pogledaj na Etherscan-u"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Pogledati u Explorer-u"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Posetite našu veb lokaciju"
|
||||
},
|
||||
|
@ -1102,15 +1102,6 @@
|
||||
"viewContact": {
|
||||
"message": "Visa kontakt"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Visa vid $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Visa på Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Visa i Utforskaren"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Besök vår hemsida"
|
||||
},
|
||||
|
@ -1105,15 +1105,6 @@
|
||||
"viewContact": {
|
||||
"message": "Tazama Mawasiliano"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Tazama kwenye $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Tazama kwenye Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Tazama kwenye Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Tembelea Tovuti yetu"
|
||||
},
|
||||
|
@ -1900,15 +1900,6 @@
|
||||
"viewContact": {
|
||||
"message": "Tingnan ang Contact"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Tingnan sa $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Tingnan sa Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Tingnan sa Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Bisitahin ang aming website"
|
||||
},
|
||||
|
@ -1127,15 +1127,6 @@
|
||||
"viewContact": {
|
||||
"message": "Переглянути контакт"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Дивитись на $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Дивитись на Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Дивитись в Explorer"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Відвідайте наш веб-сайт"
|
||||
},
|
||||
|
@ -2386,15 +2386,6 @@
|
||||
"viewMore": {
|
||||
"message": "Xem thêm"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "Xem tại $1"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "Xem trên Etherscan"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "Xem trên trình khám phá"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "Truy cập trang web của chúng tôi"
|
||||
},
|
||||
|
@ -1924,15 +1924,6 @@
|
||||
"viewContact": {
|
||||
"message": "查看联系人"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "在 $1 查看"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "在 Etherscan(以太坊浏览器)上查看"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "在浏览器中查看"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "访问我们的网站"
|
||||
},
|
||||
|
@ -1115,15 +1115,6 @@
|
||||
"viewContact": {
|
||||
"message": "觀看聯絡資訊"
|
||||
},
|
||||
"viewOnCustomBlockExplorer": {
|
||||
"message": "在 $1 瀏覽"
|
||||
},
|
||||
"viewOnEtherscan": {
|
||||
"message": "在 Etherscan 上瀏覽"
|
||||
},
|
||||
"viewinExplorer": {
|
||||
"message": "在 Explorer 上瀏覽"
|
||||
},
|
||||
"visitWebSite": {
|
||||
"message": "造訪我們的網站"
|
||||
},
|
||||
|
@ -117,7 +117,9 @@ export default function AccountOptionsMenu({ anchorElement, onClose }) {
|
||||
}
|
||||
iconClassName="fas fa-external-link-alt"
|
||||
>
|
||||
{rpcPrefs.blockExplorerUrl ? t('viewinExplorer') : t('viewOnEtherscan')}
|
||||
{rpcPrefs.blockExplorerUrl
|
||||
? t('viewinExplorer', [t('blockExplorerAccountAction')])
|
||||
: t('viewOnEtherscan', [t('blockExplorerAccountAction')])}
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
data-testid="account-options-menu__connected-sites"
|
||||
|
@ -83,7 +83,9 @@ export default class AccountDetailsModal extends Component {
|
||||
? this.context.t('blockExplorerView', [
|
||||
rpcPrefs.blockExplorerUrl.match(/^https?:\/\/(.+)/u)[1],
|
||||
])
|
||||
: this.context.t('viewOnEtherscan')}
|
||||
: this.context.t('viewOnEtherscan', [
|
||||
this.context.t('blockExplorerAccountAction'),
|
||||
])}
|
||||
</Button>
|
||||
|
||||
{exportPrivateKeyFeatureEnabled ? (
|
||||
|
@ -181,8 +181,13 @@ export default class TransactionListItemDetails extends PureComponent {
|
||||
containerClassName="transaction-list-item-details__header-button-tooltip-container"
|
||||
title={
|
||||
blockExplorerUrl
|
||||
? t('viewOnCustomBlockExplorer', [blockExplorerUrl])
|
||||
: t('viewOnEtherscan')
|
||||
? t('viewOnCustomBlockExplorer', [
|
||||
t('blockExplorerTransactionAction'),
|
||||
blockExplorerUrl,
|
||||
])
|
||||
: t('viewOnEtherscan', [
|
||||
t('blockExplorerTransactionAction'),
|
||||
])
|
||||
}
|
||||
>
|
||||
<Button
|
||||
|
@ -50,7 +50,9 @@ const AssetOptions = ({
|
||||
onClickBlockExplorer();
|
||||
}}
|
||||
>
|
||||
{isEthNetwork ? t('viewOnEtherscan') : t('viewinExplorer')}
|
||||
{isEthNetwork
|
||||
? t('viewOnEtherscan', [t('blockExplorerAssetAction')])
|
||||
: t('viewinExplorer', [t('blockExplorerAssetAction')])}
|
||||
</MenuItem>
|
||||
{isNativeAsset ? null : (
|
||||
<MenuItem
|
||||
|
@ -43,7 +43,7 @@ describe('AwaitingSwap', () => {
|
||||
);
|
||||
expect(getByText('Transaction complete')).toBeInTheDocument();
|
||||
expect(getByText('tokens received: ETH')).toBeInTheDocument();
|
||||
expect(getByText('View at etherscan.io')).toBeInTheDocument();
|
||||
expect(getByText('View Swap at etherscan.io')).toBeInTheDocument();
|
||||
expect(getByText('Create a new swap')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ exports[`ViewOnEtherScanLink renders the component with a custom block explorer
|
||||
<div
|
||||
class="awaiting-swap__view-on-etherscan awaiting-swap__view-on-etherscan--visible"
|
||||
>
|
||||
View at custom-blockchain.explorer
|
||||
View Swap at custom-blockchain.explorer
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
@ -15,7 +15,7 @@ exports[`ViewOnEtherScanLink renders the component with initial props 1`] = `
|
||||
<div
|
||||
class="awaiting-swap__view-on-etherscan awaiting-swap__view-on-etherscan--visible"
|
||||
>
|
||||
View on Etherscan
|
||||
View Swap on Etherscan
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
@ -34,8 +34,11 @@ export default function ViewOnEtherScanLink({
|
||||
}}
|
||||
>
|
||||
{isCustomBlockExplorerUrl
|
||||
? t('viewOnCustomBlockExplorer', [getURLHostName(blockExplorerUrl)])
|
||||
: t('viewOnEtherscan')}
|
||||
? t('viewOnCustomBlockExplorer', [
|
||||
t('blockExplorerSwapAction'),
|
||||
getURLHostName(blockExplorerUrl),
|
||||
])
|
||||
: t('viewOnEtherscan', [t('blockExplorerSwapAction')])}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ describe('ViewOnEtherScanLink', () => {
|
||||
const { container, getByText } = renderWithProvider(
|
||||
<ViewOnEtherScanLink {...createProps()} />,
|
||||
);
|
||||
expect(getByText('View on Etherscan')).toBeInTheDocument();
|
||||
expect(getByText('View Swap on Etherscan')).toBeInTheDocument();
|
||||
expect(container).toMatchSnapshot();
|
||||
});
|
||||
|
||||
@ -31,7 +31,9 @@ describe('ViewOnEtherScanLink', () => {
|
||||
})}
|
||||
/>,
|
||||
);
|
||||
expect(getByText('View at custom-blockchain.explorer')).toBeInTheDocument();
|
||||
expect(
|
||||
getByText('View Swap at custom-blockchain.explorer'),
|
||||
).toBeInTheDocument();
|
||||
expect(container).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user