Skip to content

Commit

Permalink
change page title/text as well + mix gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
shazarre committed Oct 16, 2023
1 parent 27ebc0d commit 4deba2f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<a href="#" class="alert-link"><%= gettext "Connection Lost, click to load newer blocks" %></a>
</div>
</div>
<h2 class="card-title"><%=gettext("Downtime")%></h2>
<h2 class="card-title"><%=gettext("Unsigned Blocks")%></h2>

<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true, data_prev_page_button: true %>

<div data-empty-response-message class="tile tile-muted text-center" style="display: none;">
<span><%= gettext "There are no downtime blocks for this address." %></span>
<span><%= gettext "There are no unsigned blocks for this address." %></span>
</div>
<button data-error-message class="alert alert-danger col-12 text-left" style="display: none;">
<span class="alert-link">
Expand Down
18 changes: 11 additions & 7 deletions apps/block_scout_web/priv/gettext/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3468,8 +3468,6 @@ msgstr ""
msgid "Domain"
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#: lib/block_scout_web/templates/block_signers/index.html.eex:27
#, elixir-autogen, elixir-format
msgid "Downtime"
Expand Down Expand Up @@ -3722,11 +3720,6 @@ msgstr ""
msgid "The requested path was not found on BlockScout."
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format
msgid "There are no downtime blocks for this address."
msgstr ""

#: lib/block_scout_web/templates/address_epoch_transaction/index.html.eex:40
#, elixir-autogen, elixir-format
msgid "There are no epoch transactions for this address."
Expand Down Expand Up @@ -3885,3 +3878,14 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "sent to Community Fund for this transaction. Equals Block Base Fee per Gas * Gas Used."
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#, elixir-autogen, elixir-format
msgid "Unsigned Blocks"
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format
msgid "There are no unsigned blocks for this address."
msgstr ""
18 changes: 11 additions & 7 deletions apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -3468,8 +3468,6 @@ msgstr ""
msgid "Domain"
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#: lib/block_scout_web/templates/block_signers/index.html.eex:27
#, elixir-autogen, elixir-format
msgid "Downtime"
Expand Down Expand Up @@ -3722,11 +3720,6 @@ msgstr ""
msgid "The requested path was not found on BlockScout."
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format, fuzzy
msgid "There are no downtime blocks for this address."
msgstr ""

#: lib/block_scout_web/templates/address_epoch_transaction/index.html.eex:40
#, elixir-autogen, elixir-format, fuzzy
msgid "There are no epoch transactions for this address."
Expand Down Expand Up @@ -3885,3 +3878,14 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "sent to Community Fund for this transaction. Equals Block Base Fee per Gas * Gas Used."
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#, elixir-autogen, elixir-format
msgid "Unsigned Blocks"
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format, fuzzy
msgid "There are no unsigned blocks for this address."
msgstr ""

0 comments on commit 4deba2f

Please sign in to comment.