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
d3d4a1d9
Commit
d3d4a1d9
authored
Jul 25, 2019
by
Ezekiel Kigbo
Committed by
Phil Hughes
Jul 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autofix i18n lints for vue files
Autofixes additional linting errors found in vue files.
parent
5ebb3d2b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
15 deletions
+59
-15
app/assets/javascripts/boards/components/board_form.vue
app/assets/javascripts/boards/components/board_form.vue
+15
-12
app/assets/javascripts/ide/components/commit_sidebar/success_message.vue
...scripts/ide/components/commit_sidebar/success_message.vue
+3
-1
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
...cripts/performance_bar/components/performance_bar_app.vue
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+39
-0
No files found.
app/assets/javascripts/boards/components/board_form.vue
View file @
d3d4a1d9
<
script
>
import
{
__
}
from
'
~/locale
'
;
import
Flash
from
'
~/flash
'
;
import
DeprecatedModal
from
'
~/vue_shared/components/deprecated_modal.vue
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
...
...
@@ -86,12 +87,12 @@ export default {
},
buttonText
()
{
if
(
this
.
isNewForm
)
{
return
'
Create board
'
;
return
__
(
'
Create board
'
)
;
}
if
(
this
.
isDeleteForm
)
{
return
'
Delete
'
;
return
__
(
'
Delete
'
)
;
}
return
'
Save changes
'
;
return
__
(
'
Save changes
'
)
;
},
buttonKind
()
{
if
(
this
.
isNewForm
)
{
...
...
@@ -104,15 +105,15 @@ export default {
},
title
()
{
if
(
this
.
isNewForm
)
{
return
'
Create new board
'
;
return
__
(
'
Create new board
'
)
;
}
if
(
this
.
isDeleteForm
)
{
return
'
Delete board
'
;
return
__
(
'
Delete board
'
)
;
}
if
(
this
.
readonly
)
{
return
'
Board scope
'
;
return
__
(
'
Board scope
'
)
;
}
return
'
Edit board
'
;
return
__
(
'
Edit board
'
)
;
},
readonly
()
{
return
!
this
.
canAdminBoard
;
...
...
@@ -138,7 +139,7 @@ export default {
visitUrl
(
boardsStore
.
rootPath
);
})
.
catch
(()
=>
{
Flash
(
'
Failed to delete board. Please try again.
'
);
Flash
(
__
(
'
Failed to delete board. Please try again.
'
)
);
this
.
isLoading
=
false
;
});
}
else
{
...
...
@@ -149,7 +150,7 @@ export default {
visitUrl
(
data
.
board_path
);
})
.
catch
(()
=>
{
Flash
(
'
Unable to save your changes. Please try again.
'
);
Flash
(
__
(
'
Unable to save your changes. Please try again.
'
)
);
this
.
isLoading
=
false
;
});
}
...
...
@@ -182,17 +183,19 @@ export default {
@
submit=
"submit"
>
<template
slot=
"body"
>
<p
v-if=
"isDeleteForm"
>
Are you sure you want to delete this board?
</p>
<p
v-if=
"isDeleteForm"
>
{{
__
(
'
Are you sure you want to delete this board?
'
)
}}
</p>
<form
v-else
class=
"js-board-config-modal"
@
submit
.
prevent
>
<div
v-if=
"!readonly"
class=
"append-bottom-20"
>
<label
class=
"form-section-title label-bold"
for=
"board-new-name"
>
Board name
</label>
<label
class=
"form-section-title label-bold"
for=
"board-new-name"
>
{{
__
(
'
Board name
'
)
}}
</label>
<input
id=
"board-new-name"
ref=
"name"
v-model=
"board.name"
class=
"form-control"
type=
"text"
placeholder=
"Enter board name
"
:placeholder=
"__('Enter board name')
"
@
keyup.enter=
"submit"
/>
</div>
...
...
app/assets/javascripts/ide/components/commit_sidebar/success_message.vue
View file @
d3d4a1d9
...
...
@@ -10,7 +10,9 @@ export default {
<
template
>
<div
class=
"multi-file-commit-panel-success-message"
aria-live=
"assertive"
>
<div
class=
"svg-content svg-80"
><img
:src=
"committedStateSvgPath"
alt=
""
/></div>
<div
class=
"svg-content svg-80"
>
<img
:src=
"committedStateSvgPath"
:alt=
"s__('IDE|Successful commit')"
/>
</div>
<div
class=
"append-right-default prepend-left-default"
>
<div
class=
"text-content text-center"
>
<h4>
{{
__
(
'
All changes are committed
'
)
}}
</h4>
...
...
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
View file @
d3d4a1d9
...
...
@@ -43,13 +43,13 @@ export default {
},
{
metric
:
'
rugged
'
,
header
:
'
Rugged calls
'
,
header
:
s__
(
'
PerformanceBar|Rugged calls
'
)
,
details
:
'
details
'
,
keys
:
[
'
feature
'
,
'
args
'
],
},
{
metric
:
'
redis
'
,
header
:
'
Redis calls
'
,
header
:
s__
(
'
PerformanceBar|Redis calls
'
)
,
details
:
'
details
'
,
keys
:
[
'
cmd
'
],
},
...
...
locale/gitlab.pot
View file @
d3d4a1d9
...
...
@@ -1239,6 +1239,9 @@ msgstr ""
msgid "Are you sure you want to delete this %{typeOfComment}?"
msgstr ""
msgid "Are you sure you want to delete this board?"
msgstr ""
msgid "Are you sure you want to delete this device? This action cannot be undone."
msgstr ""
...
...
@@ -1636,6 +1639,12 @@ msgstr ""
msgid "Blog"
msgstr ""
msgid "Board name"
msgstr ""
msgid "Board scope"
msgstr ""
msgid "BoardBlankState|Add default lists"
msgstr ""
...
...
@@ -3228,6 +3237,9 @@ msgstr ""
msgid "Create a personal access token on your account to pull or push via %{protocol}."
msgstr ""
msgid "Create board"
msgstr ""
msgid "Create branch"
msgstr ""
...
...
@@ -3267,6 +3279,9 @@ msgstr ""
msgid "Create milestone"
msgstr ""
msgid "Create new board"
msgstr ""
msgid "Create new branch"
msgstr ""
...
...
@@ -3495,6 +3510,9 @@ msgstr ""
msgid "Delete Snippet"
msgstr ""
msgid "Delete board"
msgstr ""
msgid "Delete comment"
msgstr ""
...
...
@@ -3887,6 +3905,9 @@ msgstr ""
msgid "Edit application"
msgstr ""
msgid "Edit board"
msgstr ""
msgid "Edit comment"
msgstr ""
...
...
@@ -4067,6 +4088,9 @@ msgstr ""
msgid "Enter at least three characters to search"
msgstr ""
msgid "Enter board name"
msgstr ""
msgid "Enter in your Bitbucket Server URL and personal access token below"
msgstr ""
...
...
@@ -4583,6 +4607,9 @@ msgstr ""
msgid "Failed to create resources"
msgstr ""
msgid "Failed to delete board. Please try again."
msgstr ""
msgid "Failed to deploy to"
msgstr ""
...
...
@@ -5382,6 +5409,9 @@ msgstr ""
msgid "IDE|Review"
msgstr ""
msgid "IDE|Successful commit"
msgstr ""
msgid "IP Address"
msgstr ""
...
...
@@ -7409,6 +7439,12 @@ msgstr ""
msgid "PerformanceBar|Gitaly calls"
msgstr ""
msgid "PerformanceBar|Redis calls"
msgstr ""
msgid "PerformanceBar|Rugged calls"
msgstr ""
msgid "PerformanceBar|SQL queries"
msgstr ""
...
...
@@ -11588,6 +11624,9 @@ msgstr ""
msgid "Unable to resolve"
msgstr ""
msgid "Unable to save your changes. Please try again."
msgstr ""
msgid "Unable to schedule a pipeline to run immediately"
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