From 261089f568ecfe7691febe4daad4f644ec9aca71 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 25 Sep 2018 11:33:26 +0300 Subject: [PATCH] remove :t/request-requesting-from; fix :t/send-sending-to Signed-off-by: yenda --- src/status_im/chat/commands/impl/transactions.cljs | 5 +---- translations/en.json | 3 +-- translations/es_419.json | 3 +-- translations/ko.json | 3 +-- translations/pl.json | 3 +-- translations/zh_Hans_CN.json | 3 +-- 6 files changed, 6 insertions(+), 14 deletions(-) diff --git a/src/status_im/chat/commands/impl/transactions.cljs b/src/status_im/chat/commands/impl/transactions.cljs index 0dbefc554f..24335f668d 100644 --- a/src/status_im/chat/commands/impl/transactions.cljs +++ b/src/status_im/chat/commands/impl/transactions.cljs @@ -224,10 +224,7 @@ (when (and group-chat recipient-name) [react/text {:style transactions-styles/command-send-recipient-text} - (str - (i18n/label :send-sending-to) - " " - recipient-name)]) + (i18n/label :send-sending-to {:recipient-name recipient-name})]) [react/view [react/text {:style (transactions-styles/command-send-timestamp outgoing)} (str (i18n/label :sent-at) " " timestamp-str)]] diff --git a/translations/en.json b/translations/en.json index babbe6e322..12ea6e3158 100644 --- a/translations/en.json +++ b/translations/en.json @@ -492,7 +492,7 @@ "currency-display-name-sgd": "Singapore Dollar", "wallet-manage-assets": "Manage Assets", "wallet-choose-from-contacts": "Choose from Contacts", - "send-sending-to": "to ", + "send-sending-to": "to {{recipient-name}}", "signing-phrase-description": "If you recognize these words, enter your login password to sign the transaction", "no-contacts": "No contacts yet", "currency-display-name-mad": "Moroccan Dirham", @@ -580,7 +580,6 @@ "status-failed": "Failed", "password-placeholder": "At least 6 characters", "clear-history-action": "Clear", - "request-requesting-from": "from ", "is-typing": "is typing", "version": "Version {{version}}", "specify-mailserver-address": "Specify a mailserver address", diff --git a/translations/es_419.json b/translations/es_419.json index c953876e9a..dec5e7d821 100644 --- a/translations/es_419.json +++ b/translations/es_419.json @@ -477,7 +477,6 @@ "reorder-groups": "Reordenar grupos", "request-feature": "Solicitar una funcionalidad", "request-qr-legend": "Comparte este código para recibir activos", - "request-requesting-from": "De", "request-transaction": "Solicitar transacción", "required-field": "Campo requerido", "resend-message": "Reenviar", @@ -500,7 +499,7 @@ "selected-for-you": "Seleccionados para ti", "send-message": "Enviar mensaje", "send-request": "Enviar solicitud", - "send-sending-to": "para", + "send-sending-to": "para {{recipient-name}}", "send-transaction": "Enviar transacción", "send-transaction-request": "Enviar una solicitud de transacción", "sent-at": "Enviado a", diff --git a/translations/ko.json b/translations/ko.json index f65f88ed17..2a48a919bd 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -482,7 +482,6 @@ "request-command-payment": "결제 요청", "request-feature": "기능 요청", "request-qr-legend": "암호화폐를 받으려면 이 코드를 공유하십시오", - "request-requesting-from": "발신인 ", "request-transaction": "거래 요청", "required-field": "필수 입력란", "resend-message": "재전송", @@ -513,7 +512,7 @@ "send-request-currency": "통화", "send-request-invalid-asset": "유효하지 않은 자산", "send-request-unknown-token": "알 수 없는 토큰 - {{asset}}", - "send-sending-to": "수신인 ", + "send-sending-to": "수신인 {{recipient-name}}", "send-transaction": "출금", "send-transaction-request": "입금 요청 보내기", "sent-at": "보낸 날짜 :", diff --git a/translations/pl.json b/translations/pl.json index b4cbcdb840..37856e8cea 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -478,7 +478,6 @@ "request-command-payment": "Poproś o płatność", "request-feature": "Poproś o funkcję", "request-qr-legend": "Udostępnij ten kod, aby odbierać tokeny", - "request-requesting-from": "od", "request-transaction": "Poproś o transakcję", "required-field": "Pole wymagane", "resend-message": "Wyślij ponownie", @@ -509,7 +508,7 @@ "send-request-currency": "Waluta", "send-request-invalid-asset": "Nieprawidłowe aktywo", "send-request-unknown-token": "Nieznany token - {{asset}}", - "send-sending-to": "do ", + "send-sending-to": "do {{recipient-name}}", "send-transaction": "Wyślij transakcję", "send-transaction-request": "Wyślij prośbę tranzakcji", "sent-at": "Wyslano w", diff --git a/translations/zh_Hans_CN.json b/translations/zh_Hans_CN.json index 222d717962..8316be765d 100644 --- a/translations/zh_Hans_CN.json +++ b/translations/zh_Hans_CN.json @@ -469,7 +469,6 @@ "reorder-groups": "重新排序群组", "request-feature": "申请功能", "request-qr-legend": "共享此代码以接收资产", - "request-requesting-from": "来自", "request-transaction": "请求交易", "required-field": "必填字段", "resend-message": "重新发送", @@ -492,7 +491,7 @@ "selected-for-you": "为您选择", "send-message": "发送消息", "send-request": "发送请求", - "send-sending-to": "到", + "send-sending-to": "到 {{recipient-name}}", "send-transaction": "发送交易", "send-transaction-request": "发送交易请求", "sent-at": "发送于",