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

Merge pull request #10617 from MetaMask/Version-v9.2.0

Version v9.2.0 RC
This commit is contained in:
Mark Stacey 2021-03-15 13:18:14 -02:30 committed by GitHub
commit 513a6486aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
200 changed files with 2197 additions and 1762 deletions

View File

@ -2,6 +2,19 @@
## Current Develop Branch
## 9.2.0 Tue Mar 09 2021
- [#10546](https://github.com/MetaMask/metamask-extension/pull/10546): Add a warning when sending a token to its own contract address
- [#10563](https://github.com/MetaMask/metamask-extension/pull/10563): Update references to MetaMask support
- [#10126](https://github.com/MetaMask/metamask-extension/pull/10126): Update Italian translation
- [#10591](https://github.com/MetaMask/metamask-extension/pull/10591): Fix mobile sync of ERC20 tokens
- [#10582](https://github.com/MetaMask/metamask-extension/pull/10582): Adding warnings for excessive custom gas input
- [#10601](https://github.com/MetaMask/metamask-extension/pull/10601): Fix activity title text truncation
- [#10598](https://github.com/MetaMask/metamask-extension/pull/10598): Remove 'Ethereum' from custom RPC endpoint warning
- [#10606](https://github.com/MetaMask/metamask-extension/pull/10606): Show loading screen while fetching token data for approve screen
- [#10486](https://github.com/MetaMask/metamask-extension/pull/10486): Add setting to hide zero balance tokens
- [#10505](https://github.com/MetaMask/metamask-extension/pull/10505): Add support for multiple Ledger & Trezor hardware accounts
- [#10587](https://github.com/MetaMask/metamask-extension/pull/10587): Show correct block explorer for custom RPC endpoints for built-in networks
## 9.1.1 Wed Mar 03 2021
- [#10560](https://github.com/MetaMask/metamask-extension/pull/10560): Fix ENS resolution related crashes when switching networks on send screen
- [#10561](https://github.com/MetaMask/metamask-extension/pull/10561): Fix crash when speeding up an attempt to cancel a transaction on custom networks

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "የዘር ሐረግዎን በድጋሚ መጠባበቂያ ለመያዝ ከፈለጉ፣ በቅንብሮች -> ግላዊነት ውስጥ ሊያገኙት ይችላሉ።"
},
"endOfFlowMessage7": {
"message": "ጥያቄዎች ካሉዎት ወይም የሆነ አጠራጣሪ ነገር ካዩ፣ እባክዎ ለ support@metamask.io ኢሜይል ይላኩ።"
},
"endOfFlowMessage8": {
"message": "MetaMask የዘር ሐረግዎን መልሶ ማግኘት አልቻለም። ተጨማሪ መረጃ ያግኙ።"
},
@ -772,15 +769,6 @@
"privateNetwork": {
"message": "የግል አውታረ መረብ"
},
"protectYourKeys": {
"message": "ቁልፎችዎን ይጠብቁ!"
},
"protectYourKeysMessage1": {
"message": "ስለ ዘር ሐረግዎ ይጠንቀቁ - ራሳቸውን ከ MetaMask ጋር ለማመሳሰል የሚሞከሩ ድረ ገጾች እናሉ ሰምተናል። MetaMask በጭራሽ የዘር ሐረግዎን አይጠይቅዎትም!"
},
"protectYourKeysMessage2": {
"message": "የሐረግዎን ደህንነት ይጠብቁ። ይም የሆነ አጠራጣሪ ነገር ካዩ ወይም ስለ አንድ ድረ ገጽ እርግጠኛ ካልሆኑ፣ እባክዎ ለ support@metamask.io ኢሜይል ይላኩ"
},
"queue": {
"message": "ወረፋ"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "إذا كنت بحاجة إلى عمل نسخة احتياطية من عبارة الأمان الخاصة بك مرة أخرى، يمكنك العثور عليها في الإعدادات -> الأمان."
},
"endOfFlowMessage7": {
"message": "إذا كانت لديك أسئلة أو ترى شيئاً ما مريباً، فأرسل بريداً إلكترونياً إلى support@metamask.io."
},
"endOfFlowMessage8": {
"message": "لا يمكن لـ MetaMask استعادة جملتك البذرية. تعلم المزيد."
},
@ -768,15 +765,6 @@
"privateNetwork": {
"message": "شبكة خاصة"
},
"protectYourKeys": {
"message": "احمِ مفاتيحك!"
},
"protectYourKeysMessage1": {
"message": "كن حذراً بشأن عبارة الأمان الخاصة بك - فهناك بلاغات عن مواقع ويب تحاول تقليد MetaMask. لن تسأل MetaMask عن عبارة الأمان الخاصة بك أبداً!"
},
"protectYourKeysMessage2": {
"message": "أبقِ عبارة الأمان الخاصة بك بأمان. إذا رأيت شيئاً مريباً، أو كنت غير متأكد من موقع ويب ما، أرسل بريداً إلكترونياً إلى support@metamask.io"
},
"queue": {
"message": "اللائحة"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Ако отново трябва да архивирате основната си фраза, можете да я намерите в Настройки -> Защита."
},
"endOfFlowMessage7": {
"message": "Ако имате въпроси или забележите нещо съмнително, изпратете имейл на support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask не може да възстанови ключовата Ви фраза. Научете повече."
},
@ -771,15 +768,6 @@
"privateNetwork": {
"message": "Частна мрежа"
},
"protectYourKeys": {
"message": "Защитете ключовете си!"
},
"protectYourKeysMessage1": {
"message": "Внимавайте с вашата фраза - има съобщения за уебсайтове, които се опитват да имитират MetaMask. MetaMask никога няма да поиска вашата фраза-зародиш!"
},
"protectYourKeysMessage2": {
"message": "Пазете фразата си. Ако забележите нещо съмнително или не сте сигурни за даден уебсайт, изпратете имейл на support@metamask.io"
},
"queue": {
"message": "Опашка"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "আপনাকে আপনার সীড আবার ব্যাকআপ করতে হলে, আপনি সেটি সেটিংস -> নিরাপত্তায় পাবেন।"
},
"endOfFlowMessage7": {
"message": "আপনার কখনও কোনো প্রশ্ন থাকলে বা সন্দেহজনক কিছু দেখলে, support@metamask.io ঠিকানায় ইমেল করুন।"
},
"endOfFlowMessage8": {
"message": "MetaMask আপনার সীডফ্রেজ পুনরুদ্ধার করতে পারবে না। আরও জানুন।"
},
@ -775,15 +772,6 @@
"privateNetwork": {
"message": "ব্যক্তিগত নেটওয়ার্ক"
},
"protectYourKeys": {
"message": "আপনার কীগুলি সুরক্ষিত করুন!"
},
"protectYourKeysMessage1": {
"message": "আপনার সীড ফ্রেজ বিষয়ে সাবধান থাকুন — এমন ওয়েবসাইটগুলির রিপোর্ট পাওয়া গেছে যেগুলি MetaMask কে অনুকরণ করার চেষ্টা করে। MetaMask কখনও আপনার সীড ফ্রেজ জিজ্ঞাসা করবে না।"
},
"protectYourKeysMessage2": {
"message": "আপনার ফ্রেজটিকে নিরাপদে রাখুন।সন্দেহজনক কিছু দেখলে, বা একটি ওয়েবসাইট সম্পর্কে নিশ্চিত না হলে, support@metamask.io এ ইমেল করুন"
},
"queue": {
"message": "অপেক্ষমাণ"
},

View File

@ -347,9 +347,6 @@
"endOfFlowMessage6": {
"message": "Si necessites fer una còpia de seguretat de la teva frase de recuperació una altra vegada, la pots trobar a Configuració-> Seguretat."
},
"endOfFlowMessage7": {
"message": "Si mai tens preguntes o veus alguna cosa sospitosa, envia un correu a support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask no pot recuperar la teva seedphrase. Descobreix per què."
},
@ -756,15 +753,6 @@
"privateNetwork": {
"message": "Xarxa privada"
},
"protectYourKeys": {
"message": "Protegeix les Teves Claus!"
},
"protectYourKeysMessage1": {
"message": "Vigila amb la teva frase de recuperació —s'han documentat casos de llocs web que intenten imitar MetaMask. MetaMask mai no et demanarà la frase de recuperació!"
},
"protectYourKeysMessage2": {
"message": "Mantingues segura la teva frase. Si veus alguna cosa sospitosa, o no estàs segur d'un lloc web, envia un correu a support@metamask.io"
},
"queue": {
"message": "Cua"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Hvis du får brug for at lave en backup af din seedfrase igen, kan du finde det under Indstillinger -> Sikkerhed."
},
"endOfFlowMessage7": {
"message": "Hvis du har spørgsmål eller bemærker noget mistænkeligt, send en mail til support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask kan ikke gendanne din seed-sætning. Få mere at vide."
},
@ -756,15 +753,6 @@
"privateNetwork": {
"message": "Privat netværk"
},
"protectYourKeys": {
"message": "Beskyt dine nøgler!"
},
"protectYourKeysMessage1": {
"message": "Vær forsigtig med din backupsætning - der har været rapporter om websteder, der forsøger at efterligne MetaMask. MetaMask vil aldrig bede om din backupsætning!"
},
"protectYourKeysMessage2": {
"message": "Opbevar din frase et sikkert sted. Hvis du ser noget mistænkeligt, eller du er usikker på hjemmesiden, skriv en email til support@metamask.io"
},
"queue": {
"message": "Kø"
},

View File

@ -338,9 +338,6 @@
"endOfFlowMessage6": {
"message": "Wenn Sie Ihre mnemonische Phrase erneut sicherstellen müssen, finden Sie sie unter Einstellungen -> Sicherheit."
},
"endOfFlowMessage7": {
"message": "Wenn Sie Fragen haben sollten oder etwas Suspektes bemerken, schreiben Sie eine E-Mail an support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask kann Ihren Seedschlüssel nicht wiederherstellen. Erfahren Sie mehr."
},
@ -744,15 +741,6 @@
"privateNetwork": {
"message": "Privates Netzwerk"
},
"protectYourKeys": {
"message": "Schützen Sie Ihre Schlüssel!"
},
"protectYourKeysMessage1": {
"message": "Seien Sie mit Ihrer mnemonischen Phrase vorsichtig - es gab Berichte über Websites, die MetaMask zu imitieren versuchen. MetaMask fragt nie nach Ihrer mnemonischen Phrase!"
},
"protectYourKeysMessage2": {
"message": "Bewahren Sie Ihren Schlüssel sicher auf. Wenn etwas faul zu sein scheint oder Sie Zweifel wegen einer Website haben, schicken Sie eine E-Mail an support@metamask.io"
},
"queue": {
"message": "Warteschlange"
},

View File

@ -347,9 +347,6 @@
"endOfFlowMessage6": {
"message": "Αν χρειάζεται να δημιουργήσετε ξανά αντίγραφο της φράσης επαναφοράς σας, μπορείτε να την βρείτε στη Ρυθμίσεις -> Ασφάλεια."
},
"endOfFlowMessage7": {
"message": "Εάν έχετε οποιαδήποτε ερώτηση ή αντιληφθείτε κάτι ύποπτο στείλτε μας email στο support@metamask.io."
},
"endOfFlowMessage8": {
"message": "Το MetaMask δεν μπορεί να ανακτήσει τη φράση φύτρου σας. Μάθετε περισσότερα."
},
@ -772,15 +769,6 @@
"privateNetwork": {
"message": "Ιδιωτικό Δίκτυο"
},
"protectYourKeys": {
"message": "Προστατεύστε τα Κλειδιά Σας!"
},
"protectYourKeysMessage1": {
"message": "Να προσέχετε με τη φάση σπόρου. Υπάρχουν αναφορές για ιστότοπους που προσπαθούν να προσποιηθούν ότι είναι το MetaTask. Το MetaTask δεν θα σας ρωτήσει ποτέ για τη φάση σπόρου!"
},
"protectYourKeysMessage2": {
"message": "Κρατήστε τη φράση σας ασφαλή. Αν δείτε κάτι ύποπτο ή δεν είστε βέβαιοι για έναν ιστότοπο, στείλτε ένα email στο support@metamask.io"
},
"queue": {
"message": "Ουρά"
},

View File

@ -405,6 +405,9 @@
"continueToWyre": {
"message": "Continue to Wyre"
},
"contractAddressError": {
"message": "You are sending tokens to the token's contract address. This may result in the loss of these tokens."
},
"contractDeployment": {
"message": "Contract Deployment"
},
@ -607,7 +610,8 @@
"message": "If you need to back up your seed phrase again, you can find it in Settings -> Security."
},
"endOfFlowMessage7": {
"message": "If you ever have questions or see something fishy, email support@metamask.io."
"message": "If you ever have questions or see something fishy, contact our support $1.",
"description": "$1 is a clickable link with text defined by the 'here' key. The link will open to a form where users can file support tickets."
},
"endOfFlowMessage8": {
"message": "MetaMask cannot recover your seedphrase."
@ -654,12 +658,12 @@
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Try again by reloading the page, or contact support at support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
"message": "Try again by reloading the page, or contact support $1.",
"description": "Message displayed on generic error page in the fullscreen or notification UI, $1 is a clickable link with text defined by the 'here' key. The link will open to a form where users can file support tickets."
},
"errorPagePopupMessage": {
"message": "Try again by closing and reopening the popup, or contact support at support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
"message": "Try again by closing and reopening the popup, or contact support $1.",
"description": "Message displayed on generic error page in the popup UI, $1 is a clickable link with text defined by the 'here' key. The link will open to a form where users can file support tickets."
},
"errorPageTitle": {
"message": "MetaMask encountered an error",
@ -759,6 +763,12 @@
"gasPrice": {
"message": "Gas Price (GWEI)"
},
"gasPriceExcessive": {
"message": "Your gas fee is set unnecessarily high. Consider lowering the amount."
},
"gasPriceExcessiveInput": {
"message": "Gas Price Is Excessive"
},
"gasPriceExtremelyLow": {
"message": "Gas Price Extremely Low"
},
@ -807,6 +817,10 @@
"hardwareWalletConnected": {
"message": "Hardware wallet connected"
},
"hardwareWalletLegacyDescription": {
"message": "(legacy)",
"description": "Text representing the MEW path"
},
"hardwareWallets": {
"message": "Connect a hardware wallet"
},
@ -833,6 +847,9 @@
"message": "Hide $1",
"description": "$1 is the symbol for a token (e.g. 'DAI')"
},
"hideZeroBalanceTokens": {
"message": "Hide Tokens Without Balance"
},
"history": {
"message": "History"
},
@ -1203,7 +1220,7 @@
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "A malicious Ethereum network provider can lie about the state of the blockchain and record your network activity. Only add custom networks you trust."
"message": "A malicious network provider can lie about the state of the blockchain and record your network activity. Only add custom networks you trust."
},
"onlyAvailableOnMainnet": {
"message": "Only available on mainnet"
@ -1289,15 +1306,6 @@
"proposedApprovalLimit": {
"message": "Proposed Approval Limit"
},
"protectYourKeys": {
"message": "Protect Your Keys!"
},
"protectYourKeysMessage1": {
"message": "Be careful with your seed phrase — there have been reports of websites that attempt to imitate MetaMask. MetaMask will never ask for your seed phrase!"
},
"protectYourKeysMessage2": {
"message": "Keep your phrase safe. If you see something fishy, or youre uncertain about a website, email support@metamask.io"
},
"provide": {
"message": "Provide"
},
@ -1476,6 +1484,9 @@
"selectAnAccount": {
"message": "Select an Account"
},
"selectAnAccountAlreadyConnected": {
"message": "This account has already been connected to MetaMask"
},
"selectAnAccountHelp": {
"message": "Select the account to view in MetaMask"
},

View File

@ -562,9 +562,6 @@
"endOfFlowMessage6": {
"message": "Si necesita hacer una copia de seguridad de su frase semilla nuevamente, puede encontrarla en Configuración -> Seguridad."
},
"endOfFlowMessage7": {
"message": "Si alguna vez tiene preguntas o ve algo sospechoso, envíe un correo electrónico a support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask no puede recuperar tu frase semilla. Saber más."
},
@ -609,14 +606,6 @@
"message": "Código: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Vuelva a intentarlo recargando la página o póngase en contacto con el soporte en support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Vuelva a intentarlo cerrando y volviendo a abrir la ventana emergente, o comuníquese con el soporte en support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask encontró un error",
"description": "Title of generic error page"
@ -1136,7 +1125,7 @@
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "Un proveedor de red de Ethereum malintencionado puede mentir sobre el estado de la cadena de bloques y registrar la actividad de su red. Solo agregue redes personalizadas en las que confíe."
"message": "Un proveedor de red de malintencionado puede mentir sobre el estado de la cadena de bloques y registrar la actividad de su red. Solo agregue redes personalizadas en las que confíe."
},
"onlyAvailableOnMainnet": {
"message": "Solo disponible en la red principal de Ethereum (Main Net)"
@ -1222,15 +1211,6 @@
"proposedApprovalLimit": {
"message": "Límite de aprobación propuesto"
},
"protectYourKeys": {
"message": "¡Proteja sus llaves!"
},
"protectYourKeysMessage1": {
"message": "Tenga cuidado con su frase semilla — ha habido informes de sitios web que intentan imitar MetaMask. ¡MetaMask nunca le pedirá su frase semilla!"
},
"protectYourKeysMessage2": {
"message": "Mantenga su frase a salvo. Si ve algo sospechoso o no está seguro acerca de un sitio web, envíe un correo electrónico a support@metamask.io"
},
"provide": {
"message": "Proveer"
},

View File

@ -562,9 +562,6 @@
"endOfFlowMessage6": {
"message": "Si necesitas otro respaldo de tu frase semilla, puedes encontrarla en Configuración -> Seguridad."
},
"endOfFlowMessage7": {
"message": "Si tienes preguntas o ves algo sospechoso, envía un correo electrónico a support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask no puede recuperar tu frase semilla. Obtén más información."
},
@ -609,14 +606,6 @@
"message": "Código: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Vuelva a intentarlo recargando la página o póngase en contacto con el soporte en support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Vuelva a intentarlo cerrando y volviendo a abrir la ventana emergente, o comuníquese con el soporte en support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask encontró un error",
"description": "Title of generic error page"
@ -1136,7 +1125,7 @@
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "Un proveedor de red de Ethereum malintencionado puede mentir sobre el estado de la cadena de bloques y registrar la actividad de su red. Solo agregue redes personalizadas en las que confíe."
"message": "Un proveedor de red de malintencionado puede mentir sobre el estado de la cadena de bloques y registrar la actividad de su red. Solo agregue redes personalizadas en las que confíe."
},
"onlyAvailableOnMainnet": {
"message": "Solo disponible en la red principal de Ethereum (Main Net)"
@ -1222,15 +1211,6 @@
"proposedApprovalLimit": {
"message": "Límite de aprobación propuesto"
},
"protectYourKeys": {
"message": "¡Protege tus claves!"
},
"protectYourKeysMessage1": {
"message": "Ten cuidado con tu frase semilla — hay informes sobre sitios web que intentan hacerse pasar por MetaMask. ¡MetaMask no te pedirá nunca tu frase semilla!"
},
"protectYourKeysMessage2": {
"message": "Mantén tu frase segura. Si notas algo raro o si no está seguro sobre si usar algún sitio web en específico, envíanos un correo electrónico a support@metamask.io"
},
"provide": {
"message": "Proveer"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Kui peate oma seemnefraasi uuesti varundama, leiate selle valikust Settings (Seaded) -> Security (Turvalisus)."
},
"endOfFlowMessage7": {
"message": "Kui teil on küsimusi või näete midagi kahtlast, kirjutage meile support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask ei saa teie seemnefraasi taastada. Lisateave."
},
@ -765,15 +762,6 @@
"privateNetwork": {
"message": "Privaatvõrk"
},
"protectYourKeys": {
"message": "Kaitske oma võtmeid!"
},
"protectYourKeysMessage1": {
"message": "Kaitske oma seemnefraasi. Meid on teavitatud veebilehtedest, mis püüavad MetaMaski jäljendada. MetaMask ei küsi teilt kunagi teie seemnefraasi!"
},
"protectYourKeysMessage2": {
"message": "Kaitske oma seemnefraasi. Kui näete midagi kahtlast või pole veebilehe ehtsuses kindel, saatke e-kiri aadressile support@metamask.io"
},
"queue": {
"message": "Järjekord"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "در صورتیکه شما نیاز به گرفتن دوباره پشتیبان عبارت بازیاب داشته باشید، میتوانید آنرا در Settings -> Security دریافت نمایید."
},
"endOfFlowMessage7": {
"message": "در صورتیکه پرسشی داشته یا چیزی مشکوک را میبینید، به support@metamask.io ایمیل کنید."
},
"endOfFlowMessage8": {
"message": "MetaMask نمیتواند عبارت بازیاب تان را دوباره دریافت نماید.\nبیشتر بدانید."
},
@ -775,15 +772,6 @@
"privateNetwork": {
"message": "شبکه شخصی"
},
"protectYourKeys": {
"message": "کلید های خود را حفظ کنید!"
},
"protectYourKeysMessage1": {
"message": "مراقب عبارت بازیاب تان باشید - گفته هایی وجود دارد که وبسایت ها تلاش میکنند تا از MetaMask نسخه برداری کنند. MetaMask هرگز از شما عبارت بازیاب را نمیپرسد!"
},
"protectYourKeysMessage2": {
"message": "عبارت تان را مصؤن نگهدارید. در صورت مشاهده چیز مشکوک، یا در صورتیکه در مورد یک وبسایت مطمئن نیستید، به support@metamask.io ایمیل کنید"
},
"queue": {
"message": "صف"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Jos tarvitse uuden varmuuskopion juurilauseestasi, niin se löytyy osiosta Asetukset -> Turvallisuus."
},
"endOfFlowMessage7": {
"message": "Jos sinulla on joskus jotakin kysyttävää tai jos näet jotakin epäilyttävää, lähetä sähköpostia osoitteeseen support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask ei pysty palauttamaan salaustekstiäsi. Lue lisää."
},
@ -772,15 +769,6 @@
"privateNetwork": {
"message": "Yksityinen verkko"
},
"protectYourKeys": {
"message": "Suojele avaimiasi!"
},
"protectYourKeysMessage1": {
"message": "Ole varovainen salausavaimesi kanssa joidenkin verkkosivustojen kerrotaan yrittäneen matkia MetaMaskia. MetaMask ei koskaan kysy salausavaintasi!"
},
"protectYourKeysMessage2": {
"message": "Pidä lauseesi tallessa. Jos näet jotain epäilyttävää tai et ole varma jostain sivustosta, lähetä sähköpostia osoitteeseen support@metamask.io"
},
"queue": {
"message": "Jono"
},

View File

@ -326,9 +326,6 @@
"endOfFlowMessage6": {
"message": "Kung kailangan mong i-back up ulit ang iyong seed phrase, makikita mo ito sa Mga Setting -> Seguridad."
},
"endOfFlowMessage7": {
"message": "Kung may mga tanong ka o nakakita ka ng kahina-hinalang bagay, i-email ang support@metamask.io."
},
"endOfFlowMessage8": {
"message": "Hindi ma-recover ng MetaMask ang iyong seedphrase. Alamin pa."
},
@ -699,15 +696,6 @@
"privateNetwork": {
"message": "Pribadong Network"
},
"protectYourKeys": {
"message": "Protektahan Ang Iyong Mga Key!"
},
"protectYourKeysMessage1": {
"message": "Mag-ingat sa iyong seed phrase — may mga ulat na may mga website na nagpapanggap bilang MetaMask. Hindi kailanman hihilingin ng MetaMask ang iyong seed phrase!"
},
"protectYourKeysMessage2": {
"message": "Panatilihing ligtas ang iyong parirala. Kung may makikita kang kahina-hinala, o hindi ka sigurado tungkol sa isang website, mag-email sa support@metamask.io"
},
"queue": {
"message": "I-queue"
},

View File

@ -341,9 +341,6 @@
"endOfFlowMessage6": {
"message": "Si vous avez besoin de sauvegarder à nouveau votre phrase de départ, vous pouvez la trouver dans Paramètres -> Sécurité."
},
"endOfFlowMessage7": {
"message": "Si vous avez des questions ou remarquez quelque chose de suspect, envoyez un e-mail à : support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask ne peut pas récupérer votre phrase de départ. Renseignez-vous davantage."
},
@ -757,15 +754,6 @@
"privateNetwork": {
"message": "Réseau privé"
},
"protectYourKeys": {
"message": "Protégez vos clés !"
},
"protectYourKeysMessage1": {
"message": "Soyez prudent avec votre phrase mnémotechnique — on nous a signalé des sites web qui tentaient d'imiter MetaMask. MetaMask ne vous demandera jamais votre phrase mnémotechnique !"
},
"protectYourKeysMessage2": {
"message": "Ne dévoilez pas votre phrase. Si vous remarquez quelque chose de suspect ou que vous avez un doute à propos d'un site web, envoyez un e-mail à : support@metamask.io"
},
"queue": {
"message": "File d'attente"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "אם עליך לגבות את צירוף הגרעין שלך שוב, תוכל/י למצוא זאת בהגדרות -> אבטחה."
},
"endOfFlowMessage7": {
"message": "אם יש לך שאלות או שנתקלת במשהו חשוד, שלח/י מייל ל- support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask לא הצליח לשחזר את ה-seedphrase שלך. למד/י עוד."
},
@ -772,15 +769,6 @@
"privateNetwork": {
"message": "רשת פרטית"
},
"protectYourKeys": {
"message": "הגנ/י על המפתחות שלך!"
},
"protectYourKeysMessage1": {
"message": "יש לנקוט זהירות בנוגע לצירוף הגרעין שלך - היו דיווחים על אתרים שמנסים להתחזות ל-MetaMask .MetaMask לעולם לא תבקש את צירוף הגרעין שלך!"
},
"protectYourKeysMessage2": {
"message": "יש לשמור את ה-seedphrase שלך במקום בטוח. אם את/ה רואה משהו חשוד, או שאינך בטוח/ה בנוע לאתר, שלח/י אימייל לכתובת support@metamask.io"
},
"queue": {
"message": "תור"
},

View File

@ -553,9 +553,6 @@
"endOfFlowMessage6": {
"message": "यदि आपको अपने सीड फ्रेज़ को फिर से बैकअप लेने की आवश्यकता है, तो आप इसे सेटिंग्स -> सुरक्षा में पा सकते हैं।"
},
"endOfFlowMessage7": {
"message": "यदि आपको कभी कुछ पूछना हो या कुछ गड़बड़ लगे, तो support@metamask.io पर ईमेल करें।"
},
"endOfFlowMessage8": {
"message": "MetaMask आपके सीडफ्रेज़ को पुनर्प्राप्त नहीं कर सकता है।"
},
@ -600,14 +597,6 @@
"message": "कोड: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "पृष्ठ को पुनः लोड करके पुनः प्रयास करें या support@metamask.io पर सहायता से संपर्क करें",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "पॉपअप को बंद करके और फिर से खोलने की कोशिश करें या support@metamask.io पर सहायता से संपर्क करें",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask में कोई त्रुटि हुई",
"description": "Title of generic error page"
@ -1213,15 +1202,6 @@
"proposedApprovalLimit": {
"message": "प्रस्तावित अनुमोदन सीमा"
},
"protectYourKeys": {
"message": "अपनी कुंजियों को सुरक्षित रखें!"
},
"protectYourKeysMessage1": {
"message": "अपने सीडफ्रेज़ को लेकर सावधान रहें — ऐसी वेबसाइटों की रिपोर्टें आई हैं, जो MetaMask की नकल करने का प्रयास करती हैं। MetaMask कभी भी आपके सीड फ्रेज़ के बारे में नहीं पूछेगा!"
},
"protectYourKeysMessage2": {
"message": "अपने वाक्यांश को सुरक्षित रखें। यदि आपको कुछ गड़बड़ लगे या आप किसी वेबसाइट के बारे में अनिश्चित हैं, तो support@metamask.io पर ईमेल करें"
},
"provide": {
"message": "प्रदान करें"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Ako trebate ponovno sigurnosno kopirati svoju početnu rečenicu, možete je pronaći unutar stavke Postavke --> Sigurnost."
},
"endOfFlowMessage7": {
"message": "Ako imate bilo kakvo pitanje ili vidite nešto što vam se čini sumnjivim, pošaljite nam elektroničku poruku na support@metamask.io."
},
"endOfFlowMessage8": {
"message": "Osoblje MetaMask ne može obnoviti vašu početnu rečenicu. Saznajte više."
},
@ -768,15 +765,6 @@
"privateNetwork": {
"message": "Privatna mreža"
},
"protectYourKeys": {
"message": "Zaštitite svoje ključeve!"
},
"protectYourKeysMessage1": {
"message": "Pazite na svoju početnu rečenicu jer smo zaprimili prijave o postojanju mrežnih mjesta koja oponašaju mrežno mjesto usluge MetaMask. Na mrežnom se mjestu MetaMask nikada ne traži vaša početna rečenica!"
},
"protectYourKeysMessage2": {
"message": "Zaštite svoju rečenicu. Ako vam se nešto čini sumnjivim ili nemate povjerenja u mrežno mjesto, pošaljite nam elektroničku poruku na support@metamask.io"
},
"queue": {
"message": "Red čekanja"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Ha ismét biztonsági másolatot kell készítenie a seed mondatról, megtalálja azt a Beállítások -> Biztonság menüben."
},
"endOfFlowMessage7": {
"message": "Ha bármilyen kérdése van, vagy valami gyanús dolgot tapasztal, írjon a support@metamask.io címre."
},
"endOfFlowMessage8": {
"message": "A MetaMask nem tudta helyreállítani a seed mondatot. Tudjon meg többet."
},
@ -768,15 +765,6 @@
"privateNetwork": {
"message": "Magánhálózat"
},
"protectYourKeys": {
"message": "Védje kulcsait!"
},
"protectYourKeysMessage1": {
"message": "Vigyázzod a gyarapítási fázissal - olyan oldalakat jelentettek, amelyek a MetaMask-ot utánozzák. A MetaMask soha nem kéri el a gyarapítási fázisát."
},
"protectYourKeysMessage2": {
"message": "Őrizze biztonságos helyen a mondatot. Ha bármilyen gyanús dolgot tapasztal, vagy bizonytalan egy weboldalt illetően, írjon a support@metamask.io címre."
},
"queue": {
"message": "Nyomtatólista"
},

View File

@ -553,9 +553,6 @@
"endOfFlowMessage6": {
"message": "Jika Anda perlu mencadangkan frasa pemulihan lagi, Anda dapat menemukannya di Pengaturan -> Keamanan."
},
"endOfFlowMessage7": {
"message": "Jika Anda memiliki pertanyaan atau melihat sesuatu yang mencurigakan hubungi lewat email ke support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask tidak dapat memulihkan frasa pemulihan Anda."
},
@ -600,14 +597,6 @@
"message": "Kode: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Coba lagi dengan memuat kembali halaman, atau hubungi dukungan di support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Coba lagi dengan menutup dan membuka kembali popup, atau hubungi dukungan di support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask menemukan kesalahan",
"description": "Title of generic error page"
@ -1127,7 +1116,7 @@
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "Penyedia jaringan Ethereum jahat dapat berbohong tentang status blockchain dan merekam aktivitas jaringan Anda. Hanya tambahkan jaringan kustom yang Anda percayai."
"message": "Penyedia jaringan jahat dapat berbohong tentang status blockchain dan merekam aktivitas jaringan Anda. Hanya tambahkan jaringan kustom yang Anda percayai."
},
"onlyAvailableOnMainnet": {
"message": "Hanya tersedia di mainnet"
@ -1213,15 +1202,6 @@
"proposedApprovalLimit": {
"message": "Batas Persetujuan yang Diajukan"
},
"protectYourKeys": {
"message": "Lindungi Kunci Anda!"
},
"protectYourKeysMessage1": {
"message": "Berhati-hatilah dengan frasa pemulihan Anda — ada laporan dari beberapa situs web yang mencoba membuat MetaMask imitasi. MetaMask tidak pernah meminta frasa pemulihan Anda!"
},
"protectYourKeysMessage2": {
"message": "Jaga frasa Anda tetap aman. Jika Anda melihat sesuatu yang mencurigakan, atau tidak yakin dengan satu situs web, hubungi lewat email di support@metamask.io"
},
"provide": {
"message": "Berikan"
},

View File

@ -43,6 +43,9 @@
"activityLog": {
"message": "log attività"
},
"addAccount": {
"message": "Aggiungi un account"
},
"addAcquiredTokens": {
"message": "Aggiungi i token che hai acquistato usando MetaMask"
},
@ -82,6 +85,9 @@
"affirmAgree": {
"message": "Acconsento"
},
"aggregatorFeeCost": {
"message": "Tassa per la rete aggregatore"
},
"alertDisableTooltip": {
"message": "Può essere cambiato in \"Impostazioni > Avvisi\""
},
@ -91,6 +97,12 @@
"alertSettingsUnconnectedAccountDescription": {
"message": "Questo avviso è mostrato nel popup quando stai visitando un sito Web3, ma l'account selezionato non è connesso al sito."
},
"alertSettingsWeb3ShimUsage": {
"message": "Quando un sito prova a usare la API window.web3 rimossa"
},
"alertSettingsWeb3ShimUsageDescription": {
"message": "L'avviso che viene mostrato nel popup quando stai visitando un sito che prova a usare la API window.web3 rimossa e che potrebbe non funzionare."
},
"alerts": {
"message": "Avvisi"
},
@ -114,6 +126,10 @@
"amount": {
"message": "Importo"
},
"amountInEth": {
"message": "$1 ETH",
"description": "Displays an eth amount to the user. $1 is a decimal number"
},
"amountWithColon": {
"message": "Importo:"
},
@ -125,6 +141,12 @@
"message": "MetaMask",
"description": "The name of the application"
},
"approvalAndAggregatorTxFeeCost": {
"message": "Tassa di approvazione per la rete aggregatore"
},
"approvalTxGasCost": {
"message": "Costo Gas Approvazione Tx"
},
"approve": {
"message": "Approva"
},
@ -217,6 +239,9 @@
"bytes": {
"message": "Bytes"
},
"canToggleInSettings": {
"message": "Puoi riabilitare questa notifica in Impostazioni -> Avvisi."
},
"cancel": {
"message": "Annulla"
},
@ -227,7 +252,7 @@
"message": "Annullata"
},
"chainId": {
"message": "Blockchain ID"
"message": "Chain ID"
},
"chromeRequiredForHardwareWallets": {
"message": "Devi usare MetaMask con Google Chrome per connettere il tuo Portafoglio Hardware"
@ -339,6 +364,9 @@
"contactsSettingsDescription": {
"message": "Aggiungi, modifica, rimuovi e gestisci i tuoi contatti"
},
"continue": {
"message": "Continua"
},
"continueToWyre": {
"message": "Continua su Wyre"
},
@ -537,15 +565,16 @@
"endOfFlowMessage6": {
"message": "Se vorrai fare nuovamente un backup della frase, la puoi trovare in Impostazioni -> Sicurezza & Privacy."
},
"endOfFlowMessage7": {
"message": "Se hai delle domande o vedi delle attività sospette, manda una mail a support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask non può recuperare la tua frase seed. Impara di più."
},
"endOfFlowMessage9": {
"message": "Scopri di più."
},
"endpointReturnedDifferentChainId": {
"message": "L'endpoint ha restituito un chain ID diverso: $1",
"description": "$1 is the return value of eth_chainId from an RPC endpoint"
},
"ensNotFoundOnCurrentNetwork": {
"message": "Nome ENS non trovato sulla rete attuale. Prova a passare alla rete principale di Ethereum."
},
@ -580,14 +609,6 @@
"message": "Codice: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Prova di nuovo ricaricando la pagina, o contatta il supporto a support@metamask.io (inglese)",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Prova a chiudere e riaprire il popup, o contatta il supporto a support@metamask.io (inglese)",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask ha riscontrato un errore",
"description": "Title of generic error page"
@ -606,6 +627,9 @@
"ethereumPublicAddress": {
"message": "Indirizzo pubblico Ethereum "
},
"etherscan": {
"message": "Etherscan"
},
"etherscanView": {
"message": "Vedi account su Etherscan"
},
@ -618,15 +642,25 @@
"externalExtension": {
"message": "Estensione Esterna"
},
"extraApprovalGas": {
"message": "+$1 gas approvazione",
"description": "Expresses an additional gas amount the user will have to pay, on top of some other displayed amount. $1 is a decimal amount of gas"
},
"failed": {
"message": "Fallita"
},
"failedToFetchChainId": {
"message": "Non è stato possibile ottenere il chain ID. L'URL RPC è corretto?"
},
"failureMessage": {
"message": "Qualcosa è andato storto e non è possibile completare l'azione"
},
"fast": {
"message": "Veloce"
},
"fastest": {
"message": "Più veloce"
},
"feeAssociatedRequest": {
"message": "Una tassa è associata a questa richiesta."
},
@ -666,6 +700,10 @@
"gasLimitTooLow": {
"message": "Il Gas Limite deve essere almeno 21000"
},
"gasLimitTooLowWithDynamicFee": {
"message": "Il gas limite deve essere almeno $1",
"description": "$1 is the custom gas limit, in decimal."
},
"gasPrice": {
"message": "Prezzo del Gas (GWEI)"
},
@ -799,9 +837,38 @@
"invalidBlockExplorerURL": {
"message": "URI Block Explorer invalido"
},
"invalidChainIdTooBig": {
"message": "Chain ID non valido. Il chain ID è troppo grande."
},
"invalidCustomNetworkAlertContent1": {
"message": "Il chain ID per la rete personalizzata '$1' deve essere reinserito.",
"description": "$1 is the name/identifier of the network."
},
"invalidCustomNetworkAlertContent2": {
"message": "Per proteggerti da fornitori di rete maligni o non funzionanti, i chain ID sono ora richiesti per tutte le reti personalizzate."
},
"invalidCustomNetworkAlertContent3": {
"message": "Vai in Impostazioni > Reti e inserisci il chain ID. Puoi trovare i chain ID più popolari su $1.",
"description": "$1 is a link to https://chainid.network"
},
"invalidCustomNetworkAlertTitle": {
"message": "Rete Personalizzata non Valida"
},
"invalidHexNumber": {
"message": "Numero esadecimale non valido."
},
"invalidHexNumberLeadingZeros": {
"message": "Numero esadecimale non valido. Rimuovi gli zero iniziali."
},
"invalidIpfsGateway": {
"message": "Portale IPFS non valido: il valore deve essere un URL valido"
},
"invalidNumber": {
"message": "Numero non valido. Inserisci un numero intero o un numero esadecimale con prefisso '0x'."
},
"invalidNumberLeadingZeros": {
"message": "Numero non valido. Rimuovi gli zero iniziali."
},
"invalidRPC": {
"message": "URI RPC invalido"
},
@ -890,9 +957,43 @@
"metamaskDescription": {
"message": "MetaMask è una cassaforte sicura per identità su Ethereum."
},
"metamaskSwapsOfflineDescription": {
"message": "MetaMask Swaps è in manutenzione. Prova più tardi."
},
"metamaskVersion": {
"message": "versione di MetaMask"
},
"metametricsCommitmentsAllowOptOut": {
"message": "Ti consentirà sempre di rimuovere il consenso tramite Impostazioni"
},
"metametricsCommitmentsBoldNever": {
"message": "Non",
"description": "This string is localized separately from some of the commitments so that we can bold it"
},
"metametricsCommitmentsIntro": {
"message": "MetaMask.."
},
"metametricsCommitmentsNeverCollectIP": {
"message": "$1 raccoglierà il tuo indirizzo IP completo",
"description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'"
},
"metametricsCommitmentsNeverCollectKeysEtc": {
"message": "$1 raccoglierà chiavi, indirizzi, transazioni, bilanci, hash, o qualsiasi altra informazione personale",
"description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'"
},
"metametricsCommitmentsNeverSellDataForProfit": {
"message": "$1 venderà i tuoi dati per profitto. Mai!",
"description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'"
},
"metametricsCommitmentsSendAnonymizedEvents": {
"message": "Invierà click e visualizzazioni di pagina in modo anonimo"
},
"metametricsHelpImproveMetaMask": {
"message": "Aiutaci a Migliorare MetaMask"
},
"metametricsOptInDescription": {
"message": "MetaMask vorrebbe raccogliere dati di utilizzo per capire meglio come gli utenti interagiscono con l'estensione. Questi dati verranno usati continuamente per migliorare l'usabilità e l'esperienza utente dei nostri prodotti e dell'ecosistema Ethereum."
},
"mobileSyncText": {
"message": "Per favore inserisci la password per confermare che sei te!"
},
@ -921,6 +1022,9 @@
"networkName": {
"message": "Nome Rete"
},
"networkSettingsChainIdDescription": {
"message": "Il chain ID è usato per firmare le transazioni. Deve essere uguale al chain ID restituito dalla rete. Puoi inserire un numero intero o un numero esadecimale con prefisso '0x', ma mostreremo sempre un numero intero."
},
"networkSettingsDescription": {
"message": "Aggiungi e modifica reti RPC personalizzate"
},
@ -1013,6 +1117,9 @@
"off": {
"message": "Off"
},
"offlineForMaintenance": {
"message": "Offline per manutenzione"
},
"ok": {
"message": "Ok"
},
@ -1024,7 +1131,10 @@
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "Una rete Ethereum malevola può mentire sullo stato della blockchain e registrare le tue azioni. Aggiungi solo reti fidate."
"message": "Una rete malevola può mentire sullo stato della blockchain e registrare le tue azioni. Aggiungi solo reti fidate."
},
"onlyAvailableOnMainnet": {
"message": "Disponibile solo nella rete principale"
},
"onlyConnectTrust": {
"message": "Connettiti solo con siti di cui ti fidi."
@ -1107,15 +1217,6 @@
"proposedApprovalLimit": {
"message": "Limite di Approvazione Proposto"
},
"protectYourKeys": {
"message": "Proteggi le tue chiavi!"
},
"protectYourKeysMessage1": {
"message": "Stai attento con la tua frase seed - ci sono stati report di siti web che hanno tentato di imitare MetaMask. MetaMask non ti chiederà mai la tua frase seed!"
},
"protectYourKeysMessage2": {
"message": "Tieni la tua frase al sicuro. Se vedi qualcosa di sospetto, o non sei sicuro di un sito web, manda una mail a support@metamask.io"
},
"provide": {
"message": "Fornisci"
},
@ -1240,6 +1341,9 @@
"scanQrCode": {
"message": "Scansiona Codice QR"
},
"scrollDown": {
"message": "Scorri verso il basso"
},
"search": {
"message": "Cerca"
},
@ -1400,6 +1504,12 @@
"speedUpTransaction": {
"message": "Accelera questa transazione"
},
"spendLimitAmount": {
"message": "Limite di spesa"
},
"spendLimitInsufficient": {
"message": "Limite di spesa insufficiente"
},
"spendLimitInvalid": {
"message": "Limite di spesa non valido; deve essere un numero positivo"
},
@ -1461,6 +1571,300 @@
"supportCenter": {
"message": "Visita il nostro Centro di Supporto"
},
"swap": {
"message": "Scambia"
},
"swapAdvancedSlippageInfo": {
"message": "Si chiama “slippage” la differenza tra il prezzo quando il tuo ordine viene inserito e quando viene confermato. Lo scambio sarà annullato automaticamente se lo slippage supera il “massimo slippage” impostato."
},
"swapAggregator": {
"message": "Aggregatore"
},
"swapAmountReceived": {
"message": "Importo garantito"
},
"swapAmountReceivedInfo": {
"message": "Questo è l'importo minimo che riceverai. Potresti ricevere di più a seconda dello slippage."
},
"swapApproval": {
"message": "Approva $1 per gli scambi",
"description": "Used in the transaction display list to describe a transaction that is an approve call on a token that is to be swapped.. $1 is the symbol of a token that has been approved."
},
"swapApproveNeedMoreTokens": {
"message": "Devi avere $1 $2 in più per completare lo scambio",
"description": "Tells the user how many more of a given token they need for a specific swap. $1 is an amount of tokens and $2 is the token symbol."
},
"swapBetterQuoteAvailable": {
"message": "È disponibile una quotazione migliore"
},
"swapBuildQuotePlaceHolderText": {
"message": "Non ci sono token disponibile con questo nome $1",
"description": "Tells the user that a given search string does not match any tokens in our token lists. $1 can be any string of text"
},
"swapCheckingQuote": {
"message": "Verificando $1",
"description": "Shown to the user during quote loading. $1 is the name of an aggregator. The message indicates that metamask is currently checking if that aggregator has a trade/quote for their requested swap."
},
"swapCustom": {
"message": "personalizza"
},
"swapDecentralizedExchange": {
"message": "Sito di scambio decentralizzato"
},
"swapEditLimit": {
"message": "Modifica limite"
},
"swapEnableDescription": {
"message": "Questo è richiesto e darà a MetaMask il permesso di scambiare $1.",
"description": "Gives the user info about the required approval transaction for swaps. $1 will be the symbol of a token being approved for swaps."
},
"swapEstimatedNetworkFee": {
"message": "Tassa di rete stimata"
},
"swapEstimatedNetworkFeeSummary": {
"message": "La “$1” è ciò che ci aspettiamo possa essere la tassa reale. L'importo esatto dipende dalle condizioni della rete.",
"description": "$1 will be the translation of swapEstimatedNetworkFee, with the font bolded"
},
"swapEstimatedNetworkFees": {
"message": "Tasse di rete stimate"
},
"swapEstimatedNetworkFeesInfo": {
"message": "Questa è una stima della tassa di rete che verrà pagata per completare lo scambio. L'importo reale può cambiare a seconda della condizione della rete."
},
"swapFailedErrorTitle": {
"message": "Scambio fallito"
},
"swapFetchingQuotesErrorDescription": {
"message": "Hmmm... qualcosa è andato storto. Prova di nuovo, o se l'errore persiste, contatta il supporto."
},
"swapFetchingQuotesErrorTitle": {
"message": "Errore recuperando le quotazioni"
},
"swapFetchingTokens": {
"message": "Recuperando i token..."
},
"swapFinalizing": {
"message": "Finalizzando..."
},
"swapHighSlippageWarning": {
"message": "L'importo di slippage è molto alto. Assicurati di sapere cosa stai facendo!"
},
"swapIntroLearnMoreHeader": {
"message": "Vuoi sapere di più?"
},
"swapIntroLearnMoreLink": {
"message": "Scopri di più su MetaMask Swaps"
},
"swapIntroLiquiditySourcesLabel": {
"message": "Sorgenti di liquidità incluse:"
},
"swapIntroPopupSubTitle": {
"message": "Adesso puoi scambiare token direttamente dal tuo portafgolio MetaMask. MetaMask Swaps combina vari siti di scambio decentralizzati, aggregatori e market maker professionisti per assicurare che gli utenti di MetaMask ottengano sempre il miglior prezzo con le tasse di rete minori."
},
"swapIntroPopupTitle": {
"message": "Lo scambio di token è qui!"
},
"swapLearnMoreContractsAuditReview": {
"message": "Esamina l'audit ufficiale dei nostri smart contracts"
},
"swapLowSlippageError": {
"message": "La transazione può fallire, il massimo slippage è troppo basso."
},
"swapMaxNetworkFeeInfo": {
"message": "“$1” è il massimo che spenderai. Quando la rete è volatile può essere un importo alto.",
"description": "$1 will be the translation of swapMaxNetworkFees, with the font bolded"
},
"swapMaxNetworkFees": {
"message": "Tassa di rete massima"
},
"swapMaxSlippage": {
"message": "Slippage massimo"
},
"swapMetaMaskFee": {
"message": "Tassa MetaMask"
},
"swapMetaMaskFeeDescription": {
"message": "Troviamo i migliori prezzi dalle sorgenti di liquidità migliori, sempre. Una tassa del $1% è automaticamente aggiunta ad ogni quotazione, ciò serve a supportare lo sviluppo in modo da rendere MetaMask sempre migliore.",
"description": "Provides information about the fee that metamask takes for swaps. $1 is a decimal number."
},
"swapNQuotes": {
"message": "$1 quotazioni",
"description": "$1 is the number of quotes that the user can select from when opening the list of quotes on the 'view quote' screen"
},
"swapNetworkFeeSummary": {
"message": "La tassa di rete copre il costo di processamento dello scambio e della memorizzazione nella rete Ethereum. MetaMask non trae profitto da questa tassa."
},
"swapNewQuoteIn": {
"message": "Nuove quotazioni in $1",
"description": "Tells the user the amount of time until the currently displayed quotes are update. $1 is a time that is counting down from 1:00 to 0:00"
},
"swapOnceTransactionHasProcess": {
"message": "I tuoi $1 saranno aggiunti al tuo account quando la transazione sarà processata.",
"description": "This message communicates the token that is being transferred. It is shown on the awaiting swap screen. The $1 will be a token symbol."
},
"swapPriceDifference": {
"message": "Stai per scambiare $1 $2 (~$3) per $4 $5 (~$6).",
"description": "This message represents the price slippage for the swap. $1 and $4 are a number (ex: 2.89), $2 and $5 are symbols (ex: ETH), and $3 and $6 are fiat currency amounts."
},
"swapPriceDifferenceAcknowledgement": {
"message": "Sono consapevole"
},
"swapPriceDifferenceTitle": {
"message": "Differenza di prezzo di circa ~$1%",
"description": "$1 is a number (ex: 1.23) that represents the price difference."
},
"swapPriceDifferenceTooltip": {
"message": "La differenza tra i prezzi del mercato può essere influenzata da commissioni prelevate da intermediari, dimensione del mercato, dimensione dello scambio, o inefficienze del mercato."
},
"swapPriceDifferenceUnavailable": {
"message": "Il prezzo di mercato non è disponibile. Assicurati di sentirti a tuo agio con l'importo restituito prima di procedere."
},
"swapProcessing": {
"message": "In elaborazione"
},
"swapQuoteDetails": {
"message": "Dettagli quotazione"
},
"swapQuoteDetailsSlippageInfo": {
"message": "Si chiama \"slippage\" la differenza tra il prezzo quando il tuo ordine viene inserito e quando viene confermato. Lo scambio sarà annullato automaticamente se lo slippage supera il \"massimo slippage\" impostato."
},
"swapQuoteIncludesRate": {
"message": "La quotazione include la tassa del $1% di MetaMask",
"description": "Provides information about the fee that metamask takes for swaps. $1 is a decimal number."
},
"swapQuoteNofN": {
"message": "Quotazione $1 di $2",
"description": "A count of loaded quotes shown to the user while they are waiting for quotes to be fetched. $1 is the number of quotes already loaded, and $2 is the total number of quotes to load."
},
"swapQuoteSource": {
"message": "Sorgente della quota"
},
"swapQuotesAreRefreshed": {
"message": "Le quotazioni sono aggiornate spesso per riflettere le condizioni di mercato correnti."
},
"swapQuotesExpiredErrorDescription": {
"message": "Richiedi nuove quotazioni per ottenere le ultime tariffe."
},
"swapQuotesExpiredErrorTitle": {
"message": "Timeout quotazioni"
},
"swapQuotesNotAvailableErrorDescription": {
"message": "Prova ad aggiustare l'importo o le impostazioni dello slippage e prova di nuovo."
},
"swapQuotesNotAvailableErrorTitle": {
"message": "Nessuna quotazione disponibile"
},
"swapRate": {
"message": "Tariffa"
},
"swapReceiving": {
"message": "Ricevendo"
},
"swapReceivingInfoTooltip": {
"message": "Questa è una stima. L'importo esatto dipende dallo slippage."
},
"swapRequestForQuotation": {
"message": "Richiedi quotazione"
},
"swapReviewSwap": {
"message": "Verifica Scambio"
},
"swapSearchForAToken": {
"message": "Cerca un token"
},
"swapSelect": {
"message": "Selezione"
},
"swapSelectAQuote": {
"message": "Seleziona una quotazione"
},
"swapSelectAToken": {
"message": "Seleziona un token"
},
"swapSelectQuotePopoverDescription": {
"message": "Sotto trovi tutte le quotazioni raccolte da multiple sorgenti di liquidità."
},
"swapSlippageTooLow": {
"message": "Lo slippage deve essere maggiore di zero"
},
"swapSource": {
"message": "Sorgente di liquidità"
},
"swapSourceInfo": {
"message": "Cerchiamo sorgenti di liquidità multiple (siti di scambio, aggregatori, market maker professionisti) per trovare le tariffe migliori e le tasse di rete minori."
},
"swapStartSwapping": {
"message": "Inizia a scambiare"
},
"swapSwapFrom": {
"message": "Scambia da"
},
"swapSwapSwitch": {
"message": "Inverti token"
},
"swapSwapTo": {
"message": "Scambia a"
},
"swapThisWillAllowApprove": {
"message": "Questo permetterà di scambiare $1."
},
"swapTokenAvailable": {
"message": "I $1 sono stati aggiunti al tuo account.",
"description": "This message is shown after a swap is successful and communicates the exact amount of tokens the user has received for a swap. The $1 is a decimal number of tokens followed by the token symbol."
},
"swapTokenToToken": {
"message": "Scambia da $1 a $2",
"description": "Used in the transaction display list to describe a swap. $1 and $2 are the symbols of tokens in involved in a swap."
},
"swapTokenVerificationMessage": {
"message": "Verifica sempre l'indirizzo del token su $1.",
"description": "Points the user to Etherscan as a place they can verify information about a token. $1 is replaced with the translation for \"Etherscan\" followed by an info icon that shows more info on hover."
},
"swapTokenVerificationOnlyOneSource": {
"message": "Verificato solo su una fonte."
},
"swapTokenVerificationSources": {
"message": "Verificato su $1 fonti.",
"description": "Indicates the number of token information sources that recognize the symbol + address. $1 is a decimal number."
},
"swapTransactionComplete": {
"message": "Transazione completata"
},
"swapUnknown": {
"message": "Sconosciuto"
},
"swapUsingBestQuote": {
"message": "Quotazione migliore"
},
"swapVerifyTokenExplanation": {
"message": "Più token possono usare lo stesso nome e simbolo. Verifica su Etherscan che questo sia il token che stai cercando."
},
"swapViewToken": {
"message": "Vedi $1"
},
"swapYourTokenBalance": {
"message": "$1 $2 disponibili allo scambio",
"description": "Tells the user how much of a token they have in their balance. $1 is a decimal number amount of tokens, and $2 is a token symbol"
},
"swapZeroSlippage": {
"message": "0% Slippage"
},
"swapsAdvancedOptions": {
"message": "Impostazioni Avanzate"
},
"swapsExcessiveSlippageWarning": {
"message": "L'importo di slippage è troppo alto e risulterà in una tariffa sconveniente. Riduci la tolleranza allo slippage ad un valore minore di 15%."
},
"swapsMaxSlippage": {
"message": "Tolleranza Slippage"
},
"swapsNotEnoughForTx": {
"message": "Non hai abbastanza $1 per completare la transazione",
"description": "Tells the user that they don't have enough of a token for a proposed swap. $1 is a token symbol"
},
"swapsViewInActivity": {
"message": "Vedi in attività"
},
"switchNetworks": {
"message": "Cambia Reti"
},
@ -1506,6 +1910,9 @@
"terms": {
"message": "Termini di Uso"
},
"termsOfService": {
"message": "Termini di Servizio"
},
"testFaucet": {
"message": "Prova Faucet"
},
@ -1660,9 +2067,16 @@
"userName": {
"message": "Nome utente"
},
"verifyThisTokenOn": {
"message": "Verifica questo token su $1",
"description": "Points the user to etherscan as a place they can verify information about a token. $1 is replaced with the translation for \"etherscan\""
},
"viewAccount": {
"message": "Vedi Account"
},
"viewAllDetails": {
"message": "Vedi tutti i dettagli"
},
"viewContact": {
"message": "Visualizza contatto"
},
@ -1684,6 +2098,10 @@
"walletSeed": {
"message": "Seed del Portafoglio"
},
"web3ShimUsageNotification": {
"message": "Abbiamo notato che il sito corrente ha provato ad usare la API window.web3 rimossa. Se il sito ti sembra non funzionare, clicca $1 per più informazioni.",
"description": "$1 is a clickable link."
},
"welcome": {
"message": "Benvenuto nella Beta di MetaMask"
},

View File

@ -562,9 +562,6 @@
"endOfFlowMessage6": {
"message": "シードフレーズを再度バックアップする場合は、[設定] -> [セキュリティとプライバシー] で見つけることができます。"
},
"endOfFlowMessage7": {
"message": "問題や不審な点がある場合は、support@metamask.io 宛に電子メールをお送りください。"
},
"endOfFlowMessage8": {
"message": "MetaMaskはシードフレーズを復元できません。"
},
@ -609,14 +606,6 @@
"message": "エラー名:$1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "ページをリロードして再試行するか、サポート(support@metamask.io)までお問い合わせください",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "ポップアップを閉じてから再び開いてもう一度実行するか、サポート(support@metamask.io)までお問い合わせください",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMaskにエラーが発生しました",
"description": "Title of generic error page"
@ -1138,9 +1127,6 @@
"message": "\"$1\" はこのタブを閉じます。 $2 に戻ってください。",
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "悪意のあるEthereumネットワークプロバイダは、不正なブロックチェーンによりネットワーク行動を記録することがあります。信頼できるカスタムネットワークのみを追加してください。"
},
"onlyAvailableOnMainnet": {
"message": "メインネットのみ使用可能です"
},
@ -1225,15 +1211,6 @@
"proposedApprovalLimit": {
"message": "承認限度額の提案"
},
"protectYourKeys": {
"message": "キーを保護してください!"
},
"protectYourKeysMessage1": {
"message": "シードフレーズは厳重に取り扱ってください。MetaMaskの偽物がWebサイトで報告されています。MetaMaskがシードフレーズを要求することは絶対にありえません!"
},
"protectYourKeysMessage2": {
"message": "シードフレーズを厳重に保管してください。不審な点がやWebサイトについて不明確な場合は、support@metamask.io まで電子メールでお問い合わせください"
},
"provide": {
"message": "提供する"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "ನಿಮ್ಮ ಸೀಡ್ ಫ್ರೇಸ್‌ನಿಂದ ಮತ್ತೊಮ್ಮೆ ನೀವು ಮತ್ತೆ ಬ್ಯಾಕಪ್ ಮಾಡಬೇಕಾದರೆ, ನೀವು ಅದನ್ನು ಸೆಟ್ಟಿಂಗ್‌ಗಳು -> ಭದ್ರತೆಯಲ್ಲಿ ಕಾಣಬಹುದು."
},
"endOfFlowMessage7": {
"message": "ನೀವು ಎಂದಾದರೂ ಪ್ರಶ್ನೆಗಳನ್ನು ಹೊಂದಿದ್ದರೆ ಅಥವಾ ನೀವು ಯಾವಗಲಾದರೂ ಗೊಂದಲಮಯವಾಗಿದ್ದರೆ support@metamask.io ಗೆ ಇಮೇಲ್ ಮಾಡಿ."
},
"endOfFlowMessage8": {
"message": "MetaMask ಗೆ ನಿಮ್ಮ ಸೀಡ್‌ಫ್ರೇಸ್ ಮರಳಿಪಡೆಯಲು ಸಾಧ್ಯವಿಲ್ಲ. ಇನ್ನಷ್ಟು ತಿಳಿಯಿರಿ."
},
@ -775,15 +772,6 @@
"privateNetwork": {
"message": "ಖಾಸಗಿ ನೆಟ್‌ವರ್ಕ್"
},
"protectYourKeys": {
"message": "ನಿಮ್ಮ ಕೀಗಳನ್ನು ರಕ್ಷಿಸಿ!"
},
"protectYourKeysMessage1": {
"message": "ನಿಮ್ಮ ಸೀಡ್ ಫ್ರೇಸ್‌ನೊಂದಿಗೆ ಜಾಗರೂಕರಾಗಿರಿ — MetaMask ಅನ್ನು ಅನುಕರಿಸಲು ಪ್ರಯತ್ನಿಸುತ್ತಿರುವ ವೆಬ್‌ಸೈಟ್‌ಗಳ ವರದಿಗಳಿವೆ. MetaMask ನಿಮ್ಮ ಸೀಡ್ ಫ್ರೇಸ್ ಅನ್ನು ಎಂದಿಗೂ ಕೇಳುವುದಿಲ್ಲ!"
},
"protectYourKeysMessage2": {
"message": "ನಿಮ್ಮ ಫ್ರೇಸ್ ಅನ್ನು ಸುರಕ್ಷಿತವಾಗಿರಿಸಿ. ಏನಾದರೂ ಅನುಮಾನಾಸ್ಪದವಾಗಿರುವುದನ್ನು ಅಥವಾ ವೆಬ್‌ಸೈಟ್ ಕುರಿತು ನಿಮಗೆ ಅನಿಶ್ಚಿತತೆಯಿದ್ದರೆ, support@metamask.io ಗೆ ಇಮೇಲ್ ಮಾಡಿ"
},
"queue": {
"message": "ಸರತಿ"
},

View File

@ -553,9 +553,6 @@
"endOfFlowMessage6": {
"message": "시드 구문을 다시 백업해야 한다면 설정 -> 보안에서 시드 구문을 찾을 수 있습니다."
},
"endOfFlowMessage7": {
"message": "질문이 있거나 피싱으로 의심되는 행위를 목격했다면 support@metamask.io로 이메일을 보내세요."
},
"endOfFlowMessage8": {
"message": "MetaMask에서는 시드 구문을 복구할 수 없습니다."
},
@ -600,14 +597,6 @@
"message": "코드: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "페이지를 새로고침하여 다시 시도하거나 support@metamask.io에 요청하여 도움을 받으세요.",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "팝업을 닫은 후 다시 열어 다시 시도하거나 support@metamask.io에 요청하여 도움을 받으세요.",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask에서 오류 발생",
"description": "Title of generic error page"
@ -1126,9 +1115,6 @@
"message": "\"$1\"에서 이 탭을 닫고 $2(으)로 돌아갑니다.",
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "악성 이더리움 네트워크 공급업체는 블록체인 상태를 거짓으로 보고하고 네트워크 활동을 기록할 수 있습니다. 신뢰하는 맞춤형 네트워크만 추가하세요."
},
"onlyAvailableOnMainnet": {
"message": "메인넷에서만 사용 가능"
},
@ -1213,15 +1199,6 @@
"proposedApprovalLimit": {
"message": "제안된 승인 한도"
},
"protectYourKeys": {
"message": "키를 보호하세요!"
},
"protectYourKeysMessage1": {
"message": "시드 구문을 조심하세요. MetaMask를 흉내 내는 웹사이트가 보고되고 있습니다. MetaMask에서는 시드 구문을 절대로 물어보지 않습니다!"
},
"protectYourKeysMessage2": {
"message": "시드 구문을 안전하게 보관하세요. 피싱으로 의심되는 행위를 목격했거나 웹사이트가 수상하다면 support@metamask.io로 이메일을 보내세요."
},
"provide": {
"message": "제공"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Jeigu reikia dar kartą padaryti jūsų atkūrimo frazės kopiją, ją galite rasti pasirinkę Nuostatos -> Sauga."
},
"endOfFlowMessage7": {
"message": "Jeigu turite klausimų arba pastebite ką nors įtartino, rašykite el. paštu support@metamask.io."
},
"endOfFlowMessage8": {
"message": "„MetaMask“ negali atkurti jūsų atkūrimo frazės. Sužinokite daugiau."
},
@ -775,15 +772,6 @@
"privateNetwork": {
"message": "Privatus tinklas"
},
"protectYourKeys": {
"message": "Apsaugokite savo raktus!"
},
"protectYourKeysMessage1": {
"message": "Saugokite savo atkūrimo frazę gavome pranešimų apie interneto svetaines, kuriomis bandoma imituoti „MetaMask“. „MetaMask“ niekada neprašys jūsų pateikti savo atkūrimo frazę!"
},
"protectYourKeysMessage2": {
"message": "Saugokite savo frazę. Jei pastebėjote kažką įtartino arba nesate tikri dėl svetainės, rašykite mums adresu support@metamask.io"
},
"queue": {
"message": "Eilė"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Ja nepieciešams atkārtoti dublēt atkopšanas frāzi, varat to atrast, dodoties uz Iestatījumi -> Drošība."
},
"endOfFlowMessage7": {
"message": "Ja jums rodas kādi jautājumi vai pamanāt ko aizdomīgu, rakstiet uz support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask nevar atjaunot jūsu atkopšanas frāzi. Uzzināt vairāk."
},
@ -771,15 +768,6 @@
"privateNetwork": {
"message": "Privātais tīkls"
},
"protectYourKeys": {
"message": "Sargājiet savas atslēgas!"
},
"protectYourKeysMessage1": {
"message": "Rīkojieties uzmanīgi ar sēklas frāzi — saņemti ziņojumi par tīmekļa vietnēm, kas mēģina imitēt MetaMask. MetaMask nekad nelūgs norādīt sēklas frāzi."
},
"protectYourKeysMessage2": {
"message": "Glabājiet frāzi drošībā. Ja kaut kas šķiet aizdomīgs vai neesat pārliecināti par tīmekļa vietni, rakstiet e-pastu uz support@metamask.io"
},
"queue": {
"message": "Rinda"
},

View File

@ -344,9 +344,6 @@
"endOfFlowMessage6": {
"message": "Jika anda perlu membuat sandaran ungkapan benih anda sekali lagi, anda boleh lakukannya melalui Tetapan -> Keselamatan."
},
"endOfFlowMessage7": {
"message": "JIka anda mempunyai soalan atau melihat sesuatu yang mencurigakan, hantarkan e-mel ke support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask tidak dapat memulihkan ungkapan benih anda. Ketahui lebih lanjut."
},
@ -752,15 +749,6 @@
"privateNetwork": {
"message": "Rangkaian Persendirian"
},
"protectYourKeys": {
"message": "Lindungi Kunci Anda!"
},
"protectYourKeysMessage1": {
"message": "Berhati-hati dengan ungkapan benih anda — terdapat laporan ada tapak web yang cuba meniru MetaMask. MetaMask tidak sekali-kali akan meminta ungkapan benih anda!"
},
"protectYourKeysMessage2": {
"message": "Pastikan ungkapan anda selamat. Jika anda melihterlihat at sesuatu yang mencurigakan, atau anda tidak pasti mengenai tapak web tertentu, e-mel kepada support@metamask.io"
},
"queue": {
"message": "Baris Gilir"
},

View File

@ -347,9 +347,6 @@
"endOfFlowMessage6": {
"message": "Hvis du trenger å sikkerhetskopiere seed-frasen din igjen kan du finne den i Innstillinger -> Sikkerhet."
},
"endOfFlowMessage7": {
"message": "Hvis du noen gang har spørsmål eller ser noe mistenksomt, send e-post til support@metamask.io"
},
"endOfFlowMessage8": {
"message": "MetaMask klarer ikke å gjenopprette den mnemoniske gjenopprettingsfrasen din. Finn ut mer. "
},
@ -762,15 +759,6 @@
"privateNetwork": {
"message": "Privat nettverk "
},
"protectYourKeys": {
"message": "Beskytt nøklene dine! "
},
"protectYourKeysMessage1": {
"message": "Vær forsiktig med den mnemoniske gjenopprettingsfrasen din - det rapporteres om nettsteder som prøver å etterligne MetaMask. MetaMask vil aldri be om den mnemoniske gjenopprettingsfrasen din!"
},
"protectYourKeysMessage2": {
"message": "Oppbevar setningen din trygt. Hvis du ser noe mistenksomt, eller du er usikker på et nettsted, kan du sende en e-post til support@metamask.io"
},
"queue": {
"message": "Kø"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Jeśli zajdzie konieczność ponownego wykonania kopii zapasowej frazy seed, znajdziesz ją w Ustawieniach -> Zabezpieczenia."
},
"endOfFlowMessage7": {
"message": "Jeśli masz jakieś pytania lub zauważysz coś podejrzanego, wyślij e-mail na adres support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask nie może odzyskać Twojej frazy seed. Dowiedz się więcej."
},
@ -769,15 +766,6 @@
"privateNetwork": {
"message": "Sieć prywatna"
},
"protectYourKeys": {
"message": "Chroń swoje klucze!"
},
"protectYourKeysMessage1": {
"message": "Traktuj swoją frazę seed z ostrożnością zgłaszano nam przypadki stron internetowych, które podają się za MetaMask. MetaMask nigdy nie poprosi Cię o podanie frazy seed!"
},
"protectYourKeysMessage2": {
"message": "Przechowuj frazę z zachowaniem zasad bezpieczeństwa. Jeśli zauważysz coś podejrzanego lub nie masz pewności co do strony internetowej, wyślij e-mail na adres support@metamask.io"
},
"queue": {
"message": "Kolejka"
},

View File

@ -344,9 +344,6 @@
"endOfFlowMessage6": {
"message": "Se precisar fazer backup de sua frase-semente de novo, acesse Configurações -> Segurança."
},
"endOfFlowMessage7": {
"message": "Caso você tenha alguma dúvida ou veja algo suspeito, envie um e-mail para support@metamask.io."
},
"endOfFlowMessage8": {
"message": "O MetaMask não pode recuperar sua frase semente. Saiba mais."
},
@ -763,15 +760,6 @@
"privateNetwork": {
"message": "Rede Particular"
},
"protectYourKeys": {
"message": "Proteja as suas chaves!"
},
"protectYourKeysMessage1": {
"message": "Tome cuidado com sua frase semente — houve relatos de sites que tentam imitar o MetaMask. O MetaMask nunca pedirá sua frase semente!"
},
"protectYourKeysMessage2": {
"message": "Mantenha a sua frase segura. Se você vir algo esquisito ou está inseguro quanto a um site, envie um e-mail para support@metamask.io"
},
"queue": {
"message": "Fila"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Dacă trebuie să vă salvați din nou fraza seed, puteți să o găsiți în Setări -> Securitate."
},
"endOfFlowMessage7": {
"message": "Dacă aveți întrebări sau vedeți ceva suspect, trimiteți un e-mail la support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask nu vă poate recupera expresia sursă. Aflați mai multe."
},
@ -762,15 +759,6 @@
"privateNetwork": {
"message": "Rețea privată"
},
"protectYourKeys": {
"message": "Protejați-vă cheile!"
},
"protectYourKeysMessage1": {
"message": "Aveți grijă cu expresia dvs. sursă au existat raportări despre site-uri web care încearcă să imite MetaMask. MetaMask nu vă va cere niciodată expresia sursă!"
},
"protectYourKeysMessage2": {
"message": "Aveți grijă de fraza dvs. Dacă vedeți ceva care este în neregulă sau aveți dubii cu privire la un site, trimiteți un mesaj la support@metamask.io"
},
"queue": {
"message": "Coadă"
},

View File

@ -553,9 +553,6 @@
"endOfFlowMessage6": {
"message": "Если вам нужно снова создать резервную копию исходной фразы, вы можете найти ее в Настройки -> Безопасность."
},
"endOfFlowMessage7": {
"message": "Если у вас возникнут вопросы или вы увидите что-то подозрительное, напишите на support@metamask.io."
},
"endOfFlowMessage8": {
"message": "Просто помните, что MetaMask не может восстановить исходную фразу."
},
@ -600,14 +597,6 @@
"message": "Код: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Повторите попытку, перезагрузив страницу, или обратитесь в службу поддержки по адресу support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Повторите попытку, закрыв и вновь открыв всплывающее окно, или обратитесь в службу поддержки по адресу support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask обнаружил ошибку",
"description": "Title of generic error page"
@ -1213,15 +1202,6 @@
"proposedApprovalLimit": {
"message": "Предлагаемый предел утверждения"
},
"protectYourKeys": {
"message": "Защитите свои ключи!"
},
"protectYourKeysMessage1": {
"message": "Будьте осторожны с исходной фразой — были сообщения о веб-сайтах, которые пытались имитировать MetaMask. MetaMask никогда не запросит вашу исходную фразу!"
},
"protectYourKeysMessage2": {
"message": "Храните свою исходную фразу в безопасности. Если вы увидите что-то подозрительное или вы не уверены в сайте, напишите на support@metamask.io"
},
"provide": {
"message": "Предоставить"
},

View File

@ -344,9 +344,6 @@
"endOfFlowMessage6": {
"message": "Ak potrebujete backup frázu znova zálohovať, nájdete ju v časti Nastavenia -> Zabezpečenie."
},
"endOfFlowMessage7": {
"message": "Ak budete mať nejaké otázky alebo niečo zaujímavé, pošlite email na support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask nemôže obnoviť vašu seed frázu. Zistiť viac."
},
@ -744,15 +741,6 @@
"privateNetwork": {
"message": "Soukromá síť"
},
"protectYourKeys": {
"message": "Chráňte si svoje kľúče!"
},
"protectYourKeysMessage1": {
"message": "Pri seed fráze buďte opatrní vyskytli sa správy o webových stránkach, ktoré sa snažia napodobniť MetaMask. MetaMask nikdy nebude žiadať vašu seed frázu!"
},
"protectYourKeysMessage2": {
"message": "Držte svoju frázu v bezpečí. Ak zbadáte niečo podozrivé alebo si nie ste istí webom, pošlite email na adresu support@metamask.io"
},
"queue": {
"message": "Poradie"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Če morate ponovno varnostno kopirati vaše geslo seed phrase, ga najdete v Nastavitve -> Varnost."
},
"endOfFlowMessage7": {
"message": "Če imate kakršna koli vprašanja ali opazite kaj sumljivega, nam pišite na support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask ne more obnoviti vašega gesla seed phrase. Več informacij."
},
@ -760,15 +757,6 @@
"privateNetwork": {
"message": "Zasebno omrežje"
},
"protectYourKeys": {
"message": "Varujte svoje ključe!"
},
"protectYourKeysMessage1": {
"message": "Bodite previdni in svoj seed phrase skrbno varujte - obstajajo poročila o spletnih mestih, ki poskušajo posnemati MetaMask. MetaMask nikoli ne bo zahteval vašega gesla seed phrase!"
},
"protectYourKeysMessage2": {
"message": "Hranite svoj seed phrase. Če opazite sumljivo delovanje ali niste prepričani ali je določeno spletno mesto varno, nam pišite na support@metamask.io"
},
"queue": {
"message": "Čakalna vrsta"
},

View File

@ -347,9 +347,6 @@
"endOfFlowMessage6": {
"message": "Ako treba ponovo da izradite rezervnu kopiju svoje početne fraze, možete je pronaći u Postavke -> Bezbednost."
},
"endOfFlowMessage7": {
"message": "Ako imate bilo kakvih pitanja ili primetite nešto sumnjivo, pošaljite e-poruku na support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask ne može da oporavi vašu početnu frazu. Saznajte više."
},
@ -766,15 +763,6 @@
"privateNetwork": {
"message": "Privatna mreža"
},
"protectYourKeys": {
"message": "Zaštitite svoje ključeve!"
},
"protectYourKeysMessage1": {
"message": "Budite pažljivi sa vašom seed frazom - bilo je izveštaja o veb lokacijama koje pokušavaju da imitiraju MetaMask. MetaMask nikada neće tražiti vašu seed frazu!"
},
"protectYourKeysMessage2": {
"message": "Čuvajte svoju frazu. Ako primetite nešto sumnjivo, ili niste sigurni u vezi veb lokacije, pošaljite e-poruku na upport@metamask.io"
},
"queue": {
"message": "Ред"
},

View File

@ -344,9 +344,6 @@
"endOfFlowMessage6": {
"message": "Om du behöver säkerhetskopiera din nyckelfras igen, kan du hitta den i Inställningar -> Säkerhet"
},
"endOfFlowMessage7": {
"message": "Om du har frågor eller ser något misstänksamt, skicka ett e-postmeddelande till support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask kan inte återställa din seedphrase. Läs mer."
},
@ -759,15 +756,6 @@
"privateNetwork": {
"message": "Privat nätverk"
},
"protectYourKeys": {
"message": "Skydda dina nycklar!"
},
"protectYourKeysMessage1": {
"message": "Var försiktig med din seedfras — det har rapporterats om hemsidor som försöker imitera MetaMask. MetaMask kommer aldrig fråga efter din seedfras!"
},
"protectYourKeysMessage2": {
"message": "Håll din fras i säkert förvar. Om du ser något misstänksamt eller om du är osäker på en hemsida, skicka ett e-postmeddelande till support@metamask.io."
},
"queue": {
"message": "Utskriftskö"
},

View File

@ -344,9 +344,6 @@
"endOfFlowMessage6": {
"message": "Ikiwa unataka kuhifadhi tena kwa njia mbadla kirai chako kianzio, unaweza kukipata kwenye Mipangilio -> Usalama."
},
"endOfFlowMessage7": {
"message": "Ikiwa una maswali au umeona kitu ambacho ni cha ulaghai, tuma barua pepe support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask haiwezi kurejesha kirai chako kianzio. Pata maelezo ziadi."
},
@ -753,15 +750,6 @@
"privateNetwork": {
"message": "Mtandao Binafsi"
},
"protectYourKeys": {
"message": "Linda Funguo Zako!"
},
"protectYourKeysMessage1": {
"message": "Kuwa mwangalifu na kirai kianzio chako - kumekuwa na taarifa za tovuti ambazo zinajaribu kuiga MetaMask. MetaMask kamwe haitakuomba kirai kianzio chako!"
},
"protectYourKeysMessage2": {
"message": "Weka salama kirai kianzio chako. Ikiwa unaona kitu cha kilaghai, au huna uhakika na tovuti fulani, tuma barua pepe kwenda support@metamask.io"
},
"queue": {
"message": "Foleni"
},

View File

@ -553,9 +553,6 @@
"endOfFlowMessage6": {
"message": "Kung kailangan mong i-back up ulit ang iyong seed phrase, makikita mo ito sa Mga Setting -> Seguridad."
},
"endOfFlowMessage7": {
"message": "Sakaling mayroon kang mga tanong o may nakita kang kahina-hinalang bagay, mag-email sa support@metamask.io."
},
"endOfFlowMessage8": {
"message": "Hindi mababawi ng MetaMask ang iyong seedphrase."
},
@ -600,14 +597,6 @@
"message": "Code: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Subukan ulit sa pamamagitan ng pag-reload ng page, o makipag-ugnayan sa suporta sa support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Subukan ulit sa pamamagitan ng pagsara at muling pagbukas ng popup, o makipag-ugnayan sa suporta sa support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "Nagkaroon ng error sa MetaMask",
"description": "Title of generic error page"
@ -1126,9 +1115,6 @@
"message": "Isasara ng \"$1\" ang tab na ito at ididirekta ka pabalik sa $2",
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "Maaaring magsinungaling ang nakakahamak na Ethereum network providertungkol sa estado ng blockchain at i-record ang aktibidad ng iyong network. Magdagdag lang ng mga custom na network na pinagkakatiwalaan mo."
},
"onlyAvailableOnMainnet": {
"message": "Available lang sa mainnet"
},
@ -1213,15 +1199,6 @@
"proposedApprovalLimit": {
"message": "Iminumungkahing Limitasyon sa Pag-apruba"
},
"protectYourKeys": {
"message": "Protektahan ang Iyong Mga Key!"
},
"protectYourKeysMessage1": {
"message": "Ingatan ang iyong seed phrase — may mga naiulat na website na sinusubukang gayahin ang MetaMask. Hindi kailanman hihingin ng MetaMask ang iyong seed phrase!"
},
"protectYourKeysMessage2": {
"message": "Ingatan ang iyong phrase. Kung may makikita kang kahina-hinalang bagay, o hindi ka sigurado sa isang website, mag-email sa support@metamask.io"
},
"provide": {
"message": "Ibigay"
},

View File

@ -350,9 +350,6 @@
"endOfFlowMessage6": {
"message": "Якщо вам потрібно знову зробити резервну копію вашої початкової фрази, ви можете знайти її у Налаштування -> Безпека."
},
"endOfFlowMessage7": {
"message": "Якщо у вас коли-небудь виникатимуть питання або ви побачите щось фішингове, пишіть на support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask не вдалося відновити вашу мнемонічну фразу. Докладніше."
},
@ -775,15 +772,6 @@
"privateNetwork": {
"message": "Приватна мережа"
},
"protectYourKeys": {
"message": "Захистіть свої ключі!"
},
"protectYourKeysMessage1": {
"message": "Будьте обережними з вашою початковою фразою - надходила інформація про сайти, які намагались імітувати MetaMask. MetaMask ніколи не запитує вашої початкової фрази!"
},
"protectYourKeysMessage2": {
"message": "Тримайте свою фразу у безпеці. Якщо ви бачите щось фішингове або ви не впевнені щодо сайту, напишіть нам на support@metamask.io"
},
"queue": {
"message": "Черга"
},

View File

@ -553,9 +553,6 @@
"endOfFlowMessage6": {
"message": "Nếu cần sao lưu lại cụm mật khẩu gốc của mình, bạn có thể tìm thấy cụm mật khẩu này trong phần Cài đặt -> Bảo mật."
},
"endOfFlowMessage7": {
"message": "Nếu bạn có câu hỏi hoặc nhận thấy điều gì đó đáng ngờ, hãy gửi email đến support@metamask.io."
},
"endOfFlowMessage8": {
"message": "MetaMask không thể khôi phục cụm mật khẩu gốc của bạn."
},
@ -600,14 +597,6 @@
"message": "Mã: $1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "Hãy thử lại bằng cách tải lại trang hoặc liên hệ với bộ phận hỗ trợ theo địa chỉ support@metamask.io",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "Hãy thử lại bằng cách đóng và mở lại cửa sổ bật lên hoặc liên hệ với bộ phận hỗ trợ theo địa chỉ support@metamask.io",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask đã gặp lỗi",
"description": "Title of generic error page"
@ -1127,7 +1116,7 @@
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "Một nhà cung cấp mạng Ethereum độc hại có thể nói dối về trạng thái của chuỗi khối và ghi lại hoạt động của bạn trên mạng. Chỉ thêm các mạng tùy chỉnh mà bạn tin tưởng."
"message": "Một nhà cung cấp mạng độc hại có thể nói dối về trạng thái của chuỗi khối và ghi lại hoạt động của bạn trên mạng. Chỉ thêm các mạng tùy chỉnh mà bạn tin tưởng."
},
"onlyAvailableOnMainnet": {
"message": "Chỉ có trên mạng chính thức"
@ -1213,15 +1202,6 @@
"proposedApprovalLimit": {
"message": "Giới hạn phê duyệt đề xuất"
},
"protectYourKeys": {
"message": "Bảo vệ khóa của bạn!"
},
"protectYourKeysMessage1": {
"message": "Hãy cẩn với cụm mật khẩu gốc của bạn, đã có báo cáo về các trang web cố tình giả mạo MetaMask. MetaMask sẽ không bao giờ hỏi cụm mật khẩu gốc của bạn!"
},
"protectYourKeysMessage2": {
"message": "Hãy lưu giữ cụm mật khẩu của bạn an toàn. Nếu bạn nhận thấy điều gì đó đáng ngờ hoặc không chắc chắn về một trang web, hãy gửi email đến support@metamask.io"
},
"provide": {
"message": "Cung cấp"
},

View File

@ -562,9 +562,6 @@
"endOfFlowMessage6": {
"message": "如果您需要再次备份账户助记词,请通过设置 -> 安全选项完成该操作。"
},
"endOfFlowMessage7": {
"message": "如果您仍存有疑问或发现任何可疑的地方,请发送电子邮件至 support@metamask.io 进行咨询。"
},
"endOfFlowMessage8": {
"message": "MetaMask 无法恢复您的账户助记词。"
},
@ -609,14 +606,6 @@
"message": "代码:$1",
"description": "Displayed error name for debugging purposes. $1 is the error name"
},
"errorPageMessage": {
"message": "请重新加载页面重试,或通过 support@metamask.io 联系支持。",
"description": "Message displayed on generic error page in the fullscreen or notification UI"
},
"errorPagePopupMessage": {
"message": "请关闭并重新打开弹窗再试一次,或通过 support@metamask.io 联系支持。",
"description": "Message displayed on generic error page in the popup UI"
},
"errorPageTitle": {
"message": "MetaMask 遇到了一个错误",
"description": "Title of generic error page"
@ -1138,9 +1127,6 @@
"message": "“$1”会关闭此标签直接回到 $2",
"description": "Return the user to the site that initiated onboarding"
},
"onlyAddTrustedNetworks": {
"message": "恶意的 Ethereum 以太坊网络提供商可以伪造区块链状态,并记录您的网络活动。只添加您信任的自定义网络。"
},
"onlyAvailableOnMainnet": {
"message": "仅在主网mainnet上提供"
},
@ -1225,15 +1211,6 @@
"proposedApprovalLimit": {
"message": "拟议的审批上限"
},
"protectYourKeys": {
"message": "妥善保管您的密钥!"
},
"protectYourKeysMessage1": {
"message": "请注意个人账户助记词的安全。报告显示有多个网站企图伪造 MetaMask。MetaMask 绝不会要求您提供个人账户助记词!"
},
"protectYourKeysMessage2": {
"message": "请妥善保管您的账户助记词。如果您发现任何可疑的地方,或无法确认网络安全性,请发送电子邮件至 support@metamask.io 进行咨询"
},
"provide": {
"message": "提供"
},

View File

@ -359,9 +359,6 @@
"endOfFlowMessage6": {
"message": "如你需要再次備份助記詞,可至設定 -> 安全。"
},
"endOfFlowMessage7": {
"message": "如你有任何問題或察覺有異,請寄信給 support@metamask.io"
},
"endOfFlowMessage8": {
"message": "MetaMask 無法還原你的助記詞。暸解更多"
},
@ -772,15 +769,6 @@
"privateNetwork": {
"message": "私有網路"
},
"protectYourKeys": {
"message": "保護你的鑰匙!"
},
"protectYourKeysMessage1": {
"message": "小心保管你的註記詞—我們接到報告有網站嘗試模仿 MetaMask。MetaMask 永遠不會詢問你的助記詞!"
},
"protectYourKeysMessage2": {
"message": "安全存放你的助記詞。如你察覺有異,或你對某網站起疑,請寄信給 support@metamask.io"
},
"queue": {
"message": "佇列"
},

View File

@ -78,6 +78,6 @@
"notifications"
],
"short_name": "__MSG_appName__",
"version": "9.1.1",
"version": "9.2.0",
"web_accessible_resources": ["inpage.js", "phishing.html"]
}

View File

@ -3,7 +3,7 @@ import { ObservableStore } from '@metamask/obs-store';
/**
* @typedef {Object} CachedBalancesOptions
* @property {Object} accountTracker An {@code AccountTracker} reference
* @property {Function} getNetwork A function to get the current network
* @property {Function} getCurrentChainId A function to get the current chain id
* @property {Object} initState The initial controller state
*/
@ -18,10 +18,10 @@ export default class CachedBalancesController {
* @param {CachedBalancesOptions} [opts] - Controller configuration parameters
*/
constructor(opts = {}) {
const { accountTracker, getNetwork } = opts;
const { accountTracker, getCurrentChainId } = opts;
this.accountTracker = accountTracker;
this.getNetwork = getNetwork;
this.getCurrentChainId = getCurrentChainId;
const initState = { cachedBalances: {}, ...opts.initState };
this.store = new ObservableStore(initState);
@ -30,37 +30,37 @@ export default class CachedBalancesController {
}
/**
* Updates the cachedBalances property for the current network. Cached balances will be updated to those in the passed accounts
* Updates the cachedBalances property for the current chain. Cached balances will be updated to those in the passed accounts
* if balances in the passed accounts are truthy.
*
* @param {Object} obj - The the recently updated accounts object for the current network
* @param {Object} obj - The the recently updated accounts object for the current chain
* @returns {Promise<void>}
*/
async updateCachedBalances({ accounts }) {
const network = await this.getNetwork();
const chainId = this.getCurrentChainId();
const balancesToCache = await this._generateBalancesToCache(
accounts,
network,
chainId,
);
this.store.updateState({
cachedBalances: balancesToCache,
});
}
_generateBalancesToCache(newAccounts, currentNetwork) {
_generateBalancesToCache(newAccounts, chainId) {
const { cachedBalances } = this.store.getState();
const currentNetworkBalancesToCache = { ...cachedBalances[currentNetwork] };
const currentChainBalancesToCache = { ...cachedBalances[chainId] };
Object.keys(newAccounts).forEach((accountID) => {
const account = newAccounts[accountID];
if (account.balance) {
currentNetworkBalancesToCache[accountID] = account.balance;
currentChainBalancesToCache[accountID] = account.balance;
}
});
const balancesToCache = {
...cachedBalances,
[currentNetwork]: currentNetworkBalancesToCache,
[chainId]: currentChainBalancesToCache,
};
return balancesToCache;

View File

@ -61,6 +61,7 @@ export default class PreferencesController {
autoLockTimeLimit: undefined,
showFiatInTestnets: false,
useNativeCurrencyAsPrimaryCurrency: true,
hideZeroBalanceTokens: false,
},
completedOnboarding: false,
// ENS decentralized website resolution

View File

@ -8,7 +8,7 @@ import { calcTokenAmount } from '../../../ui/app/helpers/utils/token-util';
import { calcGasTotal } from '../../../ui/app/pages/send/send.utils';
import { conversionUtil } from '../../../ui/app/helpers/utils/conversion-util';
import {
ETH_SWAPS_TOKEN_ADDRESS,
ETH_SWAPS_TOKEN_OBJECT,
DEFAULT_ERC20_APPROVE_GAS,
QUOTES_EXPIRED_ERROR,
QUOTES_NOT_AVAILABLE_ERROR,
@ -191,7 +191,7 @@ export default class SwapsController {
let approvalRequired = false;
if (
fetchParams.sourceToken !== ETH_SWAPS_TOKEN_ADDRESS &&
fetchParams.sourceToken !== ETH_SWAPS_TOKEN_OBJECT.address &&
Object.values(newQuotes).length
) {
const allowance = await this._getERC20Allowance(
@ -552,7 +552,7 @@ export default class SwapsController {
// If the swap is from ETH, subtract the sourceAmount from the total cost.
// Otherwise, the total fee is simply trade.value plus gas fees.
const ethFee =
sourceToken === ETH_SWAPS_TOKEN_ADDRESS
sourceToken === ETH_SWAPS_TOKEN_OBJECT.address
? conversionUtil(
totalWeiCost.minus(sourceAmount, 10), // sourceAmount is in wei
{
@ -589,7 +589,9 @@ export default class SwapsController {
);
const conversionRateForCalculations =
destinationToken === ETH_SWAPS_TOKEN_ADDRESS ? 1 : tokenConversionRate;
destinationToken === ETH_SWAPS_TOKEN_OBJECT.address
? 1
: tokenConversionRate;
const overallValueOfQuoteForSorting =
conversionRateForCalculations === undefined
@ -616,7 +618,7 @@ export default class SwapsController {
});
const isBest =
newQuotes[topAggId].destinationToken === ETH_SWAPS_TOKEN_ADDRESS ||
newQuotes[topAggId].destinationToken === ETH_SWAPS_TOKEN_OBJECT.address ||
Boolean(tokenConversionRates[newQuotes[topAggId]?.destinationToken]);
let savings = null;

View File

@ -26,6 +26,7 @@ import {
} from '@metamask/controllers';
import { getBackgroundMetaMetricState } from '../../ui/app/selectors';
import { TRANSACTION_STATUSES } from '../../shared/constants/transaction';
import { MAINNET_CHAIN_ID } from '../../shared/constants/network';
import ComposableObservableStore from './lib/ComposableObservableStore';
import AccountTracker from './lib/account-tracker';
import createLoggerMiddleware from './lib/createLoggerMiddleware';
@ -218,7 +219,7 @@ export default class MetamaskController extends EventEmitter {
this.cachedBalancesController = new CachedBalancesController({
accountTracker: this.accountTracker,
getNetwork: this.networkController.getNetworkState.bind(
getCurrentChainId: this.networkController.getCurrentChainId.bind(
this.networkController,
),
initState: initState.CachedBalancesController,
@ -318,7 +319,15 @@ export default class MetamaskController extends EventEmitter {
status === TRANSACTION_STATUSES.FAILED
) {
const txMeta = this.txController.txStateManager.getTx(txId);
this.platform.showTransactionNotification(txMeta);
const frequentRpcListDetail = this.preferencesController.getFrequentRpcListDetail();
let rpcPrefs = {};
if (txMeta.chainId) {
const rpcSettings = frequentRpcListDetail.find(
(rpc) => txMeta.chainId === rpc.chainId,
);
rpcPrefs = rpcSettings?.rpcPrefs ?? {};
}
this.platform.showTransactionNotification(txMeta, rpcPrefs);
const { txReceipt } = txMeta;
if (txReceipt && txReceipt.status === '0x0') {
@ -1074,10 +1083,10 @@ export default class MetamaskController extends EventEmitter {
Object.keys(accountTokens).forEach((address) => {
const checksummedAddress = ethUtil.toChecksumAddress(address);
filteredAccountTokens[checksummedAddress] = {};
Object.keys(accountTokens[address]).forEach((networkType) => {
filteredAccountTokens[checksummedAddress][networkType] =
networkType === 'mainnet'
? accountTokens[address][networkType].filter(
Object.keys(accountTokens[address]).forEach((chainId) => {
filteredAccountTokens[checksummedAddress][chainId] =
chainId === MAINNET_CHAIN_ID
? accountTokens[address][chainId].filter(
({ address: tokenAddress }) => {
const checksumAddress = ethUtil.toChecksumAddress(
tokenAddress,
@ -1087,7 +1096,7 @@ export default class MetamaskController extends EventEmitter {
: true;
},
)
: accountTokens[address][networkType];
: accountTokens[address][chainId];
});
});
@ -1288,11 +1297,16 @@ export default class MetamaskController extends EventEmitter {
}
/**
* Imports an account from a trezor device.
* Imports an account from a Trezor or Ledger device.
*
* @returns {} keyState
*/
async unlockHardwareWalletAccount(index, deviceName, hdPath) {
async unlockHardwareWalletAccount(
index,
deviceName,
hdPath,
hdPathDescription,
) {
const keyring = await this.getKeyringForDevice(deviceName, hdPath);
keyring.setAccountToUnlock(index);
@ -1302,13 +1316,11 @@ export default class MetamaskController extends EventEmitter {
this.preferencesController.setAddresses(newAccounts);
newAccounts.forEach((address) => {
if (!oldAccounts.includes(address)) {
const label = `${deviceName[0].toUpperCase()}${deviceName.slice(1)} ${
parseInt(index, 10) + 1
} ${hdPathDescription || ''}`.trim();
// Set the account label to Trezor 1 / Ledger 1, etc
this.preferencesController.setAccountLabel(
address,
`${deviceName[0].toUpperCase()}${deviceName.slice(1)} ${
parseInt(index, 10) + 1
}`,
);
this.preferencesController.setAccountLabel(address, label);
// Select the account
this.preferencesController.setSelectedAddress(address);
}

View File

@ -1,8 +1,8 @@
import extension from 'extensionizer';
import { createExplorerLink as explorerLink } from '@metamask/etherscan-link';
import { getEnvironmentType, checkForError } from '../lib/util';
import { ENVIRONMENT_TYPE_BACKGROUND } from '../../../shared/constants/app';
import { TRANSACTION_STATUSES } from '../../../shared/constants/transaction';
import { getBlockExplorerUrlForTx } from '../../../shared/modules/transaction.utils';
export default class ExtensionPlatform {
//
@ -110,7 +110,7 @@ export default class ExtensionPlatform {
}
}
showTransactionNotification(txMeta) {
showTransactionNotification(txMeta, rpcPrefs) {
const { status, txReceipt: { status: receiptStatus } = {} } = txMeta;
if (status === TRANSACTION_STATUSES.CONFIRMED) {
@ -120,7 +120,7 @@ export default class ExtensionPlatform {
txMeta,
'Transaction encountered an error.',
)
: this._showConfirmedTransaction(txMeta);
: this._showConfirmedTransaction(txMeta, rpcPrefs);
} else if (status === TRANSACTION_STATUSES.FAILED) {
this._showFailedTransaction(txMeta);
}
@ -189,10 +189,10 @@ export default class ExtensionPlatform {
});
}
_showConfirmedTransaction(txMeta) {
_showConfirmedTransaction(txMeta, rpcPrefs) {
this._subscribeToNotificationClicked();
const url = explorerLink(txMeta.hash, txMeta.metamaskNetworkId);
const url = getBlockExplorerUrlForTx(txMeta, rpcPrefs);
const nonce = parseInt(txMeta.txParams.nonce, 16);
const title = 'Confirmed transaction';

View File

@ -5,7 +5,8 @@
"scripts": {
"setup": "yarn install && yarn patch-package && yarn allow-scripts",
"setup-ci": "yarn install --frozen-lockfile --har && yarn patch-package && yarn allow-scripts",
"start": "yarn build dev",
"start": "node development/build/index.js dev",
"start:lavamoat": "yarn build dev",
"dist": "yarn build prod",
"build": "lavamoat development/build/index.js",
"start:test": "yarn build testDev",
@ -19,10 +20,10 @@
"forwarder": "node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010",
"dapp-forwarder": "concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'",
"sendwithprivatedapp": "node development/static-server.js test/e2e/send-eth-with-private-key-test --port 8080",
"test:unit": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\"",
"test:unit:global": "mocha --exit --require test/env.js --require test/setup.js --recursive test/unit-global/*",
"test:unit:lax": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/{,**/!(permissions)}/*.js\" \"ui/app/**/*.test.js\"",
"test:unit:strict": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/**/permissions/*.js\"",
"test:unit": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/**/*.test.js\" \"ui/app/**/*.test.js\" \"shared/**/*.test.js\"",
"test:unit:global": "mocha --exit --require test/env.js --require test/setup.js --recursive test/unit-global/*.test.js",
"test:unit:lax": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/{,**/!(permissions)}/*.test.js\" \"ui/app/**/*.test.js\" \"shared/**/*.test.js\"",
"test:unit:strict": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/**/permissions/*.test.js\"",
"test:unit:path": "mocha --exit --require test/env.js --require test/setup.js --recursive",
"test:e2e:chrome": "SELENIUM_BROWSER=chrome test/e2e/run-all.sh",
"test:e2e:chrome:metrics": "SELENIUM_BROWSER=chrome mocha test/e2e/metrics.spec.js",
@ -44,7 +45,7 @@
"verify-locales": "node ./development/verify-locale-strings.js",
"verify-locales:fix": "node ./development/verify-locale-strings.js --fix",
"mozilla-lint": "addons-linter dist/firefox",
"watch": "mocha --watch --require test/env.js --require test/setup.js --reporter min --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\"",
"watch": "mocha --watch --require test/env.js --require test/setup.js --reporter min --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\" \"shared/**/*.test.js\"",
"devtools:react": "react-devtools",
"devtools:redux": "remotedev --hostname=localhost --port=8000",
"start:dev": "concurrently -k -n build,react,redux yarn:start yarn:devtools:react yarn:devtools:redux",
@ -59,7 +60,7 @@
},
"resolutions": {
"**/configstore/dot-prop": "^5.1.1",
"**/ethers/elliptic": "^6.5.3",
"**/ethers/elliptic": "^6.5.4",
"**/knex/minimist": "^1.2.5",
"**/optimist/minimist": "^1.2.5",
"**/socketcluster/minimist": "^1.2.5",
@ -67,10 +68,11 @@
"**/redux-devtools-instrument/symbol-observable": "^2.0.3",
"**/rxjs/symbol-observable": "^2.0.3",
"3box/ipfs/ipld-zcash/zcash-bitcore-lib/lodash": "^4.17.19",
"3box/ipfs/ipld-zcash/zcash-bitcore-lib/elliptic": "^6.5.3",
"3box/ipfs/ipld-zcash/zcash-bitcore-lib/elliptic": "^6.5.4",
"3box/**/libp2p-crypto/node-forge": "^0.10.0",
"3box/**/libp2p-keychain/node-forge": "^0.10.0",
"analytics-node/axios": "^0.21.1"
"analytics-node/axios": "^0.21.1",
"pull-ws": "^3.3.2"
},
"dependencies": {
"3box": "^1.10.2",
@ -82,9 +84,9 @@
"@material-ui/core": "^4.11.0",
"@metamask/contract-metadata": "^1.22.0",
"@metamask/controllers": "^5.1.0",
"@metamask/eth-ledger-bridge-keyring": "^0.2.6",
"@metamask/eth-ledger-bridge-keyring": "^0.3.0",
"@metamask/eth-token-tracker": "^3.0.1",
"@metamask/etherscan-link": "^1.4.1",
"@metamask/etherscan-link": "^1.5.0",
"@metamask/inpage-provider": "^8.0.4",
"@metamask/jazzicon": "^2.0.0",
"@metamask/logo": "^2.5.0",
@ -118,7 +120,7 @@
"eth-query": "^2.1.2",
"eth-rpc-errors": "^4.0.2",
"eth-sig-util": "^3.0.0",
"eth-trezor-keyring": "^0.5.2",
"eth-trezor-keyring": "^0.6.0",
"ethereum-ens-network-map": "^1.0.2",
"ethereumjs-abi": "^0.6.4",
"ethereumjs-tx": "1.3.7",
@ -194,7 +196,7 @@
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.5.5",
"@lavamoat/allow-scripts": "^1.0.3",
"@lavamoat/allow-scripts": "^1.0.4",
"@metamask/eslint-config": "^5.0.0",
"@metamask/forwarder": "^1.1.0",
"@metamask/test-dapp": "^4.0.1",

View File

@ -0,0 +1,96 @@
import assert from 'assert';
import {
MAINNET_CHAIN_ID,
MAINNET_NETWORK_ID,
ROPSTEN_CHAIN_ID,
ROPSTEN_NETWORK_ID,
} from '../../constants/network';
import { getBlockExplorerUrlForTx } from '../transaction.utils';
const tests = [
{
expected: 'https://etherscan.io/tx/0xabcd',
transaction: {
metamaskNetworkId: MAINNET_NETWORK_ID,
hash: '0xabcd',
},
},
{
expected: 'https://ropsten.etherscan.io/tx/0xdef0',
transaction: {
metamaskNetworkId: ROPSTEN_NETWORK_ID,
hash: '0xdef0',
},
rpcPrefs: {},
},
{
// test handling of `blockExplorerUrl` for a custom RPC
expected: 'https://block.explorer/tx/0xabcd',
transaction: {
metamaskNetworkId: '31',
hash: '0xabcd',
},
rpcPrefs: {
blockExplorerUrl: 'https://block.explorer',
},
},
{
// test handling of trailing `/` in `blockExplorerUrl` for a custom RPC
expected: 'https://another.block.explorer/tx/0xdef0',
transaction: {
networkId: '33',
hash: '0xdef0',
},
rpcPrefs: {
blockExplorerUrl: 'https://another.block.explorer/',
},
},
{
expected: 'https://etherscan.io/tx/0xabcd',
transaction: {
chainId: MAINNET_CHAIN_ID,
hash: '0xabcd',
},
},
{
expected: 'https://ropsten.etherscan.io/tx/0xdef0',
transaction: {
chainId: ROPSTEN_CHAIN_ID,
hash: '0xdef0',
},
rpcPrefs: {},
},
{
// test handling of `blockExplorerUrl` for a custom RPC
expected: 'https://block.explorer/tx/0xabcd',
transaction: {
chainId: '0x1f',
hash: '0xabcd',
},
rpcPrefs: {
blockExplorerUrl: 'https://block.explorer',
},
},
{
// test handling of trailing `/` in `blockExplorerUrl` for a custom RPC
expected: 'https://another.block.explorer/tx/0xdef0',
transaction: {
chainId: '0x21',
hash: '0xdef0',
},
rpcPrefs: {
blockExplorerUrl: 'https://another.block.explorer/',
},
},
];
describe('getBlockExplorerUrlForTx', function () {
tests.forEach((test) => {
it(`should return '${test.expected}' for transaction with hash: '${test.transaction.hash}'`, function () {
assert.strictEqual(
getBlockExplorerUrlForTx(test.transaction, test.rpcPrefs),
test.expected,
);
});
});
});

View File

@ -1,6 +1,37 @@
import {
createExplorerLink,
createExplorerLinkForChain,
} from '@metamask/etherscan-link';
export function transactionMatchesNetwork(transaction, chainId, networkId) {
if (typeof transaction.chainId !== 'undefined') {
return transaction.chainId === chainId;
}
return transaction.metamaskNetworkId === networkId;
}
/**
* build the etherscan link for a transaction by either chainId, if available
* or metamaskNetworkId as a fallback. If rpcPrefs is provided will build the
* url for the provided blockExplorerUrl.
*
* @param {Object} transaction - a transaction object from state
* @param {string} [transaction.metamaskNetworkId] - network id tx occurred on
* @param {string} [transaction.chainId] - chain id tx occurred on
* @param {string} [transaction.hash] - hash of the transaction
* @param {Object} [rpcPrefs] - the rpc preferences for the current RPC network
* @param {string} [rpcPrefs.blockExplorerUrl] - the block explorer url for RPC
* networks
* @returns {string}
*/
export function getBlockExplorerUrlForTx(transaction, rpcPrefs = {}) {
if (rpcPrefs.blockExplorerUrl) {
return `${rpcPrefs.blockExplorerUrl.replace(/\/+$/u, '')}/tx/${
transaction.hash
}`;
}
if (transaction.chainId) {
return createExplorerLinkForChain(transaction.hash, transaction.chainId);
}
return createExplorerLink(transaction.hash, transaction.metamaskNetworkId);
}

View File

@ -1,12 +1,13 @@
import assert from 'assert';
import sinon from 'sinon';
import CachedBalancesController from '../../../../app/scripts/controllers/cached-balances';
import { KOVAN_CHAIN_ID } from '../../../../shared/constants/network';
describe('CachedBalancesController', function () {
describe('updateCachedBalances', function () {
it('should update the cached balances', async function () {
const controller = new CachedBalancesController({
getNetwork: () => Promise.resolve(17),
getCurrentChainId: () => KOVAN_CHAIN_ID,
accountTracker: {
store: {
subscribe: () => undefined,
@ -26,7 +27,7 @@ describe('CachedBalancesController', function () {
assert.equal(controller._generateBalancesToCache.callCount, 1);
assert.deepEqual(controller._generateBalancesToCache.args[0], [
'mockAccounts',
17,
KOVAN_CHAIN_ID,
]);
assert.equal(
controller.store.getState().cachedBalances,
@ -45,7 +46,7 @@ describe('CachedBalancesController', function () {
},
initState: {
cachedBalances: {
17: {
[KOVAN_CHAIN_ID]: {
a: '0x1',
b: '0x2',
c: '0x3',
@ -65,11 +66,11 @@ describe('CachedBalancesController', function () {
b: { balance: null },
c: { balance: '0x5' },
},
17,
KOVAN_CHAIN_ID,
);
assert.deepEqual(result, {
17: {
[KOVAN_CHAIN_ID]: {
a: '0x4',
b: '0x2',
c: '0x5',
@ -91,7 +92,7 @@ describe('CachedBalancesController', function () {
},
initState: {
cachedBalances: {
17: {
[KOVAN_CHAIN_ID]: {
a: '0x1',
b: '0x2',
c: '0x3',
@ -110,7 +111,7 @@ describe('CachedBalancesController', function () {
);
assert.deepEqual(result, {
17: {
[KOVAN_CHAIN_ID]: {
a: '0x1',
b: '0x2',
c: '0x3',
@ -127,7 +128,7 @@ describe('CachedBalancesController', function () {
it('should subscribe to the account tracker with the updateCachedBalances method', async function () {
const subscribeSpy = sinon.spy();
const controller = new CachedBalancesController({
getNetwork: () => Promise.resolve(17),
getCurrentChainId: () => KOVAN_CHAIN_ID,
accountTracker: {
store: {
subscribe: subscribeSpy,

View File

@ -9,7 +9,7 @@ import {
ROPSTEN_NETWORK_ID,
MAINNET_NETWORK_ID,
} from '../../../../shared/constants/network';
import { ETH_SWAPS_TOKEN_ADDRESS } from '../../../../ui/app/helpers/constants/swaps';
import { ETH_SWAPS_TOKEN_OBJECT } from '../../../../ui/app/helpers/constants/swaps';
import { createTestProviderTools } from '../../../stub/provider';
import SwapsController, {
utils,
@ -471,7 +471,7 @@ describe('SwapsController', function () {
getTopQuoteAndSavingsMockQuotes(),
(quote) => ({
...quote,
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
}),
@ -480,42 +480,42 @@ describe('SwapsController', function () {
const expectedResultQuotes = {
[TEST_AGG_ID_1]: {
...baseExpectedResultQuotes[TEST_AGG_ID_1],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '2.0195',
},
[TEST_AGG_ID_2]: {
...baseExpectedResultQuotes[TEST_AGG_ID_2],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.9996',
},
[TEST_AGG_ID_3]: {
...baseExpectedResultQuotes[TEST_AGG_ID_3],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.9698',
},
[TEST_AGG_ID_4]: {
...baseExpectedResultQuotes[TEST_AGG_ID_4],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.94',
},
[TEST_AGG_ID_5]: {
...baseExpectedResultQuotes[TEST_AGG_ID_5],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.9102',
},
[TEST_AGG_ID_6]: {
...baseExpectedResultQuotes[TEST_AGG_ID_6],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.8705',
@ -535,7 +535,7 @@ describe('SwapsController', function () {
getTopQuoteAndSavingsMockQuotes(),
(quote) => ({
...quote,
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
}),
@ -546,7 +546,7 @@ describe('SwapsController', function () {
const expectedResultQuotes = {
[TEST_AGG_ID_1]: {
...baseExpectedResultQuotes[TEST_AGG_ID_1],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8b553ece48ec0000' },
overallValueOfQuote: '1.9795',
@ -554,7 +554,7 @@ describe('SwapsController', function () {
},
[TEST_AGG_ID_2]: {
...baseExpectedResultQuotes[TEST_AGG_ID_2],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.9996',
@ -569,28 +569,28 @@ describe('SwapsController', function () {
},
[TEST_AGG_ID_3]: {
...baseExpectedResultQuotes[TEST_AGG_ID_3],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.9698',
},
[TEST_AGG_ID_4]: {
...baseExpectedResultQuotes[TEST_AGG_ID_4],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.94',
},
[TEST_AGG_ID_5]: {
...baseExpectedResultQuotes[TEST_AGG_ID_5],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.9102',
},
[TEST_AGG_ID_6]: {
...baseExpectedResultQuotes[TEST_AGG_ID_6],
sourceToken: ETH_SWAPS_TOKEN_ADDRESS,
sourceToken: ETH_SWAPS_TOKEN_OBJECT.address,
destinationToken: '0x1111111111111111111111111111111111111111',
trade: { value: '0x8ac7230489e80000' },
overallValueOfQuote: '1.8705',

View File

@ -437,6 +437,7 @@ describe('Transaction Controller', function () {
gasPrice: originalValue,
},
};
// eslint-disable-next-line @babel/no-invalid-this
this.timeout(15000);
const wrongValue = '0x05';

View File

@ -1,4 +1,8 @@
import assert from 'assert';
import {
MAINNET_CHAIN_ID,
ROPSTEN_CHAIN_ID,
} from '../../../shared/constants/network';
import getAccountLink from '../../../ui/lib/account-link';
describe('Account link', function () {
@ -7,19 +11,19 @@ describe('Account link', function () {
const tests = [
{
expected: 'https://etherscan.io/address/0xabcd',
network: 1,
chainId: MAINNET_CHAIN_ID,
address: '0xabcd',
},
{
expected: 'https://ropsten.etherscan.io/address/0xdef0',
network: 3,
chainId: ROPSTEN_CHAIN_ID,
address: '0xdef0',
rpcPrefs: {},
},
{
// test handling of `blockExplorerUrl` for a custom RPC
expected: 'https://block.explorer/address/0xabcd',
network: 31,
chainId: '0x21',
address: '0xabcd',
rpcPrefs: {
blockExplorerUrl: 'https://block.explorer',
@ -28,7 +32,7 @@ describe('Account link', function () {
{
// test handling of trailing `/` in `blockExplorerUrl` for a custom RPC
expected: 'https://another.block.explorer/address/0xdef0',
network: 33,
chainId: '0x1f',
address: '0xdef0',
rpcPrefs: {
blockExplorerUrl: 'https://another.block.explorer/',
@ -36,8 +40,8 @@ describe('Account link', function () {
},
];
tests.forEach(({ expected, address, network, rpcPrefs }) => {
assert.equal(getAccountLink(address, network, rpcPrefs), expected);
tests.forEach(({ expected, address, chainId, rpcPrefs }) => {
assert.equal(getAccountLink(address, chainId, rpcPrefs), expected);
});
});
});

Some files were not shown because too many files have changed in this diff Show More