From 7f8309e2640f4cfadadb05c39b5309dd9673ba56 Mon Sep 17 00:00:00 2001 From: Valentin Syrovatskiy Date: Mon, 19 Jul 2021 16:31:07 +0300 Subject: [PATCH] Add "Token ID" label on token-trasfers page --- CHANGELOG.md | 1 + .../templates/tokens/instance/overview/_details.html.eex | 2 +- apps/block_scout_web/priv/gettext/default.pot | 1 + apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d29f6eb289..ad497e2cd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - [#4385](https://github.com/blockscout/blockscout/pull/4385) - Fix html template for transaction's input; Add copy text for tuples ### Chore +- [#4400](https://github.com/blockscout/blockscout/pull/4400) - Add "Token ID" label onto `tokens/.../instance/.../token-transfers` page - [#4398](https://github.com/blockscout/blockscout/pull/4398) - Speed up the transactions loading on the front-end - [#4384](https://github.com/blockscout/blockscout/pull/4384) - Fix Elixir version in `.tool-versions` - [#4382](https://github.com/blockscout/blockscout/pull/4382) - Replace awesomplete with autocomplete.js diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex index 152a277753..8a9d1ff2b3 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex @@ -35,7 +35,7 @@ -

<%= to_string(@token_id) %>

+

<%= gettext "Token ID" %>: <%= to_string(@token_id) %>

diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 39ac762f5c..9e7b66c8b4 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -2218,6 +2218,7 @@ msgid "Token Holders" msgstr "" #, elixir-format +#: lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex:38 #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 msgid "Token ID" msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index e45ba92855..9e7b66c8b4 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -2218,6 +2218,7 @@ msgid "Token Holders" msgstr "" #, elixir-format +#: lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex:38 #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 msgid "Token ID" msgstr "" @@ -2797,12 +2798,12 @@ msgstr "" msgid "validator" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/block_scout_web/templates/stakes/_stakes_modal_withdraw.html.eex:76 msgid "

Pending stake (stake placed on a candidate pool or placed during the current staking epoch) may be withdrawn now.

\n

Active stake (stake available after the current epoch) can be ordered for withdrawal from the pool, and will be available to claim after the current staking epoch is complete.

\n

If you have already ordered (and the staking window is still open), you may increase your current order by entering a positive value, or decrease your current order by entering a negative value in the box and clicking 'Order Withdrawal'. You must either keep the minimum stake amount in the pool, or order your entire stake for withdrawal.

\n" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: #: lib/block_scout_web/templates/stakes/_stakes_modal_become_candidate.html.eex:36 msgid "

To become a candidate, your staking address must be funded with %{tokenSymbol} tokens and %{coinSymbol} coins, and your OpenEthereum node must be active and configured with the mining address you specify here.

\n

To become a delegator, close this window and select an address from the list of pools you would like to place stake on. Click the Stake button next to the address to begin the process.

"