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
3e4182f0
Commit
3e4182f0
authored
May 14, 2020
by
Gilang Gumilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize i18n strings from ./app/views/shared/issuable/_close_reopen_report_toggle.html.haml
parent
3d3be7eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
10 deletions
+28
-10
app/views/shared/issuable/_close_reopen_report_toggle.html.haml
...ews/shared/issuable/_close_reopen_report_toggle.html.haml
+8
-10
changelogs/unreleased/22691-externalize-i18n-strings-from---app-views-shared-issuable-_close_re.yml
...8n-strings-from---app-views-shared-issuable-_close_re.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+15
-0
No files found.
app/views/shared/issuable/_close_reopen_report_toggle.html.haml
View file @
3e4182f0
...
@@ -14,39 +14,37 @@
...
@@ -14,39 +14,37 @@
method:
button_method
,
class:
"
#{
button_class
}
btn-
#{
button_action
}
#{
(
add_blocked_class
?
'btn-issue-blocked'
:
''
)
}
"
,
title:
"
#{
display_button_action
}
#{
display_issuable_type
}
"
,
data:
{
qa_selector:
'close_issue_button'
}
method:
button_method
,
class:
"
#{
button_class
}
btn-
#{
button_action
}
#{
(
add_blocked_class
?
'btn-issue-blocked'
:
''
)
}
"
,
title:
"
#{
display_button_action
}
#{
display_issuable_type
}
"
,
data:
{
qa_selector:
'close_issue_button'
}
=
button_tag
type:
'button'
,
class:
"
#{
toggle_class
}
btn-
#{
button_action
}
-color"
,
=
button_tag
type:
'button'
,
class:
"
#{
toggle_class
}
btn-
#{
button_action
}
-color"
,
data:
{
'dropdown-trigger'
=>
'#issuable-close-menu'
},
'aria-label'
=>
'Toggle dropdown'
do
data:
{
'dropdown-trigger'
=>
'#issuable-close-menu'
},
'aria-label'
=>
_
(
'Toggle dropdown'
)
do
=
icon
(
'caret-down'
,
class:
'toggle-icon icon'
)
=
icon
(
'caret-down'
,
class:
'toggle-icon icon'
)
%ul
#issuable-close-menu
.js-issuable-close-menu.dropdown-menu
{
data:
{
dropdown:
true
}
}
%ul
#issuable-close-menu
.js-issuable-close-menu.dropdown-menu
{
data:
{
dropdown:
true
}
}
%li
.close-item
{
class:
"#{issuable_button_visibility(issuable, true) || 'droplab-item-selected'}"
,
%li
.close-item
{
class:
"#{issuable_button_visibility(issuable, true) || 'droplab-item-selected'}"
,
data:
{
text:
"Close #{display_issuable_type}"
,
url:
close_issuable_path
(
issuable
),
data:
{
text:
_
(
"Close %{display_issuable_type}"
)
%
{
display_issuable_type:
display_issuable_type
}
,
url:
close_issuable_path
(
issuable
),
button_class:
"#{button_class} btn-close"
,
toggle_class:
"#{toggle_class} btn-close-color"
,
method:
button_method
}
}
button_class:
"#{button_class} btn-close"
,
toggle_class:
"#{toggle_class} btn-close-color"
,
method:
button_method
}
}
%button
.btn.btn-transparent
%button
.btn.btn-transparent
=
icon
(
'check'
,
class:
'icon'
)
=
icon
(
'check'
,
class:
'icon'
)
.description
.description
%strong
.title
%strong
.title
Close
=
_
(
'Close'
)
=
display_issuable_type
=
display_issuable_type
%li
.reopen-item
{
class:
"#{issuable_button_visibility(issuable, false) || 'droplab-item-selected'}"
,
%li
.reopen-item
{
class:
"#{issuable_button_visibility(issuable, false) || 'droplab-item-selected'}"
,
data:
{
text:
"Reopen #{display_issuable_type}"
,
url:
reopen_issuable_path
(
issuable
),
data:
{
text:
_
(
"Reopen %{display_issuable_type}"
)
%
{
display_issuable_type:
display_issuable_type
}
,
url:
reopen_issuable_path
(
issuable
),
button_class:
"#{button_class} btn-reopen"
,
toggle_class:
"#{toggle_class} btn-reopen-color"
,
method:
button_method
}
}
button_class:
"#{button_class} btn-reopen"
,
toggle_class:
"#{toggle_class} btn-reopen-color"
,
method:
button_method
}
}
%button
.btn.btn-transparent
%button
.btn.btn-transparent
=
icon
(
'check'
,
class:
'icon'
)
=
icon
(
'check'
,
class:
'icon'
)
.description
.description
%strong
.title
%strong
.title
Reopen
=
_
(
'Reopen'
)
=
display_issuable_type
=
display_issuable_type
%li
.divider.droplab-item-ignore
%li
.divider.droplab-item-ignore
%li
.report-item
{
data:
{
text:
'Report abuse'
,
url:
new_abuse_report_path
(
user_id:
issuable
.
author
.
id
,
ref_url:
issuable_url
(
issuable
)),
%li
.report-item
{
data:
{
text:
_
(
'Report abuse'
)
,
url:
new_abuse_report_path
(
user_id:
issuable
.
author
.
id
,
ref_url:
issuable_url
(
issuable
)),
button_class:
"#{button_class} btn-close-color"
,
toggle_class:
"#{toggle_class} btn-close-color"
,
method:
''
}
}
button_class:
"#{button_class} btn-close-color"
,
toggle_class:
"#{toggle_class} btn-close-color"
,
method:
''
}
}
%button
.btn.btn-transparent
%button
.btn.btn-transparent
=
icon
(
'check'
,
class:
'icon'
)
=
icon
(
'check'
,
class:
'icon'
)
.description
.description
%strong
.title
Report abuse
%strong
.title
= _('Report abuse')
%p
.text
%p
.text
Report
=
_
(
'Report %{display_issuable_type} that are abusive, inappropriate or spam.'
)
%
{
display_issuable_type:
display_issuable_type
.
pluralize
}
=
display_issuable_type
.
pluralize
that are abusive, inappropriate or spam.
changelogs/unreleased/22691-externalize-i18n-strings-from---app-views-shared-issuable-_close_re.yml
0 → 100644
View file @
3e4182f0
---
title
:
Externalize i18n strings from ./app/views/shared/issuable/_close_reopen_report_toggle.html.haml
merge_request
:
author
:
Gilang Gumilar
type
:
changed
locale/gitlab.pot
View file @
3e4182f0
...
@@ -4346,6 +4346,9 @@ msgstr ""
...
@@ -4346,6 +4346,9 @@ msgstr ""
msgid "Close"
msgid "Close"
msgstr ""
msgstr ""
msgid "Close %{display_issuable_type}"
msgstr ""
msgid "Close %{tabname}"
msgid "Close %{tabname}"
msgstr ""
msgstr ""
...
@@ -17675,6 +17678,9 @@ msgstr ""
...
@@ -17675,6 +17678,9 @@ msgstr ""
msgid "Reopen"
msgid "Reopen"
msgstr ""
msgstr ""
msgid "Reopen %{display_issuable_type}"
msgstr ""
msgid "Reopen epic"
msgid "Reopen epic"
msgstr ""
msgstr ""
...
@@ -17720,9 +17726,15 @@ msgstr ""
...
@@ -17720,9 +17726,15 @@ msgstr ""
msgid "Repo by URL"
msgid "Repo by URL"
msgstr ""
msgstr ""
msgid "Report %{display_issuable_type} that are abusive, inappropriate or spam."
msgstr ""
msgid "Report Type: %{report_type}"
msgid "Report Type: %{report_type}"
msgstr ""
msgstr ""
msgid "Report abuse"
msgstr ""
msgid "Report abuse to admin"
msgid "Report abuse to admin"
msgstr ""
msgstr ""
...
@@ -22449,6 +22461,9 @@ msgstr ""
...
@@ -22449,6 +22461,9 @@ msgstr ""
msgid "Toggle commit list"
msgid "Toggle commit list"
msgstr ""
msgstr ""
msgid "Toggle dropdown"
msgstr ""
msgid "Toggle emoji award"
msgid "Toggle emoji award"
msgstr ""
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