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
3b028886
Commit
3b028886
authored
Jun 13, 2018
by
Tao Wang
Committed by
Rémy Coutable
Nov 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n: externalize strings from 'app/views/layouts'
Signed-off-by:
Tao Wang
<
twang2218@gmail.com
>
parent
f0133b68
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
app/views/layouts/devise.html.haml
app/views/layouts/devise.html.haml
+1
-1
app/views/layouts/nav/sidebar/_admin.html.haml
app/views/layouts/nav/sidebar/_admin.html.haml
+5
-5
app/views/layouts/nav/sidebar/_profile.html.haml
app/views/layouts/nav/sidebar/_profile.html.haml
+3
-3
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/layouts/devise.html.haml
View file @
3b028886
...
...
@@ -28,7 +28,7 @@
=
markdown_field
(
Gitlab
::
CurrentSettings
.
current_application_settings
,
:sign_in_text
)
-
if
Gitlab
::
CurrentSettings
.
help_text
.
present?
%h3
Need help?
%h3
=
_
(
"Need help?"
)
%hr
%p
.slead
=
markdown
(
Gitlab
::
CurrentSettings
.
help_text
)
...
...
app/views/layouts/nav/sidebar/_admin.html.haml
View file @
3b028886
...
...
@@ -138,12 +138,12 @@
.nav-icon-container
=
sprite_icon
(
'license'
)
%span
.nav-item-name
License
=
_
(
'License'
)
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller: :licenses
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
admin_license_path
do
%strong
.fly-out-top-item-name
#{
_
(
'License'
)
}
=
_
(
'License'
)
-
if
akismet_enabled?
=
nav_link
(
controller: :spam_logs
)
do
...
...
@@ -163,12 +163,12 @@
.nav-icon-container
=
sprite_icon
(
'push-rules'
)
%span
.nav-item-name
Push Rules
=
_
(
'Push Rules'
)
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller: :push_rules
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
admin_push_rule_path
do
%strong
.fly-out-top-item-name
#{
_
(
'Push Rules'
)
}
=
_
(
'Push Rules'
)
=
nav_link
(
controller:
%w(admin/geo/nodes admin/geo/projects)
)
do
=
link_to
admin_geo_nodes_path
,
class:
"qa-link-geo-menu"
do
...
...
@@ -190,7 +190,7 @@
=
nav_link
(
path:
'admin/geo/projects#index'
)
do
=
link_to
admin_geo_projects_path
,
title:
'Projects'
do
%span
#{
_
(
'Projects'
)
}
=
_
(
'Projects'
)
=
nav_link
(
controller: :deploy_keys
)
do
=
link_to
admin_deploy_keys_path
do
...
...
app/views/layouts/nav/sidebar/_profile.html.haml
View file @
3b028886
...
...
@@ -34,7 +34,7 @@
.nav-icon-container
=
custom_icon
(
'credit_card'
)
%span
.nav-item-name
Billing
=
_
(
"Billing"
)
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller: :billings
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
profile_billings_path
do
...
...
@@ -167,11 +167,11 @@
.nav-icon-container
=
custom_icon
(
'pipeline'
)
%span
.nav-item-name
Pipeline quota
=
_
(
'Pipeline quota'
)
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
path:
'profiles#pipeline_quota'
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
profile_pipeline_quota_path
do
%strong
.fly-out-top-item-name
#{
_
(
'Pipeline quota'
)
}
=
_
(
'Pipeline quota'
)
=
render
'shared/sidebar_toggle_button'
locale/gitlab.pot
View file @
3b028886
...
...
@@ -5445,6 +5445,9 @@ msgstr ""
msgid "Nav|Sign out and sign in with a different account"
msgstr ""
msgid "Need help?"
msgstr ""
msgid "Network"
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