Add arguments to documentable concern to make it configurable for any recipient model.
This commit is contained in:
@@ -3,7 +3,7 @@ en:
|
||||
tab: Documents
|
||||
no_documents: Don't have uploaded documents
|
||||
upload_document: Upload document
|
||||
max_documents_size_reached: You have reached the maximum number of documents allowed! You have to delete one before you can upload another.
|
||||
max_documents_allowed_reached: You have reached the maximum number of documents allowed! You have to delete one before you can upload another.
|
||||
form:
|
||||
attachment_label: Choose attachment file
|
||||
submit_button: Upload document
|
||||
@@ -24,3 +24,7 @@ en:
|
||||
download_document: Download PDF
|
||||
destroy_document: Destroy
|
||||
link_document: Link
|
||||
errors:
|
||||
messages:
|
||||
in_between: must be in between %{min} and %{max}
|
||||
wrong_content_type: content type %{content_type} does not match any of accepted content types %{accepted_content_types}
|
||||
@@ -3,7 +3,7 @@ es:
|
||||
tab: Documentos
|
||||
no_documents: No hay documentos subidos
|
||||
upload_document: Subir documento
|
||||
max_documents_size_reached: ¡Has alcanzado el número máximo de documentos permitidos! Tienes que eliminar uno antes de poder subir otro.
|
||||
max_documents_allowed_reached: ¡Has alcanzado el número máximo de documentos permitidos! Tienes que eliminar uno antes de poder subir otro.
|
||||
form:
|
||||
attachment_label: Selecciona un archivo
|
||||
submit_button: Subir documento
|
||||
@@ -24,3 +24,7 @@ es:
|
||||
download_document: Descargar PDF
|
||||
destroy_document: Eliminar
|
||||
link_document: Enlace
|
||||
errors:
|
||||
messages:
|
||||
in_between: debe estar entre %{min} y %{max}
|
||||
wrong_content_type: El tipo de contenido %{content_type} del archivo no coincide con ninguno de los tipos de contenido aceptados %{accepted_content_types}
|
||||
Reference in New Issue
Block a user