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
fc63d6c0
Commit
fc63d6c0
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
15762319
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
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
+11
-2
No files found.
app/views/projects/network/_head.html.haml
View file @
fc63d6c0
...
...
@@ -6,4 +6,4 @@
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'graph'
}
.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 @
fc63d6c0
...
...
@@ -7,14 +7,14 @@
.project-network
.controls
=
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
=
icon
(
'search'
)
.inline.prepend-left-20
.checkbox.light
=
label_tag
:filter_ref
do
=
check_box_tag
:filter_ref
,
1
,
@options
[
:filter_ref
]
%span
Begin with the selected commit
%span
=
_
(
"Begin with the selected commit"
)
-
if
@commit
.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 @
fc63d6c0
---
title
:
Internationalize graph page selrahman
merge_request
:
16688
author
:
Shah El-Rahman
type
:
changed
locale/gitlab.pot
View file @
fc63d6c0
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-07 1
3:35+01
00\n"
"PO-Revision-Date: 2018-02-07 1
3:35+01
00\n"
"POT-Creation-Date: 2018-02-07 1
1:38-06
00\n"
"PO-Revision-Date: 2018-02-07 1
1:38-06
00\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
...
...
@@ -294,6 +294,9 @@ msgstr ""
msgid "Avatar will be removed. Are you sure?"
msgstr ""
msgid "Begin with the selected commit"
msgstr ""
msgid "Branch"
msgid_plural "Branches"
msgstr[0] ""
...
...
@@ -1325,6 +1328,9 @@ msgstr ""
msgid "Generate a default set of labels"
msgstr ""
msgid "Git revision"
msgstr ""
msgid "Git storage health information has been reset"
msgstr ""
...
...
@@ -3108,6 +3114,9 @@ msgstr ""
msgid "You can also star a label to make it a priority label."
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"
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