Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
dd44f106
Unverified
Commit
dd44f106
authored
Oct 08, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using translation keys
parent
ba7d5ddc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
NewFolder.vue
Modules/Media/Assets/js/components/NewFolder.vue
+3
-3
RenameFolder.vue
Modules/Media/Assets/js/components/RenameFolder.vue
+2
-2
app.js
public/js/app.js
+5
-5
No files found.
Modules/Media/Assets/js/components/NewFolder.vue
View file @
dd44f106
<
template
>
<div>
<el-button
type=
"success"
class=
"new-folder"
@
click=
"dialogFormVisible = true"
>
<i
class=
"el-icon-fa-plus"
></i>
New Folder
<i
class=
"el-icon-fa-plus"
></i>
{{
trans
(
'
folders.create resource
'
)
}}
</el-button>
<el-dialog
title=
"New Folder"
:visible
.
sync=
"dialogFormVisible"
size=
"tiny"
>
...
...
@@ -13,8 +13,8 @@
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"closeDialog"
>
Cancel
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit()"
>
Confirm
</el-button>
<el-button
@
click=
"closeDialog"
>
{{
trans
(
'
core.button.cancel
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit()"
>
{{
trans
(
'
core.confirm
'
)
}}
</el-button>
</span>
</el-dialog>
...
...
Modules/Media/Assets/js/components/RenameFolder.vue
View file @
dd44f106
...
...
@@ -9,8 +9,8 @@
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"closeDialog"
>
Cancel
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit()"
>
Confirm
</el-button>
<el-button
@
click=
"closeDialog"
>
{{
trans
(
'
core.button.cancel
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit()"
>
{{
trans
(
'
core.confirm
'
)
}}
</el-button>
</span>
</el-dialog>
</div>
...
...
public/js/app.js
View file @
dd44f106
...
...
@@ -94530,7 +94530,7 @@ var render = function() {
},
[
_c("i", { staticClass: "el-icon-fa-plus" }),
_vm._v("
New Folder
\n ")
_vm._v("
" + _vm._s(_vm.trans("folders.create resource")) + "
\n ")
]
),
_vm._v(" "),
...
...
@@ -94614,7 +94614,7 @@ var render = function() {
},
[
_c("el-button", { on: { click: _vm.closeDialog } }, [
_vm._v(
"Cancel"
)
_vm._v(
_vm._s(_vm.trans("core.button.cancel"))
)
]),
_vm._v(" "),
_c(
...
...
@@ -94627,7 +94627,7 @@ var render = function() {
}
}
},
[_vm._v(
"Confirm"
)]
[_vm._v(
_vm._s(_vm.trans("core.confirm"))
)]
)
],
1
...
...
@@ -95095,7 +95095,7 @@ var render = function() {
},
[
_c("el-button", { on: { click: _vm.closeDialog } }, [
_vm._v(
"Cancel"
)
_vm._v(
_vm._s(_vm.trans("core.button.cancel"))
)
]),
_vm._v(" "),
_c(
...
...
@@ -95108,7 +95108,7 @@ var render = function() {
}
}
},
[_vm._v(
"Confirm"
)]
[_vm._v(
_vm._s(_vm.trans("core.confirm"))
)]
)
],
1
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