gettext fixes

pull/2010/head
Victor Baranov 6 years ago
parent 08c3dc1b75
commit 65f937ebf2
  1. 12
      apps/block_scout_web/lib/block_scout_web/templates/transaction/not_found.html.eex
  2. 33
      apps/block_scout_web/priv/gettext/default.pot
  3. 86
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -4,30 +4,30 @@
<img alt="Block Not Found" src="/images/errors-img/eth-tx-not-found.png" srcset="/images/errors-img/eth-tx-not-found@2x.png 2x"> <img alt="Block Not Found" src="/images/errors-img/eth-tx-not-found.png" srcset="/images/errors-img/eth-tx-not-found@2x.png 2x">
</div> </div>
<div class="tx-nf-content"> <div class="tx-nf-content">
<h1 class="card-title error-title">Sorry, We are unable to locate this transaction Hash</h1> <h1 class="card-title error-title"><%= gettext("Sorry, We are unable to locate this transaction Hash") %></h1>
<div class="tx-nf-blocks"> <div class="tx-nf-blocks">
<div class="tx-nf-blocks-row"> <div class="tx-nf-blocks-row">
<div class="tx-nf-block"> <div class="tx-nf-block">
<span class="tx-nf-number">1</span> <span class="tx-nf-number">1</span>
<p class="error-descr">If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page.</p> <p class="error-descr"><%= gettext("If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page.") %></p>
</div> </div>
<div class="tx-nf-block"> <div class="tx-nf-block">
<span class="tx-nf-number">2</span> <span class="tx-nf-number">2</span>
<p class="error-descr">It could still be in the TX Pool of a different node, waiting to be broadcasted.</p> <p class="error-descr"><%= gettext("It could still be in the TX Pool of a different node, waiting to be broadcasted.") %></p>
</div> </div>
</div> </div>
<div class="tx-nf-blocks-row"> <div class="tx-nf-blocks-row">
<div class="tx-nf-block"> <div class="tx-nf-block">
<span class="tx-nf-number">3</span> <span class="tx-nf-number">3</span>
<p class="error-descr">During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it.</p> <p class="error-descr"><%= gettext("During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it.") %></p>
</div> </div>
<div class="tx-nf-block"> <div class="tx-nf-block">
<span class="tx-nf-number">4</span> <span class="tx-nf-number">4</span>
<p class="error-descr">If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information.</p> <p class="error-descr"><%= gettext("If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information.") %></p>
</div> </div>
</div> </div>
</div> </div>
<a class="error-btn btn-line" href="/">Back Home</a> <a class="error-btn btn-line" href="/"><%= gettext("Back Home") %></a>
</div> </div>
</div> </div>
</section> </section>

@ -1708,6 +1708,9 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/block_transaction/404.html.eex:7 #: lib/block_scout_web/templates/block_transaction/404.html.eex:7
msgid "Block Details" msgid "Block Details"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:83 #: lib/block_scout_web/templates/address_contract/index.html.eex:83
msgid "Contract Byte Code" msgid "Contract Byte Code"
msgstr "" msgstr ""
@ -1736,3 +1739,33 @@ msgstr ""
#: lib/block_scout_web/templates/address_logs/index.html.eex:77 #: lib/block_scout_web/templates/address_logs/index.html.eex:77
msgid "There are no logs for this address." msgid "There are no logs for this address."
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:7
msgid "Sorry, We are unable to locate this transaction Hash"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:12
msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:30
msgid "Back Home"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:22
msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:26
msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:16
msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted."
msgstr ""

@ -307,13 +307,11 @@ msgid "Copy Address"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:10
#: lib/block_scout_web/templates/transaction/overview.html.eex:16 #: lib/block_scout_web/templates/transaction/overview.html.eex:16
msgid "Copy Transaction Hash" msgid "Copy Transaction Hash"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:14
#: lib/block_scout_web/templates/transaction/overview.html.eex:20 #: lib/block_scout_web/templates/transaction/overview.html.eex:20
msgid "Copy Txn Hash" msgid "Copy Txn Hash"
msgstr "" msgstr ""
@ -910,7 +908,6 @@ msgid "Transaction %{transaction}, %{subnetwork} %{transaction}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:22
#: lib/block_scout_web/templates/transaction/overview.html.eex:11 #: lib/block_scout_web/templates/transaction/overview.html.eex:11
msgid "Transaction Details" msgid "Transaction Details"
msgstr "" msgstr ""
@ -1164,11 +1161,6 @@ msgstr ""
msgid "Raw Input" msgid "Raw Input"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/block_transaction/404.html.eex:7
msgid "Block Details"
msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/views/block_transaction_view.ex:15 #: lib/block_scout_web/views/block_transaction_view.ex:15
msgid "Block not found, please try again later." msgid "Block not found, please try again later."
@ -1189,41 +1181,6 @@ msgstr ""
msgid "Invalid Transaction Hash" msgid "Invalid Transaction Hash"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:33
msgid "Once we have the transaction's data this page will refresh automatically"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:38
msgid "Some transactions may take a while longer to be indexed depending on the load on the network"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:34
msgid "The possible reasons for this transaction not being processed include the following:"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:29
msgid "The transaction %{bold_hash} was not processed yet"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:37
msgid "The transaction may be in the pool of a node that didn't broadcast it yet"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:39
msgid "The transaction still does not exist"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:36
msgid "The transaction was made a few seconds ago"
msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/invalid.html.eex:8 #: lib/block_scout_web/templates/transaction/invalid.html.eex:8
msgid "is not a valid transaction hash" msgid "is not a valid transaction hash"
@ -1748,12 +1705,17 @@ msgstr ""
msgid "of" msgid "of"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/block_scout_web/templates/block_transaction/404.html.eex:7
msgid "Block Details"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:83 #: lib/block_scout_web/templates/address_contract/index.html.eex:83
msgid "Contract Byte Code" msgid "Contract Byte Code"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:69 #: lib/block_scout_web/templates/address_contract/index.html.eex:69
msgid "Contract Creation Code" msgid "Contract Creation Code"
msgstr "" msgstr ""
@ -1763,7 +1725,7 @@ msgstr ""
msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified." msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified."
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:85 #: lib/block_scout_web/templates/address_contract/index.html.eex:85
msgid "Copy Contract Byte Code" msgid "Copy Contract Byte Code"
msgstr "" msgstr ""
@ -1773,7 +1735,37 @@ msgstr ""
msgid "Displaying the init data provided of the creating transaction." msgid "Displaying the init data provided of the creating transaction."
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/block_scout_web/templates/address_logs/index.html.eex:77 #: lib/block_scout_web/templates/address_logs/index.html.eex:77
msgid "There are no logs for this address." msgid "There are no logs for this address."
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:7
msgid "Sorry, We are unable to locate this transaction Hash"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:12
msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:30
msgid "Back Home"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:22
msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:26
msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:16
msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted."
msgstr ""

Loading…
Cancel
Save