Skip to content

JI-6793 Add correct file types in error messages #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: griffin
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions h5peditor-file.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function validate() {
//'video/ogg' => 'ogg',
);
if (!$this->check($allowed)) {
$this->result->error = $this->interface->t('Invalid audio file format. Use mp3 or wav.');
$this->result->error = $this->interface->t('Invalid audio file format. Use mp3, m4a, wav or ogg.');
return FALSE;

}
Expand All @@ -168,7 +168,7 @@ public function validate() {
'video/ogg' => 'ogv',
);
if (!$this->check($allowed)) {
$this->result->error = $this->interface->t('Invalid video file format. Use mp4 or webm.');
$this->result->error = $this->interface->t('Invalid video file format. Use mp4, webm or ogv.');
return FALSE;
}

Expand Down
4 changes: 2 additions & 2 deletions language/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ H5PEditor.language.core = {
commonFieldsDescription: 'يمكنك هنا تعديل الإعدادات أو ترجمة النصوص المستخدمة في هذا المحتوى.',
uploading: 'جاري التحميل .. الرجاء الانتظار...',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
noFollow: 'لا يمكن متابعة الحقل ":path".',
editCopyright: 'تعديل حقوق الطبع والنشر',
close: 'اغلاق',
Expand Down
4 changes: 2 additions & 2 deletions language/bs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ H5PEditor.language.core = {
commonFieldsDescription: 'Ovdje možete urediti podešavanja ili ili tekst korišten u ovoj sadržaju.',
uploading: 'Učitava se, molimo sačekajte...',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
noFollow: 'Ne možemo slijediti polje ":path".',
editCopyright: 'Urednite autorska prava',
close: 'Zatvoriti',
Expand Down
4 changes: 2 additions & 2 deletions language/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ H5PEditor.language.core = {
commonFieldsDescription: 'Zde můžete upravovat nastavení nebo překládat texty použité v tomto obsahu.',
uploading: 'Nahrávám, počkejte prosím...',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
noFollow: 'Nelze sledovat pole ":path".',
editCopyright: 'Upravit autorská práva',
close: 'Zavřít',
Expand Down
4 changes: 2 additions & 2 deletions language/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ H5PEditor.language.core = {
'Hier können Bezeichnungen bearbeitet oder Texte übersetzt werden, die in diesem Inhalt verwendet werden.',
uploading: 'Lade hoch, bitte warten...',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
noFollow: 'Dem Feld ":path" kann nicht gefolgt werden.',
editCopyright: 'Rechteangaben bearbeiten',
close: 'Schließen',
Expand Down
4 changes: 2 additions & 2 deletions language/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ H5PEditor.language.core = {
'Εδώ μπορείτε να επεξεργαστείτε ρυθμίσεις ή να μεταφράσετε κείμενα τα οποία χρησιμοποιούνται σε αυτό το περιεχόμενο.',
uploading: 'Μεταφόρτωση, παρακαλούμε περιμένετε...',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
noFollow: 'Δεν είναι δυνατή η παρακολούθηση του πεδίου ":path".',
editCopyright: 'Επεξεργασία πνευματικών δικαιωμάτων',
close: 'Κλείσιμο',
Expand Down
4 changes: 2 additions & 2 deletions language/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ H5PEditor.language.core = {
uploadAudio: 'Upload Audio',
uploadOr: 'or',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
pasteVideoLink: 'Paste YouTube link or other video source',
pasteAudioLink: 'Paste link or other audio source URL',
dropVideo: 'Drop video file here to upload',
Expand Down
4 changes: 2 additions & 2 deletions language/es-cr.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Modo de edición',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Error en la subida del archivo',
fileToLarge: 'El archivo que intenta subir es demasiado grande.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/es-mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Modo de edición',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Error en la subida del archivo',
fileToLarge: 'El archivo que intenta subir es demasiado grande.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ H5PEditor.language.core = {
uploadAudio: 'Subir Audio',
uploadOr: 'o',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Elige</button>, arrastra o pega el fichero aquí',
dragAndDropAndPasteAudioDescription: 'Máx. 20 MB,formatos soportados: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Máx. 2 GB,formatos recomendado: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Máx. 20 MB,formatos soportados: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Máx. 2 GB,formatos soportados: .webm, .mp4, .ogv',
pasteVideoLink: 'Pega el enlace de YouTube u otro enlace de video',
pasteAudioLink: 'Pega el enlace u otra fuente del audio',
dropVideo: 'Arrastra el video aquí para subirlo',
Expand Down
4 changes: 2 additions & 2 deletions language/et.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Redigeerimismood',
listLabel: 'Loetelu',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Faili üleslaadimise viga',
fileToLarge: 'Fail, mida püüad üles laadida, võib olla liiga suur.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/eu.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Edizio modua',
listLabel: 'Zerrendatu',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Fitxategiaren karga errorea',
fileToLarge: 'Kargatzen saiatzen ari zaren fitxategia handiegia izan daiteke.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/fi.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Muokkaustila',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Virhe tiedoston latauksessa',
fileToLarge: 'Tiedosto jota yrität ladata saattaa olla liian suuri.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ H5PEditor.language.core = {
uploadAudio: 'Ajouter un fichier audio',
uploadOr: 'ou',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choisir</button>, déposer ou coller un fichier ici',
dragAndDropAndPasteAudioDescription: 'Max. 20 MB,formats supportés : .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max. 2 GB,formats recommandés : .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max. 20 MB,formats supportés : .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max. 2 GB,formats supportés : .webm, .mp4, .ogv',
pasteVideoLink: 'Coller un lien YouTube ou une autre source vidéo',
pasteAudioLink: 'Coller un lien ou une autre source audio',
dropVideo: 'Déposer un fichier vidéo ici pour l\'ajouter',
Expand Down
4 changes: 2 additions & 2 deletions language/gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ H5PEditor.language.core = {
editMode: 'Modo de edición',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Erro na carga de ficheiros',
fileToLarge: 'Poida que o ficheiro que estás tentando cargar sexa demasiado grande.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ H5PEditor.language.core = {
editMode: 'Modalità modifica',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Errore nel caricamento del File',
fileToLarge: 'Il file che stai cercando di caricare potrebbe essere troppo pesante.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/ko.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: '편집모드',
listLabel: '목록',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: '파일 업로드 오류',
fileToLarge: '업로드하려는 파일이 너무 클 수 있음.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/nb.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Redigeringsmodus',
listLabel: 'Liste',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Velg</button>, dra inn eller lim inn fil her ',
dragAndDropAndPasteAudioDescription: 'Maks 20 MB,støttede formater: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Maks 2 GB,anbefalte formater: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Maks 20 MB,støttede formater: .wav, .mp3, .m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Maks 2 GB,støttede formater: .webm, .mp4, .ogv',
uploadError: 'Filopplasting feilet',
fileToLarge: 'Filen du prøver å laste opp kan være for stor.',
fileSizeLimit: 'Filen du prøver å laste opp er for stor. Grensen er :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Bewerkmodus',
listLabel: 'Lijst',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Fout bij uploaden bestand',
fileToLarge: 'Het bestand dat je probeert te uploaden kan te groot zijn.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/nn.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Redigeringsmodus',
listLabel: 'Liste',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Filopplasting feilet',
fileToLarge: 'Filen du prøver å laste opp kan være for stor.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ H5PEditor.language.core = {
editMode: 'Tryb edycji',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Błąd podczas dodawnia',
fileToLarge: 'Plik, który chcesz przesłać, może być zbyt duży.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/pt-br.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Modo de edição',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Erro de envio de arquivo',
fileToLarge: 'O arquivo que você está tentando enviar pode ser muito grande.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ H5PEditor.language.core = {
editMode: 'Modo de edição',
listLabel: 'Lista',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Ocorreu um erro ao enviar o ficheiro',
fileToLarge: 'O ficheiro que está a tentar enviar talvez seja muito grande.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
4 changes: 2 additions & 2 deletions language/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ H5PEditor.language.core = {
editMode: 'Режим редактирования',
listLabel: 'Список',
dragAndDropAndPasteAudioVideoTitle: '<button class="h5p-dnd__btn h5p-dnd__btn__upload" type="button">Choose</button>, drop or paste a file here',
dragAndDropAndPasteAudioDescription: 'Max 20 MB,supported formats: .wav, .mp3, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB,recommended formats: .webm, .mp4',
dragAndDropAndPasteAudioDescription: 'Max 20 MB, supported formats: .wav, .mp3, m4a, .ogg',
dragAndDropAndPasteVideoDescription: 'Max 2 GB, supported formats: .webm, .mp4, .ogv',
uploadError: 'Ошибка загрузки файла',
fileToLarge: 'Файл, который вы пытаетесь загрузить, может быть слишком большим.',
fileSizeLimit: 'The file you are trying to upload is too big. The limit is :sizeLimit.',
Expand Down
Loading