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
0bd3684c
Commit
0bd3684c
authored
Feb 08, 2018
by
Shah El-Rahman
Committed by
Clement Ho
Feb 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Annotate graph page for internationalization
parent
7549731a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
app/views/projects/network/_head.html.haml
app/views/projects/network/_head.html.haml
+1
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+2
-2
changelogs/unreleased/internationalize-graph-page.yml
changelogs/unreleased/internationalize-graph-page.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+9
-0
No files found.
app/views/projects/network/_head.html.haml
View file @
0bd3684c
...
@@ -6,4 +6,4 @@
...
@@ -6,4 +6,4 @@
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'graph'
}
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'graph'
}
.oneline
.oneline
You can move around the graph by using the arrow keys.
=
_
(
"You can move around the graph by using the arrow keys."
)
app/views/projects/network/show.html.haml
View file @
0bd3684c
...
@@ -7,14 +7,14 @@
...
@@ -7,14 +7,14 @@
.project-network
.project-network
.controls
.controls
=
form_tag
project_network_path
(
@project
,
@id
),
method: :get
,
class:
'form-inline network-form'
do
|
f
|
=
form_tag
project_network_path
(
@project
,
@id
),
method: :get
,
class:
'form-inline network-form'
do
|
f
|
=
text_field_tag
:extended_sha1
,
@options
[
:extended_sha1
],
placeholder:
"Git revision"
,
class:
'search-input form-control input-mx-250 search-sha'
=
text_field_tag
:extended_sha1
,
@options
[
:extended_sha1
],
placeholder:
_
(
"Git revision"
)
,
class:
'search-input form-control input-mx-250 search-sha'
=
button_tag
class:
'btn btn-success'
do
=
button_tag
class:
'btn btn-success'
do
=
icon
(
'search'
)
=
icon
(
'search'
)
.inline.prepend-left-20
.inline.prepend-left-20
.checkbox.light
.checkbox.light
=
label_tag
:filter_ref
do
=
label_tag
:filter_ref
do
=
check_box_tag
:filter_ref
,
1
,
@options
[
:filter_ref
]
=
check_box_tag
:filter_ref
,
1
,
@options
[
:filter_ref
]
%span
Begin with the selected commit
%span
=
_
(
"Begin with the selected commit"
)
-
if
@commit
-
if
@commit
.network-graph
{
data:
{
url:
@url
,
commit_url:
@commit_url
,
ref:
@ref
,
commit_id:
@commit
.
id
}
}
.network-graph
{
data:
{
url:
@url
,
commit_url:
@commit_url
,
ref:
@ref
,
commit_id:
@commit
.
id
}
}
...
...
changelogs/unreleased/internationalize-graph-page.yml
0 → 100644
View file @
0bd3684c
---
title
:
Internationalize graph page selrahman
merge_request
:
16688
author
:
Shah El-Rahman
type
:
changed
locale/gitlab.pot
View file @
0bd3684c
...
@@ -366,6 +366,9 @@ msgstr ""
...
@@ -366,6 +366,9 @@ msgstr ""
msgid "BillingPlans|per user"
msgid "BillingPlans|per user"
msgstr ""
msgstr ""
msgid "Begin with the selected commit"
msgstr ""
msgid "Branch"
msgid "Branch"
msgid_plural "Branches"
msgid_plural "Branches"
msgstr[0] ""
msgstr[0] ""
...
@@ -1601,6 +1604,9 @@ msgstr ""
...
@@ -1601,6 +1604,9 @@ msgstr ""
msgid "Geo|Shards to synchronize"
msgid "Geo|Shards to synchronize"
msgstr ""
msgstr ""
msgid "Git revision"
msgstr ""
msgid "Git storage health information has been reset"
msgid "Git storage health information has been reset"
msgstr ""
msgstr ""
...
@@ -3581,6 +3587,9 @@ msgstr ""
...
@@ -3581,6 +3587,9 @@ msgstr ""
msgid "You can also star a label to make it a priority label."
msgid "You can also star a label to make it a priority label."
msgstr ""
msgstr ""
msgid "You can move around the graph by using the arrow keys."
msgstr ""
msgid "You can only add files when you are on a branch"
msgid "You can only add files when you are on a branch"
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