From ae954d7d1956b6bf2001fc3433336df5aae342d0 Mon Sep 17 00:00:00 2001 From: Gigi <109058+dergigi@users.noreply.github.com> Date: Sat, 15 Oct 2022 12:00:24 +0200 Subject: [PATCH] ui(earn): improve offer summary display (#544) * feat(earn): add label to offer string * feat(earn): improve wording --- src/components/Earn.jsx | 7 +++++-- src/i18n/locales/en/translation.json | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Earn.jsx b/src/components/Earn.jsx index 9a56f3fa..ec4da4b0 100644 --- a/src/components/Earn.jsx +++ b/src/components/Earn.jsx @@ -91,8 +91,11 @@ function CurrentOffer({ offer, nickname }) { return (
-
- {nickname}:{offer.oid} +
+
{t('earn.current.text_offer')}
+
+ {nickname}:{offer.oid} +
{renderOrderType(offer.ordertype, t)}
diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json index f919881a..6ed2db8f 100644 --- a/src/i18n/locales/en/translation.json +++ b/src/i18n/locales/en/translation.json @@ -288,14 +288,14 @@ }, "earn": { "title": "Earn", - "subtitle": "By providing liquidity to the market, you improve the privacy of yourself and others. Your sats always remain under your control and never leave your wallet.", + "subtitle": "By offering liquidity to the market, you improve the privacy of yourself and others. Your sats always remain under your control and never leave your wallet.", "market_explainer": "You can choose how much you want to charge for your offer. Note that you participate and compete in an open market—there is no guarantee that other market participants will take you up on your offer. Being chosen for a collaborative transaction can take some time. Low fees increase your chances.", "alert_empty_report": "The report is empty.", "text_report_length": "Showing {{ visibleLines }} of {{ linesWithoutHeader }} entries", "error_loading_report_failed": "Failed to load earnings report.", "alert_starting": "Service is starting.", "alert_stopping": "Service is stopping.", - "alert_running": "Earning sats...", + "alert_running": "Offering sats to earn more sats...", "alert_coinjoin_in_progress": "A collaborative transaction is currently in progress.", "button_settings": "Offer options", "radio_abs_offer_label": "Absolute offer", @@ -315,6 +315,7 @@ "button_show_report": "Show earnings report", "button_show_orderbook": "Show orderbook", "current": { + "text_offer": "Offer", "text_cjfee": "Fee", "text_minsize": "Minimum Size", "text_maxsize": "Maximum Size",