mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'dew-translation' into 'dev'
Added translations for files page (uploads/zips) See merge request crafty-controller/crafty-commander!60
This commit is contained in:
commit
bd27e619b4
@ -50,9 +50,9 @@
|
||||
<a onclick="renameItemE(event)" href="javascript:void(0)" id="renameItem" href="#">{{ translate('serverFiles', 'rename') }}</a>
|
||||
<a onclick="deleteFileE(event)" href="javascript:void(0)" id="deleteFile" href="#">{{ translate('serverFiles', 'delete') }}</a>
|
||||
<a onclick="deleteDirE(event)" href="javascript:void(0)" id="deleteDir" href="#">{{ translate('serverFiles', 'delete') }}</a>
|
||||
<a onclick="uploadFilesE(event)" href="javascript:void(0)" id="upload" href="#">Upload Files</a>
|
||||
<a onclick="unzipFilesE(event)" href="javascript:void(0)" id="unzip" href="#">Unzip</a>
|
||||
<a href="javascript:void(0)" class="closebtn" style="color: red;" onclick="document.getElementById('files-tree-nav').style.display = 'none';">Close</a>
|
||||
<a onclick="uploadFilesE(event)" href="javascript:void(0)" id="upload" href="#">{{ translate('serverFiles', 'upload') }}</a>
|
||||
<a onclick="unzipFilesE(event)" href="javascript:void(0)" id="unzip" href="#">{{ translate('serverFiles', 'unzip') }}</a>
|
||||
<a href="javascript:void(0)" class="closebtn" style="color: red;" onclick="document.getElementById('files-tree-nav').style.display = 'none';">{{ translate('serverFiles', 'close') }}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -571,25 +571,25 @@
|
||||
"<input id='files' name='files' type='file' style='display:none;' multiple='true'>" +
|
||||
"<i class='fa fa-cloud-upload fa-3x'></i>" +
|
||||
"<br />" +
|
||||
"Click Here To Select Files" +
|
||||
"{{translate('serverFiles', 'clickUpload')}}" +
|
||||
"</label></form>" +
|
||||
"<br />" +
|
||||
"<ul style='margin-left:5px !important;' id='fileList'></ul>" +
|
||||
"</div><div class='clearfix'></div>";
|
||||
bootbox.dialog({
|
||||
message: uploadHtml,
|
||||
title: "Upload Files to : "+path,
|
||||
title: "{{ translate('serverFiles', 'uploadTitle')}}"+path,
|
||||
buttons: {
|
||||
success: {
|
||||
label: "Upload",
|
||||
label: "{{ translate('serverFiles', 'upload') }}",
|
||||
className: "btn-default",
|
||||
callback: async function () {
|
||||
var height = files.files.length*50;
|
||||
|
||||
var waitMessage = '<p class="text-center mb-0">'+
|
||||
'<i class="fa fa-spin fa-cog"></i>'+
|
||||
'Please wait while we upload your files... This may take a while.<br>'+
|
||||
'<strong>DO NOT CLOSE THIS PAGE.</strong>'+
|
||||
"{{ translate('serverFiles', 'waitUpload') }}"+'<br>'+
|
||||
'<strong>'+"{{ translate('serverFiles', 'stayHere') }}"+'</strong>'+
|
||||
'</p>'+
|
||||
'<div class="progress" id="upload-progress-bar-parent" style="height:'+height +'px; width:100%; display: block;">'+
|
||||
'</div>'
|
||||
|
@ -67,7 +67,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>T
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
#virt_console::-webkit-scrollbar {
|
||||
|
@ -173,7 +173,14 @@
|
||||
"noDelete": "No",
|
||||
"unsupportedLanguage": "Warning: This is not a supported file type",
|
||||
"keybindings": "Keybindings",
|
||||
"fileReadError": "File read error"
|
||||
"fileReadError": "File read error",
|
||||
"upload": "Upload",
|
||||
"unzip": "Unzip",
|
||||
"clickUpload": "Click here to select your files",
|
||||
"uploadTitle": "Upload Files to: ",
|
||||
"waitUpload": "Please wait while we upload your files... This may take a while.",
|
||||
"stayHere": "DO NOT LEAVE THIS PAGE!",
|
||||
"close": "Close"
|
||||
},
|
||||
"serverConfig": {
|
||||
"serverName": "Server Name",
|
||||
|
@ -172,7 +172,14 @@
|
||||
"noDelete": "En",
|
||||
"unsupportedLanguage": "Varoitus: Tätä tiedostotyyppiä ei tueta",
|
||||
"keybindings": "Pikanäppäimet",
|
||||
"fileReadError": "Tiedoston lukuvirhe"
|
||||
"fileReadError": "Tiedoston lukuvirhe",
|
||||
"upload": "Lataa",
|
||||
"unzip": "Pura",
|
||||
"clickUpload": "Valitse tiedostosi napsauttamalla tätä",
|
||||
"uploadTitle": "Lähetä tiedostot: ",
|
||||
"waitUpload": "Odota, kunnes lataamme tiedostosi ... Tämä voi kestää hetken.",
|
||||
"stayHere": "ÄLÄ JÄTÄ SIVUTA!",
|
||||
"close": "Kiinni"
|
||||
},
|
||||
"serverConfig": {
|
||||
"serverName": "Palvelimen nimi",
|
||||
|
@ -173,7 +173,14 @@
|
||||
"noDelete": "Non",
|
||||
"unsupportedLanguage": "Attention : Ce n'est pas un type de fichier supporté",
|
||||
"keybindings": "Raccourcis Clavier",
|
||||
"fileReadError": "Erreur de Lecture du Fichier"
|
||||
"fileReadError": "Erreur de Lecture du Fichier",
|
||||
"upload": "Télécharger",
|
||||
"unzip": "Décompressez",
|
||||
"clickUpload": "Cliquez ici pour sélectionner vos fichiers",
|
||||
"uploadTitle": "Télécharger des fichiers vers : ",
|
||||
"waitUpload": "Veuillez patienter pendant que nous téléchargeons vos fichiers... Cela peut prendre un certain temps.",
|
||||
"stayHere": "NE FERMEZ PAS CETTE PAGE!",
|
||||
"close": "Proche"
|
||||
},
|
||||
"serverConfig": {
|
||||
"serverName": "Nom du Serveur",
|
||||
|
Loading…
Reference in New Issue
Block a user