Commit 734ed2c8 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'Externalize-strings-in-unlock_instructions.text.erb' into 'master'

Externalize strings in unlock_instructions.text.erb

See merge request gitlab-org/gitlab!58229
parents 2499808c 5bca157e
Hello, <%= @resource.name %>!
<%= _('Hello, %{name}!') % { name: @resource.name } %>
Your GitLab account has been locked due to an excessive amount of unsuccessful
sign in attempts. Your account will automatically unlock in <%= distance_of_time_in_words(Devise.unlock_in) %>
or you may click the link below to unlock now.
<%= _("Your GitLab account has been locked due to an excessive amount of unsuccessful sign in attempts. Your account will automatically unlock in %{duration} or you may click the link below to unlock now.") % { duration: distance_of_time_in_words(Devise.unlock_in) } %>
<%= unlock_url(@resource, unlock_token: @token) %>
---
title: Externalize strings in unlock_instructions.text.erb
merge_request: 58229
author: nuwe1
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment