Internationalization

pull/479/head
Ryan Arthur 6 years ago committed by katibest
parent ed86f4d0c0
commit 62bd116a81
  1. 2
      apps/explorer_web/lib/explorer_web/templates/chain/_block.html.eex
  2. 13
      apps/explorer_web/priv/gettext/default.pot
  3. 13
      apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po

@ -6,7 +6,7 @@
<span class="ml-2" data-from-now="<%= @block.timestamp %>"> </span>
</div>
<span class="text-truncate">
Validated by
<%= gettext "Miner" %>
<%= link to: address_path(ExplorerWeb.Endpoint, :show, @locale, @block.miner),
"data-toggle": "tooltip",
"data-placement": "top",

@ -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

@ -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

Loading…
Cancel
Save