From b58e091705be7a7c869cd72baceb027022554731 Mon Sep 17 00:00:00 2001 From: katibest Date: Thu, 16 Aug 2018 16:41:22 -0400 Subject: [PATCH] Added gettext in necessary places --- .../templates/api_docs/_action_tile.html.eex | 68 +++++++++---------- .../templates/api_docs/index.html.eex | 4 +- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_action_tile.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_action_tile.html.eex index a4ae5d38bf..b196fd1ac9 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_action_tile.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_action_tile.html.eex @@ -1,8 +1,8 @@
@@ -171,7 +171,7 @@ role="tab" aria-controls="<%= "#{@module_name}-#{@action.name}-model" %>" aria-selected="false"> - Model + <%= gettext "Model" %> <% end %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex index 049324aa1d..d3ab2b26d1 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex @@ -3,8 +3,8 @@

API Documentation

- [ Base URL: <%= @conn.host %>/api ] -

This API is provided for developers transitioning their applications from Etherscan to Explorer. It supports GET and POST requests.

+ [ <%= gettext "Base URL:" %> <%= @conn.host %>/api ] +

<%= gettext "This API is provided for developers transitioning their applications from Etherscan to Explorer. It supports GET and POST requests." %>