Contributor sees that a failed Transaction has Failed in its status

pull/42/head
Doc Ritezel 7 years ago
parent c8e4f6c9e6
commit 346e568945
  1. 4
      lib/explorer/forms/transaction_form.ex
  2. 135
      priv/gettext/default.pot
  3. 135
      priv/gettext/en/LC_MESSAGES/default.po
  4. 4
      test/explorer/forms/transaction_form_test.exs

@ -69,7 +69,7 @@ defmodule Explorer.TransactionForm do
def status(transaction, receipt) do def status(transaction, receipt) do
%{ %{
0 => %{true => :out_of_gas, false => :failure}, 0 => %{true => :out_of_gas, false => :failed},
1 => %{true => :success, false => :success} 1 => %{true => :success, false => :success}
} }
|> Map.get(receipt.status, %{true: :pending, false: :pending}) |> Map.get(receipt.status, %{true: :pending, false: :pending})
@ -79,7 +79,7 @@ defmodule Explorer.TransactionForm do
def format_status(status) do def format_status(status) do
%{ %{
out_of_gas: gettext("Out of Gas"), out_of_gas: gettext("Out of Gas"),
failure: gettext("Failure"), failed: gettext("Failed"),
success: gettext("Success"), success: gettext("Success"),
pending: gettext("Pending"), pending: gettext("Pending"),
} |> Map.fetch!(status) } |> Map.fetch!(status)

