Permalink
Browse files

Merge pull request #194 from patbolo/doc_support

NEW 7839 Support for documents as a file type in Files and images
  • Loading branch information...
2 parents af2c890 + 53fdafb commit 4ad2b256790fed62681b335d9568d0f028b90270 @halkyon halkyon committed Sep 4, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 code/controllers/AssetAdmin.php
  2. +1 −0 lang/en_GB.yml
  3. +1 −0 lang/fr.yml
@@ -336,6 +336,7 @@ public function getSearchContext() {
'mov' => _t('AssetAdmin.AppCategoryVideo', 'Video'),
'flash' => _t('AssetAdmin.AppCategoryFlash', 'Flash', 'The fileformat'),
'zip' => _t('AssetAdmin.AppCategoryArchive', 'Archive', 'A collection of files'),
+ 'doc' => _t('AssetAdmin.AppCategoryDocument', 'Document')
);
$context->addField(
$typeDropdown = new DropdownField(
View
@@ -8,6 +8,7 @@ en_GB:
AppCategoryFlash: Flash
AppCategoryImage: Image
AppCategoryVideo: Video
+ AppCategoryDocument: Document
BackToFolder: 'Back to folder'
CREATED: Date
CurrentFolderOnly: 'Limit to current folder?'
View
@@ -8,6 +8,7 @@ fr:
AppCategoryFlash: Flash
AppCategoryImage: Image
AppCategoryVideo: Vidéo
+ AppCategoryDocument: Document
BackToFolder: 'Revenir au dossier'
CREATED: Date
CurrentFolderOnly: 'Limiter au dossier actuel ?'

0 comments on commit 4ad2b25

Please sign in to comment.