Updated Spanish translations
This commit is contained in:
@@ -23,6 +23,9 @@ Features
|
|||||||
* Permissions and roles support
|
* Permissions and roles support
|
||||||
* Multi page document support
|
* Multi page document support
|
||||||
* Page transformations
|
* Page transformations
|
||||||
|
* OCR queue (via celery)
|
||||||
|
* Multilingual (English, Spanish)
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
---
|
---
|
||||||
|
|||||||
Binary file not shown.
@@ -2,20 +2,20 @@
|
|||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the PACKAGE package.
|
# This file is distributed under the same license as the PACKAGE package.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2011-02-10 09:17-0400\n"
|
"POT-Creation-Date: 2011-02-17 04:58-0400\n"
|
||||||
"PO-Revision-Date: 2011-02-07 01:34\n"
|
"PO-Revision-Date: 2011-02-17 04:59\n"
|
||||||
"Last-Translator: Administrator <admin@admin.com>\n"
|
"Last-Translator: <admin@admin.com>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"Language: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: \n"
|
||||||
"X-Translated-Using: django-rosetta 0.5.6\n"
|
"X-Translated-Using: django-rosetta 0.5.6\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
@@ -27,6 +27,14 @@ msgstr "Ninguno"
|
|||||||
msgid "Your password has been successfully changed."
|
msgid "Your password has been successfully changed."
|
||||||
msgstr "Su contraseña se ha modificado correctamente."
|
msgstr "Su contraseña se ha modificado correctamente."
|
||||||
|
|
||||||
|
#: templates/404.html:7
|
||||||
|
msgid "Page not found or insufficient permissions."
|
||||||
|
msgstr "Página no encontrada o permisos insuficientes."
|
||||||
|
|
||||||
|
#: templates/404.html:9
|
||||||
|
msgid "Sorry, but the requested page could not be found."
|
||||||
|
msgstr "Lo sentimos, pero la página solicitada no pudo ser encontrada."
|
||||||
|
|
||||||
#: templates/calculate_form_title.html:11
|
#: templates/calculate_form_title.html:11
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Details for %(object_name)s: %(object)s"
|
msgid "Details for %(object_name)s: %(object)s"
|
||||||
@@ -60,29 +68,29 @@ msgstr "Crear"
|
|||||||
msgid "Assign %(title)s %(object)s"
|
msgid "Assign %(title)s %(object)s"
|
||||||
msgstr "Asignar %(title)s %(object)s"
|
msgstr "Asignar %(title)s %(object)s"
|
||||||
|
|
||||||
#: templates/generic_confirm.html:3 templates/generic_confirm.html.py:17
|
#: templates/generic_confirm.html:3 templates/generic_confirm.html.py:18
|
||||||
msgid "Confirm"
|
msgid "Confirm"
|
||||||
msgstr "Confirmar"
|
msgstr "Confirmar"
|
||||||
|
|
||||||
#: templates/generic_confirm.html:15
|
#: templates/generic_confirm.html:16
|
||||||
msgid "Confirm delete"
|
msgid "Confirm delete"
|
||||||
msgstr "Confirmar eliminación"
|
msgstr "Confirmar eliminación"
|
||||||
|
|
||||||
#: templates/generic_confirm.html:27
|
#: templates/generic_confirm.html:32
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Are you sure you wish to delete %(object_name)s: %(object)s?"
|
msgid "Are you sure you wish to delete %(object_name)s: %(object)s?"
|
||||||
msgstr "¿Está seguro que desea eliminar %(object_name)s: %(object)s?"
|
msgstr "¿Está seguro que desea eliminar %(object_name)s: %(object)s?"
|
||||||
|
|
||||||
#: templates/generic_confirm.html:29
|
#: templates/generic_confirm.html:34
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Are you sure you wish to delete: %(object)s?"
|
msgid "Are you sure you wish to delete: %(object)s?"
|
||||||
msgstr "¿Está seguro que desea eliminar: %(object)s?"
|
msgstr "¿Está seguro que desea eliminar: %(object)s?"
|
||||||
|
|
||||||
#: templates/generic_confirm.html:38
|
#: templates/generic_confirm.html:42
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Sí"
|
msgstr "Sí"
|
||||||
|
|
||||||
#: templates/generic_confirm.html:43
|
#: templates/generic_confirm.html:46
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "No"
|
msgstr "No"
|
||||||
|
|
||||||
@@ -122,7 +130,7 @@ msgstr "Lista de %(title)s (%(total)s)"
|
|||||||
msgid "Identifier"
|
msgid "Identifier"
|
||||||
msgstr "Identificador"
|
msgstr "Identificador"
|
||||||
|
|
||||||
#: templates/generic_list_subtemplate.html:71
|
#: templates/generic_list_subtemplate.html:72
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "There are no %(title)s"
|
msgid "There are no %(title)s"
|
||||||
msgstr "No hay %(title)s "
|
msgstr "No hay %(title)s "
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -135,7 +135,8 @@ def upload_document_with_type(request, document_type_id, multiple=True):
|
|||||||
instance.apply_default_transformations()
|
instance.apply_default_transformations()
|
||||||
if AUTOMATIC_OCR:
|
if AUTOMATIC_OCR:
|
||||||
document_queue = add_document_to_queue(instance)
|
document_queue = add_document_to_queue(instance)
|
||||||
messages.success(request, _(u'Document: %s was added to the OCR queue: %s.') % (instance, document_queue.label))
|
messages.success(request, _(u'Document: %(document)s was added to the OCR queue: %(queue)s.') % {
|
||||||
|
'document':instance, 'queue':document_queue.label})
|
||||||
|
|
||||||
if 'document_type_available_filenames' in local_form.cleaned_data:
|
if 'document_type_available_filenames' in local_form.cleaned_data:
|
||||||
if local_form.cleaned_data['document_type_available_filenames']:
|
if local_form.cleaned_data['document_type_available_filenames']:
|
||||||
@@ -173,7 +174,8 @@ def upload_document_with_type(request, document_type_id, multiple=True):
|
|||||||
document.apply_default_transformations()
|
document.apply_default_transformations()
|
||||||
if AUTOMATIC_OCR:
|
if AUTOMATIC_OCR:
|
||||||
document_queue = add_document_to_queue(instance)
|
document_queue = add_document_to_queue(instance)
|
||||||
messages.success(request, _(u'Document: %s was added to the OCR queue: %s.') % (instance, document_queue.label))
|
messages.success(request, _(u'Document: %(document)s was added to the OCR queue: %(queue)s.') % {
|
||||||
|
'document':instance, 'queue':document_queue.label})
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
messages.error(request, e)
|
messages.error(request, e)
|
||||||
else:
|
else:
|
||||||
@@ -629,8 +631,8 @@ def document_page_transformation_create(request, document_page_id):
|
|||||||
return render_to_response('generic_form.html', {
|
return render_to_response('generic_form.html', {
|
||||||
'form':form,
|
'form':form,
|
||||||
'object':document_page,
|
'object':document_page,
|
||||||
'title':_(u'Create new transformation for page: %s of document: %s') % (
|
'title':_(u'Create new transformation for page: %(page)s of document: %(document)s') % {
|
||||||
document_page.page_number, document_page.document),
|
'page':document_page.page_number, 'document':document_page.document},
|
||||||
}, context_instance=RequestContext(request))
|
}, context_instance=RequestContext(request))
|
||||||
|
|
||||||
|
|
||||||
@@ -653,10 +655,10 @@ def document_page_transformation_edit(request, document_page_transformation_id):
|
|||||||
return render_to_response('generic_form.html', {
|
return render_to_response('generic_form.html', {
|
||||||
'form':form,
|
'form':form,
|
||||||
'object':document_page_transformation.document_page,
|
'object':document_page_transformation.document_page,
|
||||||
'title':_(u'Edit transformation "%s" for page: %s of document: %s') % (
|
'title':_(u'Edit transformation "%(transformation)s" for page: %(page)s of document: %(document)s') % {
|
||||||
document_page_transformation.get_transformation_display(),
|
'transformation':document_page_transformation.get_transformation_display(),
|
||||||
document_page_transformation.document_page.page_number,
|
'page':document_page_transformation.document_page.page_number,
|
||||||
document_page_transformation.document_page.document),
|
'document':document_page_transformation.document_page.document},
|
||||||
}, context_instance=RequestContext(request))
|
}, context_instance=RequestContext(request))
|
||||||
|
|
||||||
|
|
||||||
@@ -676,8 +678,8 @@ def document_page_transformation_delete(request, document_page_transformation_id
|
|||||||
'delete_view':True,
|
'delete_view':True,
|
||||||
'object':document_page_transformation,
|
'object':document_page_transformation,
|
||||||
'object_name':_(u'document transformation'),
|
'object_name':_(u'document transformation'),
|
||||||
'title':_(u'Are you sure you wish to delete transformation "%s" for page: %s of document: %s') % (
|
'title':_(u'Are you sure you wish to delete transformation "%(transformation)s" for page: %(page)s of document: %(document)s') % {
|
||||||
document_page_transformation.get_transformation_display(),
|
'transformation':document_page_transformation.get_transformation_display(),
|
||||||
document_page_transformation.document_page.page_number,
|
'page':document_page_transformation.document_page.page_number,
|
||||||
document_page_transformation.document_page.document),
|
'document':document_page_transformation.document_page.document},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2011-02-14 02:27-0400\n"
|
"POT-Creation-Date: 2011-02-17 04:58-0400\n"
|
||||||
"PO-Revision-Date: 2011-02-10 09:20\n"
|
"PO-Revision-Date: 2011-02-10 09:20\n"
|
||||||
"Last-Translator: <admin@admin.com>\n"
|
"Last-Translator: <admin@admin.com>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -19,39 +19,39 @@ msgstr ""
|
|||||||
"X-Translated-Using: django-rosetta 0.5.6\n"
|
"X-Translated-Using: django-rosetta 0.5.6\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: __init__.py:5 views.py:51
|
#: __init__.py:8 views.py:53
|
||||||
msgid "settings"
|
msgid "settings"
|
||||||
msgstr "configuración"
|
msgstr "configuración"
|
||||||
|
|
||||||
#: __init__.py:9
|
#: __init__.py:12
|
||||||
msgid "home"
|
msgid "home"
|
||||||
msgstr "inicio"
|
msgstr "inicio"
|
||||||
|
|
||||||
#: __init__.py:11
|
#: __init__.py:14
|
||||||
msgid "setup"
|
msgid "setup"
|
||||||
msgstr "instalación"
|
msgstr "instalación"
|
||||||
|
|
||||||
#: __init__.py:14
|
#: __init__.py:18
|
||||||
msgid "about"
|
msgid "about"
|
||||||
msgstr "acerca"
|
msgstr "acerca"
|
||||||
|
|
||||||
#: views.py:56
|
#: views.py:58
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nombre"
|
msgstr "nombre"
|
||||||
|
|
||||||
#: views.py:57
|
#: views.py:59
|
||||||
msgid "value"
|
msgid "value"
|
||||||
msgstr "valor"
|
msgstr "valor"
|
||||||
|
|
||||||
#: views.py:58
|
#: views.py:60
|
||||||
msgid "exists"
|
msgid "exists"
|
||||||
msgstr "existe"
|
msgstr "existe"
|
||||||
|
|
||||||
#: views.py:68
|
#: views.py:70
|
||||||
msgid "function found"
|
msgid "function found"
|
||||||
msgstr "función encontrada"
|
msgstr "función encontrada"
|
||||||
|
|
||||||
#: views.py:70 views.py:72
|
#: views.py:72 views.py:74
|
||||||
msgid "class found"
|
msgid "class found"
|
||||||
msgstr "clase encontrada"
|
msgstr "clase encontrada"
|
||||||
|
|
||||||
@@ -68,48 +68,48 @@ msgstr ""
|
|||||||
"metadatos personalizados, integración de servicio de archivos y capacidades "
|
"metadatos personalizados, integración de servicio de archivos y capacidades "
|
||||||
"de OCR"
|
"de OCR"
|
||||||
|
|
||||||
#: templates/base.html:56
|
#: templates/base.html:65
|
||||||
msgid "User"
|
msgid "User"
|
||||||
msgstr "Usuario"
|
msgstr "Usuario"
|
||||||
|
|
||||||
#: templates/base.html:58
|
#: templates/base.html:67
|
||||||
msgid "Anonymous"
|
msgid "Anonymous"
|
||||||
msgstr "Anónimo"
|
msgstr "Anónimo"
|
||||||
|
|
||||||
#: templates/base.html:62
|
#: templates/base.html:71
|
||||||
msgid "New password"
|
msgid "New password"
|
||||||
msgstr "Nueva contraseña"
|
msgstr "Nueva contraseña"
|
||||||
|
|
||||||
#: templates/base.html:67
|
#: templates/base.html:76
|
||||||
msgid "Admin site"
|
msgid "Admin site"
|
||||||
msgstr "Sitio administrativo"
|
msgstr "Sitio administrativo"
|
||||||
|
|
||||||
#: templates/base.html:78
|
#: templates/base.html:87
|
||||||
msgid "Go"
|
msgid "Go"
|
||||||
msgstr "Ir"
|
msgstr "Ir"
|
||||||
|
|
||||||
#: templates/base.html:82
|
#: templates/base.html:91
|
||||||
msgid "Login"
|
msgid "Login"
|
||||||
msgstr "Iniciar sesión"
|
msgstr "Iniciar sesión"
|
||||||
|
|
||||||
#: templates/base.html:82
|
#: templates/base.html:91
|
||||||
msgid "Logout"
|
msgid "Logout"
|
||||||
msgstr "Desconectarse"
|
msgstr "Desconectarse"
|
||||||
|
|
||||||
#: templates/base.html:111
|
#: templates/base.html:120
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Actions for %(object_name)s: %(object)s"
|
msgid "Actions for %(object_name)s: %(object)s"
|
||||||
msgstr "Acciones para %(object_name)s: %(object)s "
|
msgstr "Acciones para %(object_name)s: %(object)s "
|
||||||
|
|
||||||
#: templates/base.html:113
|
#: templates/base.html:122
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Actions for: %(object)s"
|
msgid "Actions for: %(object)s"
|
||||||
msgstr "Acciones para: %(object)s "
|
msgstr "Acciones para: %(object)s "
|
||||||
|
|
||||||
#: templates/base.html:116
|
#: templates/base.html:125
|
||||||
msgid "Actions"
|
msgid "Actions"
|
||||||
msgstr "Acciones"
|
msgstr "Acciones"
|
||||||
|
|
||||||
#: templates/base.html:129
|
#: templates/base.html:138
|
||||||
msgid "Other available actions"
|
msgid "Other available actions"
|
||||||
msgstr "Otras acciones disponibles"
|
msgstr "Otras acciones disponibles"
|
||||||
|
|||||||
Binary file not shown.
@@ -8,8 +8,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2011-02-14 02:26-0400\n"
|
"POT-Creation-Date: 2011-02-17 04:56-0400\n"
|
||||||
"PO-Revision-Date: 2011-02-14 02:27\n"
|
"PO-Revision-Date: 2011-02-17 04:58\n"
|
||||||
"Last-Translator: <admin@admin.com>\n"
|
"Last-Translator: <admin@admin.com>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -19,18 +19,94 @@ msgstr ""
|
|||||||
"X-Translated-Using: django-rosetta 0.5.6\n"
|
"X-Translated-Using: django-rosetta 0.5.6\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: __init__.py:11
|
#: __init__.py:20
|
||||||
msgid "Submit document for OCR"
|
msgid "Submit document for OCR"
|
||||||
msgstr "Enviar documento para OCR"
|
msgstr "Enviar documento para OCR"
|
||||||
|
|
||||||
#: __init__.py:14
|
#: __init__.py:24
|
||||||
msgid "submit to OCR queue"
|
msgid "submit to OCR queue"
|
||||||
msgstr "enviar a lista de OCR"
|
msgstr "enviar a lista de OCR"
|
||||||
|
|
||||||
#: api.py:55
|
#: __init__.py:29
|
||||||
|
msgid "OCR"
|
||||||
|
msgstr "OCR"
|
||||||
|
|
||||||
|
#: __init__.py:36
|
||||||
|
msgid "Default"
|
||||||
|
msgstr "Por defecto"
|
||||||
|
|
||||||
|
#: api.py:67
|
||||||
msgid "Text from OCR"
|
msgid "Text from OCR"
|
||||||
msgstr "Texto de OCR"
|
msgstr "Texto de OCR"
|
||||||
|
|
||||||
#: views.py:32
|
#: literals.py:8
|
||||||
msgid "Document OCR was successful."
|
msgid "stopped"
|
||||||
msgstr "El OCR del documento se ha realizado con éxito."
|
msgstr "detenido"
|
||||||
|
|
||||||
|
#: literals.py:9
|
||||||
|
msgid "active"
|
||||||
|
msgstr "activo"
|
||||||
|
|
||||||
|
#: literals.py:18
|
||||||
|
msgid "pending"
|
||||||
|
msgstr "pendiente"
|
||||||
|
|
||||||
|
#: literals.py:19
|
||||||
|
msgid "processing"
|
||||||
|
msgstr "en procesamiento"
|
||||||
|
|
||||||
|
#: literals.py:20
|
||||||
|
msgid "error"
|
||||||
|
msgstr "error"
|
||||||
|
|
||||||
|
#: models.py:19
|
||||||
|
msgid "name"
|
||||||
|
msgstr "nombre"
|
||||||
|
|
||||||
|
#: models.py:20
|
||||||
|
msgid "label"
|
||||||
|
msgstr "etiqueta"
|
||||||
|
|
||||||
|
#: models.py:24 models.py:45
|
||||||
|
msgid "state"
|
||||||
|
msgstr "estado"
|
||||||
|
|
||||||
|
#: models.py:27 models.py:39
|
||||||
|
msgid "document queue"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: models.py:28
|
||||||
|
msgid "document queues"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: models.py:40
|
||||||
|
msgid "document"
|
||||||
|
msgstr "documento"
|
||||||
|
|
||||||
|
#: models.py:41
|
||||||
|
msgid "date time submitted"
|
||||||
|
msgstr "fecha y hora sometido"
|
||||||
|
|
||||||
|
#: models.py:46
|
||||||
|
msgid "result"
|
||||||
|
msgstr "resultado"
|
||||||
|
|
||||||
|
#: models.py:49
|
||||||
|
msgid "queue document"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: models.py:50
|
||||||
|
msgid "queue documents"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: views.py:35
|
||||||
|
msgid "queued documents"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: views.py:58
|
||||||
|
#, python-format
|
||||||
|
msgid "Document: %(document)s was added to the OCR queue: %(queue)s."
|
||||||
|
msgstr "Documento: %(document)s ha sido añadido a la cola de reconocimiento óptico de caracteres: %(queue)s."
|
||||||
|
|
||||||
|
#~ msgid "Document OCR was successful."
|
||||||
|
#~ msgstr "El OCR del documento se ha realizado con éxito."
|
||||||
|
|||||||
@@ -55,5 +55,6 @@ def submit_document(request, document_id, queue_name='default'):
|
|||||||
document_queue = get_object_or_404(DocumentQueue, name=queue_name)
|
document_queue = get_object_or_404(DocumentQueue, name=queue_name)
|
||||||
add_document_to_queue(document, document_queue.name)
|
add_document_to_queue(document, document_queue.name)
|
||||||
|
|
||||||
messages.success(request, _(u'Document: %s was added to the OCR queue: %s.') % (document, document_queue.label))
|
messages.success(request, _(u'Document: %(document)s was added to the OCR queue: %(queue)s.') % {
|
||||||
|
'document':document, 'queue':document_queue.label})
|
||||||
return HttpResponseRedirect(request.META['HTTP_REFERER'])
|
return HttpResponseRedirect(request.META['HTTP_REFERER'])
|
||||||
|
|||||||
Reference in New Issue
Block a user