From ba69d2c2264cf8e78d2115d00bf00334347358bb Mon Sep 17 00:00:00 2001 From: jimmay5469 Date: Tue, 4 Sep 2018 09:16:58 -0400 Subject: [PATCH] i18n --- apps/block_scout_web/priv/gettext/default.pot | 75 ++++++++++--------- .../priv/gettext/en/LC_MESSAGES/default.po | 75 ++++++++++--------- 2 files changed, 80 insertions(+), 70 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 41d005fdf9..6128e19a8e 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -6,7 +6,7 @@ msgstr "" msgid "Block" msgstr "" -#: lib/block_scout_web/templates/chain/show.html.eex:58 +#: lib/block_scout_web/templates/chain/show.html.eex:56 #: lib/block_scout_web/templates/layout/_topnav.html.eex:13 msgid "Blocks" msgstr "" @@ -43,14 +43,14 @@ msgstr "" #: lib/block_scout_web/templates/block_transaction/index.html.eex:13 #: lib/block_scout_web/templates/block_transaction/index.html.eex:26 #: lib/block_scout_web/templates/block_transaction/index.html.eex:36 -#: lib/block_scout_web/templates/chain/show.html.eex:75 +#: lib/block_scout_web/templates/chain/show.html.eex:73 #: lib/block_scout_web/templates/layout/_topnav.html.eex:18 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:46 #: lib/block_scout_web/templates/transaction/index.html.eex:56 msgid "Transactions" msgstr "" -#: lib/block_scout_web/templates/transaction/overview.html.eex:82 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 msgid "Value" msgstr "" @@ -110,7 +110,7 @@ msgstr "" msgid "Cumulative Gas Used" msgstr "" -#: lib/block_scout_web/templates/transaction/overview.html.eex:93 +#: lib/block_scout_web/templates/transaction/overview.html.eex:95 msgid "Gas" msgstr "" @@ -118,7 +118,7 @@ msgstr "" msgid "Gas Price" msgstr "" -#: lib/block_scout_web/templates/transaction/overview.html.eex:63 +#: lib/block_scout_web/templates/transaction/overview.html.eex:65 msgid "Input" msgstr "" @@ -130,7 +130,7 @@ msgstr "" msgid "%{count} transactions in this block" msgstr "" -#: lib/block_scout_web/views/address_view.ex:15 +#: lib/block_scout_web/views/address_view.ex:12 msgid "Address" msgstr "" @@ -146,7 +146,7 @@ msgstr "" msgid "Overview" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:79 +#: lib/block_scout_web/views/transaction_view.ex:81 msgid "Success" msgstr "" @@ -198,8 +198,8 @@ msgstr "" #: lib/block_scout_web/templates/transaction/index.html.eex:16 #: lib/block_scout_web/templates/transaction/index.html.eex:35 #: lib/block_scout_web/templates/transaction/overview.html.eex:40 -#: lib/block_scout_web/views/transaction_view.ex:44 -#: lib/block_scout_web/views/transaction_view.ex:78 +#: lib/block_scout_web/views/transaction_view.ex:46 +#: lib/block_scout_web/views/transaction_view.ex:80 msgid "Pending" msgstr "" @@ -267,11 +267,11 @@ msgstr "" msgid "Next Page" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:76 +#: lib/block_scout_web/views/transaction_view.ex:78 msgid "Failed" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:77 +#: lib/block_scout_web/views/transaction_view.ex:79 msgid "Out of Gas" msgstr "" @@ -291,7 +291,7 @@ msgstr "" #: lib/block_scout_web/templates/address_internal_transaction/_internal_transaction.html.eex:22 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:68 #: lib/block_scout_web/templates/transaction/_tile.html.eex:24 -#: lib/block_scout_web/templates/transaction/overview.html.eex:82 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 #: lib/block_scout_web/templates/transaction_internal_transaction/_internal_transaction.html.eex:16 #: lib/block_scout_web/views/wei_helpers.ex:72 msgid "Ether" @@ -391,11 +391,13 @@ msgstr "" msgid "Avg Block Time" msgstr "" -#: lib/block_scout_web/templates/chain/show.html.eex:18 +#: lib/block_scout_web/templates/chain/show.html.eex:17 +#: lib/block_scout_web/templates/layout/app.html.eex:24 msgid "Market Cap" msgstr "" #: lib/block_scout_web/templates/chain/show.html.eex:10 +#: lib/block_scout_web/templates/layout/app.html.eex:25 msgid "Price" msgstr "" @@ -439,7 +441,7 @@ msgstr "" msgid "Total Gas Used" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:124 +#: lib/block_scout_web/views/transaction_view.ex:120 msgid "Transaction" msgstr "" @@ -462,7 +464,7 @@ msgstr "" msgid "Contract" msgstr "" -#: lib/block_scout_web/views/address_view.ex:13 +#: lib/block_scout_web/views/address_view.ex:10 msgid "Contract Address" msgstr "" @@ -524,7 +526,7 @@ msgid "Newer" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:122 +#: lib/block_scout_web/views/transaction_view.ex:118 msgid "Contract Creation" msgstr "" @@ -554,27 +556,27 @@ msgid "Twitter" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:57 +#: lib/block_scout_web/templates/chain/show.html.eex:55 msgid "View All Blocks →" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:74 +#: lib/block_scout_web/templates/chain/show.html.eex:72 msgid "View All Transactions →" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:28 +#: lib/block_scout_web/templates/chain/show.html.eex:26 msgid "Average block time" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:36 +#: lib/block_scout_web/templates/chain/show.html.eex:34 msgid "Total transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:44 +#: lib/block_scout_web/templates/chain/show.html.eex:42 msgid "Wallet addresses" msgstr "" @@ -621,7 +623,7 @@ msgid "Contract Address Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:123 +#: lib/block_scout_web/views/transaction_view.ex:119 msgid "Contract Call" msgstr "" @@ -698,7 +700,7 @@ msgid "Block Confirmations" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:105 +#: lib/block_scout_web/templates/transaction/overview.html.eex:107 msgid "Limit" msgstr "" @@ -714,14 +716,14 @@ msgid "There are no logs for this transaction." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:98 +#: lib/block_scout_web/templates/transaction/overview.html.eex:100 msgid "Used" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/token/_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:121 +#: lib/block_scout_web/views/transaction_view.ex:117 msgid "Token Transfer" msgstr "" @@ -739,7 +741,7 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:84 -#: lib/block_scout_web/templates/chain/show.html.eex:71 +#: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/transaction/index.html.eex:48 msgid "More transactions have come in" msgstr "" @@ -821,22 +823,15 @@ msgstr[0] "" msgstr[1] "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:16 -#: lib/block_scout_web/templates/address/_token_holdings.html.eex:16 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:19 msgid "Error tryng to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:12 -#: lib/block_scout_web/templates/address/_token_holdings.html.eex:12 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 msgid "Fetching tokens..." msgstr "" -#, elixir-format -#: lib/block_scout_web/templates/address/_token_holdings.html.eex:3 -msgid "Token Holdings" -msgstr "" - #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 @@ -995,3 +990,13 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tile.html.eex:68 msgid "View Less Transfers" msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:23 +msgid "Less than" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:42 +msgid "Max of" +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 3f126e9e85..5d54f328b0 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 @@ -18,7 +18,7 @@ msgstr "Age" msgid "Block" msgstr "Block" -#: lib/block_scout_web/templates/chain/show.html.eex:58 +#: lib/block_scout_web/templates/chain/show.html.eex:56 #: lib/block_scout_web/templates/layout/_topnav.html.eex:13 msgid "Blocks" msgstr "Blocks" @@ -55,14 +55,14 @@ msgstr "BlockScout" #: lib/block_scout_web/templates/block_transaction/index.html.eex:13 #: lib/block_scout_web/templates/block_transaction/index.html.eex:26 #: lib/block_scout_web/templates/block_transaction/index.html.eex:36 -#: lib/block_scout_web/templates/chain/show.html.eex:75 +#: lib/block_scout_web/templates/chain/show.html.eex:73 #: lib/block_scout_web/templates/layout/_topnav.html.eex:18 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:46 #: lib/block_scout_web/templates/transaction/index.html.eex:56 msgid "Transactions" msgstr "Transactions" -#: lib/block_scout_web/templates/transaction/overview.html.eex:82 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 msgid "Value" msgstr "Value" @@ -122,7 +122,7 @@ msgstr "Transaction Details" msgid "Cumulative Gas Used" msgstr "Cumulative Gas Used" -#: lib/block_scout_web/templates/transaction/overview.html.eex:93 +#: lib/block_scout_web/templates/transaction/overview.html.eex:95 msgid "Gas" msgstr "Gas" @@ -130,7 +130,7 @@ msgstr "Gas" msgid "Gas Price" msgstr "Gas Price" -#: lib/block_scout_web/templates/transaction/overview.html.eex:63 +#: lib/block_scout_web/templates/transaction/overview.html.eex:65 msgid "Input" msgstr "Input" @@ -142,7 +142,7 @@ msgstr "%{confirmations} block confirmations" msgid "%{count} transactions in this block" msgstr "%{count} transactions in this block" -#: lib/block_scout_web/views/address_view.ex:15 +#: lib/block_scout_web/views/address_view.ex:12 msgid "Address" msgstr "Address" @@ -158,7 +158,7 @@ msgstr "From" msgid "Overview" msgstr "Overview" -#: lib/block_scout_web/views/transaction_view.ex:79 +#: lib/block_scout_web/views/transaction_view.ex:81 msgid "Success" msgstr "Success" @@ -210,8 +210,8 @@ msgstr "Showing %{count} Transactions" #: lib/block_scout_web/templates/transaction/index.html.eex:16 #: lib/block_scout_web/templates/transaction/index.html.eex:35 #: lib/block_scout_web/templates/transaction/overview.html.eex:40 -#: lib/block_scout_web/views/transaction_view.ex:44 -#: lib/block_scout_web/views/transaction_view.ex:78 +#: lib/block_scout_web/views/transaction_view.ex:46 +#: lib/block_scout_web/views/transaction_view.ex:80 msgid "Pending" msgstr "Pending" @@ -279,11 +279,11 @@ msgstr "" msgid "Next Page" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:76 +#: lib/block_scout_web/views/transaction_view.ex:78 msgid "Failed" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:77 +#: lib/block_scout_web/views/transaction_view.ex:79 msgid "Out of Gas" msgstr "" @@ -303,7 +303,7 @@ msgstr "" #: lib/block_scout_web/templates/address_internal_transaction/_internal_transaction.html.eex:22 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:68 #: lib/block_scout_web/templates/transaction/_tile.html.eex:24 -#: lib/block_scout_web/templates/transaction/overview.html.eex:82 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 #: lib/block_scout_web/templates/transaction_internal_transaction/_internal_transaction.html.eex:16 #: lib/block_scout_web/views/wei_helpers.ex:72 msgid "Ether" @@ -403,11 +403,13 @@ msgstr "" msgid "Avg Block Time" msgstr "" -#: lib/block_scout_web/templates/chain/show.html.eex:18 +#: lib/block_scout_web/templates/chain/show.html.eex:17 +#: lib/block_scout_web/templates/layout/app.html.eex:24 msgid "Market Cap" msgstr "" #: lib/block_scout_web/templates/chain/show.html.eex:10 +#: lib/block_scout_web/templates/layout/app.html.eex:25 msgid "Price" msgstr "" @@ -451,7 +453,7 @@ msgstr "" msgid "Total Gas Used" msgstr "" -#: lib/block_scout_web/views/transaction_view.ex:124 +#: lib/block_scout_web/views/transaction_view.ex:120 msgid "Transaction" msgstr "" @@ -474,7 +476,7 @@ msgstr "" msgid "Contract" msgstr "" -#: lib/block_scout_web/views/address_view.ex:13 +#: lib/block_scout_web/views/address_view.ex:10 msgid "Contract Address" msgstr "" @@ -536,7 +538,7 @@ msgid "Newer" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:122 +#: lib/block_scout_web/views/transaction_view.ex:118 msgid "Contract Creation" msgstr "" @@ -566,27 +568,27 @@ msgid "Twitter" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:57 +#: lib/block_scout_web/templates/chain/show.html.eex:55 msgid "View All Blocks →" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:74 +#: lib/block_scout_web/templates/chain/show.html.eex:72 msgid "View All Transactions →" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:28 +#: lib/block_scout_web/templates/chain/show.html.eex:26 msgid "Average block time" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:36 +#: lib/block_scout_web/templates/chain/show.html.eex:34 msgid "Total transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:44 +#: lib/block_scout_web/templates/chain/show.html.eex:42 msgid "Wallet addresses" msgstr "" @@ -633,7 +635,7 @@ msgid "Contract Address Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:123 +#: lib/block_scout_web/views/transaction_view.ex:119 msgid "Contract Call" msgstr "" @@ -710,7 +712,7 @@ msgid "Block Confirmations" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:105 +#: lib/block_scout_web/templates/transaction/overview.html.eex:107 msgid "Limit" msgstr "" @@ -726,14 +728,14 @@ msgid "There are no logs for this transaction." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:98 +#: lib/block_scout_web/templates/transaction/overview.html.eex:100 msgid "Used" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/token/_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:121 +#: lib/block_scout_web/views/transaction_view.ex:117 msgid "Token Transfer" msgstr "" @@ -751,7 +753,7 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:84 -#: lib/block_scout_web/templates/chain/show.html.eex:71 +#: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/transaction/index.html.eex:48 msgid "More transactions have come in" msgstr "" @@ -833,22 +835,15 @@ msgstr[0] "" msgstr[1] "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:16 -#: lib/block_scout_web/templates/address/_token_holdings.html.eex:16 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:19 msgid "Error tryng to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:12 -#: lib/block_scout_web/templates/address/_token_holdings.html.eex:12 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 msgid "Fetching tokens..." msgstr "" -#, elixir-format -#: lib/block_scout_web/templates/address/_token_holdings.html.eex:3 -msgid "Token Holdings" -msgstr "" - #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 @@ -1007,3 +1002,13 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tile.html.eex:68 msgid "View Less Transfers" msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:23 +msgid "Less than" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:42 +msgid "Max of" +msgstr ""