Skip to content

Commit

Permalink
Revert "Revert "Drag and drop functionality""
Browse files Browse the repository at this point in the history
This reverts commit 41673c3.
  • Loading branch information
Languafe committed Oct 24, 2024
1 parent 80b3b28 commit 17ac962
Show file tree
Hide file tree
Showing 47 changed files with 2,332 additions and 483 deletions.
1 change: 0 additions & 1 deletion ckeditor/translations/ti.js

This file was deleted.

7 changes: 7 additions & 0 deletions language/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ H5PEditor.language.core = {
editImage: 'تعديل الصورة',
saveLabel: 'حفظ',
cancelLabel: 'إلغاء',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'إعادة التعيين إلى النسخة الأصلية',
loadingImageEditor: 'تحميل محرر الصور، يرجى الانتظار...',
selectFiletoUpload: 'حدد ملفا لتحميله',
Expand All @@ -55,8 +57,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'ألصق رابط اليوتيوب أو عنوان مصدر الفيديو الاخر',
uploadAudioTitle: 'رفع ملف الصوت',
uploadVideoTitle: 'رفع ملف الفيديو',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'ادراج',
cancel: 'الغاء',
height: 'ارتفاع',
Expand Down
7 changes: 7 additions & 0 deletions language/bs.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ H5PEditor.language.core = {
editImage: 'Uredite sliku',
saveLabel: 'Sačuvati',
cancelLabel: 'Otkazati',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Resetirati na original',
loadingImageEditor: 'Učitava se editor za sliku, molimo sačekajte...',
selectFiletoUpload: 'Označite fajl za upload',
Expand All @@ -55,8 +57,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'Prenesite YouTube link ili izvorni URL audio fajla',
uploadAudioTitle: 'Upload audio fajla',
uploadVideoTitle: 'Upload video fajla',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Ubaciti',
cancel: 'Otkazati',
height: 'visina',
Expand Down
7 changes: 7 additions & 0 deletions language/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ H5PEditor.language.core = {
editImage: 'Upravit obrázek',
saveLabel: 'Uložit',
cancelLabel: 'Zrušit',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Obnovit původní',
loadingImageEditor: 'Načítání editoru obrázků, počkejte prosím...',
selectFiletoUpload: 'Vyberte soubor, který chcete nahrát',
Expand All @@ -54,8 +56,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'Vložte odkaz na YouTube nebo jinou adresu URL zdroje videa',
uploadAudioTitle: 'Nahrajte zvukový soubor',
uploadVideoTitle: 'Nahrajte soubor videa',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Vložit',
cancel: 'Zrušit',
height: 'výška',
Expand Down
7 changes: 7 additions & 0 deletions language/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ H5PEditor.language.core = {
editImage: 'Bild bearbeiten',
saveLabel: 'Speichern',
cancelLabel: 'Abbrechen',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Auf Original zurücksetzen',
loadingImageEditor: 'Lade Bildeditor, bitte warten...',
selectFiletoUpload: 'Datei zum Hochladen auswählen',
Expand All @@ -56,8 +58,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'YouTube-Link oder andere Video-URL einfügen',
uploadAudioTitle: 'Audio-Datei hochladen',
uploadVideoTitle: 'Video-Datei hochladen',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P unterstützt alle externen Videoquellen, die das mp4-, webm- or ogv-Format haben, wie Vimeo Pro, und unterstützt YouTube- und Panopto-Links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Einfügen',
cancel: 'Abbrechen',
height: 'Höhe',
Expand Down
7 changes: 7 additions & 0 deletions language/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ H5PEditor.language.core = {
editImage: 'Επεξεργασία εικόνας',
saveLabel: 'Αποθήκευση',
cancelLabel: 'ακύρωση',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Επαναφορά στο πρωτότυπο',
loadingImageEditor: 'Φόρτωση επεξεργαστή εικόνας, παρακαλούμε περιμένετε...',
selectFiletoUpload: 'Επιλέξτε αρχείο προς μεταφόρτωση',
Expand All @@ -56,8 +58,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'Επικολλήστε σύνδεσμο YouTube ή άλλη διεύθυνση URL βίντεο',
uploadAudioTitle: 'Μεταφορτώστε αρχείο ήχου',
uploadVideoTitle: 'Μεταφορτώστε αρχείο video',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Εισαγωγή',
cancel: 'Ακύρωση',
height: 'ύψος',
Expand Down
45 changes: 43 additions & 2 deletions language/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,40 @@ H5PEditor.language.core = {
addFile: 'Add file',
removeFile: 'Remove file',
confirmRemoval: 'Are you sure you wish to remove this :type?',
removeImage: 'Remove image',
confirmImageRemoval: 'This will remove your image. Are you sure you wish to proceed?',
browseFiles: "Browse files",
removeImage: 'Delete Image?',
confirmImageRemoval: 'Are you sure you want to delete this image?',
dragAndDropAndPasteImage: 'Drag and drop image file to upload or paste by :keyCombination',
dragAndDropAndPasteReplaceImage: 'Drag or paste image file here to replace',
dropImage: 'Drop image file here to upload',
uploadImage: 'Upload Image',
uploadingImage: 'Uploading the image, please wait.',
replaceImage: 'Replace Image?',
confirmReplaceImage: 'Are you sure you want to replace this image?',
onlyPasteImageFiles: 'You may only paste image files.',
replaceAudio: 'Replace Audio?',
replaceVideo: 'Replace Video?',
confirmReplaceAudio: 'Are you sure you want to replace this audio?',
confirmReplaceVideo: 'Are you sure you want to replace this video?',
uploadVideo: 'Upload Video',
uploadAudio: 'Upload Audio',
uploadOr: 'or',
dragAndDropAndPasteVideo: 'Drag and drop video file here to upload or paste by :keyCombination',
dragAndDropAndPasteAudio: 'Drag and drop audio file here to upload or paste by :keyCombination',
pasteVideoLink: 'Paste YouTube link or other video source',
pasteAudioLink: 'Paste link or other audio source URL',
dropVideo: 'Drop video file here to upload',
dropAudio: 'Drop audio file here to upload',
enterVideoLink: 'Enter a video link',
enterAudioLink: 'Enter an audio link',
insertUrl: 'Insert URL',
replaceUrl: 'Replace URL',
ctrlKey: 'ctrl',
commandKey: '⌘',
pasteKey: 'v',
supportedVideoFormats: 'H5P supports the following external video sources: <span class="h5p-bold">Youtube</span>, <span class="h5p-bold">Panopto</span> and <span class="h5p-bold">Vimeo</span>.',
dragAndDropToReplaceVideo: 'Drag and drop video file here to replace',
dragAndDropToReplaceAudio: 'Drag and drop audio file here to replace',
changeFile: 'Change file',
changeLibrary: 'Change content type?',
semanticsError: 'Semantics error: :error',
Expand All @@ -43,7 +75,11 @@ H5PEditor.language.core = {
noSemantics: 'Error, could not load the content type form.',
editImage: 'Edit image',
saveLabel: 'Save',
image: 'Image',
cancelLabel: 'Cancel',
deleteLabel: 'Delete',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Reset to original',
loadingImageEditor: 'Loading image editor, please wait...',
selectFiletoUpload: 'Select file to upload',
Expand All @@ -54,7 +90,12 @@ H5PEditor.language.core = {
enterVideoTitle: 'Paste YouTube link or other video source URL',
uploadAudioTitle: 'Upload audio file',
uploadVideoTitle: 'Upload video file',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription: 'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Insert',
cancel: 'Cancel',
height: 'height',
Expand Down
7 changes: 7 additions & 0 deletions language/es-cr.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ H5PEditor.language.core = {
editImage: 'Editar imagen',
saveLabel: 'Guardar',
cancelLabel: 'Cancelar',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Restablecer el original',
loadingImageEditor: 'Cargando editor de imagen, por favor espere...',
selectFiletoUpload: 'Seleccione el fichero a subir',
Expand All @@ -55,8 +57,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'Peque el link de Youtube o la URL de la fuente del video',
uploadAudioTitle: 'Subir fichero de audio',
uploadVideoTitle: 'Subir fichero de video',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Insertar',
cancel: 'Cancelar',
height: 'altura',
Expand Down
7 changes: 7 additions & 0 deletions language/es-mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ H5PEditor.language.core = {
editImage: 'Editar imagen',
saveLabel: 'Guardar',
cancelLabel: 'Cancelar',
deleteAudioLabel: 'Delete Audio',
deleteVideoLabel: 'Delete Video',
resetToOriginalLabel: 'Restablecer el original',
loadingImageEditor: 'Cargando editor de imagen, por favor espere...',
selectFiletoUpload: 'Seleccione el archivo a subir',
Expand All @@ -55,8 +57,13 @@ H5PEditor.language.core = {
enterVideoTitle: 'Peque el link de Youtube o la URL de la fuente del video',
uploadAudioTitle: 'Subir archivo de audio',
uploadVideoTitle: 'Subir archivo de video',
fileUploadTitle: 'File Upload',
insertLinkTitle: 'Insert Link',
recordAudioTitle: 'Record Audio',
addVideoDescription:
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
unsupportedVideoSource: "Unsupported video source",
unsupportedAudioSource: "Unsupported audio source",
insert: 'Insertar',
cancel: 'Cancelar',
height: 'altura',
Expand Down
Loading

0 comments on commit 17ac962

Please sign in to comment.