forked from UniSharp/laravel-filemanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request UniSharp#50 from tsawler/master
Merge from master
- Loading branch information
Showing
24 changed files
with
310 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php namespace Tsawler\Laravelfilemanager\controllers; | ||
|
||
use Illuminate\Foundation\Bus\DispatchesJobs; | ||
use Illuminate\Routing\Controller as BaseController; | ||
use Illuminate\Foundation\Validation\ValidatesRequests; | ||
|
||
abstract class Controller extends BaseController | ||
{ | ||
use DispatchesJobs, ValidatesRequests; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,52 @@ | ||
<?php | ||
|
||
return [ | ||
'upload' => 'Upload', | ||
'thumbnails' => 'Thumbnails', | ||
'list' => 'List', | ||
'new_folder' => 'New Folder', | ||
'rename' => 'Rename', | ||
'delete' => 'Delete', | ||
'view' => 'View', | ||
'download' => 'Download', | ||
'resize' => 'Resize', | ||
'crop' => 'Crop', | ||
'item' => 'Item', | ||
'size' => 'Size', | ||
'type' => 'Type', | ||
'modified' => 'Modified', | ||
'action' => 'Action', | ||
'folder' => 'Folder', | ||
'empty_folder' => 'Folder is empty', | ||
|
||
]; | ||
'nav-upload' => 'Upload', | ||
'nav-thumbnails' => 'Thumbnails', | ||
'nav-list' => 'List', | ||
|
||
'menu-new' => 'New Folder', | ||
'menu-rename' => 'Rename', | ||
'menu-delete' => 'Delete', | ||
'menu-view' => 'View', | ||
'menu-download' => 'Download', | ||
'menu-resize' => 'Resize', | ||
'menu-crop' => 'Crop', | ||
|
||
'title-page' => 'File Manager', | ||
'title-panel' => 'Laravel FileManager', | ||
'title-upload' => 'Upload File', | ||
'title-view' => 'View File', | ||
'title-root' => 'Files', | ||
'title-item' => 'Item', | ||
'title-size' => 'Size', | ||
'title-type' => 'Type', | ||
'title-modified' => 'Modified', | ||
'title-action' => 'Action', | ||
|
||
'type-folder' => 'Folder', | ||
|
||
'message-empty' => 'Folder is empty.', | ||
'message-choose' => 'Choose File', | ||
'message-delete' => 'Are you sure you want to delete this item?', | ||
'message-name' => 'Folder name:', | ||
'message-rename' => 'Rename to:', | ||
|
||
'btn-upload' => 'Upload File', | ||
'btn-close' => 'Close', | ||
'btn-uploading' => 'Uploading...', | ||
'btn-crop' => 'Crop', | ||
'btn-cancel' => 'Cancel', | ||
'btn-resize' => 'Resize', | ||
|
||
'resize-ratio' => 'Ratio:', | ||
'resize-scaled' => 'Image scaled:', | ||
'resize-true' => 'Yes', | ||
'resize-old-height' => 'Original Height:', | ||
'resize-old-width' => 'Original Width:', | ||
'resize-new-height' => 'Height:', | ||
'resize-new-width' => 'Width:', | ||
|
||
'locale-bootbox' => 'en', | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,52 @@ | ||
<?php | ||
|
||
return [ | ||
'upload' => 'Charger', | ||
'thumbnails' => 'Vignettes', | ||
'list' => 'Liste', | ||
'new_folder' => 'Nouveau dossier', | ||
'rename' => 'Renommez', | ||
'delete' => 'Effacer', | ||
'view' => 'Voir le', | ||
'download' => 'Télécharger', | ||
'resize' => 'Redimensionner', | ||
'crop' => 'Récolte', | ||
'item' => 'Article', | ||
'size' => 'Taille du fichier', | ||
'type' => 'Type de fichier', | ||
'modified' => 'Date modifiée', | ||
'action' => 'Exécuter l’action', | ||
'folder' => 'Dossier', | ||
'empty_folder' => 'Dossier est vide', | ||
]; | ||
'nav-upload' => 'Charger', | ||
'nav-thumbnails' => 'Vignettes', | ||
'nav-list' => 'Liste', | ||
|
||
'menu-new' => 'Nouveau dossier', | ||
'menu-rename' => 'Renommez', | ||
'menu-delete' => 'Effacer', | ||
'menu-view' => 'Voir le', | ||
'menu-download' => 'Télécharger', | ||
'menu-resize' => 'Redimensionner', | ||
'menu-crop' => 'Récolte', | ||
|
||
'title-page' => '', | ||
'title-panel' => '', | ||
'title-upload' => '', | ||
'title-view' => '', | ||
'title-root' => '', | ||
'title-item' => 'Article', | ||
'title-size' => 'Taille du fichier', | ||
'title-type' => 'Type de fichier', | ||
'title-modified' => 'Date modifiée', | ||
'title-action' => 'Exécuter l’action', | ||
|
||
'type-folder' => 'Dossier', | ||
|
||
'message-empty' => 'Dossier est vide', | ||
'message-choose' => '', | ||
'message-delete' => '', | ||
'message-name' => '', | ||
'message-rename' => '', | ||
|
||
'btn-upload' => '', | ||
'btn-close' => '', | ||
'btn-uploading' => '', | ||
'btn-crop' => '', | ||
'btn-cancel' => '', | ||
'btn-resize' => '', | ||
|
||
'resize-ratio' => '', | ||
'resize-scaled' => '', | ||
'resize-true' => '', | ||
'resize-old-height' => '', | ||
'resize-old-width' => '', | ||
'resize-new-height' => '', | ||
'resize-new-width' => '', | ||
|
||
'locale-bootbox' => 'fr', | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php | ||
|
||
return [ | ||
'nav-upload' => 'Загрузить', | ||
'nav-thumbnails' => 'Просмотр', | ||
'nav-list' => 'Список', | ||
|
||
'menu-new' => 'Новая папка', | ||
'menu-rename' => 'Переименовать', | ||
'menu-delete' => 'Удалить', | ||
'menu-view' => 'Просмотр', | ||
'menu-download' => 'Скачать', | ||
'menu-resize' => 'Размер изображения', | ||
'menu-crop' => 'Кадрирование', | ||
|
||
'title-page' => 'Файловый менеджер', | ||
'title-panel' => 'Файловый менеджер', | ||
'title-upload' => 'Загрузить файл', | ||
'title-view' => 'Просмотр', | ||
'title-root' => 'Файлы', | ||
'title-shares' => 'Общие файлы', | ||
'title-item' => 'Элемент', | ||
'title-size' => 'Размер изображения', | ||
'title-type' => 'Тип', | ||
'title-modified' => 'Изменен', | ||
'title-action' => 'Действие', | ||
|
||
'type-folder' => 'Папка', | ||
|
||
'message-empty' => 'Папка пуста.', | ||
'message-choose' => 'Выбрать файл', | ||
'message-delete' => 'Вы уверены, что хотите удалить этот элемент?', | ||
'message-name' => 'Название папки:', | ||
'message-rename' => 'Переименовать как:', | ||
|
||
'error-rename' => 'Файл с таким именем уже загружен!', | ||
'error-file-empty' => 'Вы должнв выбрать файл!', | ||
'error-file-exist' => 'Файл с таким именем уже загружен!', | ||
'error-delete' => 'Вы не можете удалить эту папку, потому что она не пуста!', | ||
'error-folder-name' => 'Имя файла не должно быть пустым!', | ||
'error-folder-exist'=> 'Папка с таким именем уже есть на сервере!', | ||
|
||
'btn-upload' => 'Загрузить файл', | ||
'btn-close' => 'Закрыть', | ||
'btn-uploading' => 'Загрузка...', | ||
'btn-crop' => 'Кадрировать', | ||
'btn-cancel' => 'Отмена', | ||
'btn-resize' => 'Изменить размер', | ||
|
||
'resize-ratio' => 'Соотношение сторон:', | ||
'resize-scaled' => 'Сохранять пропорции:', | ||
'resize-true' => 'Да', | ||
'resize-old-height' => 'Исходная высота:', | ||
'resize-old-width' => 'Исходная ширина:', | ||
'resize-new-height' => 'Высота:', | ||
'resize-new-width' => 'Ширина:', | ||
|
||
'locale-bootbox' => 'ru', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
|
||
return [ | ||
'nav-upload' => '上傳檔案', | ||
'nav-thumbnails' => '縮圖顯示', | ||
'nav-list' => '列表顯示', | ||
|
||
'menu-new' => '新增資料夾', | ||
'menu-rename' => '重新命名', | ||
'menu-delete' => '刪除', | ||
'menu-view' => '預覽', | ||
'menu-download' => '下載', | ||
'menu-resize' => '縮放', | ||
'menu-crop' => '裁剪', | ||
|
||
'title-page' => '檔案管理', | ||
'title-panel' => '檔案管理', | ||
'title-upload' => '上傳檔案', | ||
'title-view' => '預覽檔案', | ||
'title-root' => '我的檔案', | ||
'title-item' => '項目名稱', | ||
'title-size' => '檔案大小', | ||
'title-type' => '檔案類型', | ||
'title-modified' => '上次修改', | ||
'title-action' => '操作', | ||
|
||
'type-folder' => '資料夾', | ||
|
||
'message-empty' => '空的資料夾', | ||
'message-choose' => '選擇檔案', | ||
'message-delete' => '確定要刪除此項目嗎?', | ||
'message-name' => '資料夾名稱:', | ||
'message-rename' => '重新命名為:', | ||
|
||
'btn-upload' => '上傳', | ||
'btn-close' => '關閉', | ||
'btn-uploading' => '上傳中...', | ||
'btn-crop' => '裁剪', | ||
'btn-cancel' => '取消', | ||
'btn-resize' => '縮放', | ||
|
||
'resize-ratio' => '比例:', | ||
'resize-scaled' => '是否已縮放:', | ||
'resize-true' => '是', | ||
'resize-old-height' => '原始高度:', | ||
'resize-old-width' => '原始寬度:', | ||
'resize-new-height' => '目前高度:', | ||
'resize-new-width' => '目前寬度:', | ||
|
||
'locale-bootbox' => 'zh_TW', | ||
|
||
]; |
Oops, something went wrong.