[9853] add missing translatable labels

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2020-01-24 18:03:08 +01:00
parent a8c39370d5
commit 81d2c35f4d
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
3 changed files with 1164 additions and 1157 deletions

View File

@ -36,16 +36,16 @@
[list-item/list-item
{:type :section-header
:container-margin-top 24
:title "Advanced"}]
:title (i18n/label :t/advanced)}]
[list-item/list-item
{:title "Enter a seed phrase"
{:title (i18n/label :t/enter-a-seed-phrase)
:theme :action
:icon :main-icons/add
:accessories [:chevron]
:disabled? true
:on-press #(re-frame/dispatch [:wallet.accounts/start-adding-new-account {:type :seed}])}]
[list-item/list-item
{:title "Enter a private key"
{:title (i18n/label :t/enter-a-private-key)
:theme :action
:icon :main-icons/add
:accessories [:chevron]
@ -69,20 +69,21 @@
:justify-content :space-between
:align-items :center :margin-horizontal 16}
[react/view
[react/text {:style {:typography :header :margin-top 16}} "Add a watch-only address"]
[react/text {:style {:typography :header :margin-top 16}}
(i18n/label :t/add-a-watch-account)]
[react/text {:style {:color colors/gray :text-align :center :margin-vertical 16}}
"Enter the address to watch"]]
(i18n/label :t/enter-watch-account-address)]]
[react/view {:align-items :center :flex 1 :flex-direction :row}
[react/text-input {:auto-focus true
:multiline true
:text-align :center
:placeholder "Enter address"
:placeholder (i18n/label :t/enter-address)
:style {:typography :header :flex 1}
:on-change-text #(re-frame/dispatch [:set-in [:add-account :address] %])}]]]
[toolbar/toolbar
{:show-border? true
:right {:type :next
:label "Next"
:label (i18n/label :t/next)
:on-press #(re-frame/dispatch [:wallet.accounts/add-watch-account])
:disabled? add-account-disabled?}}]]))

View File

@ -39,8 +39,8 @@
{:multiline true
:container {:margin 16 :padding-vertical 16 :height 72}
:style {:text-align-vertical :top :height 42}
:placeholder "0x... or username.domain.eth" ;(i18n/label :t/recipient-code)
:placeholder (i18n/label :t/recipient-code-placeholder)
:on-change-text #(reset! content %)
:accessibility-label :recipient-address-input}]
[react/text {:style {:color colors/gray :margin-horizontal 16}}
"Enter address or username of the recepient"]]]))
(i18n/label :t/enter-recipient-address-or-username)]]]))

View File

@ -426,6 +426,9 @@
"ens-username-owned-continue": "Continuing will connect this username with your chat key.",
"ens-username-taken": "Username already taken :(",
"enter-12-words": "Enter the 12 words of your seed phrase, separated by single spaces",
"enter-a-private-key": "Enter a private key",
"enter-a-seed-phrase": "Enter a seed phrase",
"enter-address": "Enter address",
"enter-contact-code": "Enter ENS username or chat key",
"enter-ens-or-contact-code": "Enter ENS username or chat key",
"enter-pair-code": "Enter your pairing code",
@ -434,8 +437,10 @@
"enter-pin": "Enter 6-digit passcode",
"enter-puk-code": "Enter PUK code",
"enter-puk-code-description": "6-digit passcode has been blocked.\n Please enter PUK code to unblock passcode.",
"enter-recipient-address-or-username": "Enter address or username of the recepient",
"enter-seed-phrase": "Enter seed phrase",
"enter-url": "Enter URL",
"enter-watch-account-address": "Enter the address to watch",
"enter-word": "Enter word",
"enter-your-code": "Enter your 6-digit passcode",
"enter-your-password": "Enter your password",
@ -607,7 +612,7 @@
"keycard-recovery-success-header": "Your keys have been\n successfully recovered",
"keycard-unauthorized-operation": "You're unauthorized to perform this operation.\n Please tap valid card and try again.",
"language": "Language",
"learn-more": "Learn\u00a0more",
"learn-more": "Learn more",
"learn-more-about-keycard": "Learn more about Keycard",
"leave": "Leave",
"leave-group": "Leave group",
@ -849,6 +854,7 @@
"recently-used-stickers": "Recently used stickers will appear here",
"recipient": "Recipient",
"recipient-code": "Enter recipient address",
"recipient-code-placeholder": "0x... or username.domain.eth",
"recover": "Recover",
"recover-key": "Access existing keys",
"recover-keycard-multiaccount-not-supported": "Recovering keycard multiaccount with password is not supported",