fix style issues

pull/1974/head
Ayrat Badykov 6 years ago
parent 5879677873
commit 81e6f91d4a
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 14
      apps/block_scout_web/assets/js/lib/async_listing_load.js
  2. 9
      apps/block_scout_web/priv/gettext/default.pot
  3. 17
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -106,14 +106,14 @@ export function asyncReducer (state = asyncInitialState, action) {
return Object.assign({}, state, { beyondPageOne: true }) return Object.assign({}, state, { beyondPageOne: true })
} }
case 'NAVIGATE_TO_NEWER': { case 'NAVIGATE_TO_NEWER': {
history.replaceState({}, null, state.prevPagePath) history.replaceState({}, null, state.prevPagePath)
state.pagesStack.pop() state.pagesStack.pop()
return Object.assign({}, state, { beyondPageOne: true }) return Object.assign({}, state, { beyondPageOne: true })
} }
default: default:
return state return state
} }
} }
@ -190,8 +190,8 @@ export const elements = {
'[data-async-listing] [data-page-number]': { '[data-async-listing] [data-page-number]': {
render ($el, state) { render ($el, state) {
if (state.pagesStack.length === 0) { if (state.pagesStack.length === 0) {
return $el.text('Page 1') return $el.text('Page 1')
} }
$el.text('Page ' + state.pagesStack.length) $el.text('Page ' + state.pagesStack.length)

@ -582,7 +582,6 @@ msgid "Next"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:37
#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:32 #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:32
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
@ -750,7 +749,7 @@ msgid "Telegram"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:24 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:26
msgid "There are no holders for this Token." msgid "There are no holders for this Token."
msgstr "" msgstr ""
@ -1140,8 +1139,8 @@ msgstr ""
#: lib/block_scout_web/templates/block/index.html.eex:39 #: lib/block_scout_web/templates/block/index.html.eex:39
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:32 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:32
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:48 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:48
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:33 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:35
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:44 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:46
#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34
#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:52 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:52
#: lib/block_scout_web/templates/transaction/index.html.eex:36 #: lib/block_scout_web/templates/transaction/index.html.eex:36
@ -1321,7 +1320,7 @@ msgstr ""
#: lib/block_scout_web/templates/address_validation/index.html.eex:29 #: lib/block_scout_web/templates/address_validation/index.html.eex:29
#: lib/block_scout_web/templates/chain/show.html.eex:91 #: lib/block_scout_web/templates/chain/show.html.eex:91
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:19
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:19 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:21
#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20
#: lib/block_scout_web/templates/transaction/index.html.eex:20 #: lib/block_scout_web/templates/transaction/index.html.eex:20
msgid "Something went wrong, click to reload." msgid "Something went wrong, click to reload."

@ -582,7 +582,6 @@ msgid "Next"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:37
#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:32 #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:32
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
@ -750,7 +749,7 @@ msgid "Telegram"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:24 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:26
msgid "There are no holders for this Token." msgid "There are no holders for this Token."
msgstr "" msgstr ""
@ -1140,8 +1139,8 @@ msgstr ""
#: lib/block_scout_web/templates/block/index.html.eex:39 #: lib/block_scout_web/templates/block/index.html.eex:39
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:32 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:32
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:48 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:48
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:33 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:35
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:44 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:46
#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34
#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:52 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:52
#: lib/block_scout_web/templates/transaction/index.html.eex:36 #: lib/block_scout_web/templates/transaction/index.html.eex:36
@ -1321,7 +1320,7 @@ msgstr ""
#: lib/block_scout_web/templates/address_validation/index.html.eex:29 #: lib/block_scout_web/templates/address_validation/index.html.eex:29
#: lib/block_scout_web/templates/chain/show.html.eex:91 #: lib/block_scout_web/templates/chain/show.html.eex:91
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:19
#: lib/block_scout_web/templates/tokens/holder/index.html.eex:19 #: lib/block_scout_web/templates/tokens/holder/index.html.eex:21
#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20
#: lib/block_scout_web/templates/transaction/index.html.eex:20 #: lib/block_scout_web/templates/transaction/index.html.eex:20
msgid "Something went wrong, click to reload." msgid "Something went wrong, click to reload."
@ -1748,12 +1747,12 @@ msgstr ""
msgid "of" msgid "of"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, 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 +1762,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 +1772,7 @@ 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 ""

Loading…
Cancel
Save