Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
801c81e9
Commit
801c81e9
authored
Apr 20, 2021
by
Marvin Karegyeya
Committed by
Enrique Alcántara
Apr 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalise strings in shared/_links.erb
parent
0293d150
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
app/views/devise/shared/_links.erb
app/views/devise/shared/_links.erb
+5
-5
changelogs/unreleased/Externalize-strings-in-shared_links-erb.yml
...gs/unreleased/Externalize-strings-in-shared_links-erb.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+6
-0
No files found.
app/views/devise/shared/_links.erb
View file @
801c81e9
<%-
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
-%>
<%-
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
-%>
<%-
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
-%>
<%-
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
-%>
<%-
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
-%>
changelogs/unreleased/Externalize-strings-in-shared_links-erb.yml
0 → 100644
View file @
801c81e9
---
title
:
Externalise strings in shared/_links.erb
merge_request
:
58278
author
:
nuwe1
type
:
other
locale/gitlab.pot
View file @
801c81e9
...
...
@@ -11244,6 +11244,12 @@ msgstr ""
msgid "Didn't receive a confirmation email?"
msgstr ""
msgid "Didn't receive confirmation instructions?"
msgstr ""
msgid "Didn't receive unlock instructions?"
msgstr ""
msgid "Diff content limits"
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment