Add whitelisting for documents

This commit is contained in:
Patrick Gansterer 2017-10-11 02:39:35 +02:00
parent 957b347b04
commit 8a9d7a91c9
5 changed files with 22 additions and 2 deletions

View file

@ -9,14 +9,17 @@ de:
name: Name
config:
hints:
documents_allowed_extension: Eine Liste an erlaubten Dateiendungen getrennt durch Leerzeichen.
use_documents: Einfache Dokumentenverwaltung aktivieren
keys:
documents_allowed_extension: Erlaubte Endungen
use_documents: Dokumente verwenden
navigation:
documents: Dokumente
documents:
create:
error: 'Dokument konnte nicht erstellt werden: %{error}'
not_allowed_mime: Der Dateityp "%{mime}" ist nicht erlaubt. Bitte kontaktiere einen Administrator um ihn freizuschalten.
notice: Dokument wurde erstellt
destroy:
error: 'Dokument konnt nicht gelöscht werden: %{error}'

View file

@ -9,14 +9,17 @@ en:
name: Name
config:
hints:
documents_allowed_extension: A list of allowed filename extensions separated by spaces.
use_documents: Add a basic document sharing page to the foodcoop menu.
keys:
documents_allowed_extension: Allowed extensions
use_documents: Enable documents
navigation:
documents: Documents
documents:
create:
error: 'Document could not be created: %{error}'
not_allowed_mime: The filetype "%{mime}" is not allowed. Please contact an administrator to whitelist it.
notice: Document was created
destroy:
error: 'Document could not be deleted: %{error}'