Commit de948242 authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'Externalize-strings-in-shared_links.erb' into 'master'

Externalise strings in shared/_links.erb

See merge request gitlab-org/gitlab!58278
parents 07520c05 801c81e9
<%- if controller_name != 'sessions' %> <%- if controller_name != 'sessions' %>
<%= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: "btn" %><br /> <%= link_to _("Sign in"), new_session_path(:user, redirect_to_referer: 'yes'), class: "btn" %><br />
<% end -%> <% end -%>
<%- if devise_mapping.registerable? && controller_name != 'registrations' && allow_signup? %> <%- if devise_mapping.registerable? && controller_name != 'registrations' && allow_signup? %>
<%= link_to "Sign up", new_registration_path(:user) %><br /> <%= link_to _("Sign up"), new_registration_path(:user) %><br />
<% end -%> <% end -%>
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %> <%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
<%= link_to "Forgot your password?", new_password_path(:user), class: "btn" %><br /> <%= link_to _("Forgot your password?"), new_password_path(:user), class: "btn" %><br />
<% end -%> <% end -%>
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %> <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(:user) %><br /> <%= link_to _("Didn't receive confirmation instructions?"), new_confirmation_path(:user) %><br />
<% end -%> <% end -%>
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %> <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(:user) %><br /> <%= link_to _("Didn't receive unlock instructions?"), new_unlock_path(:user) %><br />
<% end -%> <% end -%>
---
title: Externalise strings in shared/_links.erb
merge_request: 58278
author: nuwe1
type: other
...@@ -11244,6 +11244,12 @@ msgstr "" ...@@ -11244,6 +11244,12 @@ msgstr ""
msgid "Didn't receive a confirmation email?" msgid "Didn't receive a confirmation email?"
msgstr "" msgstr ""
msgid "Didn't receive confirmation instructions?"
msgstr ""
msgid "Didn't receive unlock instructions?"
msgstr ""
msgid "Diff content limits" msgid "Diff content limits"
msgstr "" msgstr ""
......
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