From 8a8a42ee19d4f2ed614277e72eb283c4819b08cc Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 17 Feb 2011 05:00:35 -0400 Subject: [PATCH] Updated Spanish translations --- README.md | 3 + apps/common/locale/es/LC_MESSAGES/django.mo | Bin 2121 -> 2360 bytes apps/common/locale/es/LC_MESSAGES/django.po | 32 +- apps/common/locale/ru/LC_MESSAGES/django.mo | Bin 729 -> 749 bytes .../documents/locale/es/LC_MESSAGES/django.mo | Bin 8289 -> 11157 bytes .../documents/locale/es/LC_MESSAGES/django.po | 395 +++++++++--------- apps/documents/views.py | 26 +- apps/main/locale/es/LC_MESSAGES/django.po | 42 +- apps/ocr/locale/es/LC_MESSAGES/django.mo | Bin 726 -> 1344 bytes apps/ocr/locale/es/LC_MESSAGES/django.po | 92 +++- apps/ocr/views.py | 3 +- 11 files changed, 344 insertions(+), 249 deletions(-) diff --git a/README.md b/README.md index 58fb1e87a4..4faf8bcbb1 100755 --- a/README.md +++ b/README.md @@ -23,6 +23,9 @@ Features * Permissions and roles support * Multi page document support * Page transformations +* OCR queue (via celery) +* Multilingual (English, Spanish) + Requirements --- diff --git a/apps/common/locale/es/LC_MESSAGES/django.mo b/apps/common/locale/es/LC_MESSAGES/django.mo index 0ebd56738f0691964aacf6adb26a824e2ef6b1e6..06b0532921cfd0430377dd54070d0f59da3715aa 100755 GIT binary patch delta 991 zcmYk(%}bO)9Ki9>*4(Vj*2>h9xuitfnxLd21$BtPgP`E4Xm+33^?}`Iwr8HF=(Lx> zj)g=J9eO!L9fI=Gr4C7fm+UX-5M6>!L0vr9_qV%21M__5dHcQ0Z1%m)HNNID_Z8zf z^B6PJq0~wIi8AhXDm91qFpr;c7`JgZ4(w8@8%MAgM^T+Nd z_u~ib$1gZVe)XNj2o8}&I+;P~^fK~F&Eq&OAzP+yx1T@6^V~m0N%Re62Y;Y+x{cDv z4ocw#E^?}UOc~ANXf0cvNVk%Z@0({S@1)`!Q##tqlteOQ2lh2rt?nhEB#|LaNFg$$ z5gA9Ba-9DLo2?E>Xz57Kf3W?gfBj15i;hOc>c}O!?9wREF4ke>({ed1g*Hlb-Nv=h z`_M(cpcahxH(ea)(u#>HRxO$vTwEOA%Ijj9=w!v}*j`VqPi&y;hR7wCR)c2zqHU!p zsKvBc3lp`pVq>e#+F0gscH*o)GdVjoy|$IngYBD{o_XVw(@U|5eAOf_o?Rd4df(Yt z*mzP2BSTPaqmqk~*aSwqcB#&{8fevTsrsU+6+@>3DMmi_cH^~Cmr@f4CRX!Kdm0UE j&gUhB(^aGE?G)ZsiIYftvenaok9%$WU*5vnukPi)d|INl delta 720 zcmXxhKS*0q6vy#ve9@?>rZM$zl{Y9VYKd4;R4T>6MJR=WQ=wNAG@uE6iLOF-r-v?z zZlZ&OxQL*OlUhf?sp8}yxF`;#P`|&J9NvAOd*7e?&N=TedKOv!6LnS%(adRC3`L zzQq+B!YypUYYgHuvbXt%+TcIdpu`hVPpr zCaUZlIm{&|T4SyX>wDD3kEjm)MO79iOC=sbB|3)sYntnQMdX!yB1&2X6r+)eRpx4= zBF1RQ&t5waWv, 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 \n" +"POT-Creation-Date: 2011-02-17 04:58-0400\n" +"PO-Revision-Date: 2011-02-17 04:59\n" +"Last-Translator: \n" "Language-Team: LANGUAGE \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 " diff --git a/apps/common/locale/ru/LC_MESSAGES/django.mo b/apps/common/locale/ru/LC_MESSAGES/django.mo index f5eb6fdf00293aff0359e7cff72a13732e717c3b..4f8318d13368c59387dd6eeab768e3c59be5ec80 100755 GIT binary patch delta 101 zcmcb~`j&NqNE9mr149fDgFpcggZPC&%n!unK&%7A?Ld5;k%3_gkmds79wr6`X&^lv aNLvEw%|IF`4F*6a12Yh_Fl>yfX956e#tN$d delta 81 zcmaFMdXsg6h#LbEhyk)$fjAb3`GGhYh;@Lt7>KVkGB7Lv(p*4X!NkBI4Wyfav?Y+9 K&$KbGo(TYcSqY#3 diff --git a/apps/documents/locale/es/LC_MESSAGES/django.mo b/apps/documents/locale/es/LC_MESSAGES/django.mo index 4e9e2e51c143518889bd963f27e7c2b974b041dd..88d02a43f1610a03f7bb4f46f3774d507172c599 100755 GIT binary patch literal 11157 zcmb`MdyE~`ea8>P0pk!zA)zE8&B0)MxAk4`I>wka1{`~BHnA7StX&LoVfNnHyJP0g zTxRClyU;X-&_YTYA|;VRQmLY9t5TIjmD36(YExy^rczWuY4T62P^FUL@7-OKR2}W_e&#&pJbveQe&?|-U9s-dhUZD-8st;!jQI+@^b&q})?aGO)$kJd zHnTlq?;D17m&s8W-dfNo`-A<_dGf;N*LAV({0@dDUpuRf?Rqt1!^!0V9 z?_Pvz|4UH$UxBLkU!e5-W{gVtuZH^mT~PIJh8Mycq53xoQJFaamG5pS{WKw_WIhaK zmrp|J`FD%(=i$#0{u-1W{18&L>zwjkMJJ`lYoN-#4yxZ<`B8cMq55|cs{Rn7Ds#4o z|1?y4e+#O=e^|sX7yJfP|GopIhgYD+`&Fp^{Q#;R{|2RxA3^o^A}Uw@E1=r-4ygF+ zpyt6g_zpNzgafF4JPxJjC!xxH3ab6T0i~zULzVj{Q04qNq)PMmPQ%NfuDt{=XrPpz66zT8-vaiF$du&yc=5hC>(>o z4f!+Q)i(EsA(Z|6I+T9@0-_@G0#rM{2Q@x-@Ui0Wg6jVRQ1kC$ zC_R1>%Flec;P;^P^){T{9ykrvj>n+N`7D&(oP#^zbMRL9eRvPtb{%!WC*U-E8LIzd z*XQ+}fQJb`3^jf)K-uTFpxXOgcme!pD7$;Li2pChpSf^TZbw_7^f&=!e}|#IKLItL z=8A9(FCn}LHExeUx@ew)G}(L^O5ZO*>Enk`?S1FwJpTcxaXJZQ2Pu^PJ^{DE--Ob` zH=x>k3594rz7?uHBk&?P0W}|YLFJop!D?#sP_L3RQsPR!e58d$F~c<4BtTbpPW zyD9BY=)^5Q%wzW^zFmrYHt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xEiNm18O19pla*`)Z1|a zHQrYkq4)oLI;!TMQ5W7u72_~!Wur2~MKlRR1E4b2fU5px_qZKNj@gPDU>9n|`%w!! ziyG&W`~4LR5auQyH8_US)P)OB7dD|X;J9u=t#|-cJg=fAbO1G>WA5>JRE=DA9YVc+ z*HK&XJ8Fw=Ws!fS?hYsPfHB$Ol}5 zxHJ&|Z<@51P{9@uYMMYPqOGpn`au=p?jN+Qt=x_FXGi z0oD_0TCv(}qBYc``cawH_@VX~p9_gXVkXf@+~1VOIzqn%N~PK=La(ffP^~LW==VUC zzK$q&&n-X|v$k5Zj>YM2U-*crL@x0Nq4p%PhL}S7;kw(@saH)7t6xZm`KQdG=6DVN|`-@Ao=BpWkQeV$1A~*amxe z>>u`zlU%}hxR?oWyH*i)%#_I&Exw61~9{*KLz?CWV8=<;{>_nCpsojs1v)~EH3 zuJV>w)J&aePp0KWg!&c1U(>2RcJG8LJ0&C4HfNOB_c9uTiCO6$+nznu9?$;B?(=?T zpUSDU7jiBJgSp@RGqoN0i=&*4z5b1kug5%RJq6`\n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" @@ -20,65 +20,58 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: __init__.py:26 -#, fuzzy msgid "Create document" -msgstr "documento" +msgstr "Crear documento" #: __init__.py:27 -#, fuzzy msgid "Edit document properties" -msgstr "páginas de documentos" +msgstr "Editar propiedades del documento" #: __init__.py:28 -#, fuzzy msgid "Edit document metadata" -msgstr "metadatos de documento" +msgstr "Editar metadatos del documento" #: __init__.py:29 -#, fuzzy msgid "View document" -msgstr "documento" +msgstr "Ver documento" #: __init__.py:30 -#, fuzzy msgid "Delete document" -msgstr "documento" +msgstr "Eliminar documento" #: __init__.py:31 -#, fuzzy msgid "Download document" -msgstr "subir un documento" +msgstr "Descargar el documento" #: __init__.py:32 -#, fuzzy msgid "Transform document" -msgstr "documento" +msgstr "Transformar el documento" #: __init__.py:35 msgid "documents list" msgstr "lista de documentos" #: __init__.py:36 -msgid "upload a document" -msgstr "subir un documento" +msgid "upload a new document" +msgstr "subir un nuevo documento" #: __init__.py:37 -msgid "upload multiple documents" -msgstr "subir varios documentos" +msgid "upload multiple new documents" +msgstr "subir varios documentos nuevos" #: __init__.py:38 -msgid "upload using same metadata" -msgstr "subir con los mismos metadatos" +msgid "upload new document using same metadata" +msgstr "subir nuevo documento con los mismos metadatos" #: __init__.py:39 msgid "details" msgstr "detalles" -#: __init__.py:40 __init__.py:51 +#: __init__.py:40 __init__.py:48 __init__.py:52 msgid "delete" msgstr "eliminar" -#: __init__.py:41 +#: __init__.py:41 __init__.py:47 msgid "edit" msgstr "editar" @@ -86,7 +79,7 @@ msgstr "editar" msgid "edit metadata" msgstr "editar metadatos" -#: __init__.py:43 __init__.py:50 +#: __init__.py:43 __init__.py:51 msgid "preview" msgstr "muestra" @@ -94,408 +87,402 @@ msgstr "muestra" msgid "download" msgstr "descarga" -#: __init__.py:64 +#: __init__.py:46 +msgid "create new transformation" +msgstr "crear nueva transformación" + +#: __init__.py:66 msgid "thumbnail" msgstr "miniatura" -#: __init__.py:68 views.py:296 +#: __init__.py:70 views.py:295 msgid "metadata" msgstr "metadatos" -#: __init__.py:75 models.py:73 views.py:64 +#: __init__.py:77 models.py:74 views.py:67 msgid "documents" msgstr "documentos" -#: forms.py:30 views.py:269 +#: forms.py:60 views.py:268 msgid "Pages" msgstr "Páginas" -#: forms.py:43 +#: forms.py:73 msgid "Click on the image for full size view" msgstr "Haga clic en la imagen para ver en tamaño completo" -#: forms.py:62 forms.py:107 -#, fuzzy -msgid "Quick document rename" -msgstr "Nuevo nombre del archivo" +#: forms.py:78 +msgid "page view" +msgstr "" -#: forms.py:89 +#: forms.py:97 forms.py:142 +msgid "Quick document rename" +msgstr "Cambio rápido de nombre" + +#: forms.py:124 msgid "New document filename" msgstr "Nuevo nombre del archivo" -#: forms.py:109 +#: forms.py:144 msgid "Staging file" msgstr "Archivo de ensayo" -#: forms.py:129 models.py:309 +#: forms.py:164 models.py:329 msgid "required" msgstr "requerido" -#: forms.py:152 +#: forms.py:190 msgid "id" msgstr "Identificador" -#: forms.py:153 +#: forms.py:191 msgid "Name" msgstr "Nombre" -#: forms.py:155 +#: forms.py:193 msgid "Value" msgstr "Valor" -#: forms.py:171 +#: forms.py:210 msgid "step 1 of 2: Document type" msgstr "paso 1 de 2: Tipo de documento" -#: forms.py:172 +#: forms.py:211 msgid "step 2 of 2: Document metadata" msgstr "paso 2 de 2: Metadatos de documento" -#: models.py:48 models.py:288 models.py:393 +#: models.py:49 models.py:308 models.py:413 msgid "name" msgstr "nombre" -#: models.py:58 models.py:307 models.py:321 models.py:363 models.py:392 +#: models.py:59 models.py:327 models.py:341 models.py:383 models.py:412 msgid "document type" msgstr "tipo de documento" -#: models.py:59 +#: models.py:60 msgid "file" msgstr "archivo" -#: models.py:66 +#: models.py:67 msgid "added" msgstr "agregado" -#: models.py:67 +#: models.py:68 msgid "updated" msgstr "actualizado" -#: models.py:68 +#: models.py:69 msgid "checksum" msgstr "" -#: models.py:69 +#: models.py:70 msgid "description" msgstr "descripción" -#: models.py:72 models.py:336 models.py:350 models.py:377 models.py:467 -#: views.py:351 +#: models.py:73 models.py:356 models.py:370 models.py:397 models.py:487 +#: views.py:355 msgid "document" msgstr "documento" -#: models.py:180 +#: models.py:200 msgid "Not creating metadata indexing, document not found in document storage" msgstr "No se creó la indexación de metadatos, el documento no se encuentran en almacenamiento de documentos" -#: models.py:195 +#: models.py:215 #, python-format msgid "Unable to create metadata indexing directory: %s" msgstr "No se puede crear el directorio de indexación de metadatos: %s" -#: models.py:216 +#: models.py:236 #, python-format msgid "Unable to delete metadata indexing symbolic link: %s" msgstr "No se puede eliminar el enlace simbólico de indexación de metadatos: %s" -#: models.py:272 +#: models.py:292 #, python-format msgid "Unable to create symbolic link, filename clash: %(filepath)s; %(exc)s" msgstr "No se puede crear un enlace simbólico, choque de nombre de archivo: %(filepath)s; %(exc)s " -#: models.py:275 +#: models.py:295 #, python-format msgid "Unable to create symbolic link: %(filepath)s; %(exc)s" msgstr "No se puede crear un enlace simbólico de indexación de metadatos %(filepath)s; %(exc)s" -#: models.py:280 +#: models.py:300 msgid "Maximum rename count reached, not creating symbolic link" msgstr "Conteo de cambio de nombre llego al máximo, no se va a crear el enlaces simbólico" -#: models.py:284 +#: models.py:304 #, python-format msgid " Available functions: %s" msgstr "Funciones disponibles: %s" -#: models.py:285 +#: models.py:305 #, python-format msgid " Available models: %s" msgstr "Modelos disponibles: %s" -#: models.py:288 +#: models.py:308 msgid "Do not use python reserved words." msgstr "No utilice palabras reservadas de Python." -#: models.py:289 +#: models.py:309 msgid "title" msgstr "título" -#: models.py:291 +#: models.py:311 msgid "default" msgstr "por defecto" -#: models.py:292 +#: models.py:312 #, python-format msgid "Enter a string to be evaluated.%s" msgstr "Introduzca una cadena para ser evaluada.%s" -#: models.py:294 +#: models.py:314 msgid "lookup" msgstr "búsqueda" -#: models.py:295 +#: models.py:315 #, python-format msgid "Enter a string to be evaluated. Example: [user.get_full_name() for user in User.objects.all()].%s" msgstr "Introduzca una cadena para ser evaluada. Ejemplo: [user.get_full_name () for user in User.objects.all ()].%s" -#: models.py:302 models.py:308 models.py:351 models.py:434 +#: models.py:322 models.py:328 models.py:371 models.py:454 msgid "metadata type" msgstr "tipo de metadatos" -#: models.py:303 +#: models.py:323 msgid "metadata types" msgstr "tipos de metadatos" -#: models.py:316 +#: models.py:336 msgid "document type metadata type connector" msgstr "conector tipo de documento y tipo de metadatos " -#: models.py:317 +#: models.py:337 msgid "document type metadata type connectors" msgstr "conectores de tipos de documentos y tipos de metadatos" -#: models.py:323 +#: models.py:343 msgid "indexing expression" msgstr "expresión de indexación" -#: models.py:324 +#: models.py:344 msgid "Enter a python string expression to be evaluated. The slash caracter \"/\" acts as a directory delimiter." msgstr "Introduzca una expresión de cadena de python para ser evaluada. El caracter barra \"/\" actúa como un delimitador de directorio." -#: models.py:325 models.py:365 models.py:395 models.py:439 +#: models.py:345 models.py:385 models.py:415 models.py:459 msgid "enabled" msgstr "habilitado" -#: models.py:331 models.py:337 +#: models.py:351 models.py:357 msgid "metadata index" msgstr "índice de metadatos" -#: models.py:332 +#: models.py:352 msgid "metadata indexes" msgstr "índices de metadatos" -#: models.py:338 models.py:364 +#: models.py:358 models.py:384 msgid "filename" msgstr "nombre de archivo" -#: models.py:339 +#: models.py:359 msgid "suffix" msgstr "sufijo" -#: models.py:345 +#: models.py:365 msgid "document metadata index" msgstr "índice de metadatos de documento" -#: models.py:346 +#: models.py:366 msgid "document metadata indexes" msgstr "índices de metadatos de documento" -#: models.py:352 +#: models.py:372 msgid "metadata value" msgstr "datos de metadato" -#: models.py:358 models.py:359 views.py:80 +#: models.py:378 models.py:379 views.py:83 msgid "document metadata" msgstr "metadatos de documento" -#: models.py:372 -#, fuzzy +#: models.py:392 msgid "document type quick rename filename" -msgstr "nombre de archivo de tipo de documento" +msgstr "" -#: models.py:373 -#, fuzzy +#: models.py:393 msgid "document types quick rename filenames" -msgstr "nombres de archivos de tipos de documentos" +msgstr "" -#: models.py:378 +#: models.py:398 msgid "content" msgstr "contenido" -#: models.py:379 +#: models.py:399 msgid "page label" msgstr "etiqueta de la página" -#: models.py:380 +#: models.py:400 msgid "page number" msgstr "número de página" -#: models.py:386 models.py:453 +#: models.py:406 models.py:473 views.py:584 msgid "document page" msgstr "página de documento" -#: models.py:387 +#: models.py:407 msgid "document pages" msgstr "páginas de documentos" -#: models.py:392 +#: models.py:412 msgid "If left blank, all document types will be matched." msgstr "" -#: models.py:394 -#, fuzzy +#: models.py:414 msgid "label" -msgstr "etiqueta de la página" +msgstr "etiqueta" -#: models.py:401 -#, fuzzy +#: models.py:421 msgid "metadata document group" -msgstr "tipo de metadatos" +msgstr "grupo de metadatos de documento" -#: models.py:402 -#, fuzzy +#: models.py:422 msgid "metadata document groups" -msgstr "tipos de metadatos" +msgstr "grupos de metadatos de documentos" -#: models.py:409 +#: models.py:429 msgid "and" msgstr "y" -#: models.py:410 +#: models.py:430 msgid "or" msgstr "o" -#: models.py:414 +#: models.py:434 msgid "is equal" msgstr "es igual" -#: models.py:415 +#: models.py:435 msgid "is equal (case insensitive)" msgstr "es igual (mayúsculas y minúsculas)" -#: models.py:416 -#, fuzzy +#: models.py:436 msgid "contains" -msgstr "contenido" +msgstr "contiene" -#: models.py:417 +#: models.py:437 msgid "contains (case insensitive)" msgstr "contiene (mayúsculas y minúsculas)" -#: models.py:418 +#: models.py:438 msgid "is in" msgstr "está en" -#: models.py:419 +#: models.py:439 msgid "is greater than" msgstr "es mayor que" -#: models.py:420 +#: models.py:440 msgid "is greater than or equal" msgstr "es mayor o igual" -#: models.py:421 +#: models.py:441 msgid "is less than" msgstr "es menor que" -#: models.py:422 +#: models.py:442 msgid "is less than or equal" msgstr "es menor o igual" -#: models.py:423 +#: models.py:443 msgid "starts with" msgstr "comienza con" -#: models.py:424 +#: models.py:444 msgid "starts with (case insensitive)" msgstr "comienza con (mayúsculas y minúsculas)" -#: models.py:425 +#: models.py:445 msgid "ends with" msgstr "termina con" -#: models.py:426 +#: models.py:446 msgid "ends with (case insensitive)" msgstr "termina con (mayúsculas y minúsculas)" -#: models.py:427 +#: models.py:447 msgid "is in regular expression" msgstr "está en la expresion regular" -#: models.py:428 +#: models.py:448 msgid "is in regular expression (case insensitive)" msgstr "está en la expresión regular (mayúsculas y minúsculas)" -#: models.py:432 -#, fuzzy +#: models.py:452 msgid "metadata group" -msgstr "tipo de metadatos" +msgstr "grupo de metadatos" -#: models.py:433 +#: models.py:453 msgid "The inclusion is ignored for the first item." msgstr "La inclusión es ignorada para el primer artículo." -#: models.py:434 +#: models.py:454 msgid "This represents the metadata of all other documents." msgstr "Esto representa los metadatos de todos los demás documentos." -#: models.py:437 -#, fuzzy +#: models.py:457 msgid "expression" -msgstr "extensión" +msgstr "expresión" -#: models.py:437 +#: models.py:457 msgid "This expression will be evaluated against the current seleted document. The document metadata is available as variables of the same name but with the \"metadata_\" prefix added their name." msgstr "" -#: models.py:438 +#: models.py:458 msgid "negated" msgstr "negada" -#: models.py:438 +#: models.py:458 msgid "Inverts the logic of the operator." msgstr "Invierte la lógica del operador." -#: models.py:442 +#: models.py:462 msgid "not" msgstr "not" -#: models.py:445 -#, fuzzy +#: models.py:465 msgid "metadata group item" -msgstr "tipo de metadatos" +msgstr "artículo de grupo de metadatos" -#: models.py:446 -#, fuzzy +#: models.py:466 msgid "metadata group items" -msgstr "tipos de metadatos" +msgstr "artículos de grupos de metadatos" -#: models.py:454 +#: models.py:474 views.py:595 msgid "order" msgstr "orden" -#: models.py:455 +#: models.py:475 views.py:596 views.py:652 msgid "transformation" msgstr "transformación" -#: models.py:456 -#, fuzzy +#: models.py:476 views.py:597 msgid "arguments" -msgstr "documentos" +msgstr "argumentos" -#: models.py:456 -msgid "Use directories to indentify arguments, example: {'degrees':90}" -msgstr "Use directorios para identificar los argumentos, por ejemplo: {'grados': 90}" +#: models.py:476 +msgid "Use dictionaries to indentify arguments, example: {'degrees':90}" +msgstr "Use diccionarios para identificar los argumentos, por ejemplo: {'grados': 90}" -#: models.py:463 -#, fuzzy +#: models.py:483 msgid "document page transformation" -msgstr "páginas de documentos" +msgstr "transformación de página de documento" -#: models.py:464 -#, fuzzy +#: models.py:484 msgid "document page transformations" -msgstr "páginas de documentos" +msgstr "transformaciones de páginas de documentos" #: staging.py:24 #, python-format @@ -512,129 +499,147 @@ msgstr "No se puede subir archivo de ensayo: %s" msgid "Unable to delete staging file: %s" msgstr "No se puede eliminar archivo de ensayo: %s" -#: views.py:153 +#: views.py:138 views.py:177 +#, 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." + +#: views.py:147 msgid "Document uploaded successfully." msgstr "Documento subido con éxito." -#: views.py:190 +#: views.py:189 #, python-format msgid "Staging file: %s, uploaded successfully." msgstr "Archivo de ensayo: %s, ha subido con éxito." -#: views.py:199 +#: views.py:198 #, python-format msgid "Staging file: %s, deleted successfully." msgstr "Archivo de ensayo: %s, eliminado con éxito." -#: views.py:214 +#: views.py:213 msgid "upload a local document" msgstr "subir un documento local" -#: views.py:232 +#: views.py:231 msgid "files in staging" msgstr "archivos de ensayo" -#: views.py:241 +#: views.py:240 msgid "upload a document from staging" msgstr "subir un documento de ensayo" -#: views.py:259 +#: views.py:258 msgid "Filename" msgstr "Nombre del archivo" -#: views.py:260 +#: views.py:259 msgid "File extension" msgstr "Extensión de archivo" -#: views.py:261 +#: views.py:260 msgid "File mimetype" msgstr "Tipo MIME del archivo" -#: views.py:262 -#, fuzzy +#: views.py:261 msgid "File mime encoding" -msgstr "Tipo MIME del archivo" +msgstr "Codificación de archivos MIME" -#: views.py:263 +#: views.py:262 msgid "File size" msgstr "Tamaños del archivo" -#: views.py:264 +#: views.py:263 msgid "Exists in storage" msgstr "Existe en el almacenamiento" -#: views.py:265 +#: views.py:264 msgid "Date added" msgstr "Fecha en que se agregó" -#: views.py:266 +#: views.py:265 msgid "Time added" msgstr "El tiempo añadido" -#: views.py:267 +#: views.py:266 msgid "Checksum" msgstr "" -#: views.py:268 +#: views.py:267 msgid "UUID" msgstr "UUID" -#: views.py:276 +#: views.py:275 #, python-format msgid "Metadata group query error: %s" msgstr "error de consulta de grupo de metadatos: %s" -#: views.py:287 -#, fuzzy +#: views.py:286 msgid "document preview" -msgstr "página de documento" +msgstr "muestra del documento" -#: views.py:298 +#: views.py:297 msgid "value" msgstr "valor" -#: views.py:306 +#: views.py:305 msgid "index links" msgstr "enlaces de índice" -#: views.py:380 -#, fuzzy, python-format +#: views.py:385 +#, python-format msgid "Document %s edited successfully." -msgstr "Documento:%s editado con éxito." +msgstr "Documento %s editado con éxito." -#: views.py:384 views.py:439 +#: views.py:389 views.py:444 msgid "Document filesystem links updated successfully." msgstr "Enlaces del documento actualizados con éxito." -#: views.py:435 -#, fuzzy, python-format +#: views.py:440 +#, python-format msgid "Metadata for document %s edited successfully." -msgstr "Documento:%s editado con éxito." +msgstr "Metadatos para documento %s editado con éxito." -#: views.py:477 +#: views.py:481 views.py:534 #, python-format msgid "Error for transformation %(transformation)s:, %(error)s" -msgstr "" +msgstr "Error para transformación %(transformation)s:, %(error)s " -#: views.py:539 -#, fuzzy +#: views.py:558 msgid "Staging file delete successfully." -msgstr "Archivo de ensayo: %s, eliminado con éxito." +msgstr "Archivo de ensayo eliminado con éxito." -#: views.py:567 -#, fuzzy -msgid "document transformations" -msgstr "índices de metadatos de documento" +#: views.py:592 +msgid "transformations" +msgstr "transformaciones" -#: views.py:586 -#, fuzzy +#: views.py:634 +#, python-format +msgid "Create new transformation for page: %(page)s of document: %(document)s" +msgstr "Crear nueva transformación de la página: %(page)s del documento: %(document)s " + +#: views.py:658 +#, python-format +msgid "Edit transformation \"%(transformation)s\" for page: %(page)s of document: %(document)s" +msgstr "Editar transformación \" %(transformation)s\" para la página: %(page)s del documento: %(document)s " + +#: views.py:680 msgid "document transformation" -msgstr "índice de metadatos de documento" +msgstr "transformación de documento" + +#: views.py:681 +#, python-format +msgid "Are you sure you wish to delete transformation \"%(transformation)s\" for page: %(page)s of document: %(document)s" +msgstr "¿Está seguro que desea eliminar la transformación \"%(transformation)s\" para la página: %(page)s del documento: %(document)s " #: conf/settings.py:23 msgid "Rotate [degrees]" msgstr "Rotar [degrees]" +#~ msgid "document transformations" +#~ msgstr "índices de metadatos de documento" + #~ msgid "file size" #~ msgstr "tamaño de archivo" diff --git a/apps/documents/views.py b/apps/documents/views.py index a47fdfc911..2bd53b8087 100755 --- a/apps/documents/views.py +++ b/apps/documents/views.py @@ -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}, }) diff --git a/apps/main/locale/es/LC_MESSAGES/django.po b/apps/main/locale/es/LC_MESSAGES/django.po index 963c9f59be..934e0417a4 100755 --- a/apps/main/locale/es/LC_MESSAGES/django.po +++ b/apps/main/locale/es/LC_MESSAGES/django.po @@ -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: \n" "Language-Team: LANGUAGE \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" diff --git a/apps/ocr/locale/es/LC_MESSAGES/django.mo b/apps/ocr/locale/es/LC_MESSAGES/django.mo index 7329c2f7a68cc5513350c917cbb7629bc6855851..53d7b3d34e332615c9985e3862a3311726eb7995 100644 GIT binary patch literal 1344 zcmZva&u<(x6vqt|3d^t33Lz?xUJjrH$;)okmS~c#8j@`lHEEV~6ZM4T%)H&Wnz0Al z8|Z~ACk`O-SHOXa3!FIgZ{P|iuG|m@4)A@mldVvBlILTOpP#?BzrS8Q_l-haM0*SE zJG8gaHlD%<@jZARdM@l)OLM`9Hx682{6bFCbawFN2c51WLX4K*(uA^vD?`56jeRXrc)z zi;$WUqD|sev{#zmT$kM8S;)Oe;HXW=z7q0AYMUo!RwlLW^I63%W%SN+(e_s&eQF|^ zqTqs(r*y)!zjZ*L%y`C<*mPE6SK+U^J3FpyqO-*`@j^z_kxa@5QMt^oO%))MKAfXS6@oTY*i& zBE5}`GFt8R`?|NP`yWv6N_O>{?p^8ikf;y%)JpOH&s*#4nwa!B7#B;Ee8_0S6qR*1 znr}Dv)pew}>C8-7kJ(fi?QY(=btoz~c6V=-w(G<6dS`EEZ}|8e{cf+bG6Xa z`Vubt{kk;Pty6wtLgX|!9N*MykMl&sgo7Ts+{>+Iw03OMVt1VT-a;rB`cSSrqvAf) zc^y0|CPTgM)$X;YF}PF(X$u!#G%7r+Ig<>}Y8~{gw5O8o>?)Pw*6eVK!Xy zf82IrDB8l4dGyc}O@~TDxyPqq3Y>fAb6Z)Q*VCgP>SS{-Gr0-y6~hxxxN_)Dt-;Q% zr9IWiUHGzDEhcSj=@sNb!vi|;NQ%DV1QiQo`qr8F3+E@JoUe{UYform#g674HFJ@z aO$~}LtSYq_uO&r!F3eDAF(aoC9sdGvBTIDv delta 279 zcmX@Wb&a+Do)F7a1|VPsVi_QI0b+I_&H-W&=m27ncqb5x1MxB-<^|$?Kr9TzXMnh! zk%8d>kTw9~3?>E!NgzEFNb>;c%|KcdNFM;wKxGUpKn$`A$OQp424)BYXmfsYX>Mv> ziGsg#kV1K4u|jcaa&l^Maaw7P-sE45>XYl3ve`@&42-OdCckG=VuvuzH%l-xF&en$ zfVHKh<|w2<&B<3NPF2WAR47VK%*m`uOvzVB&d*agys{#*Bwugx1Qrdk)V#9H#3F@6 Qg`CXdl0=1+RFD}A04!!XVgLXD diff --git a/apps/ocr/locale/es/LC_MESSAGES/django.po b/apps/ocr/locale/es/LC_MESSAGES/django.po index 9e021f1102..eb90199603 100644 --- a/apps/ocr/locale/es/LC_MESSAGES/django.po +++ b/apps/ocr/locale/es/LC_MESSAGES/django.po @@ -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: \n" "Language-Team: LANGUAGE \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." diff --git a/apps/ocr/views.py b/apps/ocr/views.py index 344cb8aaeb..fc6f63d606 100755 --- a/apps/ocr/views.py +++ b/apps/ocr/views.py @@ -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'])