@ -1,14 +1,16 @@
#: lib/explorer_web/templates/block/index.html.eex:12 #: lib/explorer_web/templates/block/index.html.eex:12
#: lib/explorer_web/templates/block_transaction/index.html.eex:17
#: lib/explorer_web/templates/chain/show.html.eex:61 #: lib/explorer_web/templates/chain/show.html.eex:61
#: lib/explorer_web/templates/chain/show.html.eex:89 #: lib/explorer_web/templates/chain/show.html.eex:89
#: lib/explorer_web/templates/transaction/index.html.eex:17 #: lib/explorer_web/templates/transaction/index.html.eex:18
#: lib/explorer_web/templates/transaction/show.html.eex:34 #: lib/explorer_web/templates/transaction/show.html.eex:39
msgid "Age" msgid "Age"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block_transaction/index.html.eex:16
#: lib/explorer_web/templates/chain/show.html.eex:28 #: lib/explorer_web/templates/chain/show.html.eex:28
#: lib/explorer_web/templates/chain/show.html.eex:88 #: lib/explorer_web/templates/chain/show.html.eex:88
#: lib/explorer_web/templates/transaction/index.html.eex:16 #: lib/explorer_web/templates/transaction/index.html.eex:17
msgid "Block" msgid "Block"
msgstr "" msgstr ""
@ -22,15 +24,16 @@ msgid "Copyright %{year} POA"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:14 #: lib/explorer_web/templates/block/index.html.eex:14
#: lib/explorer_web/templates/block/show.html.eex:53 #: lib/explorer_web/templates/block/show.html.eex:54
#: lib/explorer_web/templates/chain/show.html.eex:63 #: lib/explorer_web/templates/chain/show.html.eex:63
msgid "Gas Used" msgid "Gas Used"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:25 #: lib/explorer_web/templates/block/show.html.eex:26
#: lib/explorer_web/templates/block_transaction/index.html.eex:15
#: lib/explorer_web/templates/chain/show.html.eex:87 #: lib/explorer_web/templates/chain/show.html.eex:87
#: lib/explorer_web/templates/pending_transaction/index.html.eex:15 #: lib/explorer_web/templates/pending_transaction/index.html.eex:16
#: lib/explorer_web/templates/transaction/index.html.eex:15 #: lib/explorer_web/templates/transaction/index.html.eex:16
msgid "Hash" msgid "Hash"
msgstr "" msgstr ""
@ -45,7 +48,9 @@ msgid "POA Network Explorer"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:13 #: lib/explorer_web/templates/block/index.html.eex:13
#: lib/explorer_web/templates/block/show.html.eex:21 #: lib/explorer_web/templates/block/show.html.eex:8
#: lib/explorer_web/templates/block/show.html.eex:22
#: lib/explorer_web/templates/block_transaction/index.html.eex:8
#: lib/explorer_web/templates/chain/show.html.eex:43 #: lib/explorer_web/templates/chain/show.html.eex:43
#: lib/explorer_web/templates/chain/show.html.eex:62 #: lib/explorer_web/templates/chain/show.html.eex:62
#: lib/explorer_web/templates/chain/show.html.eex:81 #: lib/explorer_web/templates/chain/show.html.eex:81
@ -55,57 +60,59 @@ msgstr ""
msgid "Transactions" msgid "Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block_transaction/index.html.eex:20
#: lib/explorer_web/templates/chain/show.html.eex:90 #: lib/explorer_web/templates/chain/show.html.eex:90
#: lib/explorer_web/templates/pending_transaction/index.html.eex:19 #: lib/explorer_web/templates/pending_transaction/index.html.eex:20
#: lib/explorer_web/templates/transaction/index.html.eex:20 #: lib/explorer_web/templates/transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/show.html.eex:38 #: lib/explorer_web/templates/transaction/show.html.eex:43
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:3 #: lib/explorer_web/templates/block/show.html.eex:3
#: lib/explorer_web/templates/block_transaction/index.html.eex:3
msgid "Block #%{number} Details" msgid "Block #%{number} Details"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:37 #: lib/explorer_web/templates/block/show.html.eex:38
msgid "Difficulty" msgid "Difficulty"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:15 #: lib/explorer_web/templates/block/index.html.eex:15
#: lib/explorer_web/templates/block/show.html.eex:57 #: lib/explorer_web/templates/block/show.html.eex:58
#: lib/explorer_web/templates/transaction/show.html.eex:74 #: lib/explorer_web/templates/transaction/show.html.eex:79
msgid "Gas Limit" msgid "Gas Limit"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:33 #: lib/explorer_web/templates/block/show.html.eex:34
msgid "Miner" msgid "Miner"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:61 #: lib/explorer_web/templates/block/show.html.eex:62
#: lib/explorer_web/templates/transaction/show.html.eex:86 #: lib/explorer_web/templates/transaction/show.html.eex:91
msgid "Nonce" msgid "Nonce"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:13 #: lib/explorer_web/templates/block/show.html.eex:14
msgid "Number" msgid "Number"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:29 #: lib/explorer_web/templates/block/show.html.eex:30
msgid "Parent Hash" msgid "Parent Hash"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:49 #: lib/explorer_web/templates/block/show.html.eex:50
msgid "Size" msgid "Size"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:17 #: lib/explorer_web/templates/block/show.html.eex:18
msgid "Timestamp" msgid "Timestamp"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:45 #: lib/explorer_web/templates/block/show.html.eex:46
msgid "Total Difficulty" msgid "Total Difficulty"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:23 #: lib/explorer_web/templates/transaction/show.html.eex:28
msgid "Block Number" msgid "Block Number"
msgstr "" msgstr ""
@ -113,7 +120,7 @@ msgstr ""
msgid "Transaction Details" msgid "Transaction Details"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:82 #: lib/explorer_web/templates/transaction/show.html.eex:87
msgid "Cumulative Gas Used" msgid "Cumulative Gas Used"
msgstr "" msgstr ""
@ -122,19 +129,19 @@ msgid "Gas"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:16 #: lib/explorer_web/templates/block/index.html.eex:16
#: lib/explorer_web/templates/transaction/show.html.eex:78 #: lib/explorer_web/templates/transaction/show.html.eex:83
msgid "Gas Price" msgid "Gas Price"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:90 #: lib/explorer_web/templates/transaction/show.html.eex:95
msgid "Input" msgid "Input"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:29 #: lib/explorer_web/templates/transaction/show.html.eex:34
msgid "%{confirmations} block confirmations" msgid "%{confirmations} block confirmations"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:22 #: lib/explorer_web/templates/block/show.html.eex:23
msgid "%{count} transactions in this block" msgid "%{count} transactions in this block"
msgstr "" msgstr ""
@ -143,25 +150,28 @@ msgstr ""
msgid "Address" msgid "Address"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:17 #: lib/explorer_web/templates/block_transaction/index.html.eex:18
#: lib/explorer_web/templates/transaction/index.html.eex:18 #: lib/explorer_web/templates/pending_transaction/index.html.eex:18
#: lib/explorer_web/templates/transaction/show.html.eex:42 #: lib/explorer_web/templates/transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/show.html.eex:47
msgid "From" msgid "From"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:7 #: lib/explorer_web/templates/block/show.html.eex:7
#: lib/explorer_web/templates/block_transaction/index.html.eex:7
#: lib/explorer_web/templates/transaction/show.html.eex:8 #: lib/explorer_web/templates/transaction/show.html.eex:8
#: lib/explorer_web/templates/transaction_log/index.html.eex:8 #: lib/explorer_web/templates/transaction_log/index.html.eex:8
msgid "Overview" msgid "Overview"
msgstr "" msgstr ""
#: lib/explorer/forms/transaction_form.ex:65 #: lib/explorer/forms/transaction_form.ex:83
msgid "Success" msgid "Success"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:18 #: lib/explorer_web/templates/block_transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/index.html.eex:19 #: lib/explorer_web/templates/pending_transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/show.html.eex:52 #: lib/explorer_web/templates/transaction/index.html.eex:20
#: lib/explorer_web/templates/transaction/show.html.eex:57
msgid "To" msgid "To"
msgstr "" msgstr ""
@ -178,10 +188,11 @@ msgid "Balance"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:11 #: lib/explorer_web/templates/address/show.html.eex:11
#: lib/explorer_web/templates/block_transaction/index.html.eex:46
#: lib/explorer_web/templates/chain/show.html.eex:103 #: lib/explorer_web/templates/chain/show.html.eex:103
#: lib/explorer_web/templates/pending_transaction/index.html.eex:43 #: lib/explorer_web/templates/pending_transaction/index.html.eex:49
#: lib/explorer_web/templates/transaction/index.html.eex:41 #: lib/explorer_web/templates/transaction/index.html.eex:47
#: lib/explorer_web/templates/transaction/show.html.eex:39 #: lib/explorer_web/templates/transaction/show.html.eex:44
msgid "POA" msgid "POA"
msgstr "" msgstr ""
@ -197,29 +208,26 @@ msgstr ""
msgid "Showing %{count} Transactions" msgid "Showing %{count} Transactions"
msgstr "" msgstr ""
#: lib/explorer/forms/transaction_form.ex:40 #: lib/explorer/forms/transaction_form.ex:42
#: lib/explorer/forms/transaction_form.ex:44 #: lib/explorer/forms/transaction_form.ex:46
#: lib/explorer/forms/transaction_form.ex:48 #: lib/explorer/forms/transaction_form.ex:50
#: lib/explorer/forms/transaction_form.ex:67 #: lib/explorer/forms/transaction_form.ex:54
#: lib/explorer/forms/transaction_form.ex:84
#: lib/explorer_web/templates/pending_transaction/index.html.eex:9 #: lib/explorer_web/templates/pending_transaction/index.html.eex:9
#: lib/explorer_web/templates/pending_transaction/index.html.eex:33 #: lib/explorer_web/templates/pending_transaction/index.html.eex:39
#: lib/explorer_web/templates/pending_transaction/index.html.eex:40 #: lib/explorer_web/templates/pending_transaction/index.html.eex:46
#: lib/explorer_web/templates/transaction/index.html.eex:9 #: lib/explorer_web/templates/transaction/index.html.eex:9
#: lib/explorer_web/templates/transaction/show.html.eex:47 #: lib/explorer_web/templates/transaction/show.html.eex:52
#: lib/explorer_web/templates/transaction/show.html.eex:57 #: lib/explorer_web/templates/transaction/show.html.eex:62
msgid "Pending" msgid "Pending"
msgstr "" msgstr ""
#: lib/explorer/forms/transaction_form.ex:65 #: lib/explorer_web/templates/transaction/show.html.eex:71
msgid "Failure"
msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:66
msgid "First Seen" msgid "First Seen"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:16 #: lib/explorer_web/templates/pending_transaction/index.html.eex:17
#: lib/explorer_web/templates/transaction/show.html.eex:70 #: lib/explorer_web/templates/transaction/show.html.eex:75
msgid "Last Seen" msgid "Last Seen"
msgstr "" msgstr ""
@ -268,7 +276,24 @@ msgstr ""
msgid "TPM" msgid "TPM"
msgstr "" msgstr ""
#, elixir-format #: lib/explorer_web/templates/pending_transaction/index.html.eex:54
#: lib/explorer_web/templates/transaction/index.html.eex:46 #: lib/explorer_web/templates/transaction/index.html.eex:52
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
#, elixir-format
#: lib/explorer/forms/transaction_form.ex:82
msgid "Failed"
msgstr ""
#, elixir-format
#: lib/explorer/forms/transaction_form.ex:81
msgid "Out of Gas"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/block_transaction/index.html.eex:14
#: lib/explorer_web/templates/pending_transaction/index.html.eex:15
#: lib/explorer_web/templates/transaction/index.html.eex:15
msgid "Status"
msgstr ""

