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
93c0ff54
Commit
93c0ff54
authored
Oct 07, 2020
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translate assignees tooltip in MR list
Issue:
https://gitlab.com/gitlab-org/gitlab/-/issues/263359
parent
803d87fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
app/views/shared/issuable/_assignees.html.haml
app/views/shared/issuable/_assignees.html.haml
+3
-2
locale/gitlab.pot
locale/gitlab.pot
+9
-0
No files found.
app/views/shared/issuable/_assignees.html.haml
View file @
93c0ff54
...
...
@@ -4,7 +4,8 @@
-
more_assignees_count
=
issuable
.
assignees
.
size
-
render_count
-
issuable
.
assignees
.
take
(
render_count
).
each
do
|
assignee
|
# rubocop: disable CodeReuse/ActiveRecord
=
link_to_member
(
@project
,
assignee
,
name:
false
,
title:
"Assigned to :name"
)
=
link_to_member
(
@project
,
assignee
,
name:
false
,
title:
_
(
"Assigned to %{name}"
)
%
{
name:
assignee
.
name
}
)
-
if
more_assignees_count
>
0
%span
{
class:
'avatar-counter has-tooltip'
,
data:
{
container:
'body'
,
placement:
'bottom'
,
'line-type'
=>
'old'
,
'original-title'
=>
"+#{more_assignees_count} more assignees"
,
qa_selector:
'avatar_counter_content'
}
}
+
#{
more_assignees_count
}
%span
{
class:
'avatar-counter has-tooltip'
,
data:
{
container:
'body'
,
placement:
'bottom'
,
'line-type'
=>
'old'
,
qa_selector:
'avatar_counter_content'
},
title:
_
(
"+%{more_assignees_count} more assignees"
)
%
{
more_assignees_count:
more_assignees_count
}
}
=
_
(
"+%{more_assignees_count}"
)
%
{
more_assignees_count:
more_assignees_count
}
locale/gitlab.pot
View file @
93c0ff54
...
...
@@ -1000,6 +1000,12 @@ msgstr[1] ""
msgid "+%{approvers} more approvers"
msgstr ""
msgid "+%{more_assignees_count}"
msgstr ""
msgid "+%{more_assignees_count} more assignees"
msgstr ""
msgid "+%{more_reviewers_count}"
msgstr ""
...
...
@@ -3611,6 +3617,9 @@ msgstr ""
msgid "Assigned to %{assignee_name}"
msgstr ""
msgid "Assigned to %{name}"
msgstr ""
msgid "Assigned to me"
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