summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_service_desk_empty_state.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/_service_desk_empty_state.html.haml')
-rw-r--r--app/views/projects/issues/_service_desk_empty_state.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/projects/issues/_service_desk_empty_state.html.haml b/app/views/projects/issues/_service_desk_empty_state.html.haml
index 40abedea9d4..a4251c8e5dc 100644
--- a/app/views/projects/issues/_service_desk_empty_state.html.haml
+++ b/app/views/projects/issues/_service_desk_empty_state.html.haml
@@ -1,7 +1,7 @@
- service_desk_enabled = @project.service_desk_enabled?
- can_edit_project_settings = can?(current_user, :admin_project, @project)
-- title_text = _("Use Service Desk to connect with your users (e.g. to offer customer support) through email right inside GitLab")
+- title_text = s_("ServiceDesk|Use Service Desk to connect with your users and offer customer support through email right inside GitLab")
- if Gitlab::ServiceDesk.supported?
.empty-state
@@ -13,21 +13,21 @@
- if can_edit_project_settings && service_desk_enabled
%p
- = _("Have your users email")
+ = s_("ServiceDesk|Your users can send emails to this address:")
%code= @project.service_desk_address
- %span= _("Those emails automatically become issues (with the comments becoming the email conversation) listed here.")
- = link_to _('Read more'), help_page_path('user/project/service_desk')
+ %span= s_("ServiceDesk|Issues created from Service Desk emails appear here. Each comment becomes part of the email conversation.")
+ = link_to _('Learn more.'), help_page_path('user/project/service_desk')
- if can_edit_project_settings && !service_desk_enabled
.text-center
- = link_to _("Turn on Service Desk"), edit_project_path(@project), class: 'gl-button btn btn-success'
+ = link_to s_("ServiceDesk|Enable Service Desk"), edit_project_path(@project), class: 'gl-button btn btn-success'
- else
.empty-state
.svg-content
= render 'shared/empty_states/icons/service_desk_setup.svg'
.text-content
- %h4= _('Service Desk is enabled but not yet active')
+ %h4= s_('ServiceDesk|Service Desk is enabled but not yet active')
%p
- = _("You must set up incoming email before it becomes active.")
- = link_to _('More information'), help_page_path('administration/incoming_email', anchor: 'set-it-up')
+ = s_("ServiceDesk|To activate Service Desk on this instance, an instance administrator must first set up incoming email.")
+ = link_to _('Learn more.'), help_page_path('administration/incoming_email', anchor: 'set-it-up')