Commit c38ba72b authored by NGPixel's avatar NGPixel

refactor: editor-file.vue -> upload, move, delete

parent fe767081
...@@ -38,6 +38,7 @@ import join from 'lodash/join' ...@@ -38,6 +38,7 @@ import join from 'lodash/join'
import kebabCase from 'lodash/kebabCase' import kebabCase from 'lodash/kebabCase'
import last from 'lodash/last' import last from 'lodash/last'
import map from 'lodash/map' import map from 'lodash/map'
import nth from 'lodash/nth'
import pullAt from 'lodash/pullAt' import pullAt from 'lodash/pullAt'
import reject from 'lodash/reject' import reject from 'lodash/reject'
import slice from 'lodash/slice' import slice from 'lodash/slice'
...@@ -101,6 +102,7 @@ const _ = { ...@@ -101,6 +102,7 @@ const _ = {
kebabCase, kebabCase,
last, last,
map, map,
nth,
pullAt, pullAt,
reject, reject,
slice, slice,
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
"filedeleteaction": "Delete", "filedeleteaction": "Delete",
"filedeleteloading": "Deleting file...", "filedeleteloading": "Deleting file...",
"filedeletedefault": "this file", "filedeletedefault": "this file",
"filedeletesuccess": "File deleted successfully.",
"fileerror": "Unable to fetch updated listing.", "fileerror": "Unable to fetch updated listing.",
"filefolderempty": "This folder is empty.", "filefolderempty": "This folder is empty.",
"fileinsert": "Insert Link to File", "fileinsert": "Insert Link to File",
...@@ -17,11 +18,14 @@ ...@@ -17,11 +18,14 @@
"filemoveaction": "Move to...", "filemoveaction": "Move to...",
"filemoveerror": "Move error: {{err}}", "filemoveerror": "Move error: {{err}}",
"filemoveloading": "Moving file...", "filemoveloading": "Moving file...",
"filemovesuccess": "File moved successfully.",
"fileprocessing": "Processing...", "fileprocessing": "Processing...",
"filerenameaction": "Rename", "filerenameaction": "Rename",
"filesuccess": "File link has been inserted.", "filesuccess": "File link has been inserted.",
"filetitle": "Insert File", "filetitle": "Insert File",
"fileupload": "Upload File", "fileupload": "Upload File",
"fileuploaderror": "Upload Error: {{err}}",
"fileuploadsuccess": "File(s) uploaded successfully.",
"folders": "Folders", "folders": "Folders",
"foldersloading": "Fetching folders list...", "foldersloading": "Fetching folders list...",
"newfolder": "New Folder", "newfolder": "New Folder",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment