diff --git a/.gitignore b/.gitignore index 9ba470d..4b11432 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.sass-cache \ No newline at end of file +.sass-cache +.DS_Store diff --git a/code/DMSSiteTreeExtension.php b/code/DMSSiteTreeExtension.php index 8d9bbe6..b490ae1 100644 --- a/code/DMSSiteTreeExtension.php +++ b/code/DMSSiteTreeExtension.php @@ -53,7 +53,7 @@ class DMSSiteTreeExtension extends DataExtension { if(class_exists('GridFieldSortableRows')) { $sortableComponent = new GridFieldSortableRows('DocumentSort'); - $sortableComponent->setUsePagination(false)->setForceRedraw(true); +// $sortableComponent->setUsePagination(false)->setForceRedraw(true); $gridFieldConfig->addComponent($sortableComponent); } diff --git a/lang/_manifest_exclude b/lang/_manifest_exclude new file mode 100644 index 0000000..e69de29 diff --git a/lang/en.yml b/lang/en.yml new file mode 100644 index 0000000..ab1a14c --- /dev/null +++ b/lang/en.yml @@ -0,0 +1,35 @@ +en: + AssetAdmin: + ALLOWEDEXTS: 'Allowed extensions' + AssetTableField: + CREATED: 'First uploaded' + LASTCHANGED: 'Last replaced' + LASTEDIT: 'Last changed' + SIZE: 'File size' + TYPE: 'File type' + URL: URL + DMSDocument: + PLURALNAME: Documents + RelatedPages: 'Related Pages' + RelatedReferences: 'Related References' + SINGULARNAME: Document + DMSTag: + PLURALNAME: 'D M S Tags' + SINGULARNAME: 'D M S Tag' + FileIFrameField: + ATTACHONCESAVED2: 'Files can be attached once you have saved the record for the first time.' + GridAction: + DELETE_DESCRIPTION: Delete + Delete: Delete + UnlinkRelation: Unlink + GridFieldAction_Delete: + DeletePermissionsFailure: 'No delete permissions' + UploadField: + ATTACHFILE: 'Attach a file' + DROPFILE: 'drop a file' + FIELDNOTSET: 'File information not found' + FROMCOMPUTER: 'From your computer' + FROMCOMPUTERINFO: 'Upload from your computer' + MAXNUMBEROFFILES: 'Max number of {count} file(s) exceeded.' + DMSDocumentAddController: + MENUTITLE: 'Edit Page' diff --git a/lang/es.yml b/lang/es.yml new file mode 100644 index 0000000..f68d97d --- /dev/null +++ b/lang/es.yml @@ -0,0 +1,35 @@ +es: + AssetAdmin: + ALLOWEDEXTS: 'Extensiones permitidas' + AssetTableField: + CREATED: 'Primera subida' + LASTCHANGED: 'Último reemplazo' + LASTEDIT: 'Último editado' + SIZE: 'Tamaño del archivo' + TYPE: 'Tipo de archivo' + URL: URL + DMSDocument: + PLURALNAME: Documentos + RelatedPages: 'Páginas relacionadas' + RelatedReferences: 'Referencias relacionadas' + SINGULARNAME: Documento + DMSTag: + PLURALNAME: 'Etiquetas del Sistema documental' + SINGULARNAME: 'Etiqueta del Sistema documental' + FileIFrameField: + ATTACHONCESAVED2: 'Archivos pueden ser adjuntados una vez que guardes por primera vez.' + GridAction: + DELETE_DESCRIPTION: Borrar + Delete: Borrar + UnlinkRelation: Desvincular + GridFieldAction_Delete: + DeletePermissionsFailure: 'No borrar permisos' + UploadField: + ATTACHFILE: 'Adjuntar un archivo' + DROPFILE: 'Dejar un archivo' + FIELDNOTSET: 'Información acerca del archivo no encontrada' + FROMCOMPUTER: 'Desde tu computador' + FROMCOMPUTERINFO: 'Subir desde tu computador' + MAXNUMBEROFFILES: 'Sólo se pueden subir {count} archivos.' + DMSDocumentAddController: + MENUTITLE: 'Editar página'