This commit is contained in:
Patrick Gansterer 2016-04-28 13:46:13 +02:00 committed by wvengen
parent 33c9b23e2f
commit 8bb58c5519
18 changed files with 310 additions and 0 deletions

View file

@ -0,0 +1,29 @@
de:
activerecord:
attributes:
document:
created_at: Erstellt am
created_by_user_id: Erstellt von
data: Daten
mime: MIME-Typ
name: Name
config:
hints:
use_documents: Einfache Dokumentenverwaltung aktivieren
keys:
use_documents: Dokumente verwenden
navigation:
documents: Dokumente
documents:
create:
error: 'Dokument konnte nicht erstellt werden: %{error}'
notice: Dokument wurde erstellt
destroy:
error: 'Dokument konnt nicht gelöscht werden: %{error}'
no_right: Du hast nicht genügend Rechte um die Datei zu löschen
notice: Dokument wurde gelöscht
index:
new: Neues Dokument anlegen
title: Dokumente
new:
title: Neues Dokument

View file

@ -0,0 +1,29 @@
en:
activerecord:
attributes:
document:
created_at: Created at
created_by_user_id: Created by
data: Data
mime: MIME type
name: Name
config:
hints:
use_documents: Add a basic document sharing page to the foodcoop menu.
keys:
use_documents: Enable documents
navigation:
documents: Documents
documents:
create:
error: 'Document could not be created: %{error}'
notice: Document was created
destroy:
error: 'Document could not be deleted: %{error}'
no_right: You do not have enough rights to delete the document
notice: Document was deleted
index:
new: Upload new document
title: Documents
new:
title: New Document

View file

@ -0,0 +1,9 @@
Rails.application.routes.draw do
scope '/:foodcoop' do
resources :documents
end
end