From ed86f4d0c09337d9d16405af65891c70fedc1322 Mon Sep 17 00:00:00 2001 From: Ryan Arthur Date: Fri, 27 Jul 2018 13:13:42 -0400 Subject: [PATCH 1/9] Add new block item layout --- .../templates/block/index.html.eex | 124 +++++++++--------- 1 file changed, 59 insertions(+), 65 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex index 92849679e8..f51a72dd25 100644 --- a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex @@ -1,70 +1,64 @@ -
-
-

Blocks

-

- <%= gettext( - "Showing #%{start_block} to #%{end_block}", - start_block: List.first(@blocks).number, - end_block: List.last(@blocks).number - ) %> -

-
+
- - - - - - - - - - - - - <%= for block <- @blocks do %> - - - - - - - - - <% end %> - -
<%= gettext "Height" %><%= gettext "Age" %><%= gettext "Transactions" %><%= gettext "Gas Used" %> (<%= gettext("Gas") %>)<%= gettext "Gas Limit" %> (<%= gettext("Gas") %>)<%= gettext "Gas Price" %>
- <%= link( - block, - class: "blocks__link", - to: block_path(@conn, :show, @conn.assigns.locale, block), - "data-test": "block_number", - "data-block-number": to_string(block.number) - ) %> - - <%= gettext("%{count} transactions", count: block.transactions |> Enum.count) %> - - <%= block.gas_used |> Cldr.Number.to_string! %> (<%= - block.gas_used / block.gas_limit |> Cldr.Number.to_string!(format: "#.#%") - %>) - - <%= block.gas_limit |> Cldr.Number.to_string! %> - - <%= average_gas_price(block) %> -
+ +

Blocks

+

+ <%= gettext( + "Showing #%{start_block} to #%{end_block}", + start_block: List.first(@blocks).number, + end_block: List.last(@blocks).number + ) %> +

