1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 03:20:23 +01:00

[Fix] 10365 My Accounts Removal (#10680)

* pushing my-accounts removal

* removed CONTACT_MY_ACCOUNTS_ROUTE

* removed CONTACT_MY_ACCOUNTS_VIEW_ROUTE

* removing CONTACT_MY_ACCOUNTS_EDIT_ROUTE

* removing CONTACT_MY_ACCOUNTS_EDIT_ROUTE

* removed showingMyAccounts dead code

* removed more dead code related to isMyAccountsPage

* removing more dead code

* fixed linting error(s)

* removing my-accounts component/folder

* added empty contact screen ui

* styled empty contact page ui

* fixed linting, removed add contacts button, and fixed errors

* localized text and centered No Contacts

* pushing localized verification and fixed e2e test

* added listRoute redirect

* added listroute and fixed linting error
This commit is contained in:
Austin Akers 2021-04-27 11:25:58 -07:00 committed by GitHub
parent cbce07e983
commit 539a2b65f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
57 changed files with 85 additions and 513 deletions

View File

@ -594,12 +594,6 @@
"myAccounts": {
"message": "የእኔ መለያዎች"
},
"myWalletAccounts": {
"message": "የቋት መለያዎቼ"
},
"myWalletAccountsDescription": {
"message": "በ MetaMask የተፈጠሩ መለያዎችዎ በሙሉ በራስ ሰር መንገድ ወደዚህ ክፍል ይታከላሉ።"
},
"needEtherInWallet": {
"message": "MetaMask በመጠቀም ያልተማከሉ መተግበሪያዎች ጋር ግንኙነት ለማድረግ፣ በቋትዎ ውስጥ Ether ያስፈልግዎታል።"
},

View File

@ -590,12 +590,6 @@
"myAccounts": {
"message": "حساباتي"
},
"myWalletAccounts": {
"message": "حسابات محفظتي"
},
"myWalletAccountsDescription": {
"message": "ستتم إضافة جميع حسابات MetaMask الخاصة بك والتي تم إنشاؤها تلقائياً إلى هذا القسم."
},
"needEtherInWallet": {
"message": "للتفاعل مع التطبيقات اللامركزية باستخدام MetaMask، ستحتاج إلى الإيثير في محفظتك."
},

View File

@ -593,12 +593,6 @@
"myAccounts": {
"message": "Моите акаунти"
},
"myWalletAccounts": {
"message": "Моите акаунти в портфейла"
},
"myWalletAccountsDescription": {
"message": "Всичките ви създадени от MetaMask акаунти ще бъдат автоматично добавени в този раздел."
},
"needEtherInWallet": {
"message": "За да взаимодействате с децентрализираните приложения, използвайки MetaMask, ще ви е необходим етер в портфейла ви."
},

View File

@ -597,12 +597,6 @@
"myAccounts": {
"message": "আমার অ্যাকাউন্টগুলি"
},
"myWalletAccounts": {
"message": "আমার ওয়ালেট অ্যাকাউন্টগুলি"
},
"myWalletAccountsDescription": {
"message": "MetaMask এর তৈরি করা আপনার সমস্ত অ্যাকাউন্টগুলি স্বয়ংক্রিয়ভাবে এই বিভাগে যোগ হয়ে যাবে।"
},
"needEtherInWallet": {
"message": "MetaMask ব্যবহার করে ছড়িয়ে ছিটিয়ে থাকা অ্যাপ্লিকেশনগুলির সাথে যোগাযোগ করতে, আপনার ওয়ালেটে ইথার লাগবে।"
},

View File

@ -581,12 +581,6 @@
"myAccounts": {
"message": "Els meus Comptes"
},
"myWalletAccounts": {
"message": "Els meus Comptes de Moneder"
},
"myWalletAccountsDescription": {
"message": "Tots els teus comptes creats a MetaMask s'afegiran automàticament a aquesta secció."
},
"needEtherInWallet": {
"message": "Per a interactuar amb aplicacions descentralitzades fent servir MetaMask, necessitaràs Ether al teu moneder."
},

View File

@ -581,12 +581,6 @@
"myAccounts": {
"message": "Mine Konti"
},
"myWalletAccounts": {
"message": "Mine Pungkonti"
},
"myWalletAccountsDescription": {
"message": "Alle dine MetaMask-oprettede konti føjes automatisk til dette afsnit."
},
"needEtherInWallet": {
"message": "Du skal have Ether i din tegnebog for at interagere med decentraliserede applikationer, der bruger MetaMask."
},

View File

@ -576,12 +576,6 @@
"myAccounts": {
"message": "Meine Accounts"
},
"myWalletAccounts": {
"message": "Meine Wallet-Konten"
},
"myWalletAccountsDescription": {
"message": "Jedes Ihrer von MetaMask erstellten Konten wird automatisch zu diesem Abschnitt hinzugefügt."
},
"needEtherInWallet": {
"message": "Um dezentralisierte Applikationen mit MetaMask verwenden zu können, benötigst du Ether in deiner Wallet."
},

View File

@ -594,12 +594,6 @@
"myAccounts": {
"message": "Οι Λογαριασμοί μου"
},
"myWalletAccounts": {
"message": "Λογαριασμοί Πορτοφολιού"
},
"myWalletAccountsDescription": {
"message": "Όλοι οι λογαριασμοί σας που έχετε δημιουργήσει στο MetaMask θα προστεθούν αυτόματα σε αυτήν την ενότητα."
},
"needEtherInWallet": {
"message": "Για να αλληλεπιδράσετε με αποκεντρωμένες εφαρμογές χρησιμοποιώντας το MetaMask, θα χρειαστείτε Ether στο πορτοφόλι σας."
},

View File

@ -43,15 +43,15 @@
"activityLog": {
"message": "activity log"
},
"addAccount": {
"message": "Add an account"
},
"addAcquiredTokens": {
"message": "Add the tokens you've acquired using MetaMask"
},
"addAlias": {
"message": "Add alias"
},
"addContact": {
"message": "Add contact"
},
"addEthereumChainConfirmationDescription": {
"message": "This will allow this network to be used within MetaMask."
},
@ -69,6 +69,9 @@
"addEthereumChainConfirmationTitle": {
"message": "Allow this site to add a network?"
},
"addFriendsAndAddresses": {
"message": "Add friends and addresses you trust"
},
"addNetwork": {
"message": "Add Network"
},
@ -243,6 +246,9 @@
"browserNotSupported": {
"message": "Your Browser is not supported..."
},
"builContactList": {
"message": "Build your contact list"
},
"builtInCalifornia": {
"message": "MetaMask is designed and built in California."
},
@ -1096,12 +1102,6 @@
"myAccounts": {
"message": "My Accounts"
},
"myWalletAccounts": {
"message": "My Wallet Accounts"
},
"myWalletAccountsDescription": {
"message": "All of your MetaMask created accounts will automatically be added to this section."
},
"needEtherInWallet": {
"message": "To interact with decentralized applications using MetaMask, youll need Ether in your wallet."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "registro de actividades"
},
"addAccount": {
"message": "Agregar una cuenta"
},
"addAcquiredTokens": {
"message": "Agregar los tokens que has adquirido usando MetaMask"
},
@ -975,12 +972,6 @@
"myAccounts": {
"message": "Mis cuentas"
},
"myWalletAccounts": {
"message": "Mis cuentas de monedero"
},
"myWalletAccountsDescription": {
"message": "Todas tus cuentas creadas con MetaMask serán automáticamente agregadas a esta sección."
},
"needEtherInWallet": {
"message": "Para interactuar con una aplicación descentralizada usando MetaMask, necesitas tener Ether en tu monedero"
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "registro de actividad"
},
"addAccount": {
"message": "Agregar una cuenta"
},
"addAcquiredTokens": {
"message": "Agrega los tokens adquiridos con MetaMask"
},
@ -975,12 +972,6 @@
"myAccounts": {
"message": "Mis cuentas"
},
"myWalletAccounts": {
"message": "Las cuentas de mi billetera"
},
"myWalletAccountsDescription": {
"message": "Todas tus cuentas creadas en MetaMask se agregarán automáticamente a esta sección."
},
"needEtherInWallet": {
"message": "Necesitarás tener Ether en tu billetera para poder interactuar con aplicaciones descentralizadas a través de MetaMask."
},

View File

@ -587,12 +587,6 @@
"myAccounts": {
"message": "Minu kontod"
},
"myWalletAccounts": {
"message": "Minu rahakotikontod"
},
"myWalletAccountsDescription": {
"message": "Sellesse jaotisesse lisatakse automaatselt kõik teie MetaMaski kontod."
},
"needEtherInWallet": {
"message": "Selleks, et suhelda MetaMaski abil detsentraliseeritud rakendustega, peab teil rahakotis eetrit olema."
},

View File

@ -597,12 +597,6 @@
"myAccounts": {
"message": "حساب های من"
},
"myWalletAccounts": {
"message": "حساب های کیف من"
},
"myWalletAccountsDescription": {
"message": "همه حساب های ایجاد شده MetaMask شما بصورت خودکار در این بخش اضافه خواهد شد."
},
"needEtherInWallet": {
"message": "برای تعامل با اپلیکیشن های غیر متمرکز شده با استفاده از MetaMask، شما نیاز به ایتر در کیف تان خواهید داشت."
},

View File

@ -597,12 +597,6 @@
"myAccounts": {
"message": "Omat tilit"
},
"myWalletAccounts": {
"message": "Omat kukkarotilini"
},
"myWalletAccountsDescription": {
"message": "Kaikki MetaMaskilla luodut tilisi lisätään automaattisesti tähän osastoon."
},
"needEtherInWallet": {
"message": "Ollaksesi vuorovaikutuksessa hajautettujen sovellusten kanssa sinulla on oltava lompakossasi Ether."
},

View File

@ -535,12 +535,6 @@
"myAccounts": {
"message": "Mga Account Ko"
},
"myWalletAccounts": {
"message": "Mga Wallet Account Ko"
},
"myWalletAccountsDescription": {
"message": "Ang lahat ng iyong account na ginawa sa MetaMask ay awtomatikong idadagdag sa seksyong ito."
},
"needEtherInWallet": {
"message": "Para gumamit ng mga decentralized na application gamit ang MetaMask, mangangailangan ka ng Ether sa iyong wallet."
},

View File

@ -582,12 +582,6 @@
"myAccounts": {
"message": "Mes comptes"
},
"myWalletAccounts": {
"message": "Mes comptes de portefeuille"
},
"myWalletAccountsDescription": {
"message": "Tous vos comptes MetaMask créés seront automatiquement ajoutés à cette section."
},
"needEtherInWallet": {
"message": "Pour interagir avec des applications décentralisées à l'aide de MetaMask, vous avez besoin d'Ether dans votre portefeuille."
},

View File

@ -594,12 +594,6 @@
"myAccounts": {
"message": "החשבונות שלי"
},
"myWalletAccounts": {
"message": "חשבונות הארנק שלי"
},
"myWalletAccountsDescription": {
"message": "כל חשבונותיך שנוצרו ב-MetaMask יתווספו אוטומטית לחלק זה."
},
"needEtherInWallet": {
"message": "כדי לתקשר עם אפליקציות מבוזרות באמצעות MetaMask, צריך להיות לך את'ר בארנק."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "गतिविधि लॉग"
},
"addAccount": {
"message": "एक खाता जोड़ें"
},
"addAcquiredTokens": {
"message": "आपके द्वारा MetaMask का उपयोग करके प्राप्त किए गए टोकन जोड़ें"
},
@ -966,12 +963,6 @@
"myAccounts": {
"message": "मेरे खाते"
},
"myWalletAccounts": {
"message": "मेरे वॉलेट खाते"
},
"myWalletAccountsDescription": {
"message": "आपके सभी MetaMask निर्मित खाते स्वतः ही इस अनुभाग में जोड़ दिए जाएँगे।"
},
"needEtherInWallet": {
"message": "MetaMask का उपयोग करके विकेंद्रीकृत एप्लिकेशन के साथ सहभागिता करने के लिए, आपको अपने वॉलेट में Ether की आवश्यकता होगी।"
},

View File

@ -590,12 +590,6 @@
"myAccounts": {
"message": "Moji računi"
},
"myWalletAccounts": {
"message": "Moji računi za novčanik"
},
"myWalletAccountsDescription": {
"message": "Svi se vaši računi za MetaMask automatski dodaju u ovaj odjeljak."
},
"needEtherInWallet": {
"message": "Trebate Ether u svojem novčaniku kako biste ostvarili interakciju s decentraliziranim aplikacijama uporabom usluge MetaMask. "
},

View File

@ -590,12 +590,6 @@
"myAccounts": {
"message": "Fiókjaim"
},
"myWalletAccounts": {
"message": "Saját tárca fiókjai"
},
"myWalletAccountsDescription": {
"message": "Az összes MetaMask által létrehozott fiókot automatikusan hozzáadja a munkamenethez."
},
"needEtherInWallet": {
"message": "Ha a MetaMaskon keresztül szeretne interakcióba lépni decentralizált alkalmazással, ahhoz a tárcájában Ethernek kell lennie."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "log aktivitas"
},
"addAccount": {
"message": "Tambahkan akun"
},
"addAcquiredTokens": {
"message": "Tambahkan token yang Anda peroleh menggunakan MetaMask"
},
@ -966,12 +963,6 @@
"myAccounts": {
"message": "Akun Saya"
},
"myWalletAccounts": {
"message": "Akun Dompet Saya"
},
"myWalletAccountsDescription": {
"message": "Semua akun Anda yang dibuat MetaMask akan secara otomatis ditambahkan ke bagian ini."
},
"needEtherInWallet": {
"message": "Untuk berinteraksi dengan aplikasi yang terdesentralisasi menggunakan MetaMask, Anda memerlukan Ether di dompet Anda."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "log attività"
},
"addAccount": {
"message": "Aggiungi un account"
},
"addAcquiredTokens": {
"message": "Aggiungi i token che hai acquistato usando MetaMask"
},
@ -981,12 +978,6 @@
"myAccounts": {
"message": "Miei Account"
},
"myWalletAccounts": {
"message": "I miei account di portafoglio"
},
"myWalletAccountsDescription": {
"message": "Tutti gli account creati con MetaMask saranno automaticamente aggiunti a questa sezione."
},
"needEtherInWallet": {
"message": "Per interagire con applicazioni decentralizzate con MetaMask, devi possedere Ether nel tuo portafoglio."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "アクティビティのログ"
},
"addAccount": {
"message": "アカウントの追加"
},
"addAcquiredTokens": {
"message": "MetaMaskで取得したトークンを追加する"
},
@ -978,12 +975,6 @@
"myAccounts": {
"message": "マイアカウント"
},
"myWalletAccounts": {
"message": "このウォレットのアカウント"
},
"myWalletAccountsDescription": {
"message": "MetaMaskで作成したすべてのアカウントは、このセクションに自動的に追加されます。"
},
"needEtherInWallet": {
"message": "MetaMaskで分散型アプリケーションを操作するには、ウォレットにEtherが必要です。"
},

View File

@ -597,12 +597,6 @@
"myAccounts": {
"message": "ನನ್ನ ಖಾತೆಗಳು"
},
"myWalletAccounts": {
"message": "ನನ್ನ ವ್ಯಾಲೆಟ್ ಖಾತೆಗಳು"
},
"myWalletAccountsDescription": {
"message": "ನಿಮ್ಮ MetaMask ರಚಿಸಿದ ಎಲ್ಲಾ ಖಾತೆಗಳನ್ನು ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಈ ವಿಭಾಗಕ್ಕೆ ಸೇರಿಸಲಾಗುತ್ತದೆ."
},
"needEtherInWallet": {
"message": "MetaMask ಬಳಸಿಕೊಂಡು ವಿಕೇಂದ್ರೀಕೃತ ಖಾತೆಗಳೊಂದಿಗೆ ಸಂವಹನ ನಡೆಸಲು, ನಿಮ್ಮ ವ್ಯಾಲೆಟ್‌ನಲ್ಲಿ ನಿಮಗೆ ಎಥರ್ ಅಗತ್ಯವಿದೆ."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "활동 로그"
},
"addAccount": {
"message": "계정 추가"
},
"addAcquiredTokens": {
"message": "MetaMask를 이용해 얻은 토큰 추가"
},
@ -966,12 +963,6 @@
"myAccounts": {
"message": "내 계정"
},
"myWalletAccounts": {
"message": "내 지갑 계정"
},
"myWalletAccountsDescription": {
"message": "MetaMask에서 생성한 모든 계정으로 이 섹션에 자동으로 추가됩니다."
},
"needEtherInWallet": {
"message": "MetaMask를 이용하는 분산형 애플리케이션과 상호작용하려면 지갑에 Ether가 있어야 합니다."
},

View File

@ -597,12 +597,6 @@
"myAccounts": {
"message": "Mano paskyros"
},
"myWalletAccounts": {
"message": "Mano piniginės paskyros"
},
"myWalletAccountsDescription": {
"message": "Visos jūsų „MetaMask“ sukurtos paskyros bus automatiškai įtrauktos į šį skyrių."
},
"needEtherInWallet": {
"message": "Norėdami dirbti su decentralizuotomis programomis „MetaMask“, savo piniginėje turite turėti eterių."
},

View File

@ -593,12 +593,6 @@
"myAccounts": {
"message": "Mani konti"
},
"myWalletAccounts": {
"message": "Mana maka konti"
},
"myWalletAccountsDescription": {
"message": "Visi jūsu izveidotie MetaMask konti tiks automātiski pievienoti šajā sadaļā."
},
"needEtherInWallet": {
"message": "Lai izmantotu decentralizētas lietotnes ar MetaMask, jūsu makā jābūt Ether."
},

View File

@ -577,12 +577,6 @@
"myAccounts": {
"message": "Akaun Saya"
},
"myWalletAccounts": {
"message": "Akaun Dompet Saya"
},
"myWalletAccountsDescription": {
"message": "Semua akaun ciptaan MetaMask anda akan ditambahkan secara automatik kepada bahagian ini."
},
"needEtherInWallet": {
"message": "Untuk berinteraksi dengan aplikasi ternyahpusat menggunakan MetaMask, anda memerlukan Ether di dalam dompet anda."
},

View File

@ -584,12 +584,6 @@
"myAccounts": {
"message": "Mine kontoer "
},
"myWalletAccounts": {
"message": "mine lommebokkontoer"
},
"myWalletAccountsDescription": {
"message": "Alle dine opprettede MetaMask-kontoer vil automatisk bli lagt til denne seksjonen. "
},
"needEtherInWallet": {
"message": "Du må ha Ether i lommeboken din for å samhandle med desentraliserte applikasjoner gjennom MateMask."
},

View File

@ -594,12 +594,6 @@
"myAccounts": {
"message": "Moje konta"
},
"myWalletAccounts": {
"message": "Moja konta portfeli"
},
"myWalletAccountsDescription": {
"message": "Wszystkie Twoje konta utworzone w MetaMask zostaną automatycznie dodane do tej sekcji."
},
"needEtherInWallet": {
"message": "Żeby skorzystać ze zdecentraliowanych aplikacji (dApps) przy pomocy MetaMask, potrzebujesz Eteru w swoim portfelu."
},

View File

@ -585,12 +585,6 @@
"myAccounts": {
"message": "Minhas Contas"
},
"myWalletAccounts": {
"message": "Contas da Minha Carteira"
},
"myWalletAccountsDescription": {
"message": "Todas as suas contas criadas no MetaMask serão automaticamente adicionadas a esta seção."
},
"needEtherInWallet": {
"message": "Para interagir com aplicações descentralizadas usando o MetaMask, você precisará de Ether na sua carteira."
},

View File

@ -584,12 +584,6 @@
"myAccounts": {
"message": "Conturile mele"
},
"myWalletAccounts": {
"message": "Conturi My Wallet"
},
"myWalletAccountsDescription": {
"message": "Toate conturile dvs. create pe MetaMask vor fi adăugate automat la această secțiune."
},
"needEtherInWallet": {
"message": "Pentru a interacționa cu aplicațiile descentralizate prin intermediul MetaMask, trebuie să aveți Ether în portofel."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "Журнал активности"
},
"addAccount": {
"message": "Добавить счет"
},
"addAcquiredTokens": {
"message": "Добавьте токены, которые вы приобрели с помощью MetaMask"
},
@ -966,12 +963,6 @@
"myAccounts": {
"message": "Мои счета"
},
"myWalletAccounts": {
"message": "Счета моего кошелька"
},
"myWalletAccountsDescription": {
"message": "Все ваши счета, созданные в MetaMask, будут автоматически добавлены в этот раздел."
},
"needEtherInWallet": {
"message": "Для взаимодействия с децентрализованными приложениями с помощью MetaMask вам понадобится Ether в вашем кошельке."
},

View File

@ -569,12 +569,6 @@
"myAccounts": {
"message": "Moje účty"
},
"myWalletAccounts": {
"message": "Účty v Mojej peňaženke"
},
"myWalletAccountsDescription": {
"message": "Do tejto sekcie sa automaticky pridajú všetky vaše účty vytvorené pomocou MetaMask."
},
"needEtherInWallet": {
"message": "Potřebujete Ether v peněžence, abyste mohli pomocí MetaMasku interagovat s decentralizovanými aplikacemi."
},

View File

@ -585,12 +585,6 @@
"myAccounts": {
"message": "Moji računi"
},
"myWalletAccounts": {
"message": "Moji računi Denarnice"
},
"myWalletAccountsDescription": {
"message": "Vsi vaši računi, ustvarjeni v MetaMasku, bodo samodejno dodani v ta razdelek."
},
"needEtherInWallet": {
"message": "Za interakcijo z decentraliziranimi aplikacijami boste v svoji denarnici potrebovali Eter."
},

View File

@ -588,12 +588,6 @@
"myAccounts": {
"message": "Moji nalozi"
},
"myWalletAccounts": {
"message": "Moji nalozi novčanika"
},
"myWalletAccountsDescription": {
"message": "Svi vaši nalozi kreirani u aplikaciji MetaMask biće automatski dodati u ovaj deo."
},
"needEtherInWallet": {
"message": "Da biste stupili u interakciju sa decentralizovanim aplikacijama koristeći MetaMask, biće vam potreban Ether u vašem novčaniku."
},

View File

@ -581,12 +581,6 @@
"myAccounts": {
"message": "Mina konton"
},
"myWalletAccounts": {
"message": "Mina plånbokskonton"
},
"myWalletAccountsDescription": {
"message": "Alla dina MetaMask-skapade konton läggs automatiskt till i denna avdelning."
},
"needEtherInWallet": {
"message": "För att interagera med decentraliserade applikationer med MetaMask behöver du Ether i din plånbok."
},

View File

@ -575,12 +575,6 @@
"myAccounts": {
"message": "Akaunti zangu"
},
"myWalletAccounts": {
"message": "Akaunti angu za Waleti"
},
"myWalletAccountsDescription": {
"message": "Akaunti zako zote za MetaMask zilizofunguliwa zitaongezwa kiotomatiki kwenye sehemu hii."
},
"needEtherInWallet": {
"message": "Ili kuingiliana na programu zilizosambazwa kwa kutumia MetaMask, utahitaji kuwa na Ether kwenye waleti yako."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "log ng aktibidad"
},
"addAccount": {
"message": "Magdagdag ng account"
},
"addAcquiredTokens": {
"message": "Idagdag ang mga token na nakuha mo gamit ang MetaMask"
},
@ -966,12 +963,6 @@
"myAccounts": {
"message": "Mga Account Ko"
},
"myWalletAccounts": {
"message": "Mga Wallet Account Ko"
},
"myWalletAccountsDescription": {
"message": "Ang lahat ng iyong ginawang account sa MetaMask ay awtomatikong maidaragdag sa seksyong ito."
},
"needEtherInWallet": {
"message": "Para makaugnayan ang mga decentralized ma application gamit ang MetaMask, kakailanganin mo ang Ether sa iyong wallet."
},

View File

@ -597,12 +597,6 @@
"myAccounts": {
"message": "Мої облікові записи"
},
"myWalletAccounts": {
"message": "Облікові записи мого гаманця"
},
"myWalletAccountsDescription": {
"message": "Усі ваші створені облікові записи MetaMask буде автоматично додано в цей розділ."
},
"needEtherInWallet": {
"message": "Щоб взаємодіяти з децентралізованими застосунками використовуючи MetaMask, вам буде потрібен Ether у вашому гаманці."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "nhật ký hoạt động"
},
"addAccount": {
"message": "Thêm tài khoản"
},
"addAcquiredTokens": {
"message": "Thêm token mà bạn đã mua bằng MetaMask"
},
@ -966,12 +963,6 @@
"myAccounts": {
"message": "Tài khoản của tôi"
},
"myWalletAccounts": {
"message": "Các tài khoản trong ví của tôi"
},
"myWalletAccountsDescription": {
"message": "Tất cả các tài khoản đã tạo của bạn trong MetaMask sẽ tự động được thêm vào phần này."
},
"needEtherInWallet": {
"message": "Để tương tác với các ứng dụng phi tập trung bằng MetaMask, bạn sẽ cần phải có Ether trong ví của mình."
},

View File

@ -43,9 +43,6 @@
"activityLog": {
"message": "活动日志"
},
"addAccount": {
"message": "添加一个账户"
},
"addAcquiredTokens": {
"message": "在 MetaMask 上添加获得的代币"
},
@ -978,12 +975,6 @@
"myAccounts": {
"message": "我的账户"
},
"myWalletAccounts": {
"message": "我的钱包账户"
},
"myWalletAccountsDescription": {
"message": "所有创建的 MetaMask 账户将自动添加到此部分。"
},
"needEtherInWallet": {
"message": "使用 MetaMask 与分布式应用交互,需要您的钱包里需要有 Ether。"
},

View File

@ -603,12 +603,6 @@
"myAccounts": {
"message": "我的帳戶"
},
"myWalletAccounts": {
"message": "我的錢包帳號"
},
"myWalletAccountsDescription": {
"message": "所有你在 MetaMask 創建的帳號將自動新增到此區塊。"
},
"needEtherInWallet": {
"message": "要使用 MetaMask 存取去中心化應用服務時,您的錢包中需要有以太幣。"
},

View File

@ -0,0 +1 @@
<svg width="56" height="64" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M54.5 20c.75 0 1.5-.625 1.5-1.5v-5c0-.75-.75-1.5-1.5-1.5H52V6c0-3.25-2.75-6-6-6H6C2.625 0 0 2.75 0 6v52c0 3.375 2.625 6 6 6h40c3.25 0 6-2.625 6-6v-6h2.5c.75 0 1.5-.625 1.5-1.5v-5c0-.75-.75-1.5-1.5-1.5H52v-8h2.5c.75 0 1.5-.625 1.5-1.5v-5c0-.75-.75-1.5-1.5-1.5H52v-8h2.5zM26 16c4.375 0 8 3.625 8 8 0 4.5-3.625 8-8 8-4.5 0-8-3.5-8-8 0-4.375 3.5-8 8-8zm14 29.625C40 47 38.75 48 37.125 48H14.75c-1.5 0-2.75-1-2.75-2.375V43.25c0-4 3.75-7.25 8.375-7.25H21c1.5.75 3.125 1 5 1 1.75 0 3.375-.25 4.875-1h.625c4.625 0 8.5 3.25 8.5 7.25v2.375z" fill="#D6D9DC"/></svg>

After

Width:  |  Height:  |  Size: 638 B

View File

@ -52,7 +52,7 @@ describe('Threebox', function () {
// adds an address to the contact list
await driver.clickElement({ text: 'Contacts', tag: 'div' });
await driver.clickElement('.address-book-add-button__button');
await driver.clickElement('.address-book__link');
await driver.fill('#nickname', 'Test User Name 11');
await driver.fill(
'input[placeholder="Search, public address (0x), or ENS"]',

View File

@ -14,11 +14,6 @@ const CONTACT_LIST_ROUTE = '/settings/contact-list';
const CONTACT_EDIT_ROUTE = '/settings/contact-list/edit-contact';
const CONTACT_ADD_ROUTE = '/settings/contact-list/add-contact';
const CONTACT_VIEW_ROUTE = '/settings/contact-list/view-contact';
const CONTACT_MY_ACCOUNTS_ROUTE = '/settings/contact-list/my-accounts';
const CONTACT_MY_ACCOUNTS_VIEW_ROUTE =
'/settings/contact-list/my-accounts/view';
const CONTACT_MY_ACCOUNTS_EDIT_ROUTE =
'/settings/contact-list/my-accounts/edit';
const REVEAL_SEED_ROUTE = '/seed';
const MOBILE_SYNC_ROUTE = '/mobile-sync';
const RESTORE_VAULT_ROUTE = '/restore-vault';
@ -86,9 +81,6 @@ const PATH_NAME_MAP = {
[`${CONTACT_EDIT_ROUTE}/:address`]: 'Edit Contact Settings Page',
[CONTACT_ADD_ROUTE]: 'Add Contact Settings Page',
[`${CONTACT_VIEW_ROUTE}/:address`]: 'View Contact Settings Page',
[CONTACT_MY_ACCOUNTS_ROUTE]: 'My Accounts List Settings Page',
[`${CONTACT_MY_ACCOUNTS_VIEW_ROUTE}/:account`]: 'View Account Settings Page',
[`${CONTACT_MY_ACCOUNTS_EDIT_ROUTE}/:account`]: 'Edit Account Settings Page',
[REVEAL_SEED_ROUTE]: 'Reveal Seed Page',
[MOBILE_SYNC_ROUTE]: 'Sync With Mobile Page',
[RESTORE_VAULT_ROUTE]: 'Restore Vault Page',
@ -185,9 +177,6 @@ export {
CONTACT_EDIT_ROUTE,
CONTACT_ADD_ROUTE,
CONTACT_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
NETWORKS_ROUTE,
NETWORKS_FORM_ROUTE,
INITIALIZE_BACKUP_SEED_PHRASE_ROUTE,

View File

@ -4,12 +4,10 @@ import ContactList from '../../../components/app/contact-list';
import {
CONTACT_ADD_ROUTE,
CONTACT_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
} from '../../../helpers/constants/routes';
import EditContact from './edit-contact';
import AddContact from './add-contact';
import ViewContact from './view-contact';
import MyAccounts from './my-accounts';
export default class ContactListTab extends Component {
static contextTypes = {
@ -25,65 +23,44 @@ export default class ContactListTab extends Component {
addingContact: PropTypes.bool,
showContactContent: PropTypes.bool,
hideAddressBook: PropTypes.bool,
showingMyAccounts: PropTypes.bool,
};
renderAddresses() {
const { addressBook, history, selectedAddress } = this.props;
const contacts = addressBook.filter(({ name }) => Boolean(name));
const nonContacts = addressBook.filter(({ name }) => !name);
return (
<div>
<ContactList
searchForContacts={() => contacts}
searchForRecents={() => nonContacts}
selectRecipient={(address) => {
history.push(`${CONTACT_VIEW_ROUTE}/${address}`);
}}
selectedAddress={selectedAddress}
/>
</div>
);
}
renderAddButton() {
const { history } = this.props;
return (
<div
className="address-book-add-button__button"
onClick={() => {
history.push(CONTACT_ADD_ROUTE);
}}
>
<img
className="account-menu__item-icon"
src="images/plus-btn-white.svg"
alt={this.context.t('addAccount')}
/>
</div>
);
}
renderMyAccountsButton() {
const { history } = this.props;
const { t } = this.context;
return (
<div
className="address-book__my-accounts-button"
onClick={() => {
history.push(CONTACT_MY_ACCOUNTS_ROUTE);
}}
>
<div className="address-book__my-accounts-button__header">
{t('myWalletAccounts')}
if (addressBook.length) {
return (
<div>
<ContactList
searchForContacts={() => contacts}
searchForRecents={() => nonContacts}
selectRecipient={(address) => {
history.push(`${CONTACT_VIEW_ROUTE}/${address}`);
}}
selectedAddress={selectedAddress}
/>
</div>
<div className="address-book__my-accounts-button__content">
<div className="address-book__my-accounts-button__text">
{t('myWalletAccountsDescription')}
</div>
<div className="address-book__my-accounts-button__caret" />
);
}
return (
<div className="address-book__container">
<div>
<img src="/images/address-book.svg" alt="Address book icon" />
<h4 className="address-book__title">{t('builContactList')}</h4>
<p className="address-book__sub-title">
{t('addFriendsAndAddresses')}
</p>
<button
className="address-book__link"
onClick={() => {
history.push(CONTACT_ADD_ROUTE);
}}
>
+ {t('addContact')}
</button>
</div>
</div>
);
@ -120,33 +97,19 @@ export default class ContactListTab extends Component {
}
renderAddressBookContent() {
const { hideAddressBook, showingMyAccounts } = this.props;
const { hideAddressBook } = this.props;
if (!hideAddressBook && !showingMyAccounts) {
return (
<div className="address-book">
{this.renderMyAccountsButton()}
{this.renderAddresses()}
</div>
);
} else if (!hideAddressBook && showingMyAccounts) {
return <MyAccounts />;
if (!hideAddressBook) {
return <div className="address-book">{this.renderAddresses()}</div>;
}
return null;
}
render() {
const { addingContact } = this.props;
return (
<div className="address-book-wrapper">
{this.renderAddressBookContent()}
{this.renderContactContent()}
{!addingContact && (
<div className="address-book-add-button">
{this.renderAddButton()}
</div>
)}
</div>
);
}

View File

@ -9,9 +9,6 @@ import {
CONTACT_ADD_ROUTE,
CONTACT_EDIT_ROUTE,
CONTACT_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
} from '../../../helpers/constants/routes';
import ContactListTab from './contact-list-tab.component';
@ -22,20 +19,9 @@ const mapStateToProps = (state, ownProps) => {
const pathNameTail = pathname.match(/[^/]+$/u)[0];
const pathNameTailIsAddress = pathNameTail.includes('0x');
const viewingContact = Boolean(
pathname.match(CONTACT_VIEW_ROUTE) ||
pathname.match(CONTACT_MY_ACCOUNTS_VIEW_ROUTE),
);
const editingContact = Boolean(
pathname.match(CONTACT_EDIT_ROUTE) ||
pathname.match(CONTACT_MY_ACCOUNTS_EDIT_ROUTE),
);
const viewingContact = Boolean(pathname.match(CONTACT_VIEW_ROUTE));
const editingContact = Boolean(pathname.match(CONTACT_EDIT_ROUTE));
const addingContact = Boolean(pathname.match(CONTACT_ADD_ROUTE));
const showingMyAccounts = Boolean(
pathname.match(CONTACT_MY_ACCOUNTS_ROUTE) ||
pathname.match(CONTACT_MY_ACCOUNTS_VIEW_ROUTE) ||
pathname.match(CONTACT_MY_ACCOUNTS_EDIT_ROUTE),
);
const envIsPopup = getEnvironmentType() === ENVIRONMENT_TYPE_POPUP;
const hideAddressBook =
@ -45,7 +31,6 @@ const mapStateToProps = (state, ownProps) => {
viewingContact,
editingContact,
addingContact,
showingMyAccounts,
addressBook: getAddressBook(state),
selectedAddress: pathNameTailIsAddress ? pathNameTail : '',
hideAddressBook,

View File

@ -68,6 +68,7 @@ export default class EditContact extends PureComponent {
className="settings-page__address-book-button"
onClick={async () => {
await removeFromAddressBook(chainId, address);
history.push(listRoute);
}}
>
{t('deleteAccount')}

View File

@ -4,9 +4,6 @@ import { withRouter } from 'react-router-dom';
import { getAddressBookEntry } from '../../../../selectors';
import {
CONTACT_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
CONTACT_LIST_ROUTE,
} from '../../../../helpers/constants/routes';
import {
@ -31,22 +28,13 @@ const mapStateToProps = (state, ownProps) => {
const { chainId } = state.metamask.provider;
const showingMyAccounts = Boolean(
pathname.match(CONTACT_MY_ACCOUNTS_EDIT_ROUTE),
);
return {
address: contact ? address : null,
chainId,
name,
memo,
viewRoute: showingMyAccounts
? CONTACT_MY_ACCOUNTS_VIEW_ROUTE
: CONTACT_VIEW_ROUTE,
listRoute: showingMyAccounts
? CONTACT_MY_ACCOUNTS_ROUTE
: CONTACT_LIST_ROUTE,
showingMyAccounts,
viewRoute: CONTACT_VIEW_ROUTE,
listRoute: CONTACT_LIST_ROUTE,
};
};

View File

@ -5,12 +5,15 @@
}
.address-book {
flex: 0.4 1 40%;
max-width: 40%;
flex: 0.4 1 100%;
@media screen and (max-width: 576px) {
flex: 1;
max-width: 100%;
&__container {
min-height: 100%;
}
}
&__entry {
@ -51,6 +54,32 @@
}
}
&__container {
margin: 0 auto;
min-height: 70%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
&__title {
@include H4;
font-weight: 600;
margin-bottom: 0.5em;
}
&__sub-title {
font-size: small;
margin-bottom: 0.5em;
}
&__link {
background-color: #fff;
color: #037dd6;
}
&__input {
@include H4;
@ -247,7 +276,7 @@
}
.address-book-contact-content {
flex: 0.4 1 40%;
flex: 0.4 1 100%;
@media screen and (max-width: 576px) {
flex: 1;

View File

@ -1 +0,0 @@
export { default } from './my-accounts.container';

View File

@ -1,34 +0,0 @@
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import ContactList from '../../../../components/app/contact-list';
import { CONTACT_MY_ACCOUNTS_VIEW_ROUTE } from '../../../../helpers/constants/routes';
export default class ViewContact extends PureComponent {
static contextTypes = {
t: PropTypes.func,
};
static propTypes = {
myAccounts: PropTypes.array,
history: PropTypes.object,
};
renderMyAccounts() {
const { myAccounts, history } = this.props;
return (
<div>
<ContactList
searchForMyAccounts={() => myAccounts}
selectRecipient={(address) => {
history.push(`${CONTACT_MY_ACCOUNTS_VIEW_ROUTE}/${address}`);
}}
/>
</div>
);
}
render() {
return <div className="address-book">{this.renderMyAccounts()}</div>;
}
}

View File

@ -1,15 +0,0 @@
import { compose } from 'redux';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import { accountsWithSendEtherInfoSelector } from '../../../../selectors';
import ViewContact from './my-accounts.component';
const mapStateToProps = (state) => {
const myAccounts = accountsWithSendEtherInfoSelector(state);
return {
myAccounts,
};
};
export default compose(withRouter, connect(mapStateToProps))(ViewContact);

View File

@ -6,9 +6,6 @@ import { checksumAddress } from '../../../../helpers/utils/util';
import {
CONTACT_EDIT_ROUTE,
CONTACT_LIST_ROUTE,
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
} from '../../../../helpers/constants/routes';
import ViewContact from './view-contact.component';
@ -25,21 +22,13 @@ const mapStateToProps = (state, ownProps) => {
getAddressBookEntry(state, address) || state.metamask.identities[address];
const { memo, name } = contact || {};
const showingMyAccounts = Boolean(
pathname.match(CONTACT_MY_ACCOUNTS_VIEW_ROUTE),
);
return {
name,
address: contact ? address : null,
checkSummedAddress: checksumAddress(address),
memo,
editRoute: showingMyAccounts
? CONTACT_MY_ACCOUNTS_EDIT_ROUTE
: CONTACT_EDIT_ROUTE,
listRoute: showingMyAccounts
? CONTACT_MY_ACCOUNTS_ROUTE
: CONTACT_LIST_ROUTE,
editRoute: CONTACT_EDIT_ROUTE,
listRoute: CONTACT_LIST_ROUTE,
};
};

View File

@ -15,9 +15,6 @@ import {
CONTACT_ADD_ROUTE,
CONTACT_EDIT_ROUTE,
CONTACT_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
} from '../../helpers/constants/routes';
import SettingsTab from './settings-tab';
import AlertsTab from './alerts-tab';
@ -222,11 +219,6 @@ class SettingsPage extends PureComponent {
<Route exact path={SECURITY_ROUTE} component={SecurityTab} />
<Route exact path={CONTACT_LIST_ROUTE} component={ContactListTab} />
<Route exact path={CONTACT_ADD_ROUTE} component={ContactListTab} />
<Route
exact
path={CONTACT_MY_ACCOUNTS_ROUTE}
component={ContactListTab}
/>
<Route
exact
path={`${CONTACT_EDIT_ROUTE}/:id`}
@ -237,16 +229,6 @@ class SettingsPage extends PureComponent {
path={`${CONTACT_VIEW_ROUTE}/:id`}
component={ContactListTab}
/>
<Route
exact
path={`${CONTACT_MY_ACCOUNTS_VIEW_ROUTE}/:id`}
component={ContactListTab}
/>
<Route
exact
path={`${CONTACT_MY_ACCOUNTS_EDIT_ROUTE}/:id`}
component={ContactListTab}
/>
<Route component={SettingsTab} />
</Switch>
);

View File

@ -14,9 +14,6 @@ import {
CONTACT_LIST_ROUTE,
CONTACT_ADD_ROUTE,
CONTACT_EDIT_ROUTE,
CONTACT_MY_ACCOUNTS_ROUTE,
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
CONTACT_VIEW_ROUTE,
GENERAL_ROUTE,
NETWORKS_FORM_ROUTE,
@ -34,7 +31,6 @@ const ROUTES_TO_I18N_KEYS = {
[CONTACT_ADD_ROUTE]: 'newContact',
[CONTACT_EDIT_ROUTE]: 'editContact',
[CONTACT_LIST_ROUTE]: 'contacts',
[CONTACT_MY_ACCOUNTS_ROUTE]: 'myAccounts',
[CONTACT_VIEW_ROUTE]: 'viewContact',
[NETWORKS_ROUTE]: 'networks',
[NETWORKS_FORM_ROUTE]: 'networks',
@ -47,38 +43,24 @@ const mapStateToProps = (state, ownProps) => {
const pathNameTail = pathname.match(/[^/]+$/u)[0];
const isAddressEntryPage = pathNameTail.includes('0x');
const isMyAccountsPage = pathname.match('my-accounts');
const isAddContactPage = Boolean(pathname.match(CONTACT_ADD_ROUTE));
const isEditContactPage = Boolean(pathname.match(CONTACT_EDIT_ROUTE));
const isEditMyAccountsContactPage = Boolean(
pathname.match(CONTACT_MY_ACCOUNTS_EDIT_ROUTE),
);
const isNetworksFormPage = Boolean(pathname.match(NETWORKS_FORM_ROUTE));
const isPopup = getEnvironmentType() === ENVIRONMENT_TYPE_POPUP;
const pathnameI18nKey = ROUTES_TO_I18N_KEYS[pathname];
let backRoute = SETTINGS_ROUTE;
if (isMyAccountsPage && isAddressEntryPage) {
backRoute = CONTACT_MY_ACCOUNTS_ROUTE;
} else if (isEditContactPage) {
if (isEditContactPage) {
backRoute = `${CONTACT_VIEW_ROUTE}/${pathNameTail}`;
} else if (isEditMyAccountsContactPage) {
backRoute = `${CONTACT_MY_ACCOUNTS_VIEW_ROUTE}/${pathNameTail}`;
} else if (isAddressEntryPage || isMyAccountsPage || isAddContactPage) {
} else if (isAddressEntryPage || isAddContactPage) {
backRoute = CONTACT_LIST_ROUTE;
} else if (isNetworksFormPage) {
backRoute = NETWORKS_ROUTE;
}
let initialBreadCrumbRoute;
let breadCrumbTextKey;
let initialBreadCrumbKey;
if (isMyAccountsPage) {
initialBreadCrumbRoute = CONTACT_LIST_ROUTE;
breadCrumbTextKey = 'myWalletAccounts';
initialBreadCrumbKey = ROUTES_TO_I18N_KEYS[initialBreadCrumbRoute];
}
const addressName = getAddressBookEntryName(
state,
@ -87,14 +69,12 @@ const mapStateToProps = (state, ownProps) => {
return {
isAddressEntryPage,
isMyAccountsPage,
backRoute,
currentPath: pathname,
isPopup,
pathnameI18nKey,
addressName,
initialBreadCrumbRoute,
breadCrumbTextKey,
initialBreadCrumbKey,
mostRecentOverviewPage: getMostRecentOverviewPage(state),
};