Skip to content
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

Add font mime kinds (WOFF, WOFF2, EOT, SFNT, generic font/*) #3691

Open
wants to merge 2 commits into
base: master
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
13 changes: 13 additions & 0 deletions js/elFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5991,6 +5991,17 @@ elFinder.prototype = {
'image/vnd.adobe.photoshop' : 'PSD',
'image/xbm' : 'XBITMAP',
'image/pxm' : 'PXM',
'application/vnd.ms-fontobject' : 'EOT',
'font/sfnt' : 'SFNT',
'application/font-sfnt' : 'SFNT',
'font/ttf' : 'TTF',
'font/opentype' : 'OTF',
'font/otf' : 'OTF',
'application/x-font-opentype' : 'OTF',
'font/woff' : 'WOFF',
'application/font-woff' : 'WOFF',
'font/woff2' : 'WOFF2',
'application/font-woff2' : 'WOFF2',
'audio/mpeg' : 'AudioMPEG',
'audio/midi' : 'AudioMIDI',
'audio/ogg' : 'AudioOGG',
Expand Down Expand Up @@ -8981,6 +8992,8 @@ elFinder.prototype = {
kind = 'Video';
} else if (mime.indexOf('application') === 0) {
kind = 'App';
} else if (mime.indexOf('font') === 0) {
kind = 'Font';
} else {
kind = mime;
}
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.LANG.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM package',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Text document',
'kindTextPlain' : 'Plain text',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,12 @@
'kindTTF' : 'خط True Type ',
'kindOTF' : 'خط Open Type ',
'kindRPM' : 'حزمة RPM',
// fonts
'kindFont' : 'خط',
'kindSFNT' : 'خط SFNT',
'kindEOT' : 'خط Embedded Open Type',
'kindWOFF' : 'خط Web Open Font Format',
'kindWOFF2' : 'خط Web Open Font Format 2',
// texts
'kindText' : 'وثيقة نصية',
'kindTextPlain' : 'نص عادي',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,12 @@
'kindTTF' : 'True Type шрифт',
'kindOTF' : 'Open Type шрифт',
'kindRPM' : 'RPM пакет',
// fonts
'kindFont' : 'шрифт',
'kindSFNT' : 'SFNT шрифт',
'kindEOT' : 'Embedded Open Type шрифт',
'kindWOFF' : 'Web Open Font Format шрифт',
'kindWOFF2' : 'Web Open Font Format 2 шрифт',
// texts
'kindText' : 'Текстов документ',
'kindTextPlain' : 'Чист текст',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@
'kindTTF' : 'Tipus de lletra True Type',
'kindOTF' : 'Tipus de lletra Open Type',
'kindRPM' : 'Paquet RPM',
// fonts
'kindFont' : 'Tipus de lletra',
'kindSFNT' : 'Tipus de lletra SFNT',
'kindEOT' : 'Tipus de lletra Embedded Open Type',
'kindWOFF' : 'Tipus de lletra Web Open Font Format',
'kindWOFF2' : 'Tipus de lletra Web Open Font Format 2',
// texts
'kindText' : 'Document de text',
'kindTextPlain' : 'Document de text net',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM balíček',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Textový dokument',
'kindTextPlain' : 'Čistý text',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.da.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,12 @@
'kindTTF' : 'True Type skrift',
'kindOTF' : 'Open Type skrift',
'kindRPM' : 'RPM pakke',
// fonts
'kindFont' : 'Skrift',
'kindSFNT' : 'SFNT skrift',
'kindEOT' : 'Embedded Open Type skrift',
'kindWOFF' : 'Web Open Font Format skrift',
'kindWOFF2' : 'Web Open Font Format 2 skrift',
// texts
'kindText' : 'Tekstdokument',
'kindTextPlain' : 'Ren tekst',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.de.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,12 @@
'kindTTF' : 'True Type-Schrift',
'kindOTF' : 'Open Type-Schrift',
'kindRPM' : 'RPM-Paket',
// fonts
'kindFont' : 'Schriftart',
'kindSFNT' : 'SFNT-Schrift',
'kindEOT' : 'Embedded-Open-Type-Schrift',
'kindWOFF' : 'Web-Open-Font-Format-Schrift',
'kindWOFF2' : 'Web-Open-Font-Format-2-Schrift',
// texts
'kindText' : 'Text-Dokument',
'kindTextPlain' : 'Text-Dokument',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.el.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@
'kindTTF' : 'Γραμματοσειρά True Type',
'kindOTF' : 'Γραμματοσειρά Open Type',
'kindRPM' : 'Πακέτο RPM',
// fonts
'kindFont' : 'Γραμματοσειρά',
'kindSFNT' : 'Γραμματοσειρά SFNT',
'kindEOT' : 'Γραμματοσειρά Embedded Open Type',
'kindWOFF' : 'Γραμματοσειρά Web Open Font Format',
'kindWOFF2' : 'Γραμματοσειρά Web Open Font Format 2',
// texts
'kindText' : 'Έγγραφο κειμένου',
'kindTextPlain' : 'Απλό κείμενο',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.en.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,12 @@ if (typeof elFinder === 'function' && elFinder.prototype.i18) {
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM package',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Text document',
'kindTextPlain' : 'Plain text',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,12 @@
'kindTTF' : 'Fuente True Type',
'kindOTF' : 'Fuente Open Type',
'kindRPM' : 'Paquete RPM',
// fonts
'kindFont' : 'Fuente',
'kindSFNT' : 'Fuente SFNT',
'kindEOT' : 'Fuente Embedded Open Type',
'kindWOFF' : 'Fuente Web Open Font Format',
'kindWOFF2' : 'Fuente Web Open Font Format 2',
// texts
'kindText' : 'Documento de texto',
'kindTextPlain' : 'Texto plano',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.fa.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,12 @@
'kindTTF' : 'فونت True Type',
'kindOTF' : 'فونت Open Type',
'kindRPM' : 'بسته RPM',
// fonts
'kindFont' : 'فونت',
'kindSFNT' : 'فونت SFNT',
'kindEOT' : 'فونت Embedded Open Type',
'kindWOFF' : 'فونت Web Open Font Format',
'kindWOFF2' : 'فونت Web Open Font Format 2',
// texts
'kindText' : 'سند متنی',
'kindTextPlain' : 'سند متنی ساده',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.fo.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM pakki',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Text skjal',
'kindTextPlain' : 'Reinur tekstur',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,12 @@
'kindTTF' : 'Police True Type',
'kindOTF' : 'Police Open Type',
'kindRPM' : 'Package RPM',
// fonts
'kindFont' : 'Police',
'kindSFNT' : 'Police font',
'kindEOT' : 'Police Embedded Open Type',
'kindWOFF' : 'Police Web Open Font Format',
'kindWOFF2' : 'Police Web Open Font Format 2',
// texts
'kindText' : 'Document Text',
'kindTextPlain' : 'Texte non formaté',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.fr_CA.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,12 @@
'kindTTF' : 'Police True Type',
'kindOTF' : 'Police Open Type',
'kindRPM' : 'Package RPM',
// fonts
'kindFont' : 'Police',
'kindSFNT' : 'Police SFNT',
'kindEOT' : 'Police Embedded Open Type',
'kindWOFF' : 'Police Web Open Font Format',
'kindWOFF2' : 'Police Web Open Font Format 2',
// texts
'kindText' : 'Document Text',
'kindTextPlain' : 'Texte non formaté',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.he.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@
'kindTTF' : 'גופן True Type',
'kindOTF' : 'גופן Open Type',
'kindRPM' : 'חבילת RPM',
// fonts
'kindFont' : 'גופן',
'kindSFNT' : 'גופן SFNT',
'kindEOT' : 'גופן Embedded Open Type',
'kindWOFF' : 'גופן Web Open Font Format',
'kindWOFF2' : 'גופן Web Open Font Format 2',
// texts
'kindText' : 'מסמך טקסט',
'kindTextPlain' : 'טקסט פשוט',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.hr.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM paket',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Tekst arhiva',
'kindTextPlain' : 'Obični tekst',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM csomag',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Szöveges dokumentum',
'kindTextPlain' : 'Plain text',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.id.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,12 @@
'kindTTF' : 'Huruf True Type',
'kindOTF' : 'Huruf Open Type',
'kindRPM' : 'Paket RPM',
// fonts
'kindFont' : 'Huruf',
'kindSFNT' : 'Huruf SFNT',
'kindEOT' : 'Huruf Embedded Open Type',
'kindWOFF' : 'Huruf Web Open Font Format',
'kindWOFF2' : 'Huruf Web Open Font Format 2',
// texts
'kindText' : 'Dokumen teks',
'kindTextPlain' : 'Berkas teks biasa',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.it.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,12 @@
'kindTTF' : 'Font True Type',
'kindOTF' : 'Font Open Type',
'kindRPM' : 'Pacchetto RPM',
// fonts
'kindFont' : 'File font',
'kindSFNT' : 'Font SFNT',
'kindEOT' : 'Font Embedded Open Type',
'kindWOFF' : 'Font Web Open Font Format',
'kindWOFF2' : 'Font Web Open Font Format 2',
// texts
'kindText' : 'Documento di testo',
'kindTextPlain' : 'Testo Semplice',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,12 @@
'kindTTF' : 'True Type フォント',
'kindOTF' : 'Open Type フォント',
'kindRPM' : 'RPM パッケージ',
// fonts
'kindFont' : 'フォント',
'kindSFNT' : 'SFNT フォント',
'kindEOT' : 'Embedded Open Type フォント',
'kindWOFF' : 'Web Open Font Format フォント',
'kindWOFF2' : 'Web Open Font Format 2 フォント',
// texts
'kindText' : 'Text ドキュメント',
'kindTextPlain' : 'プレインテキスト',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.ko.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,12 @@
'kindTTF' : '트루 타입 글꼴',
'kindOTF' : '오픈 타입 글꼴',
'kindRPM' : 'RPM 패키지',
// fonts
'kindFont' : '글꼴',
'kindSFNT' : 'SFNT 글꼴',
'kindEOT' : 'Embedded Open Type 글꼴',
'kindWOFF' : 'Web Open Font Format 글꼴',
'kindWOFF2' : 'Web Open Font Format 2 글꼴',
// texts
'kindText' : '텍스트 문서',
'kindTextPlain' : '일반 텍스트',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM package',
/********************************** fonts **********************************/
'kindFont' : 'Lettertype bestand',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',

/********************************** texts **********************************/
'kindText' : 'Tekst bestand',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.no.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM package',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Tekst dokument',
'kindTextPlain' : 'Plain text',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,12 @@
'kindTTF' : 'Czcionka TrueType',
'kindOTF' : 'Czcionka OpenType',
'kindRPM' : 'Pakiet RPM',
// fonts
'kindFont' : 'Czcionka',
'kindSFNT' : 'Czcionka SFNT',
'kindEOT' : 'Czcionka Embedded Open Type',
'kindWOFF' : 'Czcionka Web Open Font Format',
'kindWOFF2' : 'Czcionka Web Open Font Format 2',
// texts
'kindText' : 'Dokument tekstowy',
'kindTextPlain' : 'Zwykły tekst',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.pt_BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,12 @@
'kindTTF' : 'Tipo verdadeiro da fonte',
'kindOTF' : 'Abrir tipo de fonte',
'kindRPM' : 'Pacote RPM',
// fonts
'kindFont' : 'Fonte',
'kindSFNT' : 'SFNT fonte',
'kindEOT' : 'Embedded Open Type fonte',
'kindWOFF' : 'Web Open Font Format fonte',
'kindWOFF2' : 'Web Open Font Format 2 fonte',
// texts
'kindText' : 'Arquivo de texto',
'kindTextPlain' : 'Texto simples',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.ro.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,12 @@
'kindTTF' : 'Font True Type',
'kindOTF' : 'Font Open Type',
'kindRPM' : 'Pachet RPM',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'Font SFNT',
'kindEOT' : 'Font Embedded Open Type',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Document text',
'kindTextPlain' : 'Text simplu',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,12 @@
'kindTTF' : 'Шрифт True Type',
'kindOTF' : 'Шрифт Open Type',
'kindRPM' : 'Пакет RPM',
// fonts
'kindFont' : 'Шрифт',
'kindSFNT' : 'Шрифт SFNT',
'kindEOT' : 'Шрифт Embedded Open Type',
'kindWOFF' : 'Шрифт Web Open Font Format',
'kindWOFF2' : 'Шрифт Web Open Font Format 2',
// texts
'kindText' : 'Текстовый документ',
'kindTextPlain' : 'Простой текст',
Expand Down
6 changes: 6 additions & 0 deletions js/i18n/elfinder.si.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,12 @@
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM package',
// fonts
'kindFont' : 'Font',
'kindSFNT' : 'SFNT font',
'kindEOT' : 'Embedded Open Type font',
'kindWOFF' : 'Web Open Font Format',
'kindWOFF2' : 'Web Open Font Format 2',
// texts
'kindText' : 'Text ලේඛනය',
'kindTextPlain' : 'Plain text',
Expand Down
Loading
Loading