summaryrefslogtreecommitdiff
path: root/app/views/shared/plugins/_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/plugins/_index.html.haml')
-rw-r--r--app/views/shared/plugins/_index.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/shared/plugins/_index.html.haml b/app/views/shared/plugins/_index.html.haml
index 9d230d12be2..c9884d7bb9b 100644
--- a/app/views/shared/plugins/_index.html.haml
+++ b/app/views/shared/plugins/_index.html.haml
@@ -3,16 +3,16 @@
.row.prepend-top-default
.col-lg-4
%h4.prepend-top-0
- Plugins
+ = _('Plugins')
%p
- #{link_to 'Plugins', help_page_path('administration/plugins')} are similar to
- system hooks but are executed as files instead of sending data to a URL.
+ - plugins_link_start = "<a href='#{help_page_path('administration/plugins')}' target='_blank' rel='noopener noreferrer'>".html_safe
+ = _("%{plugins_link_start}Plugins%{link_end} are similar to system hooks but are executed as files instead of sending data to a URL.").html_safe % { plugins_link_start: plugins_link_start, link_end: '</a>'.html_safe }
.col-lg-8.append-bottom-default
- if plugins.any?
.card
.card-header
- Plugins (#{plugins.count})
+ = _('Plugins (%{plugins_count})') % { plugins_count: plugins.count }
%ul.content-list
- plugins.each do |file|
%li
@@ -20,4 +20,4 @@
= File.basename(file)
- else
.card.bg-light.text-center
- .nothing-here-block No plugins found.
+ .nothing-here-block= _('No plugins found.')