+ + <%= for block <- @blocks do %> +
+
+
+ + <%= link( + block, + class: "tile-title", + to: block_path(@conn, :show, @conn.assigns.locale, block), + "data-test": "block_number", + "data-block-number": to_string(block.number) + ) %> +
+ + + <%= gettext("%{count} transactions", count: block.transactions |> Enum.count) %> + + + <%= Cldr.Unit.new(:byte, block.size) |> Cldr.Unit.to_string! %> + + +
+
+
+ + <%= gettext "Miner" %> + + <%= link to: address_path(ExplorerWeb.Endpoint, :show, @locale, block.miner_hash) do %> + <%= block.miner_hash %> + <% end %> + +
+
+
+ <% end %> + + <%= if @next_page_params do %> + <%= link( + gettext("Older"), + class: "button button--secondary button--sm float-right mt-3", + to: block_path( + @conn, + :index, + @conn.assigns.locale, + @next_page_params + ) + ) %> + <% end %>
- <%= if @next_page_params do %> - <%= link( - gettext("Older"), - class: "button button--secondary button--sm u-float-right mt-3", - to: block_path( - @conn, - :index, - @conn.assigns.locale, - @next_page_params - ) - ) %> - <% end %>
From 62bd116a811dced6b2b6db6d99e79a38cf2e71a2 Mon Sep 17 00:00:00 2001 From: Ryan Arthur Date: Fri, 27 Jul 2018 13:18:56 -0400 Subject: [PATCH 2/9] Internationalization --- .../explorer_web/templates/chain/_block.html.eex | 2 +- apps/explorer_web/priv/gettext/default.pot | 13 +++++-------- .../priv/gettext/en/LC_MESSAGES/default.po | 13 +++++-------- 3 files changed, 11 insertions(+), 17 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/chain/_block.html.eex b/apps/explorer_web/lib/explorer_web/templates/chain/_block.html.eex index 9c27f0b2c5..ee9ba26f85 100644 --- a/apps/explorer_web/lib/explorer_web/templates/chain/_block.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/chain/_block.html.eex @@ -6,7 +6,7 @@ - Validated by + <%= gettext "Miner" %> <%= link to: address_path(ExplorerWeb.Endpoint, :show, @locale, @block.miner), "data-toggle": "tooltip", "data-placement": "top", diff --git a/apps/explorer_web/priv/gettext/default.pot b/apps/explorer_web/priv/gettext/default.pot index 4f6c0552e4..c0effd2fe7 100644 --- a/apps/explorer_web/priv/gettext/default.pot +++ b/apps/explorer_web/priv/gettext/default.pot @@ -15,7 +15,6 @@ msgstr "" msgid "Copyright %{year} POA" msgstr "" -#: lib/explorer_web/templates/block/index.html.eex:20 #: lib/explorer_web/templates/block/overview.html.eex:84 msgid "Gas Used" msgstr "" @@ -40,7 +39,6 @@ msgstr "" #: lib/explorer_web/templates/address_transaction/index.html.eex:13 #: lib/explorer_web/templates/address_transaction/index.html.eex:55 #: lib/explorer_web/templates/address_transaction/index.html.eex:131 -#: lib/explorer_web/templates/block/index.html.eex:19 #: lib/explorer_web/templates/block_transaction/index.html.eex:13 #: lib/explorer_web/templates/block_transaction/index.html.eex:26 #: lib/explorer_web/templates/block_transaction/index.html.eex:36 @@ -63,12 +61,13 @@ msgstr "" msgid "Difficulty" msgstr "" -#: lib/explorer_web/templates/block/index.html.eex:21 #: lib/explorer_web/templates/block/overview.html.eex:92 msgid "Gas Limit" msgstr "" +#: lib/explorer_web/templates/block/index.html.eex:39 #: lib/explorer_web/templates/block/overview.html.eex:70 +#: lib/explorer_web/templates/chain/_block.html.eex:9 msgid "Miner" msgstr "" @@ -109,8 +108,6 @@ msgstr "" msgid "Cumulative Gas Used" msgstr "" -#: lib/explorer_web/templates/block/index.html.eex:20 -#: lib/explorer_web/templates/block/index.html.eex:21 #: lib/explorer_web/templates/transaction/overview.html.eex:92 msgid "Gas" msgstr "" @@ -181,11 +178,11 @@ msgstr "" msgid "POA" msgstr "" -#: lib/explorer_web/templates/block/index.html.eex:39 +#: lib/explorer_web/templates/block/index.html.eex:29 msgid "%{count} transactions" msgstr "" -#: lib/explorer_web/templates/block/index.html.eex:5 +#: lib/explorer_web/templates/block/index.html.eex:7 msgid "Showing #%{start_block} to #%{end_block}" msgstr "" @@ -470,7 +467,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:133 #: lib/explorer_web/templates/address_transaction/index.html.eex:146 -#: lib/explorer_web/templates/block/index.html.eex:60 +#: lib/explorer_web/templates/block/index.html.eex:52 #: lib/explorer_web/templates/block_transaction/index.html.eex:51 #: lib/explorer_web/templates/pending_transaction/index.html.eex:79 #: lib/explorer_web/templates/transaction/index.html.eex:84 diff --git a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po index cdda42e820..7e07c01ff1 100644 --- a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po @@ -27,7 +27,6 @@ msgstr "Blocks" msgid "Copyright %{year} POA" msgstr "%{year} POA Network Ltd. All rights reserved" -#: lib/explorer_web/templates/block/index.html.eex:20 #: lib/explorer_web/templates/block/overview.html.eex:84 msgid "Gas Used" msgstr "Gas Used" @@ -52,7 +51,6 @@ msgstr "POA Network Explorer" #: lib/explorer_web/templates/address_transaction/index.html.eex:13 #: lib/explorer_web/templates/address_transaction/index.html.eex:55 #: lib/explorer_web/templates/address_transaction/index.html.eex:131 -#: lib/explorer_web/templates/block/index.html.eex:19 #: lib/explorer_web/templates/block_transaction/index.html.eex:13 #: lib/explorer_web/templates/block_transaction/index.html.eex:26 #: lib/explorer_web/templates/block_transaction/index.html.eex:36 @@ -75,12 +73,13 @@ msgstr "Block #%{number} Details" msgid "Difficulty" msgstr "Difficulty" -#: lib/explorer_web/templates/block/index.html.eex:21 #: lib/explorer_web/templates/block/overview.html.eex:92 msgid "Gas Limit" msgstr "Gas Limit" +#: lib/explorer_web/templates/block/index.html.eex:39 #: lib/explorer_web/templates/block/overview.html.eex:70 +#: lib/explorer_web/templates/chain/_block.html.eex:9 msgid "Miner" msgstr "Validator" @@ -121,8 +120,6 @@ msgstr "Transaction Details" msgid "Cumulative Gas Used" msgstr "Cumulative Gas Used" -#: lib/explorer_web/templates/block/index.html.eex:20 -#: lib/explorer_web/templates/block/index.html.eex:21 #: lib/explorer_web/templates/transaction/overview.html.eex:92 msgid "Gas" msgstr "Gas" @@ -193,11 +190,11 @@ msgstr "Balance" msgid "POA" msgstr "POA" -#: lib/explorer_web/templates/block/index.html.eex:39 +#: lib/explorer_web/templates/block/index.html.eex:29 msgid "%{count} transactions" msgstr "%{count} transactions" -#: lib/explorer_web/templates/block/index.html.eex:5 +#: lib/explorer_web/templates/block/index.html.eex:7 msgid "Showing #%{start_block} to #%{end_block}" msgstr "Showing #%{start_block} to #%{end_block}" @@ -482,7 +479,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:133 #: lib/explorer_web/templates/address_transaction/index.html.eex:146 -#: lib/explorer_web/templates/block/index.html.eex:60 +#: lib/explorer_web/templates/block/index.html.eex:52 #: lib/explorer_web/templates/block_transaction/index.html.eex:51 #: lib/explorer_web/templates/pending_transaction/index.html.eex:79 #: lib/explorer_web/templates/transaction/index.html.eex:84 From bac2a8ce8f1711c3862c5979810ab61088594225 Mon Sep 17 00:00:00 2001 From: katibest Date: Fri, 27 Jul 2018 15:47:31 -0400 Subject: [PATCH 3/9] Added gas used and limit plus progress bar --- apps/explorer_web/assets/css/app.scss | 1 + .../templates/block/index.html.eex | 31 ++++++++++++++----- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/apps/explorer_web/assets/css/app.scss b/apps/explorer_web/assets/css/app.scss index 2da70cbce2..74a7a5d5fb 100644 --- a/apps/explorer_web/assets/css/app.scss +++ b/apps/explorer_web/assets/css/app.scss @@ -33,6 +33,7 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts"; @import "node_modules/bootstrap/scss/utilities/background"; @import "node_modules/bootstrap/scss/utilities/position"; @import "node_modules/bootstrap/scss/utilities/borders"; +@import "node_modules/bootstrap/scss/progress"; // Bootstrap Components @import "node_modules/bootstrap/scss/dropdown"; diff --git a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex index f51a72dd25..fcfde89d25 100644 --- a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex @@ -33,15 +33,30 @@ +
+ + <%= gettext "Miner" %> + + <%= link to: address_path(ExplorerWeb.Endpoint, :show, @locale, block.miner_hash) do %> + <%= block.miner_hash %> + <% end %> + +
-
- - <%= gettext "Miner" %> - - <%= link to: address_path(ExplorerWeb.Endpoint, :show, @locale, block.miner_hash) do %> - <%= block.miner_hash %> - <% end %> - +
+ +
+ <%= block.gas_used |> Cldr.Number.to_string! %> + (<%= (block.gas_used / block.gas_limit) |> Cldr.Number.to_string!(format: "#.#%") %>) + <%= gettext "Gas Used" %> +
+
+
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"> + +
+
+ + <%= block.gas_limit |> Cldr.Number.to_string! %> <%= gettext "Gas Limit" %>
From ffbfe01871330960bc45fc94d8a144ad8e025229 Mon Sep 17 00:00:00 2001 From: katibest Date: Fri, 27 Jul 2018 15:49:10 -0400 Subject: [PATCH 4/9] INTERNATIONALIZATION --- apps/explorer_web/priv/gettext/default.pot | 6 ++++-- apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/explorer_web/priv/gettext/default.pot b/apps/explorer_web/priv/gettext/default.pot index c0effd2fe7..4a6849c445 100644 --- a/apps/explorer_web/priv/gettext/default.pot +++ b/apps/explorer_web/priv/gettext/default.pot @@ -15,6 +15,7 @@ msgstr "" msgid "Copyright %{year} POA" msgstr "" +#: lib/explorer_web/templates/block/index.html.eex:51 #: lib/explorer_web/templates/block/overview.html.eex:84 msgid "Gas Used" msgstr "" @@ -61,11 +62,12 @@ msgstr "" msgid "Difficulty" msgstr "" +#: lib/explorer_web/templates/block/index.html.eex:59 #: lib/explorer_web/templates/block/overview.html.eex:92 msgid "Gas Limit" msgstr "" -#: lib/explorer_web/templates/block/index.html.eex:39 +#: lib/explorer_web/templates/block/index.html.eex:38 #: lib/explorer_web/templates/block/overview.html.eex:70 #: lib/explorer_web/templates/chain/_block.html.eex:9 msgid "Miner" @@ -467,7 +469,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:133 #: lib/explorer_web/templates/address_transaction/index.html.eex:146 -#: lib/explorer_web/templates/block/index.html.eex:52 +#: lib/explorer_web/templates/block/index.html.eex:67 #: lib/explorer_web/templates/block_transaction/index.html.eex:51 #: lib/explorer_web/templates/pending_transaction/index.html.eex:79 #: lib/explorer_web/templates/transaction/index.html.eex:84 diff --git a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po index 7e07c01ff1..00937ceec6 100644 --- a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po @@ -27,6 +27,7 @@ msgstr "Blocks" msgid "Copyright %{year} POA" msgstr "%{year} POA Network Ltd. All rights reserved" +#: lib/explorer_web/templates/block/index.html.eex:51 #: lib/explorer_web/templates/block/overview.html.eex:84 msgid "Gas Used" msgstr "Gas Used" @@ -73,11 +74,12 @@ msgstr "Block #%{number} Details" msgid "Difficulty" msgstr "Difficulty" +#: lib/explorer_web/templates/block/index.html.eex:59 #: lib/explorer_web/templates/block/overview.html.eex:92 msgid "Gas Limit" msgstr "Gas Limit" -#: lib/explorer_web/templates/block/index.html.eex:39 +#: lib/explorer_web/templates/block/index.html.eex:38 #: lib/explorer_web/templates/block/overview.html.eex:70 #: lib/explorer_web/templates/chain/_block.html.eex:9 msgid "Miner" @@ -479,7 +481,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:133 #: lib/explorer_web/templates/address_transaction/index.html.eex:146 -#: lib/explorer_web/templates/block/index.html.eex:52 +#: lib/explorer_web/templates/block/index.html.eex:67 #: lib/explorer_web/templates/block_transaction/index.html.eex:51 #: lib/explorer_web/templates/pending_transaction/index.html.eex:79 #: lib/explorer_web/templates/transaction/index.html.eex:84 From cc5787137f78984e55309db9ccf9065252074171 Mon Sep 17 00:00:00 2001 From: Tim Mecklem Date: Tue, 31 Jul 2018 09:51:43 -0400 Subject: [PATCH 5/9] Address PR feedback Use view helper function for formatted_gas_used Remove pipe for single call Use pluralization for gettext with a count --- .../lib/explorer_web/templates/block/index.html.eex | 6 +++--- apps/explorer_web/lib/explorer_web/views/block_view.ex | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex index fcfde89d25..840b5f1da0 100644 --- a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex @@ -26,7 +26,7 @@
- <%= gettext("%{count} transactions", count: block.transactions |> Enum.count) %> + <%= ngettext("%{count} transaction", "%{count} transactions", Enum.count(block.transactions)) %> <%= Cldr.Unit.new(:byte, block.size) |> Cldr.Unit.to_string! %> @@ -46,8 +46,8 @@
- <%= block.gas_used |> Cldr.Number.to_string! %> - (<%= (block.gas_used / block.gas_limit) |> Cldr.Number.to_string!(format: "#.#%") %>) + <%= formatted_gas_used(block.gas_used) %> + (<%= formatted_gas_used(block.gas_used / block.gas_limit, format: "#.#%") %>) <%= gettext "Gas Used" %>
diff --git a/apps/explorer_web/lib/explorer_web/views/block_view.ex b/apps/explorer_web/lib/explorer_web/views/block_view.ex index 73d0bfc47a..8fa7cd9160 100644 --- a/apps/explorer_web/lib/explorer_web/views/block_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/block_view.ex @@ -20,6 +20,10 @@ defmodule ExplorerWeb.BlockView do "#{average} #{unit_text}" end + def formatted_gas_used(gas, format \\ []) do + Cldr.Number.to_string!(gas, format) + end + def formatted_timestamp(%Block{timestamp: timestamp}) do Timex.format!(timestamp, "%b-%d-%Y %H:%M:%S %p %Z", :strftime) end From b79e6746bc689fbb525eeb8e3ca799a156e408dc Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 31 Jul 2018 10:32:55 -0400 Subject: [PATCH 6/9] Updated with gas format for progress bar --- .../lib/explorer_web/templates/block/index.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex index 840b5f1da0..f61edd3af0 100644 --- a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex @@ -51,7 +51,7 @@ <%= gettext "Gas Used" %>
-
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"> +
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
From eaf95c26aa6b976edf999e7839c022d236a8571c Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 31 Jul 2018 10:35:02 -0400 Subject: [PATCH 7/9] I broke it but I fixed it everything is a ok! --- .../lib/explorer_web/templates/block/index.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex index f61edd3af0..1ceab15038 100644 --- a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex @@ -51,7 +51,7 @@ <%= gettext "Gas Used" %>
-
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"> +
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
From 3f6d0fe7bda8fdde0f5acf41852fb151a7c9b176 Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 31 Jul 2018 10:41:52 -0400 Subject: [PATCH 8/9] Updated the format to include gas limit --- .../lib/explorer_web/templates/block/index.html.eex | 8 ++++---- apps/explorer_web/lib/explorer_web/views/block_view.ex | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex index 1ceab15038..54b43bec24 100644 --- a/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/block/index.html.eex @@ -46,17 +46,17 @@
- <%= formatted_gas_used(block.gas_used) %> - (<%= formatted_gas_used(block.gas_used / block.gas_limit, format: "#.#%") %>) + <%= formatted_gas(block.gas_used) %> + (<%= formatted_gas(block.gas_used / block.gas_limit, format: "#.#%") %>) <%= gettext "Gas Used" %>
-
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"> +
;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
- <%= block.gas_limit |> Cldr.Number.to_string! %> <%= gettext "Gas Limit" %> + <%= formatted_gas(block.gas_limit) %> <%= gettext "Gas Limit" %>
diff --git a/apps/explorer_web/lib/explorer_web/views/block_view.ex b/apps/explorer_web/lib/explorer_web/views/block_view.ex index 8fa7cd9160..a62f805ab5 100644 --- a/apps/explorer_web/lib/explorer_web/views/block_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/block_view.ex @@ -20,7 +20,7 @@ defmodule ExplorerWeb.BlockView do "#{average} #{unit_text}" end - def formatted_gas_used(gas, format \\ []) do + def formatted_gas(gas, format \\ []) do Cldr.Number.to_string!(gas, format) end From 572931aa5ec08eee4f960b0ca0efce433c5d492e Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 31 Jul 2018 10:52:17 -0400 Subject: [PATCH 9/9] Internationalization --- apps/explorer_web/priv/gettext/default.pot | 7 +++++++ apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/apps/explorer_web/priv/gettext/default.pot b/apps/explorer_web/priv/gettext/default.pot index 4a6849c445..3e3e1c79d2 100644 --- a/apps/explorer_web/priv/gettext/default.pot +++ b/apps/explorer_web/priv/gettext/default.pot @@ -720,3 +720,10 @@ msgstr "" #: lib/explorer_web/templates/address_transaction/_transaction.html.eex:61 msgid "Transfers" msgstr "" + +#, elixir-format +#: lib/explorer_web/templates/block/index.html.eex:29 +msgid "%{count} transaction" +msgid_plural "%{count} transactions" +msgstr[0] "" +msgstr[1] "" diff --git a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po index 00937ceec6..b9e457d98c 100644 --- a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po @@ -732,3 +732,10 @@ msgstr "" #: lib/explorer_web/templates/address_transaction/_transaction.html.eex:61 msgid "Transfers" msgstr "" + +#, elixir-format +#: lib/explorer_web/templates/block/index.html.eex:29 +msgid "%{count} transaction" +msgid_plural "%{count} transactions" +msgstr[0] "" +msgstr[1] ""