update gettext and get rid of _release_link

pull/1539/head
Victor Baranov 6 years ago
parent 270c142bfc
commit 7dc62a47a1
  1. 4
      apps/block_scout_web/lib/block_scout_web/views/layout_view.ex
  2. 2
      apps/block_scout_web/priv/gettext/default.pot
  3. 4
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -80,9 +80,9 @@ defmodule BlockScoutWeb.LayoutView do
release_link = Application.get_env(:block_scout_web, :release_link) release_link = Application.get_env(:block_scout_web, :release_link)
if release_link == "" || release_link == nil do if release_link == "" || release_link == nil do
_version_link = version version
else else
_version_link = html_escape({:safe, "<a href=\"#{release_link}\" target=\"_blank\">#{version}</a>"}) html_escape({:safe, "<a href=\"#{release_link}\" target=\"_blank\">#{version}</a>"})
end end
end end

@ -1557,7 +1557,7 @@ msgid "Test Networks"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:94 #: lib/block_scout_web/templates/layout/_footer.html.eex:95
msgid "Version" msgid "Version"
msgstr "" msgstr ""

@ -1557,7 +1557,7 @@ msgid "Test Networks"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:94 #: lib/block_scout_web/templates/layout/_footer.html.eex:95
msgid "Version" msgid "Version"
msgstr "" msgstr ""
@ -1682,7 +1682,7 @@ msgstr ""
msgid "Run" msgid "Run"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:31 #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:31
msgid "EVM Vesion" msgid "EVM Vesion"
msgstr "" msgstr ""

Loading…
Cancel
Save