From b06d81d891662d1ab83335ec3f865356d4724b42 Mon Sep 17 00:00:00 2001 From: William Sanches Date: Thu, 27 Dec 2018 09:17:17 -0200 Subject: [PATCH] Gettext --- apps/block_scout_web/priv/gettext/default.pot | 60 ++++++++++--------- .../priv/gettext/en/LC_MESSAGES/default.po | 60 ++++++++++--------- 2 files changed, 66 insertions(+), 54 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 091d8209ba..b297155c08 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -49,7 +49,7 @@ msgid "%{subnetwork} Explorer - BlockScout" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:64 +#: lib/block_scout_web/views/transaction_view.ex:67 msgid "(Awaiting internal transactions for status)" msgstr "" @@ -99,7 +99,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:16 #: lib/block_scout_web/templates/transaction_log/index.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:92 +#: lib/block_scout_web/views/address_view.ex:97 msgid "Address" msgstr "" @@ -165,7 +165,7 @@ msgid "Block Number" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:17 +#: lib/block_scout_web/views/transaction_view.ex:18 msgid "Block Pending" msgstr "" @@ -192,7 +192,7 @@ msgstr "" #: lib/block_scout_web/templates/address/overview.html.eex:44 #: lib/block_scout_web/templates/address_validation/index.html.eex:30 #: lib/block_scout_web/templates/address_validation/index.html.eex:57 -#: lib/block_scout_web/views/address_view.ex:253 +#: lib/block_scout_web/views/address_view.ex:258 msgid "Blocks Validated" msgstr "" @@ -224,7 +224,7 @@ msgstr "" #: lib/block_scout_web/templates/address_validation/index.html.eex:39 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:119 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 -#: lib/block_scout_web/views/address_view.ex:250 +#: lib/block_scout_web/views/address_view.ex:255 msgid "Code" msgstr "" @@ -268,24 +268,24 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:12 -#: lib/block_scout_web/views/address_view.ex:90 +#: lib/block_scout_web/views/address_view.ex:95 msgid "Contract Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:34 -#: lib/block_scout_web/views/address_view.ex:68 +#: lib/block_scout_web/views/address_view.ex:35 +#: lib/block_scout_web/views/address_view.ex:69 msgid "Contract Address Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:141 +#: lib/block_scout_web/views/transaction_view.ex:144 msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:140 +#: lib/block_scout_web/views/transaction_view.ex:143 msgid "Contract Creation" msgstr "" @@ -391,12 +391,12 @@ msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:68 +#: lib/block_scout_web/views/transaction_view.ex:71 msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:66 +#: lib/block_scout_web/views/transaction_view.ex:69 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" @@ -508,8 +508,8 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:43 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:10 -#: lib/block_scout_web/views/address_view.ex:249 -#: lib/block_scout_web/views/transaction_view.ex:190 +#: lib/block_scout_web/views/address_view.ex:254 +#: lib/block_scout_web/views/transaction_view.ex:197 msgid "Internal Transactions" msgstr "" @@ -535,19 +535,19 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:21 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:48 #: lib/block_scout_web/templates/transaction_log/index.html.eex:10 -#: lib/block_scout_web/views/transaction_view.ex:191 +#: lib/block_scout_web/views/transaction_view.ex:198 msgid "Logs" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:18 #: lib/block_scout_web/templates/layout/app.html.eex:49 -#: lib/block_scout_web/views/address_view.ex:112 +#: lib/block_scout_web/views/address_view.ex:117 msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:55 +#: lib/block_scout_web/views/transaction_view.ex:58 msgid "Max of" msgstr "" @@ -686,8 +686,8 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:44 #: lib/block_scout_web/templates/transaction/overview.html.eex:55 -#: lib/block_scout_web/views/transaction_view.ex:63 -#: lib/block_scout_web/views/transaction_view.ex:97 +#: lib/block_scout_web/views/transaction_view.ex:66 +#: lib/block_scout_web/views/transaction_view.ex:100 msgid "Pending" msgstr "" @@ -727,7 +727,7 @@ msgstr "" #: lib/block_scout_web/templates/address/_tabs.html.eex:122 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 -#: lib/block_scout_web/views/address_view.ex:251 +#: lib/block_scout_web/views/address_view.ex:256 #: lib/block_scout_web/views/tokens/overview_view.ex:37 msgid "Read Contract" msgstr "" @@ -791,7 +791,8 @@ msgid "Showing 250 addresses of" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:65 +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 +#: lib/block_scout_web/views/transaction_view.ex:68 msgid "Success" msgstr "" @@ -902,7 +903,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:139 +#: lib/block_scout_web/views/transaction_view.ex:142 msgid "Token Transfer" msgstr "" @@ -914,7 +915,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:36 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:10 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/transaction_view.ex:189 +#: lib/block_scout_web/views/transaction_view.ex:196 msgid "Token Transfers" msgstr "" @@ -925,7 +926,7 @@ msgstr "" #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:12 #: lib/block_scout_web/templates/address_validation/index.html.eex:11 #: lib/block_scout_web/templates/address_validation/index.html.eex:19 -#: lib/block_scout_web/views/address_view.ex:247 +#: lib/block_scout_web/views/address_view.ex:252 msgid "Tokens" msgstr "" @@ -955,7 +956,7 @@ msgid "Total transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:142 +#: lib/block_scout_web/views/transaction_view.ex:145 msgid "Transaction" msgstr "" @@ -986,7 +987,7 @@ msgstr "" #: lib/block_scout_web/templates/block_transaction/index.html.eex:35 #: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/layout/_topnav.html.eex:35 -#: lib/block_scout_web/views/address_view.ex:248 +#: lib/block_scout_web/views/address_view.ex:253 msgid "Transactions" msgstr "" @@ -1443,7 +1444,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:30 #: lib/block_scout_web/templates/address/_tabs.html.eex:96 -#: lib/block_scout_web/views/address_view.ex:252 +#: lib/block_scout_web/views/address_view.ex:257 msgid "Coin Balance History" msgstr "" @@ -1526,3 +1527,8 @@ msgstr "" #: lib/block_scout_web/views/block_view.ex:64 msgid "Uncle Reward" msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 +msgid "Emission Contract" +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 11660d9b74..0b09054c1b 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 @@ -49,7 +49,7 @@ msgid "%{subnetwork} Explorer - BlockScout" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:64 +#: lib/block_scout_web/views/transaction_view.ex:67 msgid "(Awaiting internal transactions for status)" msgstr "" @@ -99,7 +99,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:16 #: lib/block_scout_web/templates/transaction_log/index.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:92 +#: lib/block_scout_web/views/address_view.ex:97 msgid "Address" msgstr "" @@ -165,7 +165,7 @@ msgid "Block Number" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:17 +#: lib/block_scout_web/views/transaction_view.ex:18 msgid "Block Pending" msgstr "" @@ -192,7 +192,7 @@ msgstr "" #: lib/block_scout_web/templates/address/overview.html.eex:44 #: lib/block_scout_web/templates/address_validation/index.html.eex:30 #: lib/block_scout_web/templates/address_validation/index.html.eex:57 -#: lib/block_scout_web/views/address_view.ex:253 +#: lib/block_scout_web/views/address_view.ex:258 msgid "Blocks Validated" msgstr "" @@ -224,7 +224,7 @@ msgstr "" #: lib/block_scout_web/templates/address_validation/index.html.eex:39 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:119 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 -#: lib/block_scout_web/views/address_view.ex:250 +#: lib/block_scout_web/views/address_view.ex:255 msgid "Code" msgstr "" @@ -268,24 +268,24 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:12 -#: lib/block_scout_web/views/address_view.ex:90 +#: lib/block_scout_web/views/address_view.ex:95 msgid "Contract Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:34 -#: lib/block_scout_web/views/address_view.ex:68 +#: lib/block_scout_web/views/address_view.ex:35 +#: lib/block_scout_web/views/address_view.ex:69 msgid "Contract Address Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:141 +#: lib/block_scout_web/views/transaction_view.ex:144 msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:140 +#: lib/block_scout_web/views/transaction_view.ex:143 msgid "Contract Creation" msgstr "" @@ -391,12 +391,12 @@ msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:68 +#: lib/block_scout_web/views/transaction_view.ex:71 msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:66 +#: lib/block_scout_web/views/transaction_view.ex:69 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" @@ -508,8 +508,8 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:43 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:10 -#: lib/block_scout_web/views/address_view.ex:249 -#: lib/block_scout_web/views/transaction_view.ex:190 +#: lib/block_scout_web/views/address_view.ex:254 +#: lib/block_scout_web/views/transaction_view.ex:197 msgid "Internal Transactions" msgstr "" @@ -535,19 +535,19 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:21 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:48 #: lib/block_scout_web/templates/transaction_log/index.html.eex:10 -#: lib/block_scout_web/views/transaction_view.ex:191 +#: lib/block_scout_web/views/transaction_view.ex:198 msgid "Logs" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:18 #: lib/block_scout_web/templates/layout/app.html.eex:49 -#: lib/block_scout_web/views/address_view.ex:112 +#: lib/block_scout_web/views/address_view.ex:117 msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:55 +#: lib/block_scout_web/views/transaction_view.ex:58 msgid "Max of" msgstr "" @@ -686,8 +686,8 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:44 #: lib/block_scout_web/templates/transaction/overview.html.eex:55 -#: lib/block_scout_web/views/transaction_view.ex:63 -#: lib/block_scout_web/views/transaction_view.ex:97 +#: lib/block_scout_web/views/transaction_view.ex:66 +#: lib/block_scout_web/views/transaction_view.ex:100 msgid "Pending" msgstr "" @@ -727,7 +727,7 @@ msgstr "" #: lib/block_scout_web/templates/address/_tabs.html.eex:122 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 -#: lib/block_scout_web/views/address_view.ex:251 +#: lib/block_scout_web/views/address_view.ex:256 #: lib/block_scout_web/views/tokens/overview_view.ex:37 msgid "Read Contract" msgstr "" @@ -791,7 +791,8 @@ msgid "Showing 250 addresses of" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:65 +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 +#: lib/block_scout_web/views/transaction_view.ex:68 msgid "Success" msgstr "" @@ -902,7 +903,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:139 +#: lib/block_scout_web/views/transaction_view.ex:142 msgid "Token Transfer" msgstr "" @@ -914,7 +915,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:36 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:10 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/transaction_view.ex:189 +#: lib/block_scout_web/views/transaction_view.ex:196 msgid "Token Transfers" msgstr "" @@ -925,7 +926,7 @@ msgstr "" #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:12 #: lib/block_scout_web/templates/address_validation/index.html.eex:11 #: lib/block_scout_web/templates/address_validation/index.html.eex:19 -#: lib/block_scout_web/views/address_view.ex:247 +#: lib/block_scout_web/views/address_view.ex:252 msgid "Tokens" msgstr "" @@ -955,7 +956,7 @@ msgid "Total transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:142 +#: lib/block_scout_web/views/transaction_view.ex:145 msgid "Transaction" msgstr "" @@ -986,7 +987,7 @@ msgstr "" #: lib/block_scout_web/templates/block_transaction/index.html.eex:35 #: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/layout/_topnav.html.eex:35 -#: lib/block_scout_web/views/address_view.ex:248 +#: lib/block_scout_web/views/address_view.ex:253 msgid "Transactions" msgstr "" @@ -1443,7 +1444,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:30 #: lib/block_scout_web/templates/address/_tabs.html.eex:96 -#: lib/block_scout_web/views/address_view.ex:252 +#: lib/block_scout_web/views/address_view.ex:257 msgid "Coin Balance History" msgstr "" @@ -1526,3 +1527,8 @@ msgstr "" #: lib/block_scout_web/views/block_view.ex:64 msgid "Uncle Reward" msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 +msgid "Emission Contract" +msgstr ""