Move command-content to js files (#779)

This commit is contained in:
alwx 2017-02-28 18:24:30 +03:00 committed by Roman Volosovskyi
parent 041b5abfad
commit d6f43d3248
41 changed files with 145 additions and 204 deletions

View File

@ -695,6 +695,12 @@ status.command({
);
return status.components.view({}, [text, image]);
},
shortPreview: function(params) {
return status.components.text(
{},
I18n.t('location_title') + ": " + params.address
);
}
}).param({
name: "address",
@ -861,6 +867,14 @@ var send = {
[amount, currency]
);
},
shortPreview: function (params, context) {
return status.components.text(
{},
I18n.t('send_title') + ": "
+ status.localizeNumber(params.amount, context.delimiter, context.separator)
+ " ETH"
);
},
handler: sendTransaction,
validator: validateSend
};
@ -894,6 +908,14 @@ status.command({
+ status.localizeNumber(params.amount, context.delimiter, context.separator)
+ " ETH";
},
shortPreview: function (params, context) {
return status.components.text(
{},
I18n.t('request_requesting') + " "
+ status.localizeNumber(params.amount, context.delimiter, context.separator)
+ " ETH"
);
},
validator: function(params) {
try {
var val = web3.toWei(params.amount, "ether");

View File

@ -16,7 +16,14 @@ I18n.translations = {
password_validation_title: 'Password',
faucet_incorrect_title: 'Incorrect faucet',
faucet_incorrect_description: 'Please, select a one from the list'
faucet_incorrect_description: 'Please, select a one from the list',
debug_mode_title: 'Debug mode',
debug_mode_description: 'Starts/stops a debug mode',
faucet_title: 'Faucet',
faucet_description: 'Get some ETH',
faucet_placeholder: 'Faucet URL'
},
ru: {
phone_title: 'Отправить номер телефона',
@ -1735,15 +1742,15 @@ function faucetSuggestions(params) {
status.command({
name: "faucet",
title: "Faucet",
description: "Get some ETH",
title: I18n.t('faucet_title'),
description: I18n.t('faucet_description'),
color: "#7099e6",
registeredOnly: true,
params: [{
name: "url",
type: status.types.TEXT,
suggestions: faucetSuggestions,
placeholder: "Faucet URL"
placeholder: I18n.t('faucet_placeholder')
}],
preview: function (params) {
return status.components.text(
@ -1751,6 +1758,12 @@ status.command({
params.url
);
},
shortPreview: function (params) {
return status.components.text(
{},
I18n.t('faucet_title') + ": " + params.url
);
},
validator: function (params, context) {
var f = faucets.map(function (entry) {
return entry.url;
@ -1796,8 +1809,8 @@ function debugSuggestions(params) {
status.command({
name: "debug",
title: "Debug",
description: "Starts/stops a debug server",
title: I18n.t('debug_mode_title'),
description: I18n.t('debug_mode_description'),
color: "#7099e6",
registeredOnly: true,
params: [{
@ -1808,7 +1821,13 @@ status.command({
preview: function (params) {
return status.components.text(
{},
"Debug mode: " + params.mode
I18n.t('debug_mode_title') + ": " + params.mode
);
},
shortPreview: function (params) {
return status.components.text(
{},
I18n.t('debug_mode_title') + ": " + params.mode
);
}
});

View File

@ -32,6 +32,7 @@ Command.prototype.create = function (com) {
this.icon = com.icon;
this.params = com.params || [];
this.preview = com.preview;
this["short-preview"] = com.shortPreview;
this["suggestions-trigger"] = com.suggestionsTrigger || "on-change";
this.fullscreen = com.fullscreen;
this.request = com.request;

View File

@ -268,20 +268,26 @@
(register-handler :request-command-preview
(u/side-effect!
(fn [_ [_ {{:keys [command params content-command type]} :content
:keys [message-id chat-id on-requested] :as message}]]
(let [path [(if (= :response (keyword type)) :responses :commands)
(if content-command content-command command)
:preview]
params {:parameters params
:context (merge {:platform platform/platform} i18n/delimeters)}
callback #(do (when-let [result (get-in % [:result :returned])]
(dispatch [:set-in [:message-data :preview message-id]
(if (string? result)
result
(cu/generate-hiccup result))]))
(when on-requested (on-requested %)))]
(status/call-jail chat-id path params callback)))))
(fn [{:keys [chats]} [_ {{:keys [command params content-command type]} :content
:keys [message-id chat-id on-requested] :as message} data-type]]
(if-not (get-in chats [chat-id :commands-loaded])
(do (dispatch [:add-commands-loading-callback
chat-id
#(dispatch [:request-command-preview message data-type])])
(dispatch [:load-commands! chat-id]))
(let [data-type (or data-type :preview)
path [(if (= :response (keyword type)) :responses :commands)
(if content-command content-command command)
data-type]
params {:parameters params
:context (merge {:platform platform/platform} i18n/delimeters)}
callback #(do (when-let [result (get-in % [:result :returned])]
(dispatch [:set-in [:message-data data-type message-id]
(if (string? result)
result
(cu/generate-hiccup result))]))
(when on-requested (on-requested %)))]
(status/call-jail chat-id path params callback))))))
(register-handler :set-command-parameter
(fn [db [_ {:keys [value parameter]}]]

View File

@ -11,7 +11,8 @@
:as c]
[cljs.reader :refer [read-string]]
[status-im.data-store.chats :as chats]
[status-im.utils.scheduler :as s]))
[status-im.utils.scheduler :as s]
[taoensso.timbre :as log]))
(defn store-message [{chat-id :chat-id :as message}]
(messages/save chat-id (dissoc message :new?)))
@ -51,6 +52,7 @@
(when (get-in message [:content :command])
(dispatch [:request-command-preview message]))
(dispatch [::add-message chat-id' message'])
(dispatch [::set-last-message message'])
(when (= (:content-type message') content-type-command-request)
(dispatch [:add-request chat-id' message']))
(dispatch [:add-unviewed-message chat-id' message-id])
@ -89,6 +91,11 @@
(fn [db [_ add-to-chat-id {:keys [chat-id new?] :as message}]]
(cu/add-message-to-db db add-to-chat-id chat-id message new?)))
(register-handler ::set-last-message
(fn [{:keys [chats] :as db} [_ {:keys [chat-id] :as message}]]
(dispatch [:request-command-preview message :short-preview])
(assoc-in db [:chats chat-id :last-message] message)))
(defn commands-loaded? [db chat-id]
(get-in db [:chats chat-id :commands-loaded]))

View File

@ -57,12 +57,9 @@
(register-sub :get-commands-and-responses
(fn [db [_ chat-id]]
(reaction (or (->> (get-in @db [:chats chat-id])
((juxt :commands :responses))
(apply merge))
(->> (get @db :all-commands)
((juxt :commands :responses))
(apply merge))))))
(reaction (->> (get-in @db [:chats chat-id])
((juxt :commands :responses))
(apply merge)))))
(register-sub :get-chat-input-text
(fn [db _]
@ -265,3 +262,16 @@
(fn [_ [_ id]]
(let [contacts (subscribe [:get :contacts])]
(reaction (:photo-path (@contacts id))))))
(register-sub :get-last-message
(fn [db [_ chat-id]]
(reaction
(let [{:keys [last-message messages]} (get-in @db [:chats chat-id])]
(first
(sort-by :clock-value > (conj messages last-message)))))))
(register-sub :get-last-message-short-preview
(fn [db [_ chat-id]]
(let [last-message (subscribe [:get-last-message chat-id])]
(reaction
(get-in @db [:message-data :short-preview (:message-id @last-message)])))))

View File

@ -86,12 +86,14 @@
:fontSize 12
:color text2-color})
(def last-message-text
(def last-message-container
{:margin-top 5
:margin-right 40
:color text1-color
:fontSize 14
:lineHeight 20})
:margin-right 40})
(def last-message-text
{:color text1-color
:fontSize 14
:lineHeight 20})
(def last-message-text-no-messages
(merge last-message-text

View File

@ -12,40 +12,49 @@
[status-im.utils.gfycat.core :refer [generate-gfy]]
[status-im.constants :refer [console-chat-id
content-type-command
content-type-command-request] :as c]
[taoensso.timbre :as log]))
content-type-wallet-command
content-type-command-request]]
[taoensso.timbre :as log]
[reagent.core :as r]))
(defmulti message-content (fn [{:keys [content-type]}] content-type))
(defn message-content-text [chat-id]
(let [message (subscribe [:get-last-message chat-id])
preview (subscribe [:get-last-message-short-preview chat-id])]
(r/create-class
{:component-will-mount
(fn []
(when (and (get-in @message [:content :command])
(not @preview))
(dispatch [:request-command-preview @message :short-preview])))
(defn command-content
[{{:keys [command content-command params]} :content}]
(let [kw (keyword (str "t/command-text-" (name (or content-command command))))]
(label kw params)))
:reagent-render
(fn [_]
[view]
(let [{:keys [content] :as message} @message
preview @preview]
[view st/last-message-container
(cond
(defmethod message-content content-type-command
[message]
(command-content message))
(not message)
[text {:style st/last-message-text-no-messages}
(label :t/no-messages)]
(defmethod message-content c/content-type-wallet-command
[message]
(command-content message))
(str/blank? content)
[text {:style st/last-message-text-no-messages}
""]
(defmethod message-content content-type-command-request
[message]
(command-content message))
(:content content)
[text {:style st/last-message-text
:number-of-lines 2}
(:content content)]
(defmethod message-content :default
[{:keys [content]}]
content)
(:command content)
preview
(defn message-content-text [message]
(let [content (message-content message)]
(if (str/blank? content)
[text {:style st/last-message-text-no-messages}
(label :t/no-messages)]
[text {:style st/last-message-text
:number-of-lines 2}
content])))
:else
[text {:style st/last-message-text
:number-of-lines 2}
content])]))})))
(defview message-status [{:keys [chat-id contacts]}
{:keys [message-id message-status user-statuses message-type outgoing] :as msg}]
@ -76,13 +85,12 @@
:font :medium}
unviewed-messages]]))
(defn chat-list-item-inner-view [{:keys [chat-id name color last-message
(defn chat-list-item-inner-view [{:keys [chat-id name color
online group-chat contacts public?]
:as chat}]
(let [last-message (or (first (sort-by :clock-value > (:messages chat)))
last-message)
name (or (get-contact-translated chat-id :name name)
(generate-gfy))
:as chat}]
(let [last-message (subscribe [:get-last-message chat-id])
name (or (get-contact-translated chat-id :name name)
(generate-gfy))
private-group? (and group-chat (not public?))
public-group? (and group-chat public?)]
[view st/chat-container
@ -107,10 +115,10 @@
#_(when private-group?
[text {:style st/memebers-text}
(label-pluralize (inc (count contacts)) :t/members)])]
[message-content-text last-message]]
[message-content-text chat-id]]
[view
(when last-message
(when @last-message
[view st/status-container
[message-status chat last-message]
[message-timestamp last-message]])
[message-status chat @last-message]
[message-timestamp @last-message]])
[unviewed-indicator chat-id]]]))

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH aan {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH van {{chat-name}}"
:command-text-location "Ligging {{address}}"
:command-text-browse "Webblaaier-blad: {{webpage}}"
:command-text-send "Transaksie: {{amount}} ETH"
:command-text-help "Help"
;new-group
:group-chat-name "Bynaam"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH إلى {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH من {{chat-name}}"
:command-text-location "الموقع {{address}}"
:command-text-browse "تصفح صفحة الويب {{webpage}}"
:command-text-send "المعاملة: {{amount}} ETH"
:command-text-help "المساعدة"
;new-group
:group-chat-name "اسم الدردشة"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH an {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH von {{chat-name}}"
:command-text-location "Position: {{address}}"
:command-text-browse "Auf Webseite: {{webpage}}"
:command-text-send "Transaktion: {{amount}} ETH"
:command-text-help "Hilfe"
;new-group
:group-chat-name "Chatname"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH zu {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH von {{chat-name}}"
:command-text-location "Standort: {{address}}"
:command-text-browse "Durchsuchen der Website: {{webpage}}"
:command-text-send "Transaktion: {{amount}} ETH"
:command-text-help "Hilfe"
;new-group
:group-chat-name "Chat Name"

View File

@ -178,12 +178,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH to {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH from {{chat-name}}"
:command-text-location "Location: {{address}}"
:command-text-browse "Browsing webpage: {{webpage}}"
:command-text-send "Transaction: {{amount}} ETH"
:command-text-help "Help"
:command-text-faucet "Faucet: {{url}}"
:command-text-request "Request: {{amount}} ETH"
;new-group
:group-chat-name "Chat name"

View File

@ -153,10 +153,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH a {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de{{chat-name}}"
:command-text-location "Ubicación: {{address}}"
:command-text-browse "Navegación en la página web: {{webpage}}"
:command-text-send "Transacción: {{amount}} ETH"
:command-text-help "Ayuda"
;new-group
:group-chat-name "Nombre del chat"

View File

@ -153,10 +153,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH a {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de {{chat-name}}"
:command-text-location "Ubicación: {{address}}"
:command-text-browse "Navegando la página web: {{webpage}}"
:command-text-send "Transacción: {{amount}} ETH"
:command-text-help "Ayuda"
;new-group
:group-chat-name "Nombre del chat"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH à {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de {{chat-name}}"
:command-text-location "Emplacement : {{address}}"
:command-text-browse "Page de navigation : {{webpage}}"
:command-text-send "Transaction : {{amount}} ETH"
:command-text-help "Aide"
;new-group
:group-chat-name "Pseudo"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH pour {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de {{chat-name}}"
:command-text-location "Emplacement: {{address}}"
:command-text-browse "Site web de navigation: {{webpage}}"
:command-text-send "Transaction: {{amount}} ETH"
:command-text-help "Aide"
;new-group
:group-chat-name "Nom du chat"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} {{chat-name}} को ETH"
:chat-send-eth-from "{{amount}} {{chat-name}} से ETH"
:command-text-location "स्थान: {{address}}"
:command-text-browse "वेबपेज ब्राउजिंग: {{webpage}}"
:command-text-send "लेनदेन: {{amount}} ETH"
:command-text-help "मदद करें"
;new-group
:group-chat-name "चैट नाम"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH ide {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH innen {{chat-name}}"
:command-text-location "Helyszín: {{address}}"
:command-text-browse "Böngészési weboldal: {{webpage}}"
:command-text-send "Tranzakció: {{amount}} ETH"
:command-text-help "Segítség"
;new-group
:group-chat-name "Csevegés neve"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH per {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH da {{chat-name}}"
:command-text-location "Posizione: {{address}}"
:command-text-browse "Naviga la pagina web: {{webpage}}"
:command-text-send "Transazione: {{amount}} ETH"
:command-text-help "Aiuto"
;new-group
:group-chat-name "Nome chat"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH a {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH da {{chat-name}}"
:command-text-location "Posizione: {{address}}"
:command-text-browse "Pagina web: {{webpage}}"
:command-text-send "Transazione: {{amount}} ETH"
:command-text-help "Aiuto"
;new-group
:group-chat-name "Nome conversazione"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETHを{{chat-name}}に"
:chat-send-eth-from "{{amount}} ETHを{{chat-name}}から"
:command-text-location "位置: {{address}}"
:command-text-browse "ウェブページ閲覧: {{webpage}}"
:command-text-send "トランザクション: {{amount}} ETH"
:command-text-help "ヘルプ"
;new-group
:group-chat-name "チャット名"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH 송금인: {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH 수금인: {{chat-name}}"
:command-text-location "위치: {{address}}"
:command-text-browse "열람중인 웹페이지: {{webpage}}"
:command-text-send "거래: {{amount}} ETH"
:command-text-help "도움말"
;new-group
:group-chat-name "채팅 이름"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH naar {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH van {{chat-name}}"
:command-text-location "Locatie: {{address}}"
:command-text-browse "Browsen op internetpagina: {{webpage}}"
:command-text-send "Transactie: {{amount}} ETH"
:command-text-help "Help"
;new-group
:group-chat-name "Chatnaam"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH do {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH od {{chat-name}}"
:command-text-location "Lokalizacja: {{address}}"
:command-text-browse "Przeglądana strona: {{webpage}}"
:command-text-send "Transakcja: {{amount}} ETH"
:command-text-help "Pomoc"
;new-group
:group-chat-name "Nazwa czatu"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH para {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de {{chat-name}}"
:command-text-location "Localização: {{address}}"
:command-text-browse "Página de navegação: {{webpage}}"
:command-text-send "Transação: {{amount}} ETH"
:command-text-help "Ajuda"
;new-group
:group-chat-name "Nome do bate-papo"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH para {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de {{chat-name}}"
:command-text-location "Localização: {{address}}"
:command-text-browse "Página Web de Navegação: {{webpage}}"
:command-text-send "Transação: {{amount}} ETH"
:command-text-help "Ajuda"
;new-group
:group-chat-name "Nome no chat"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH pentru {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH de la {{chat-name}}"
:command-text-location "Locație: {{address}}"
:command-text-browse "Se răsfoiește pagina web: {{webpage}}"
:command-text-send "Tranzacție: {{amount}} ETH"
:command-text-help "Ajutor"
;new-group
:group-chat-name "Nume chat"

View File

@ -156,10 +156,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH в адрес {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH от {{chat-name}}"
:command-text-location "Место {{address}}"
:command-text-browse "Просматривается веб-страница {{webpage}}"
:command-text-send "Транзакция {{amount}} ETH"
:command-text-help "Помощь"
;new-group
:group-chat-name "Имя чата"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH osebi {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH od osebe {{chat-name}}"
:command-text-location "Lokacija: {{address}}"
:command-text-browse "Brskanje po spletni strani: {{webpage}}"
:command-text-send "Transakcija: {{amount}} ETH"
:command-text-help "Pomoč"
;new-group
:group-chat-name "Ime za klepet"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH till {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH från {{chat-name}}"
:command-text-location "Plats: {{address}}"
:command-text-browse "Läser webbsidan: {{webpage}}"
:command-text-send "Transaktion: {{amount}} ETH"
:command-text-help "Hjälp"
;new-group
:group-chat-name "Chattnamn"

View File

@ -153,10 +153,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH kwa {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH kutoka {{chat-name}}"
:command-text-location "Eneo: {{address}}"
:command-text-browse "Ukurasa wa tovuti wa kutafuta: {{webpage}}"
:command-text-send "Mashirikiano: {{amount}} ETH"
:command-text-help "Msaada"
;new-group
:group-chat-name "Jina la gumzo"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH ไปยัง {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH จาก {{chat-name}}"
:command-text-location "ตำแหน่ง: {{address}}"
:command-text-browse "กำลังท่องชมหน้าเว็บ: {{webpage}}"
:command-text-send "ธุรกรรม: {{amount}} ETH"
:command-text-help "ช่วยเหลือ"
;new-group
:group-chat-name "ชื่อแชท"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH alıcı: {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH gönderen: {{chat-name}}"
:command-text-location "Konum: {{address}}"
:command-text-browse "Web sayfası: {{webpage}}"
:command-text-send "İşlem: {{amount}} ETH"
:command-text-help "Yardım"
;new-group
:group-chat-name "Sohbet adı"

View File

@ -153,10 +153,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH для {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH від {{chat-name}}"
:command-text-location "Місцезнаходження: {{address}}"
:command-text-browse "Перегляд веб-сторінки: {{webpage}}"
:command-text-send "Транзакція: {{amount}} ETH"
:command-text-help "Допомога"
;new-group
:group-chat-name "Назва розмови"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH کرنے {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH سے {{chat-name}}"
:command-text-location "مقام: {{address}}"
:command-text-browse "ویب پیج براؤز کریں: {{webpage}}"
:command-text-send "بیوپار: {{amount}} ETH"
:command-text-help "مدد"
;new-group
:group-chat-name "چیٹ کا نام"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH đến {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH từ {{chat-name}}"
:command-text-location "Vị trí: {{address}}"
:command-text-browse "Trình duyệt trang web: {{webpage}}"
:command-text-send "Giao dịch: {{amount}} ETH"
:command-text-help "Giúp đỡ"
;new-group
:group-chat-name "Tên trò chuyện"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "给{{chat-name}}的{{amount}} ETH"
:chat-send-eth-from "来自{{chat-name}}的{{amount}} ETH"
:command-text-location "位置: {{address}}"
:command-text-browse "浏览网页: {{webpage}}"
:command-text-send "交易: {{amount}} ETH"
:command-text-help "帮助"
;new-group
:group-chat-name "聊天名称"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH 給 {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH 來自 {{chat-name}}"
:command-text-location "位置: {{address}}"
:command-text-browse "瀏覽網頁: {{webpage}}"
:command-text-send "交易: {{amount}} ETH"
:command-text-help "幫助"
;new-group
:group-chat-name "群組名稱"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH至 {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH来自 {{chat-name}}"
:command-text-location "地址: {{address}}"
:command-text-browse "浏览网页: {{webpage}}"
:command-text-send "交易: {{amount}} ETH"
:command-text-help "帮助"
;new-group
:group-chat-name "聊天名称"

View File

@ -148,10 +148,6 @@
:chat-send-eth "{{amount}} ETH"
:chat-send-eth-to "{{amount}} ETH 予 {{chat-name}}"
:chat-send-eth-from "{{amount}} ETH 來自 {{chat-name}}"
:command-text-location "地點: {{address}}"
:command-text-browse "瀏覽網頁: {{webpage}}"
:command-text-send "交易: {{amount}} ETH"
:command-text-help "幫助"
;new-group
:group-chat-name "聊天用戶名稱"