Move texts to i18n

This commit is contained in:
Ulises M 2025-01-09 21:15:24 -06:00
parent 4481bb61f2
commit f17096d01a
No known key found for this signature in database
GPG Key ID: 5A15782EB758534E
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,7 @@
(ns status-im.contexts.profile.edit.introduce-yourself.view
(:require [quo.core :as quo]
[react-native.core :as rn]
[utils.i18n :as i18n]
[utils.re-frame :as rf]))
(defn sheet
@ -15,18 +16,18 @@
{:style {:padding-bottom 4}
:size :heading-2
:weight :semi-bold}
"Introduce yourself"]
(i18n/label :t/just-introduce-yourself)]
[quo/text
{:style {:padding-top 4 :padding-bottom 12}
:size :paragraph-1
: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
{:actions :two-actions
: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
:on-press on-accept}
:button-two-label "Skip"
:button-two-label (i18n/label :t/skip)
:button-two-props {:type :grey
:on-press on-reject}}]]))

View File

@ -59,6 +59,7 @@
"add-bootnode": "Add bootnode",
"add-contact": "Add contact",
"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-favourite": "Add favourite",
"add-mailserver": "Add Status node",
@ -1270,6 +1271,7 @@
"intro-wizard-title5": "Confirm the passcode",
"intro-wizard-title6": "Enable notifications",
"introduce-yourself": "Introduce yourself with a brief message",
"just-introduce-yourself": "Introduce yourself",
"invalid-address": "Its not Ethereum address or ENS name",
"invalid-address-qr-code": "Scanned QR code doesn't contain a valid address",
"invalid-characters-bio": "Invalid characters. Standard keyboard characters and emojis only.",