Skip to content

Commit 17ac962

Browse files
committed
Revert "Revert "Drag and drop functionality""
This reverts commit 41673c3.
1 parent 80b3b28 commit 17ac962

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2332
-483
lines changed

ckeditor/translations/ti.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

language/ar.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ H5PEditor.language.core = {
4545
editImage: 'تعديل الصورة',
4646
saveLabel: 'حفظ',
4747
cancelLabel: 'إلغاء',
48+
deleteAudioLabel: 'Delete Audio',
49+
deleteVideoLabel: 'Delete Video',
4850
resetToOriginalLabel: 'إعادة التعيين إلى النسخة الأصلية',
4951
loadingImageEditor: 'تحميل محرر الصور، يرجى الانتظار...',
5052
selectFiletoUpload: 'حدد ملفا لتحميله',
@@ -55,8 +57,13 @@ H5PEditor.language.core = {
5557
enterVideoTitle: 'ألصق رابط اليوتيوب أو عنوان مصدر الفيديو الاخر',
5658
uploadAudioTitle: 'رفع ملف الصوت',
5759
uploadVideoTitle: 'رفع ملف الفيديو',
60+
fileUploadTitle: 'File Upload',
61+
insertLinkTitle: 'Insert Link',
62+
recordAudioTitle: 'Record Audio',
5863
addVideoDescription:
5964
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
65+
unsupportedVideoSource: "Unsupported video source",
66+
unsupportedAudioSource: "Unsupported audio source",
6067
insert: 'ادراج',
6168
cancel: 'الغاء',
6269
height: 'ارتفاع',

language/bs.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ H5PEditor.language.core = {
4545
editImage: 'Uredite sliku',
4646
saveLabel: 'Sačuvati',
4747
cancelLabel: 'Otkazati',
48+
deleteAudioLabel: 'Delete Audio',
49+
deleteVideoLabel: 'Delete Video',
4850
resetToOriginalLabel: 'Resetirati na original',
4951
loadingImageEditor: 'Učitava se editor za sliku, molimo sačekajte...',
5052
selectFiletoUpload: 'Označite fajl za upload',
@@ -55,8 +57,13 @@ H5PEditor.language.core = {
5557
enterVideoTitle: 'Prenesite YouTube link ili izvorni URL audio fajla',
5658
uploadAudioTitle: 'Upload audio fajla',
5759
uploadVideoTitle: 'Upload video fajla',
60+
fileUploadTitle: 'File Upload',
61+
insertLinkTitle: 'Insert Link',
62+
recordAudioTitle: 'Record Audio',
5863
addVideoDescription:
5964
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
65+
unsupportedVideoSource: "Unsupported video source",
66+
unsupportedAudioSource: "Unsupported audio source",
6067
insert: 'Ubaciti',
6168
cancel: 'Otkazati',
6269
height: 'visina',

language/cs.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ H5PEditor.language.core = {
4444
editImage: 'Upravit obrázek',
4545
saveLabel: 'Uložit',
4646
cancelLabel: 'Zrušit',
47+
deleteAudioLabel: 'Delete Audio',
48+
deleteVideoLabel: 'Delete Video',
4749
resetToOriginalLabel: 'Obnovit původní',
4850
loadingImageEditor: 'Načítání editoru obrázků, počkejte prosím...',
4951
selectFiletoUpload: 'Vyberte soubor, který chcete nahrát',
@@ -54,8 +56,13 @@ H5PEditor.language.core = {
5456
enterVideoTitle: 'Vložte odkaz na YouTube nebo jinou adresu URL zdroje videa',
5557
uploadAudioTitle: 'Nahrajte zvukový soubor',
5658
uploadVideoTitle: 'Nahrajte soubor videa',
59+
fileUploadTitle: 'File Upload',
60+
insertLinkTitle: 'Insert Link',
61+
recordAudioTitle: 'Record Audio',
5762
addVideoDescription:
5863
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
64+
unsupportedVideoSource: "Unsupported video source",
65+
unsupportedAudioSource: "Unsupported audio source",
5966
insert: 'Vložit',
6067
cancel: 'Zrušit',
6168
height: 'výška',

language/de.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ H5PEditor.language.core = {
4646
editImage: 'Bild bearbeiten',
4747
saveLabel: 'Speichern',
4848
cancelLabel: 'Abbrechen',
49+
deleteAudioLabel: 'Delete Audio',
50+
deleteVideoLabel: 'Delete Video',
4951
resetToOriginalLabel: 'Auf Original zurücksetzen',
5052
loadingImageEditor: 'Lade Bildeditor, bitte warten...',
5153
selectFiletoUpload: 'Datei zum Hochladen auswählen',
@@ -56,8 +58,13 @@ H5PEditor.language.core = {
5658
enterVideoTitle: 'YouTube-Link oder andere Video-URL einfügen',
5759
uploadAudioTitle: 'Audio-Datei hochladen',
5860
uploadVideoTitle: 'Video-Datei hochladen',
61+
fileUploadTitle: 'File Upload',
62+
insertLinkTitle: 'Insert Link',
63+
recordAudioTitle: 'Record Audio',
5964
addVideoDescription:
6065
'H5P unterstützt alle externen Videoquellen, die das mp4-, webm- or ogv-Format haben, wie Vimeo Pro, und unterstützt YouTube- und Panopto-Links.',
66+
unsupportedVideoSource: "Unsupported video source",
67+
unsupportedAudioSource: "Unsupported audio source",
6168
insert: 'Einfügen',
6269
cancel: 'Abbrechen',
6370
height: 'Höhe',

language/el.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ H5PEditor.language.core = {
4646
editImage: 'Επεξεργασία εικόνας',
4747
saveLabel: 'Αποθήκευση',
4848
cancelLabel: 'ακύρωση',
49+
deleteAudioLabel: 'Delete Audio',
50+
deleteVideoLabel: 'Delete Video',
4951
resetToOriginalLabel: 'Επαναφορά στο πρωτότυπο',
5052
loadingImageEditor: 'Φόρτωση επεξεργαστή εικόνας, παρακαλούμε περιμένετε...',
5153
selectFiletoUpload: 'Επιλέξτε αρχείο προς μεταφόρτωση',
@@ -56,8 +58,13 @@ H5PEditor.language.core = {
5658
enterVideoTitle: 'Επικολλήστε σύνδεσμο YouTube ή άλλη διεύθυνση URL βίντεο',
5759
uploadAudioTitle: 'Μεταφορτώστε αρχείο ήχου',
5860
uploadVideoTitle: 'Μεταφορτώστε αρχείο video',
61+
fileUploadTitle: 'File Upload',
62+
insertLinkTitle: 'Insert Link',
63+
recordAudioTitle: 'Record Audio',
5964
addVideoDescription:
6065
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
66+
unsupportedVideoSource: "Unsupported video source",
67+
unsupportedAudioSource: "Unsupported audio source",
6168
insert: 'Εισαγωγή',
6269
cancel: 'Ακύρωση',
6370
height: 'ύψος',

language/en.js

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,40 @@ H5PEditor.language.core = {
1717
addFile: 'Add file',
1818
removeFile: 'Remove file',
1919
confirmRemoval: 'Are you sure you wish to remove this :type?',
20-
removeImage: 'Remove image',
21-
confirmImageRemoval: 'This will remove your image. Are you sure you wish to proceed?',
20+
browseFiles: "Browse files",
21+
removeImage: 'Delete Image?',
22+
confirmImageRemoval: 'Are you sure you want to delete this image?',
23+
dragAndDropAndPasteImage: 'Drag and drop image file to upload or paste by :keyCombination',
24+
dragAndDropAndPasteReplaceImage: 'Drag or paste image file here to replace',
25+
dropImage: 'Drop image file here to upload',
26+
uploadImage: 'Upload Image',
27+
uploadingImage: 'Uploading the image, please wait.',
28+
replaceImage: 'Replace Image?',
29+
confirmReplaceImage: 'Are you sure you want to replace this image?',
30+
onlyPasteImageFiles: 'You may only paste image files.',
31+
replaceAudio: 'Replace Audio?',
32+
replaceVideo: 'Replace Video?',
33+
confirmReplaceAudio: 'Are you sure you want to replace this audio?',
34+
confirmReplaceVideo: 'Are you sure you want to replace this video?',
35+
uploadVideo: 'Upload Video',
36+
uploadAudio: 'Upload Audio',
37+
uploadOr: 'or',
38+
dragAndDropAndPasteVideo: 'Drag and drop video file here to upload or paste by :keyCombination',
39+
dragAndDropAndPasteAudio: 'Drag and drop audio file here to upload or paste by :keyCombination',
40+
pasteVideoLink: 'Paste YouTube link or other video source',
41+
pasteAudioLink: 'Paste link or other audio source URL',
42+
dropVideo: 'Drop video file here to upload',
43+
dropAudio: 'Drop audio file here to upload',
44+
enterVideoLink: 'Enter a video link',
45+
enterAudioLink: 'Enter an audio link',
46+
insertUrl: 'Insert URL',
47+
replaceUrl: 'Replace URL',
48+
ctrlKey: 'ctrl',
49+
commandKey: '⌘',
50+
pasteKey: 'v',
51+
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>.',
52+
dragAndDropToReplaceVideo: 'Drag and drop video file here to replace',
53+
dragAndDropToReplaceAudio: 'Drag and drop audio file here to replace',
2254
changeFile: 'Change file',
2355
changeLibrary: 'Change content type?',
2456
semanticsError: 'Semantics error: :error',
@@ -43,7 +75,11 @@ H5PEditor.language.core = {
4375
noSemantics: 'Error, could not load the content type form.',
4476
editImage: 'Edit image',
4577
saveLabel: 'Save',
78+
image: 'Image',
4679
cancelLabel: 'Cancel',
80+
deleteLabel: 'Delete',
81+
deleteAudioLabel: 'Delete Audio',
82+
deleteVideoLabel: 'Delete Video',
4783
resetToOriginalLabel: 'Reset to original',
4884
loadingImageEditor: 'Loading image editor, please wait...',
4985
selectFiletoUpload: 'Select file to upload',
@@ -54,7 +90,12 @@ H5PEditor.language.core = {
5490
enterVideoTitle: 'Paste YouTube link or other video source URL',
5591
uploadAudioTitle: 'Upload audio file',
5692
uploadVideoTitle: 'Upload video file',
93+
fileUploadTitle: 'File Upload',
94+
insertLinkTitle: 'Insert Link',
95+
recordAudioTitle: 'Record Audio',
5796
addVideoDescription: 'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
97+
unsupportedVideoSource: "Unsupported video source",
98+
unsupportedAudioSource: "Unsupported audio source",
5899
insert: 'Insert',
59100
cancel: 'Cancel',
60101
height: 'height',

language/es-cr.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ H5PEditor.language.core = {
4545
editImage: 'Editar imagen',
4646
saveLabel: 'Guardar',
4747
cancelLabel: 'Cancelar',
48+
deleteAudioLabel: 'Delete Audio',
49+
deleteVideoLabel: 'Delete Video',
4850
resetToOriginalLabel: 'Restablecer el original',
4951
loadingImageEditor: 'Cargando editor de imagen, por favor espere...',
5052
selectFiletoUpload: 'Seleccione el fichero a subir',
@@ -55,8 +57,13 @@ H5PEditor.language.core = {
5557
enterVideoTitle: 'Peque el link de Youtube o la URL de la fuente del video',
5658
uploadAudioTitle: 'Subir fichero de audio',
5759
uploadVideoTitle: 'Subir fichero de video',
60+
fileUploadTitle: 'File Upload',
61+
insertLinkTitle: 'Insert Link',
62+
recordAudioTitle: 'Record Audio',
5863
addVideoDescription:
5964
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
65+
unsupportedVideoSource: "Unsupported video source",
66+
unsupportedAudioSource: "Unsupported audio source",
6067
insert: 'Insertar',
6168
cancel: 'Cancelar',
6269
height: 'altura',

language/es-mx.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ H5PEditor.language.core = {
4545
editImage: 'Editar imagen',
4646
saveLabel: 'Guardar',
4747
cancelLabel: 'Cancelar',
48+
deleteAudioLabel: 'Delete Audio',
49+
deleteVideoLabel: 'Delete Video',
4850
resetToOriginalLabel: 'Restablecer el original',
4951
loadingImageEditor: 'Cargando editor de imagen, por favor espere...',
5052
selectFiletoUpload: 'Seleccione el archivo a subir',
@@ -55,8 +57,13 @@ H5PEditor.language.core = {
5557
enterVideoTitle: 'Peque el link de Youtube o la URL de la fuente del video',
5658
uploadAudioTitle: 'Subir archivo de audio',
5759
uploadVideoTitle: 'Subir archivo de video',
60+
fileUploadTitle: 'File Upload',
61+
insertLinkTitle: 'Insert Link',
62+
recordAudioTitle: 'Record Audio',
5863
addVideoDescription:
5964
'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.',
65+
unsupportedVideoSource: "Unsupported video source",
66+
unsupportedAudioSource: "Unsupported audio source",
6067
insert: 'Insertar',
6168
cancel: 'Cancelar',
6269
height: 'altura',

0 commit comments

Comments
 (0)