Updated Spanish translations
This commit is contained in:
@@ -23,6 +23,9 @@ Features
|
||||
* Permissions and roles support
|
||||
* Multi page document support
|
||||
* Page transformations
|
||||
* OCR queue (via celery)
|
||||
* Multilingual (English, Spanish)
|
||||
|
||||
|
||||
Requirements
|
||||
---
|
||||
|
||||
Binary file not shown.
@@ -2,20 +2,20 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-10 09:17-0400\n"
|
||||
"PO-Revision-Date: 2011-02-07 01:34\n"
|
||||
"Last-Translator: Administrator <admin@admin.com>\n"
|
||||
"POT-Creation-Date: 2011-02-17 04:58-0400\n"
|
||||
"PO-Revision-Date: 2011-02-17 04:59\n"
|
||||
"Last-Translator: <admin@admin.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: \n"
|
||||
"X-Translated-Using: django-rosetta 0.5.6\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
@@ -27,6 +27,14 @@ msgstr "Ninguno"
|
||||
msgid "Your password has been successfully changed."
|
||||
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
|
||||
#, python-format
|
||||
msgid "Details for %(object_name)s: %(object)s"
|
||||
@@ -60,29 +68,29 @@ msgstr "Crear"
|
||||
msgid "Assign %(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"
|
||||
msgstr "Confirmar"
|
||||
|
||||
#: templates/generic_confirm.html:15
|
||||
#: templates/generic_confirm.html:16
|
||||
msgid "Confirm delete"
|
||||
msgstr "Confirmar eliminación"
|
||||
|
||||
#: templates/generic_confirm.html:27
|
||||
#: templates/generic_confirm.html:32
|
||||
#, python-format
|
||||
msgid "Are you sure you wish to delete %(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
|
||||
msgid "Are you sure you wish to delete: %(object)s?"
|
||||
msgstr "¿Está seguro que desea eliminar: %(object)s?"
|
||||
|
||||
#: templates/generic_confirm.html:38
|
||||
#: templates/generic_confirm.html:42
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
#: templates/generic_confirm.html:43
|
||||
#: templates/generic_confirm.html:46
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
@@ -122,7 +130,7 @@ msgstr "Lista de %(title)s (%(total)s)"
|
||||
msgid "Identifier"
|
||||
msgstr "Identificador"
|
||||
|
||||
#: templates/generic_list_subtemplate.html:71
|
||||
#: templates/generic_list_subtemplate.html:72
|
||||
#, python-format
|
||||
msgid "There are no %(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()
|
||||
if AUTOMATIC_OCR:
|
||||
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 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()
|
||||
if AUTOMATIC_OCR:
|
||||
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:
|
||||
messages.error(request, e)
|
||||
else:
|
||||
@@ -629,8 +631,8 @@ def document_page_transformation_create(request, document_page_id):
|
||||
return render_to_response('generic_form.html', {
|
||||
'form':form,
|
||||
'object':document_page,
|
||||
'title':_(u'Create new transformation for page: %s of document: %s') % (
|
||||
document_page.page_number, document_page.document),
|
||||
'title':_(u'Create new transformation for page: %(page)s of document: %(document)s') % {
|
||||
'page':document_page.page_number, 'document':document_page.document},
|
||||
}, 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', {
|
||||
'form':form,
|
||||
'object':document_page_transformation.document_page,
|
||||
'title':_(u'Edit transformation "%s" for page: %s of document: %s') % (
|
||||
document_page_transformation.get_transformation_display(),
|
||||
document_page_transformation.document_page.page_number,
|
||||
document_page_transformation.document_page.document),
|
||||
'title':_(u'Edit transformation "%(transformation)s" for page: %(page)s of document: %(document)s') % {
|
||||
'transformation':document_page_transformation.get_transformation_display(),
|
||||
'page':document_page_transformation.document_page.page_number,
|
||||
'document':document_page_transformation.document_page.document},
|
||||
}, context_instance=RequestContext(request))
|
||||
|
||||
|
||||
@@ -676,8 +678,8 @@ def document_page_transformation_delete(request, document_page_transformation_id
|
||||
'delete_view':True,
|
||||
'object':document_page_transformation,
|
||||
'object_name':_(u'document transformation'),
|
||||
'title':_(u'Are you sure you wish to delete transformation "%s" for page: %s of document: %s') % (
|
||||
document_page_transformation.get_transformation_display(),
|
||||
document_page_transformation.document_page.page_number,
|
||||
document_page_transformation.document_page.document),
|
||||
'title':_(u'Are you sure you wish to delete transformation "%(transformation)s" for page: %(page)s of document: %(document)s') % {
|
||||
'transformation':document_page_transformation.get_transformation_display(),
|
||||
'page':document_page_transformation.document_page.page_number,
|
||||
'document':document_page_transformation.document_page.document},
|
||||
})
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\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"
|
||||
"Last-Translator: <admin@admin.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -19,39 +19,39 @@ msgstr ""
|
||||
"X-Translated-Using: django-rosetta 0.5.6\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: __init__.py:5 views.py:51
|
||||
#: __init__.py:8 views.py:53
|
||||
msgid "settings"
|
||||
msgstr "configuración"
|
||||
|
||||
#: __init__.py:9
|
||||
#: __init__.py:12
|
||||
msgid "home"
|
||||
msgstr "inicio"
|
||||
|
||||
#: __init__.py:11
|
||||
#: __init__.py:14
|
||||
msgid "setup"
|
||||
msgstr "instalación"
|
||||
|
||||
#: __init__.py:14
|
||||
#: __init__.py:18
|
||||
msgid "about"
|
||||
msgstr "acerca"
|
||||
|
||||
#: views.py:56
|
||||
#: views.py:58
|
||||
msgid "name"
|
||||
msgstr "nombre"
|
||||
|
||||
#: views.py:57
|
||||
#: views.py:59
|
||||
msgid "value"
|
||||
msgstr "valor"
|
||||
|
||||
#: views.py:58
|
||||
#: views.py:60
|
||||
msgid "exists"
|
||||
msgstr "existe"
|
||||
|
||||
#: views.py:68
|
||||
#: views.py:70
|
||||
msgid "function found"
|
||||
msgstr "función encontrada"
|
||||
|
||||
#: views.py:70 views.py:72
|
||||
#: views.py:72 views.py:74
|
||||
msgid "class found"
|
||||
msgstr "clase encontrada"
|
||||
|
||||
@@ -68,48 +68,48 @@ msgstr ""
|
||||
"metadatos personalizados, integración de servicio de archivos y capacidades "
|
||||
"de OCR"
|
||||
|
||||
#: templates/base.html:56
|
||||
#: templates/base.html:65
|
||||
msgid "User"
|
||||
msgstr "Usuario"
|
||||
|
||||
#: templates/base.html:58
|
||||
#: templates/base.html:67
|
||||
msgid "Anonymous"
|
||||
msgstr "Anónimo"
|
||||
|
||||
#: templates/base.html:62
|
||||
#: templates/base.html:71
|
||||
msgid "New password"
|
||||
msgstr "Nueva contraseña"
|
||||
|
||||
#: templates/base.html:67
|
||||
#: templates/base.html:76
|
||||
msgid "Admin site"
|
||||
msgstr "Sitio administrativo"
|
||||
|
||||
#: templates/base.html:78
|
||||
#: templates/base.html:87
|
||||
msgid "Go"
|
||||
msgstr "Ir"
|
||||
|
||||
#: templates/base.html:82
|
||||
#: templates/base.html:91
|
||||
msgid "Login"
|
||||
msgstr "Iniciar sesión"
|
||||
|
||||
#: templates/base.html:82
|
||||
#: templates/base.html:91
|
||||
msgid "Logout"
|
||||
msgstr "Desconectarse"
|
||||
|
||||
#: templates/base.html:111
|
||||
#: templates/base.html:120
|
||||
#, python-format
|
||||
msgid "Actions for %(object_name)s: %(object)s"
|
||||
msgstr "Acciones para %(object_name)s: %(object)s "
|
||||
|
||||
#: templates/base.html:113
|
||||
#: templates/base.html:122
|
||||
#, python-format
|
||||
msgid "Actions for: %(object)s"
|
||||
msgstr "Acciones para: %(object)s "
|
||||
|
||||
#: templates/base.html:116
|
||||
#: templates/base.html:125
|
||||
msgid "Actions"
|
||||
msgstr "Acciones"
|
||||
|
||||
#: templates/base.html:129
|
||||
#: templates/base.html:138
|
||||
msgid "Other available actions"
|
||||
msgstr "Otras acciones disponibles"
|
||||
|
||||
Binary file not shown.
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-14 02:26-0400\n"
|
||||
"PO-Revision-Date: 2011-02-14 02:27\n"
|
||||
"POT-Creation-Date: 2011-02-17 04:56-0400\n"
|
||||
"PO-Revision-Date: 2011-02-17 04:58\n"
|
||||
"Last-Translator: <admin@admin.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -19,18 +19,94 @@ msgstr ""
|
||||
"X-Translated-Using: django-rosetta 0.5.6\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: __init__.py:11
|
||||
#: __init__.py:20
|
||||
msgid "Submit document for OCR"
|
||||
msgstr "Enviar documento para OCR"
|
||||
|
||||
#: __init__.py:14
|
||||
#: __init__.py:24
|
||||
msgid "submit to OCR queue"
|
||||
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"
|
||||
msgstr "Texto de OCR"
|
||||
|
||||
#: views.py:32
|
||||
msgid "Document OCR was successful."
|
||||
msgstr "El OCR del documento se ha realizado con éxito."
|
||||
#: literals.py:8
|
||||
msgid "stopped"
|
||||
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)
|
||||
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'])
|
||||
|
||||
Reference in New Issue
Block a user