Skip to content

Commit af6a59d

Browse files
committed
Translate message
1 parent 663b38b commit af6a59d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/status_im2/contexts/contacts/events.cljs

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
(ns status-im2.contexts.contacts.events
22
(:require
3-
[utils.re-frame :as rf]
4-
[taoensso.timbre :as log]
5-
[status-im.utils.types :as types]
63
[oops.core :as oops]
7-
[status-im2.constants :as constants]))
4+
[status-im.utils.types :as types]
5+
[status-im2.constants :as constants]
6+
[taoensso.timbre :as log]
7+
[utils.i18n :as i18n]
8+
[utils.re-frame :as rf]))
89

910
(defn <-rpc-js
1011
[^js js-contact]
@@ -82,7 +83,7 @@
8283
{:json-rpc/call
8384
[{:method "wakuext_sendContactRequest"
8485
:js-response true
85-
:params [{:id id :message "Please add me to your contacts"}]
86+
:params [{:id id :message (i18n/label :t/add-me-to-your-contacts)}]
8687
:on-error (fn [error]
8788
(log/error "Failed to send contact request"
8889
{:error error

translations/en.json

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"advanced": "Advanced",
4646
"advanced-settings": "Advanced settings",
4747
"agree-by-continuing": "By continuing you agree\n to our ",
48+
"add-me-to-your-contacts": "Please add me to your contacts",
4849
"all": "All",
4950
"allow": "Allow",
5051
"allowing-authorizes-this-dapp": "Allowing authorizes this DApp to retrieve your wallet address and enable Web3",

0 commit comments

Comments
 (0)