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
7e3dfa6b
Commit
7e3dfa6b
authored
Apr 22, 2021
by
Marvin Karegyeya
Committed by
Heinrich Lee Yu
Apr 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize strings in viewers/_license.html.haml
parent
dd5bb1d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
app/views/projects/blob/viewers/_license.html.haml
app/views/projects/blob/viewers/_license.html.haml
+2
-4
changelogs/unreleased/Externalize-strings-in-viewers-_license-html-haml.yml
...sed/Externalize-strings-in-viewers-_license-html-haml.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/projects/blob/viewers/_license.html.haml
View file @
7e3dfa6b
-
license
=
viewer
.
license
=
sprite_icon
(
'scale'
)
This project is licensed under the
=
succeed
'.'
do
%strong
=
license
.
name
=
_
(
"This project is licensed under the %{strong_start}%{license_name}%{strong_end}."
).
html_safe
%
{
license_name:
license
.
name
,
strong_start:
'<strong>'
.
html_safe
,
strong_end:
'</strong>'
.
html_safe
}
=
link_to
'Learn more'
,
license
.
url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
=
link_to
_
(
'Learn more'
)
,
license
.
url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
changelogs/unreleased/Externalize-strings-in-viewers-_license-html-haml.yml
0 → 100644
View file @
7e3dfa6b
---
title
:
Externalize strings in viewers/_license.html.haml
merge_request
:
58452
author
:
nuwe1
type
:
other
locale/gitlab.pot
View file @
7e3dfa6b
...
...
@@ -32466,6 +32466,9 @@ msgstr ""
msgid "This project is archived and cannot be commented on."
msgstr ""
msgid "This project is licensed under the %{strong_start}%{license_name}%{strong_end}."
msgstr ""
msgid "This project manages its dependencies using %{strong_start}%{manager_name}%{strong_end}"
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