File tree 2 files changed +7
-5
lines changed
src/status_im2/contexts/contacts
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
(ns status-im2.contexts.contacts.events
2
2
(:require
3
- [utils.re-frame :as rf]
4
- [taoensso.timbre :as log]
5
- [status-im.utils.types :as types]
6
3
[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]))
8
9
9
10
(defn <-rpc-js
10
11
[^js js-contact]
82
83
{:json-rpc/call
83
84
[{:method " wakuext_sendContactRequest"
84
85
: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) }]
86
87
:on-error (fn [error]
87
88
(log/error " Failed to send contact request"
88
89
{:error error
Original file line number Diff line number Diff line change 45
45
"advanced" : " Advanced" ,
46
46
"advanced-settings" : " Advanced settings" ,
47
47
"agree-by-continuing" : " By continuing you agree\n to our " ,
48
+ "add-me-to-your-contacts" : " Please add me to your contacts" ,
48
49
"all" : " All" ,
49
50
"allow" : " Allow" ,
50
51
"allowing-authorizes-this-dapp" : " Allowing authorizes this DApp to retrieve your wallet address and enable Web3" ,
You can’t perform that action at this time.
0 commit comments