mirror of
https://github.com/status-im/status-react.git
synced 2025-02-21 15:18:41 +00:00
Move texts to i18n
This commit is contained in:
parent
b11641f747
commit
e0ac1b744f
@ -1,6 +1,7 @@
|
|||||||
(ns status-im.contexts.profile.edit.introduce-yourself.view
|
(ns status-im.contexts.profile.edit.introduce-yourself.view
|
||||||
(:require [quo.core :as quo]
|
(:require [quo.core :as quo]
|
||||||
[react-native.core :as rn]
|
[react-native.core :as rn]
|
||||||
|
[utils.i18n :as i18n]
|
||||||
[utils.re-frame :as rf]))
|
[utils.re-frame :as rf]))
|
||||||
|
|
||||||
(defn sheet
|
(defn sheet
|
||||||
@ -15,18 +16,18 @@
|
|||||||
{:style {:padding-bottom 4}
|
{:style {:padding-bottom 4}
|
||||||
:size :heading-2
|
:size :heading-2
|
||||||
:weight :semi-bold}
|
:weight :semi-bold}
|
||||||
"Introduce yourself"]
|
(i18n/label :t/just-introduce-yourself)]
|
||||||
[quo/text
|
[quo/text
|
||||||
{:style {:padding-top 4 :padding-bottom 12}
|
{:style {:padding-top 4 :padding-bottom 12}
|
||||||
:size :paragraph-1
|
:size :paragraph-1
|
||||||
:weight :regular}
|
:weight :regular}
|
||||||
"Add an optional display name and profile picture so others can easily recognize you"]]
|
(i18n/label :t/add-display-name-and-picture)]]
|
||||||
[quo/bottom-actions
|
[quo/bottom-actions
|
||||||
{:actions :two-actions
|
{:actions :two-actions
|
||||||
:buttons-style {:flex-shrink 1 :flex-basis 0}
|
:buttons-style {:flex-shrink 1 :flex-basis 0}
|
||||||
:button-one-label "Edit Profile"
|
:button-one-label (i18n/label :t/edit-profile)
|
||||||
:button-one-props {:type :primary
|
:button-one-props {:type :primary
|
||||||
:on-press on-accept}
|
:on-press on-accept}
|
||||||
:button-two-label "Skip"
|
:button-two-label (i18n/label :t/skip)
|
||||||
:button-two-props {:type :grey
|
:button-two-props {:type :grey
|
||||||
:on-press on-reject}}]]))
|
:on-press on-reject}}]]))
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
"add-bootnode": "Add bootnode",
|
"add-bootnode": "Add bootnode",
|
||||||
"add-contact": "Add contact",
|
"add-contact": "Add contact",
|
||||||
"add-custom-token": "Add custom token",
|
"add-custom-token": "Add custom token",
|
||||||
|
"add-display-name-and-picture": "Add an optional display name and profile picture so others can easily recognize you",
|
||||||
"add-eth": "Add ETH",
|
"add-eth": "Add ETH",
|
||||||
"add-favourite": "Add favourite",
|
"add-favourite": "Add favourite",
|
||||||
"add-key-pair-desktop": "To add existing key pair to the Keycard please use Status Desktop. If you'd like this feature on mobile, feel free to upvote them.",
|
"add-key-pair-desktop": "To add existing key pair to the Keycard please use Status Desktop. If you'd like this feature on mobile, feel free to upvote them.",
|
||||||
@ -1257,6 +1258,7 @@
|
|||||||
"intro-wizard-title5": "Confirm the passcode",
|
"intro-wizard-title5": "Confirm the passcode",
|
||||||
"intro-wizard-title6": "Enable notifications",
|
"intro-wizard-title6": "Enable notifications",
|
||||||
"introduce-yourself": "Introduce yourself with a brief message",
|
"introduce-yourself": "Introduce yourself with a brief message",
|
||||||
|
"just-introduce-yourself": "Introduce yourself",
|
||||||
"invalid-address": "It’s not Ethereum address or ENS name",
|
"invalid-address": "It’s not Ethereum address or ENS name",
|
||||||
"invalid-address-qr-code": "Scanned QR code doesn't contain a valid address",
|
"invalid-address-qr-code": "Scanned QR code doesn't contain a valid address",
|
||||||
"invalid-characters-bio": "Invalid characters. Standard keyboard characters and emojis only.",
|
"invalid-characters-bio": "Invalid characters. Standard keyboard characters and emojis only.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user