@ -11,16 +11,18 @@ msgstr ""
"Language: en\n" "Language: en\n"
#: lib/explorer_web/templates/block/index.html.eex:12 #: lib/explorer_web/templates/block/index.html.eex:12
#: lib/explorer_web/templates/block_transaction/index.html.eex:17
#: lib/explorer_web/templates/chain/show.html.eex:61 #: lib/explorer_web/templates/chain/show.html.eex:61
#: lib/explorer_web/templates/chain/show.html.eex:89 #: lib/explorer_web/templates/chain/show.html.eex:89
#: lib/explorer_web/templates/transaction/index.html.eex:17 #: lib/explorer_web/templates/transaction/index.html.eex:18
#: lib/explorer_web/templates/transaction/show.html.eex:34 #: lib/explorer_web/templates/transaction/show.html.eex:39
msgid "Age" msgid "Age"
msgstr "Age" msgstr "Age"
#: lib/explorer_web/templates/block_transaction/index.html.eex:16
#: lib/explorer_web/templates/chain/show.html.eex:28 #: lib/explorer_web/templates/chain/show.html.eex:28
#: lib/explorer_web/templates/chain/show.html.eex:88 #: lib/explorer_web/templates/chain/show.html.eex:88
#: lib/explorer_web/templates/transaction/index.html.eex:16 #: lib/explorer_web/templates/transaction/index.html.eex:17
msgid "Block" msgid "Block"
msgstr "Block" msgstr "Block"
@ -34,15 +36,16 @@ msgid "Copyright %{year} POA"
msgstr "%{year} POA Network Ltd. All rights reserved" msgstr "%{year} POA Network Ltd. All rights reserved"
#: lib/explorer_web/templates/block/index.html.eex:14 #: lib/explorer_web/templates/block/index.html.eex:14
#: lib/explorer_web/templates/block/show.html.eex:53 #: lib/explorer_web/templates/block/show.html.eex:54
#: lib/explorer_web/templates/chain/show.html.eex:63 #: lib/explorer_web/templates/chain/show.html.eex:63
msgid "Gas Used" msgid "Gas Used"
msgstr "Gas Used" msgstr "Gas Used"
#: lib/explorer_web/templates/block/show.html.eex:25 #: lib/explorer_web/templates/block/show.html.eex:26
#: lib/explorer_web/templates/block_transaction/index.html.eex:15
#: lib/explorer_web/templates/chain/show.html.eex:87 #: lib/explorer_web/templates/chain/show.html.eex:87
#: lib/explorer_web/templates/pending_transaction/index.html.eex:15 #: lib/explorer_web/templates/pending_transaction/index.html.eex:16
#: lib/explorer_web/templates/transaction/index.html.eex:15 #: lib/explorer_web/templates/transaction/index.html.eex:16
msgid "Hash" msgid "Hash"
msgstr "Hash" msgstr "Hash"
@ -57,7 +60,9 @@ msgid "POA Network Explorer"
msgstr "POA Network Explorer" msgstr "POA Network Explorer"
#: lib/explorer_web/templates/block/index.html.eex:13 #: lib/explorer_web/templates/block/index.html.eex:13
#: lib/explorer_web/templates/block/show.html.eex:21 #: lib/explorer_web/templates/block/show.html.eex:8
#: lib/explorer_web/templates/block/show.html.eex:22
#: lib/explorer_web/templates/block_transaction/index.html.eex:8
#: lib/explorer_web/templates/chain/show.html.eex:43 #: lib/explorer_web/templates/chain/show.html.eex:43
#: lib/explorer_web/templates/chain/show.html.eex:62 #: lib/explorer_web/templates/chain/show.html.eex:62
#: lib/explorer_web/templates/chain/show.html.eex:81 #: lib/explorer_web/templates/chain/show.html.eex:81
@ -67,57 +72,59 @@ msgstr "POA Network Explorer"
msgid "Transactions" msgid "Transactions"
msgstr "Transactions" msgstr "Transactions"
#: lib/explorer_web/templates/block_transaction/index.html.eex:20
#: lib/explorer_web/templates/chain/show.html.eex:90 #: lib/explorer_web/templates/chain/show.html.eex:90
#: lib/explorer_web/templates/pending_transaction/index.html.eex:19 #: lib/explorer_web/templates/pending_transaction/index.html.eex:20
#: lib/explorer_web/templates/transaction/index.html.eex:20 #: lib/explorer_web/templates/transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/show.html.eex:38 #: lib/explorer_web/templates/transaction/show.html.eex:43
msgid "Value" msgid "Value"
msgstr "Value" msgstr "Value"
#: lib/explorer_web/templates/block/show.html.eex:3 #: lib/explorer_web/templates/block/show.html.eex:3
#: lib/explorer_web/templates/block_transaction/index.html.eex:3
msgid "Block #%{number} Details" msgid "Block #%{number} Details"
msgstr "Block #%{number} Details" msgstr "Block #%{number} Details"
#: lib/explorer_web/templates/block/show.html.eex:37 #: lib/explorer_web/templates/block/show.html.eex:38
msgid "Difficulty" msgid "Difficulty"
msgstr "Difficulty" msgstr "Difficulty"
#: lib/explorer_web/templates/block/index.html.eex:15 #: lib/explorer_web/templates/block/index.html.eex:15
#: lib/explorer_web/templates/block/show.html.eex:57 #: lib/explorer_web/templates/block/show.html.eex:58
#: lib/explorer_web/templates/transaction/show.html.eex:74 #: lib/explorer_web/templates/transaction/show.html.eex:79
msgid "Gas Limit" msgid "Gas Limit"
msgstr "Gas Limit" msgstr "Gas Limit"
#: lib/explorer_web/templates/block/show.html.eex:33 #: lib/explorer_web/templates/block/show.html.eex:34
msgid "Miner" msgid "Miner"
msgstr "Validator" msgstr "Validator"
#: lib/explorer_web/templates/block/show.html.eex:61 #: lib/explorer_web/templates/block/show.html.eex:62
#: lib/explorer_web/templates/transaction/show.html.eex:86 #: lib/explorer_web/templates/transaction/show.html.eex:91
msgid "Nonce" msgid "Nonce"
msgstr "Nonce" msgstr "Nonce"
#: lib/explorer_web/templates/block/show.html.eex:13 #: lib/explorer_web/templates/block/show.html.eex:14
msgid "Number" msgid "Number"
msgstr "Height" msgstr "Height"
#: lib/explorer_web/templates/block/show.html.eex:29 #: lib/explorer_web/templates/block/show.html.eex:30
msgid "Parent Hash" msgid "Parent Hash"
msgstr "Parent Hash" msgstr "Parent Hash"
#: lib/explorer_web/templates/block/show.html.eex:49 #: lib/explorer_web/templates/block/show.html.eex:50
msgid "Size" msgid "Size"
msgstr "Size" msgstr "Size"
#: lib/explorer_web/templates/block/show.html.eex:17 #: lib/explorer_web/templates/block/show.html.eex:18
msgid "Timestamp" msgid "Timestamp"
msgstr "Timestamp" msgstr "Timestamp"
#: lib/explorer_web/templates/block/show.html.eex:45 #: lib/explorer_web/templates/block/show.html.eex:46
msgid "Total Difficulty" msgid "Total Difficulty"
msgstr "Total Difficulty" msgstr "Total Difficulty"
#: lib/explorer_web/templates/transaction/show.html.eex:23 #: lib/explorer_web/templates/transaction/show.html.eex:28
msgid "Block Number" msgid "Block Number"
msgstr "Block Height" msgstr "Block Height"
@ -125,7 +132,7 @@ msgstr "Block Height"
msgid "Transaction Details" msgid "Transaction Details"
msgstr "Transaction Details" msgstr "Transaction Details"
#: lib/explorer_web/templates/transaction/show.html.eex:82 #: lib/explorer_web/templates/transaction/show.html.eex:87
msgid "Cumulative Gas Used" msgid "Cumulative Gas Used"
msgstr "Cumulative Gas Used" msgstr "Cumulative Gas Used"
@ -134,19 +141,19 @@ msgid "Gas"
msgstr "Gas" msgstr "Gas"
#: lib/explorer_web/templates/block/index.html.eex:16 #: lib/explorer_web/templates/block/index.html.eex:16
#: lib/explorer_web/templates/transaction/show.html.eex:78 #: lib/explorer_web/templates/transaction/show.html.eex:83
msgid "Gas Price" msgid "Gas Price"
msgstr "Gas Price" msgstr "Gas Price"
#: lib/explorer_web/templates/transaction/show.html.eex:90 #: lib/explorer_web/templates/transaction/show.html.eex:95
msgid "Input" msgid "Input"
msgstr "Input" msgstr "Input"
#: lib/explorer_web/templates/transaction/show.html.eex:29 #: lib/explorer_web/templates/transaction/show.html.eex:34
msgid "%{confirmations} block confirmations" msgid "%{confirmations} block confirmations"
msgstr "%{confirmations} block confirmations" msgstr "%{confirmations} block confirmations"
#: lib/explorer_web/templates/block/show.html.eex:22 #: lib/explorer_web/templates/block/show.html.eex:23
msgid "%{count} transactions in this block" msgid "%{count} transactions in this block"
msgstr "%{count} transactions in this block" msgstr "%{count} transactions in this block"
@ -155,25 +162,28 @@ msgstr "%{count} transactions in this block"
msgid "Address" msgid "Address"
msgstr "Address" msgstr "Address"
#: lib/explorer_web/templates/pending_transaction/index.html.eex:17 #: lib/explorer_web/templates/block_transaction/index.html.eex:18
#: lib/explorer_web/templates/transaction/index.html.eex:18 #: lib/explorer_web/templates/pending_transaction/index.html.eex:18
#: lib/explorer_web/templates/transaction/show.html.eex:42 #: lib/explorer_web/templates/transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/show.html.eex:47
msgid "From" msgid "From"
msgstr "From" msgstr "From"
#: lib/explorer_web/templates/block/show.html.eex:7 #: lib/explorer_web/templates/block/show.html.eex:7
#: lib/explorer_web/templates/block_transaction/index.html.eex:7
#: lib/explorer_web/templates/transaction/show.html.eex:8 #: lib/explorer_web/templates/transaction/show.html.eex:8
#: lib/explorer_web/templates/transaction_log/index.html.eex:8 #: lib/explorer_web/templates/transaction_log/index.html.eex:8
msgid "Overview" msgid "Overview"
msgstr "Overview" msgstr "Overview"
#: lib/explorer/forms/transaction_form.ex:65 #: lib/explorer/forms/transaction_form.ex:83
msgid "Success" msgid "Success"
msgstr "Success" msgstr "Success"
#: lib/explorer_web/templates/pending_transaction/index.html.eex:18 #: lib/explorer_web/templates/block_transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/index.html.eex:19 #: lib/explorer_web/templates/pending_transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/show.html.eex:52 #: lib/explorer_web/templates/transaction/index.html.eex:20
#: lib/explorer_web/templates/transaction/show.html.eex:57
msgid "To" msgid "To"
msgstr "To" msgstr "To"
@ -190,10 +200,11 @@ msgid "Balance"
msgstr "Balance" msgstr "Balance"
#: lib/explorer_web/templates/address/show.html.eex:11 #: lib/explorer_web/templates/address/show.html.eex:11
#: lib/explorer_web/templates/block_transaction/index.html.eex:46
#: lib/explorer_web/templates/chain/show.html.eex:103 #: lib/explorer_web/templates/chain/show.html.eex:103
#: lib/explorer_web/templates/pending_transaction/index.html.eex:43 #: lib/explorer_web/templates/pending_transaction/index.html.eex:49
#: lib/explorer_web/templates/transaction/index.html.eex:41 #: lib/explorer_web/templates/transaction/index.html.eex:47
#: lib/explorer_web/templates/transaction/show.html.eex:39 #: lib/explorer_web/templates/transaction/show.html.eex:44
msgid "POA" msgid "POA"
msgstr "POA" msgstr "POA"
@ -209,29 +220,26 @@ msgstr "Showing #%{start_block} to #%{end_block}"
msgid "Showing %{count} Transactions" msgid "Showing %{count} Transactions"
msgstr "Showing %{count} Transactions" msgstr "Showing %{count} Transactions"
#: lib/explorer/forms/transaction_form.ex:40 #: lib/explorer/forms/transaction_form.ex:42
#: lib/explorer/forms/transaction_form.ex:44 #: lib/explorer/forms/transaction_form.ex:46
#: lib/explorer/forms/transaction_form.ex:48 #: lib/explorer/forms/transaction_form.ex:50
#: lib/explorer/forms/transaction_form.ex:67 #: lib/explorer/forms/transaction_form.ex:54
#: lib/explorer/forms/transaction_form.ex:84
#: lib/explorer_web/templates/pending_transaction/index.html.eex:9 #: lib/explorer_web/templates/pending_transaction/index.html.eex:9
#: lib/explorer_web/templates/pending_transaction/index.html.eex:33 #: lib/explorer_web/templates/pending_transaction/index.html.eex:39
#: lib/explorer_web/templates/pending_transaction/index.html.eex:40 #: lib/explorer_web/templates/pending_transaction/index.html.eex:46
#: lib/explorer_web/templates/transaction/index.html.eex:9 #: lib/explorer_web/templates/transaction/index.html.eex:9
#: lib/explorer_web/templates/transaction/show.html.eex:47 #: lib/explorer_web/templates/transaction/show.html.eex:52
#: lib/explorer_web/templates/transaction/show.html.eex:57 #: lib/explorer_web/templates/transaction/show.html.eex:62
msgid "Pending" msgid "Pending"
msgstr "Pending" msgstr "Pending"
#: lib/explorer/forms/transaction_form.ex:65 #: lib/explorer_web/templates/transaction/show.html.eex:71
msgid "Failure"
msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:66
msgid "First Seen" msgid "First Seen"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:16 #: lib/explorer_web/templates/pending_transaction/index.html.eex:17
#: lib/explorer_web/templates/transaction/show.html.eex:70 #: lib/explorer_web/templates/transaction/show.html.eex:75
msgid "Last Seen" msgid "Last Seen"
msgstr "" msgstr ""
@ -280,7 +288,24 @@ msgstr ""
msgid "TPM" msgid "TPM"
msgstr "" msgstr ""
#, elixir-format #: lib/explorer_web/templates/pending_transaction/index.html.eex:54
#: lib/explorer_web/templates/transaction/index.html.eex:46 #: lib/explorer_web/templates/transaction/index.html.eex:52
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
#, elixir-format
#: lib/explorer/forms/transaction_form.ex:82
msgid "Failed"
msgstr ""
#, elixir-format
#: lib/explorer/forms/transaction_form.ex:81
msgid "Out of Gas"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/block_transaction/index.html.eex:14
#: lib/explorer_web/templates/pending_transaction/index.html.eex:15
#: lib/explorer_web/templates/transaction/index.html.eex:15
msgid "Status"
msgstr ""

@ -68,8 +68,8 @@ defmodule Explorer.TransactionFormTest do
to_address_hash: "0xsleepypuppy", to_address_hash: "0xsleepypuppy",
from_address_hash: "0xilovefrogs", from_address_hash: "0xilovefrogs",
confirmations: 23, confirmations: 23,
status: :failure, status: :failed,
formatted_status: "Failure", formatted_status: "Failed",
first_seen: "48 years ago", first_seen: "48 years ago",
last_seen: "38 years ago", last_seen: "38 years ago",
}) })

Loading…
Cancel
Save