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
6e3d6f4d
Commit
6e3d6f4d
authored
May 18, 2020
by
Gilang Gumilar
Committed by
Phil Hughes
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize i18n strings from ./app/views/shared/issuable/_label_*
parent
05329dd2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
app/views/shared/issuable/_label_dropdown.html.haml
app/views/shared/issuable/_label_dropdown.html.haml
+4
-3
app/views/shared/issuable/_label_page_default.html.haml
app/views/shared/issuable/_label_page_default.html.haml
+1
-1
changelogs/unreleased/22691-externalize-i18n-strings-from---app-views-shared-issuable-_label_.yml
...i18n-strings-from---app-views-shared-issuable-_label_.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/shared/issuable/_label_dropdown.html.haml
View file @
6e3d6f4d
...
...
@@ -8,10 +8,11 @@
-
data_options
=
local_assigns
.
fetch
(
:data_options
,
{})
-
classes
=
local_assigns
.
fetch
(
:classes
,
[])
-
selected
=
local_assigns
.
fetch
(
:selected
,
nil
)
-
dropdown_title
=
local_assigns
.
fetch
(
:dropdown_title
,
"Filter by label"
)
-
dropdown_data
=
label_dropdown_data
(
edit_context
,
labels:
labels_filter_path_with_defaults
(
only_group_labels:
edit_context
.
is_a?
(
Group
)),
default_label:
"Labels"
)
-
dropdown_title
=
local_assigns
.
fetch
(
:dropdown_title
,
_
(
'Filter by label'
))
-
dropdown_data
=
label_dropdown_data
(
edit_context
,
labels:
labels_filter_path_with_defaults
(
only_group_labels:
edit_context
.
is_a?
(
Group
)),
default_label:
_
(
'Labels'
))
-
dropdown_data
.
merge!
(
data_options
)
-
label_name
=
local_assigns
.
fetch
(
:label_name
,
"Labels"
)
-
label_name
=
local_assigns
.
fetch
(
:label_name
,
_
(
'Labels'
)
)
-
no_default_styles
=
local_assigns
.
fetch
(
:no_default_styles
,
false
)
-
classes
<<
'js-extra-options'
if
extra_options
-
classes
<<
'js-filter-submit'
if
filter_submit
...
...
app/views/shared/issuable/_label_page_default.html.haml
View file @
6e3d6f4d
...
...
@@ -3,7 +3,7 @@
-
show_title
=
local_assigns
.
fetch
(
:show_title
,
true
)
-
show_create
=
local_assigns
.
fetch
(
:show_create
,
true
)
-
show_footer
=
local_assigns
.
fetch
(
:show_footer
,
true
)
-
filter_placeholder
=
local_assigns
.
fetch
(
:filter_placeholder
,
'Search'
)
-
filter_placeholder
=
local_assigns
.
fetch
(
:filter_placeholder
,
_
(
'Search'
)
)
-
show_boards_content
=
local_assigns
.
fetch
(
:show_boards_content
,
false
)
-
subject
=
@project
||
@group
.dropdown-page-one
...
...
changelogs/unreleased/22691-externalize-i18n-strings-from---app-views-shared-issuable-_label_.yml
0 → 100644
View file @
6e3d6f4d
---
title
:
Externalize i18n strings from ./app/views/shared/issuable/_label_*
merge_request
:
32167
author
:
Gilang Gumilar
type
:
changed
locale/gitlab.pot
View file @
6e3d6f4d
...
...
@@ -9470,6 +9470,9 @@ msgstr ""
msgid "Filter by issues that are currently closed."
msgstr ""
msgid "Filter by label"
msgstr ""
msgid "Filter by merge requests that are currently closed and unmerged."
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