From 61209134b65fade6f23de49d24a58ae83cf232d6 Mon Sep 17 00:00:00 2001 From: Stamates Date: Mon, 4 Jun 2018 10:51:38 -0400 Subject: [PATCH] Handle internationalization --- apps/explorer_web/priv/gettext/default.pot | 18 +++++++++++------- .../priv/gettext/en/LC_MESSAGES/default.po | 18 +++++++++++------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/apps/explorer_web/priv/gettext/default.pot b/apps/explorer_web/priv/gettext/default.pot index 3412f87e67..ff49581611 100644 --- a/apps/explorer_web/priv/gettext/default.pot +++ b/apps/explorer_web/priv/gettext/default.pot @@ -1,7 +1,7 @@ #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:81 #: lib/explorer_web/templates/address_transaction/index.html.eex:83 #: lib/explorer_web/templates/block/index.html.eex:18 -#: lib/explorer_web/templates/block_transaction/index.html.eex:140 +#: lib/explorer_web/templates/block_transaction/index.html.eex:141 #: lib/explorer_web/templates/chain/_blocks.html.eex:8 #: lib/explorer_web/templates/chain/_transactions.html.eex:11 #: lib/explorer_web/templates/transaction/index.html.eex:36 @@ -11,7 +11,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:80 #: lib/explorer_web/templates/address_transaction/index.html.eex:82 -#: lib/explorer_web/templates/block_transaction/index.html.eex:139 +#: lib/explorer_web/templates/block_transaction/index.html.eex:140 #: lib/explorer_web/templates/chain/show.html.eex:7 #: lib/explorer_web/templates/transaction/index.html.eex:35 msgid "Block" @@ -35,7 +35,7 @@ msgstr "" #: lib/explorer_web/templates/address_transaction/index.html.eex:81 #: lib/explorer_web/templates/block_transaction/index.html.eex:30 -#: lib/explorer_web/templates/block_transaction/index.html.eex:138 +#: lib/explorer_web/templates/block_transaction/index.html.eex:139 #: lib/explorer_web/templates/pending_transaction/index.html.eex:35 #: lib/explorer_web/templates/transaction/index.html.eex:34 msgid "Hash" @@ -63,7 +63,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:84 #: lib/explorer_web/templates/address_transaction/index.html.eex:87 -#: lib/explorer_web/templates/block_transaction/index.html.eex:144 +#: lib/explorer_web/templates/block_transaction/index.html.eex:145 #: lib/explorer_web/templates/chain/_transactions.html.eex:10 #: lib/explorer_web/templates/pending_transaction/index.html.eex:39 #: lib/explorer_web/templates/transaction/index.html.eex:39 @@ -161,7 +161,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:82 #: lib/explorer_web/templates/address_transaction/index.html.eex:61 #: lib/explorer_web/templates/address_transaction/index.html.eex:84 -#: lib/explorer_web/templates/block_transaction/index.html.eex:141 +#: lib/explorer_web/templates/block_transaction/index.html.eex:142 #: lib/explorer_web/templates/chain/_transactions.html.eex:8 #: lib/explorer_web/templates/pending_transaction/index.html.eex:37 #: lib/explorer_web/templates/transaction/index.html.eex:37 @@ -185,7 +185,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:83 #: lib/explorer_web/templates/address_transaction/index.html.eex:49 #: lib/explorer_web/templates/address_transaction/index.html.eex:86 -#: lib/explorer_web/templates/block_transaction/index.html.eex:143 +#: lib/explorer_web/templates/block_transaction/index.html.eex:144 #: lib/explorer_web/templates/chain/_transactions.html.eex:9 #: lib/explorer_web/templates/pending_transaction/index.html.eex:38 #: lib/explorer_web/templates/transaction/index.html.eex:38 @@ -312,7 +312,7 @@ msgid "Out of Gas" msgstr "" #: lib/explorer_web/templates/address_transaction/index.html.eex:79 -#: lib/explorer_web/templates/block_transaction/index.html.eex:136 +#: lib/explorer_web/templates/block_transaction/index.html.eex:137 #: lib/explorer_web/templates/pending_transaction/index.html.eex:33 #: lib/explorer_web/templates/transaction/index.html.eex:33 msgid "Status" @@ -494,3 +494,7 @@ msgstr "" #: lib/explorer_web/templates/address_contract/index.html.eex:34 msgid "Contract bytecode" msgstr "" + +#: lib/explorer_web/templates/block_transaction/index.html.eex:181 +msgid "There are no Transactions" +msgstr "" diff --git a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po index 7af6e5731f..92ce8f2584 100644 --- a/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po @@ -13,7 +13,7 @@ msgstr "" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:81 #: lib/explorer_web/templates/address_transaction/index.html.eex:83 #: lib/explorer_web/templates/block/index.html.eex:18 -#: lib/explorer_web/templates/block_transaction/index.html.eex:140 +#: lib/explorer_web/templates/block_transaction/index.html.eex:141 #: lib/explorer_web/templates/chain/_blocks.html.eex:8 #: lib/explorer_web/templates/chain/_transactions.html.eex:11 #: lib/explorer_web/templates/transaction/index.html.eex:36 @@ -23,7 +23,7 @@ msgstr "Age" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:80 #: lib/explorer_web/templates/address_transaction/index.html.eex:82 -#: lib/explorer_web/templates/block_transaction/index.html.eex:139 +#: lib/explorer_web/templates/block_transaction/index.html.eex:140 #: lib/explorer_web/templates/chain/show.html.eex:7 #: lib/explorer_web/templates/transaction/index.html.eex:35 msgid "Block" @@ -47,7 +47,7 @@ msgstr "Gas Used" #: lib/explorer_web/templates/address_transaction/index.html.eex:81 #: lib/explorer_web/templates/block_transaction/index.html.eex:30 -#: lib/explorer_web/templates/block_transaction/index.html.eex:138 +#: lib/explorer_web/templates/block_transaction/index.html.eex:139 #: lib/explorer_web/templates/pending_transaction/index.html.eex:35 #: lib/explorer_web/templates/transaction/index.html.eex:34 msgid "Hash" @@ -75,7 +75,7 @@ msgstr "Transactions" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:84 #: lib/explorer_web/templates/address_transaction/index.html.eex:87 -#: lib/explorer_web/templates/block_transaction/index.html.eex:144 +#: lib/explorer_web/templates/block_transaction/index.html.eex:145 #: lib/explorer_web/templates/chain/_transactions.html.eex:10 #: lib/explorer_web/templates/pending_transaction/index.html.eex:39 #: lib/explorer_web/templates/transaction/index.html.eex:39 @@ -173,7 +173,7 @@ msgstr "Address" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:82 #: lib/explorer_web/templates/address_transaction/index.html.eex:61 #: lib/explorer_web/templates/address_transaction/index.html.eex:84 -#: lib/explorer_web/templates/block_transaction/index.html.eex:141 +#: lib/explorer_web/templates/block_transaction/index.html.eex:142 #: lib/explorer_web/templates/chain/_transactions.html.eex:8 #: lib/explorer_web/templates/pending_transaction/index.html.eex:37 #: lib/explorer_web/templates/transaction/index.html.eex:37 @@ -197,7 +197,7 @@ msgstr "Success" #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:83 #: lib/explorer_web/templates/address_transaction/index.html.eex:49 #: lib/explorer_web/templates/address_transaction/index.html.eex:86 -#: lib/explorer_web/templates/block_transaction/index.html.eex:143 +#: lib/explorer_web/templates/block_transaction/index.html.eex:144 #: lib/explorer_web/templates/chain/_transactions.html.eex:9 #: lib/explorer_web/templates/pending_transaction/index.html.eex:38 #: lib/explorer_web/templates/transaction/index.html.eex:38 @@ -324,7 +324,7 @@ msgid "Out of Gas" msgstr "" #: lib/explorer_web/templates/address_transaction/index.html.eex:79 -#: lib/explorer_web/templates/block_transaction/index.html.eex:136 +#: lib/explorer_web/templates/block_transaction/index.html.eex:137 #: lib/explorer_web/templates/pending_transaction/index.html.eex:33 #: lib/explorer_web/templates/transaction/index.html.eex:33 msgid "Status" @@ -506,3 +506,7 @@ msgstr "" #: lib/explorer_web/templates/address_contract/index.html.eex:34 msgid "Contract bytecode" msgstr "" + +#: lib/explorer_web/templates/block_transaction/index.html.eex:181 +msgid "There are no Transactions" +msgstr ""