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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
cb728c53
Commit
cb728c53
authored
Jun 13, 2018
by
Tao Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n: externalize strings from 'app/views/explore'
Signed-off-by:
Tao Wang
<
twang2218@gmail.com
>
parent
2f96930d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
57 additions
and
21 deletions
+57
-21
app/views/explore/_head.html.haml
app/views/explore/_head.html.haml
+2
-2
app/views/explore/groups/_nav.html.haml
app/views/explore/groups/_nav.html.haml
+1
-1
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+6
-6
app/views/explore/projects/_filter.html.haml
app/views/explore/projects/_filter.html.haml
+3
-3
app/views/explore/projects/_nav.html.haml
app/views/explore/projects/_nav.html.haml
+3
-3
app/views/explore/projects/index.html.haml
app/views/explore/projects/index.html.haml
+2
-2
app/views/explore/projects/starred.html.haml
app/views/explore/projects/starred.html.haml
+2
-2
app/views/explore/projects/trending.html.haml
app/views/explore/projects/trending.html.haml
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+36
-0
No files found.
app/views/explore/_head.html.haml
View file @
cb728c53
.explore-title.text-center
.explore-title.text-center
%h2
%h2
Explore GitLab
=
_
(
"Explore GitLab"
)
%p
.lead
%p
.lead
Discover projects, groups and snippets. Share your projects with others
=
_
(
"Discover projects, groups and snippets. Share your projects with others"
)
%br
%br
app/views/explore/groups/_nav.html.haml
View file @
cb728c53
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%ul
.nav-links.nav.nav-tabs
%ul
.nav-links.nav.nav-tabs
=
nav_link
(
page:
explore_groups_path
)
do
=
nav_link
(
page:
explore_groups_path
)
do
=
link_to
explore_groups_path
do
=
link_to
explore_groups_path
do
Explore Groups
=
_
(
"Explore Groups"
)
.nav-controls
.nav-controls
=
render
'shared/groups/search_form'
=
render
'shared/groups/search_form'
=
render
'shared/groups/dropdown'
=
render
'shared/groups/dropdown'
app/views/explore/groups/index.html.haml
View file @
cb728c53
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
page_title
"Groups"
-
page_title
_
(
"Groups"
)
-
header_title
"Groups"
,
dashboard_groups_path
-
header_title
_
(
"Groups"
)
,
dashboard_groups_path
-
if
current_user
-
if
current_user
=
render
'dashboard/groups_head'
=
render
'dashboard/groups_head'
...
@@ -10,14 +10,14 @@
...
@@ -10,14 +10,14 @@
-
if
cookies
[
:explore_groups_landing_dismissed
]
!=
'true'
-
if
cookies
[
:explore_groups_landing_dismissed
]
!=
'true'
.explore-groups.landing.content-block.js-explore-groups-landing.hide
.explore-groups.landing.content-block.js-explore-groups-landing.hide
%button
.dismiss-button
{
type:
'button'
,
'aria-label'
=>
'Dismiss'
}=
icon
(
'times'
)
%button
.dismiss-button
{
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss'
)
}=
icon
(
'times'
)
.svg-container
.svg-container
=
custom_icon
(
'icon_explore_groups_splash'
)
=
custom_icon
(
'icon_explore_groups_splash'
)
.inner-content
.inner-content
%p
Below you will find all the groups that are public.
%p
=
_
(
"Below you will find all the groups that are public."
)
%p
You can easily contribute to them by requesting to join these groups.
%p
=
_
(
"You can easily contribute to them by requesting to join these groups."
)
-
if
params
[
:filter
].
blank?
&&
@groups
.
empty?
-
if
params
[
:filter
].
blank?
&&
@groups
.
empty?
.nothing-here-block
No public groups
.nothing-here-block
=
_
(
"No public groups"
)
-
else
-
else
=
render
'groups'
=
render
'groups'
app/views/explore/projects/_filter.html.haml
View file @
cb728c53
...
@@ -2,16 +2,16 @@
...
@@ -2,16 +2,16 @@
.dropdown
.dropdown
%button
.dropdown-toggle
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
,
'data-display'
=>
'static'
}
%button
.dropdown-toggle
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
,
'data-display'
=>
'static'
}
=
icon
(
'globe'
)
=
icon
(
'globe'
)
%span
.light
Visibility:
%span
.light
=
_
(
"Visibility:"
)
-
if
params
[
:visibility_level
].
present?
-
if
params
[
:visibility_level
].
present?
=
visibility_level_label
(
params
[
:visibility_level
].
to_i
)
=
visibility_level_label
(
params
[
:visibility_level
].
to_i
)
-
else
-
else
Any
=
_
(
'Any'
)
=
icon
(
'chevron-down'
)
=
icon
(
'chevron-down'
)
%ul
.dropdown-menu.dropdown-menu-right
%ul
.dropdown-menu.dropdown-menu-right
%li
%li
=
link_to
filter_projects_path
(
visibility_level:
nil
)
do
=
link_to
filter_projects_path
(
visibility_level:
nil
)
do
Any
=
_
(
'Any'
)
-
Gitlab
::
VisibilityLevel
.
values
.
each
do
|
level
|
-
Gitlab
::
VisibilityLevel
.
values
.
each
do
|
level
|
%li
{
class:
active_when
(
level
.
to_s
==
params
[
:visibility_level
])
||
'light'
}
%li
{
class:
active_when
(
level
.
to_s
==
params
[
:visibility_level
])
||
'light'
}
=
link_to
filter_projects_path
(
visibility_level:
level
)
do
=
link_to
filter_projects_path
(
visibility_level:
level
)
do
...
...
app/views/explore/projects/_nav.html.haml
View file @
cb728c53
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
%ul
.nav-links.nav.nav-tabs
%ul
.nav-links.nav.nav-tabs
=
nav_link
(
page:
[
trending_explore_projects_path
,
explore_root_path
])
do
=
nav_link
(
page:
[
trending_explore_projects_path
,
explore_root_path
])
do
=
link_to
trending_explore_projects_path
do
=
link_to
trending_explore_projects_path
do
Trending
=
_
(
'Trending'
)
=
nav_link
(
page:
starred_explore_projects_path
)
do
=
nav_link
(
page:
starred_explore_projects_path
)
do
=
link_to
starred_explore_projects_path
do
=
link_to
starred_explore_projects_path
do
Most stars
=
_
(
'Most stars'
)
=
nav_link
(
page:
explore_projects_path
)
do
=
nav_link
(
page:
explore_projects_path
)
do
=
link_to
explore_projects_path
do
=
link_to
explore_projects_path
do
All
=
_
(
'All'
)
.nav-controls
.nav-controls
-
unless
current_user
-
unless
current_user
...
...
app/views/explore/projects/index.html.haml
View file @
cb728c53
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
page_title
"Projects"
-
page_title
_
(
"Projects"
)
-
header_title
"Projects"
,
dashboard_projects_path
-
header_title
_
(
"Projects"
)
,
dashboard_projects_path
-
if
current_user
-
if
current_user
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
...
...
app/views/explore/projects/starred.html.haml
View file @
cb728c53
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
page_title
"Projects"
-
page_title
_
(
"Projects"
)
-
header_title
"Projects"
,
dashboard_projects_path
-
header_title
_
(
"Projects"
)
,
dashboard_projects_path
-
if
current_user
-
if
current_user
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
...
...
app/views/explore/projects/trending.html.haml
View file @
cb728c53
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
page_title
"Projects"
-
page_title
_
(
"Projects"
)
-
header_title
"Projects"
,
dashboard_projects_path
-
header_title
_
(
"Projects"
)
,
dashboard_projects_path
-
if
current_user
-
if
current_user
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
...
...
locale/gitlab.pot
View file @
cb728c53
...
@@ -465,6 +465,9 @@ msgstr ""
...
@@ -465,6 +465,9 @@ msgstr ""
msgid "An error occurred. Please try again."
msgid "An error occurred. Please try again."
msgstr ""
msgstr ""
msgid "Any"
msgstr ""
msgid "Appearance"
msgid "Appearance"
msgstr ""
msgstr ""
...
@@ -687,6 +690,9 @@ msgstr ""
...
@@ -687,6 +690,9 @@ msgstr ""
msgid "Below are examples of regex for existing tools:"
msgid "Below are examples of regex for existing tools:"
msgstr ""
msgstr ""
msgid "Below you will find all the groups that are public."
msgstr ""
msgid "Boards"
msgid "Boards"
msgstr ""
msgstr ""
...
@@ -1976,6 +1982,12 @@ msgstr ""
...
@@ -1976,6 +1982,12 @@ msgstr ""
msgid "Discard draft"
msgid "Discard draft"
msgstr ""
msgstr ""
msgid "Discover projects, groups and snippets. Share your projects with others"
msgstr ""
msgid "Dismiss"
msgstr ""
msgid "Dismiss Cycle Analytics introduction box"
msgid "Dismiss Cycle Analytics introduction box"
msgstr ""
msgstr ""
...
@@ -2246,6 +2258,12 @@ msgstr ""
...
@@ -2246,6 +2258,12 @@ msgstr ""
msgid "Expand sidebar"
msgid "Expand sidebar"
msgstr ""
msgstr ""
msgid "Explore GitLab"
msgstr ""
msgid "Explore Groups"
msgstr ""
msgid "Explore groups"
msgid "Explore groups"
msgstr ""
msgstr ""
...
@@ -2461,6 +2479,9 @@ msgstr ""
...
@@ -2461,6 +2479,9 @@ msgstr ""
msgid "GroupSettings|remove the share with group lock from %{ancestor_group_name}"
msgid "GroupSettings|remove the share with group lock from %{ancestor_group_name}"
msgstr ""
msgstr ""
msgid "Groups"
msgstr ""
msgid "Groups can also be nested by creating %{subgroup_docs_link_start}subgroups%{subgroup_docs_link_end}."
msgid "Groups can also be nested by creating %{subgroup_docs_link_start}subgroups%{subgroup_docs_link_end}."
msgstr ""
msgstr ""
...
@@ -3023,6 +3044,9 @@ msgstr ""
...
@@ -3023,6 +3044,9 @@ msgstr ""
msgid "More information is available|here"
msgid "More information is available|here"
msgstr ""
msgstr ""
msgid "Most stars"
msgstr ""
msgid "Move"
msgid "Move"
msgstr ""
msgstr ""
...
@@ -3151,6 +3175,9 @@ msgstr ""
...
@@ -3151,6 +3175,9 @@ msgstr ""
msgid "No messages were logged"
msgid "No messages were logged"
msgstr ""
msgstr ""
msgid "No public groups"
msgstr ""
msgid "No repository"
msgid "No repository"
msgstr ""
msgstr ""
...
@@ -4931,6 +4958,9 @@ msgstr ""
...
@@ -4931,6 +4958,9 @@ msgstr ""
msgid "Track time with quick actions"
msgid "Track time with quick actions"
msgstr ""
msgstr ""
msgid "Trending"
msgstr ""
msgid "Trigger this manual action"
msgid "Trigger this manual action"
msgstr ""
msgstr ""
...
@@ -5071,6 +5101,9 @@ msgstr ""
...
@@ -5071,6 +5101,9 @@ msgstr ""
msgid "Visibility and access controls"
msgid "Visibility and access controls"
msgstr ""
msgstr ""
msgid "Visibility:"
msgstr ""
msgid "VisibilityLevel|Internal"
msgid "VisibilityLevel|Internal"
msgstr ""
msgstr ""
...
@@ -5275,6 +5308,9 @@ msgstr ""
...
@@ -5275,6 +5308,9 @@ msgstr ""
msgid "You can also test your .gitlab-ci.yml in the %{linkStart}Lint%{linkEnd}"
msgid "You can also test your .gitlab-ci.yml in the %{linkStart}Lint%{linkEnd}"
msgstr ""
msgstr ""
msgid "You can easily contribute to them by requesting to join these groups."
msgstr ""
msgid "You can easily install a Runner on a Kubernetes cluster. %{link_to_help_page}"
msgid "You can easily install a Runner on a Kubernetes cluster. %{link_to_help_page}"
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