Skip to content

Commit 9cbbd93

Browse files
localize strings
1 parent b322a24 commit 9cbbd93

File tree

2 files changed

+8
-5
lines changed
  • src/status_im2/contexts/wallet/send/transaction_confirmation
  • translations

2 files changed

+8
-5
lines changed

src/status_im2/contexts/wallet/send/transaction_confirmation/view.cljs

+4-4
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
:label :none
145145
:status :default
146146
:size :small
147-
:title "Est. time"
147+
:title (i18n/label :t/est-time)
148148
:subtitle "3-5 min"}]
149149
[quo/data-item
150150
{:container-style {:flex 1
@@ -156,7 +156,7 @@
156156
:label :none
157157
:status :default
158158
:size :small
159-
:title "Max fees"
159+
:title (i18n/label :t/max-fees)
160160
:subtitle "€188,70"}]
161161
[quo/data-item
162162
{:container-style {:flex 1
@@ -168,7 +168,7 @@
168168
:label :none
169169
:status :default
170170
:size :small
171-
:title "Mark gets"
171+
:title (i18n/label :t/user-gets {:name "Mark"})
172172
:subtitle "149.99 ETH"}]]]
173173
[rn/safe-area-view
174174
{:style style/slide-button-container}
@@ -178,7 +178,7 @@
178178
:on-reset (when @reset-slider? #(reset! reset-slider? false))
179179
:on-complete #(js/alert "Not implemented yet")
180180
:track-icon (if biometric-auth? :i/face-id :password)
181-
:track-text "Slide to send"}]]]])))
181+
:track-text (i18n/label :t/slide-to-send)}]]]])))
182182

183183
(defn- view-internal
184184
[{:keys [theme]}]

translations/en.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -2386,5 +2386,8 @@
23862386
"keypairs-description": "Select keypair to derive your new account from",
23872387
"confirm-account-origin": "Confirm account origin",
23882388
"select-asset": "Select asset",
2389-
"details": "Details"
2389+
"details": "Details",
2390+
"est-time": "Est. time",
2391+
"user-gets": "{{name}} gets",
2392+
"slide-to-send": "Slide to send"
23902393
}

0 commit comments

Comments
 (0)