Merge branch 'hotfix/v0.12.3' into hotfix_0.12.3_merge

Conflicts:
	apps/acls/locale/de_DE/LC_MESSAGES/django.mo
	apps/acls/locale/en/LC_MESSAGES/django.po
	apps/acls/locale/es/LC_MESSAGES/django.mo
	apps/acls/locale/es/LC_MESSAGES/django.po
	apps/acls/locale/it/LC_MESSAGES/django.mo
	apps/acls/locale/pl/LC_MESSAGES/django.mo
	apps/acls/locale/pt/LC_MESSAGES/django.mo
	apps/acls/locale/pt/LC_MESSAGES/django.po
	apps/acls/locale/pt_BR/LC_MESSAGES/django.mo
	apps/acls/locale/pt_BR/LC_MESSAGES/django.po
	apps/acls/locale/ru/LC_MESSAGES/django.mo
	apps/common/locale/de_DE/LC_MESSAGES/django.mo
	apps/common/locale/de_DE/LC_MESSAGES/django.po
	apps/common/locale/en/LC_MESSAGES/django.po
	apps/common/locale/es/LC_MESSAGES/django.mo
	apps/common/locale/es/LC_MESSAGES/django.po
	apps/common/locale/it/LC_MESSAGES/django.mo
	apps/common/locale/it/LC_MESSAGES/django.po
	apps/common/locale/pl/LC_MESSAGES/django.mo
	apps/common/locale/pl/LC_MESSAGES/django.po
	apps/common/locale/pt/LC_MESSAGES/django.mo
	apps/common/locale/pt/LC_MESSAGES/django.po
	apps/common/locale/pt_BR/LC_MESSAGES/django.mo
	apps/common/locale/pt_BR/LC_MESSAGES/django.po
	apps/common/locale/ru/LC_MESSAGES/django.mo
	apps/common/locale/ru/LC_MESSAGES/django.po
	apps/converter/conf/settings.py
	apps/converter/locale/de_DE/LC_MESSAGES/django.mo
	apps/converter/locale/de_DE/LC_MESSAGES/django.po
	apps/converter/locale/en/LC_MESSAGES/django.po
	apps/converter/locale/es/LC_MESSAGES/django.mo
	apps/converter/locale/es/LC_MESSAGES/django.po
	apps/converter/locale/it/LC_MESSAGES/django.mo
	apps/converter/locale/it/LC_MESSAGES/django.po
	apps/converter/locale/pl/LC_MESSAGES/django.mo
	apps/converter/locale/pl/LC_MESSAGES/django.po
	apps/converter/locale/pt/LC_MESSAGES/django.mo
	apps/converter/locale/pt/LC_MESSAGES/django.po
	apps/converter/locale/pt_BR/LC_MESSAGES/django.mo
	apps/converter/locale/pt_BR/LC_MESSAGES/django.po
	apps/converter/locale/ru/LC_MESSAGES/django.mo
	apps/converter/locale/ru/LC_MESSAGES/django.po
	apps/django_gpg/locale/de_DE/LC_MESSAGES/django.mo
	apps/django_gpg/locale/en/LC_MESSAGES/django.po
	apps/django_gpg/locale/es/LC_MESSAGES/django.mo
	apps/django_gpg/locale/es/LC_MESSAGES/django.po
	apps/django_gpg/locale/it/LC_MESSAGES/django.mo
	apps/django_gpg/locale/pl/LC_MESSAGES/django.mo
	apps/django_gpg/locale/pt/LC_MESSAGES/django.mo
	apps/django_gpg/locale/pt/LC_MESSAGES/django.po
	apps/django_gpg/locale/pt_BR/LC_MESSAGES/django.mo
	apps/django_gpg/locale/pt_BR/LC_MESSAGES/django.po
	apps/django_gpg/locale/ru/LC_MESSAGES/django.mo
	apps/document_comments/locale/de_DE/LC_MESSAGES/django.mo
	apps/document_comments/locale/en/LC_MESSAGES/django.po
	apps/document_comments/locale/es/LC_MESSAGES/django.mo
	apps/document_comments/locale/es/LC_MESSAGES/django.po
	apps/document_comments/locale/it/LC_MESSAGES/django.mo
	apps/document_comments/locale/pl/LC_MESSAGES/django.mo
	apps/document_comments/locale/pt/LC_MESSAGES/django.mo
	apps/document_comments/locale/pt/LC_MESSAGES/django.po
	apps/document_comments/locale/pt_BR/LC_MESSAGES/django.mo
	apps/document_comments/locale/pt_BR/LC_MESSAGES/django.po
	apps/document_comments/locale/ru/LC_MESSAGES/django.mo
	apps/document_indexing/__init__.py
	apps/document_indexing/locale/de_DE/LC_MESSAGES/django.mo
	apps/document_indexing/locale/de_DE/LC_MESSAGES/django.po
	apps/document_indexing/locale/en/LC_MESSAGES/django.po
	apps/document_indexing/locale/es/LC_MESSAGES/django.mo
	apps/document_indexing/locale/es/LC_MESSAGES/django.po
	apps/document_indexing/locale/it/LC_MESSAGES/django.mo
	apps/document_indexing/locale/it/LC_MESSAGES/django.po
	apps/document_indexing/locale/pl/LC_MESSAGES/django.mo
	apps/document_indexing/locale/pl/LC_MESSAGES/django.po
	apps/document_indexing/locale/pt/LC_MESSAGES/django.mo
	apps/document_indexing/locale/pt/LC_MESSAGES/django.po
	apps/document_indexing/locale/pt_BR/LC_MESSAGES/django.mo
	apps/document_indexing/locale/pt_BR/LC_MESSAGES/django.po
	apps/document_indexing/locale/ru/LC_MESSAGES/django.mo
	apps/document_indexing/locale/ru/LC_MESSAGES/django.po
	apps/document_signatures/locale/de_DE/LC_MESSAGES/django.mo
	apps/document_signatures/locale/en/LC_MESSAGES/django.po
	apps/document_signatures/locale/es/LC_MESSAGES/django.mo
	apps/document_signatures/locale/es/LC_MESSAGES/django.po
	apps/document_signatures/locale/it/LC_MESSAGES/django.mo
	apps/document_signatures/locale/pl/LC_MESSAGES/django.mo
	apps/document_signatures/locale/pt/LC_MESSAGES/django.mo
	apps/document_signatures/locale/pt/LC_MESSAGES/django.po
	apps/document_signatures/locale/pt_BR/LC_MESSAGES/django.mo
	apps/document_signatures/locale/pt_BR/LC_MESSAGES/django.po
	apps/document_signatures/locale/ru/LC_MESSAGES/django.mo
	apps/documents/__init__.py
	apps/documents/forms.py
	apps/documents/locale/de_DE/LC_MESSAGES/django.mo
	apps/documents/locale/de_DE/LC_MESSAGES/django.po
	apps/documents/locale/es/LC_MESSAGES/django.mo
	apps/documents/locale/es/LC_MESSAGES/django.po
	apps/documents/locale/it/LC_MESSAGES/django.mo
	apps/documents/locale/it/LC_MESSAGES/django.po
	apps/documents/locale/pl/LC_MESSAGES/django.mo
	apps/documents/locale/pl/LC_MESSAGES/django.po
	apps/documents/locale/pt/LC_MESSAGES/django.mo
	apps/documents/locale/pt/LC_MESSAGES/django.po
	apps/documents/locale/pt_BR/LC_MESSAGES/django.mo
	apps/documents/locale/pt_BR/LC_MESSAGES/django.po
	apps/documents/locale/ru/LC_MESSAGES/django.mo
	apps/documents/locale/ru/LC_MESSAGES/django.po
	apps/documents/views.py
	apps/dynamic_search/locale/de_DE/LC_MESSAGES/django.mo
	apps/dynamic_search/locale/en/LC_MESSAGES/django.po
	apps/dynamic_search/locale/es/LC_MESSAGES/django.mo
	apps/dynamic_search/locale/es/LC_MESSAGES/django.po
	apps/dynamic_search/locale/it/LC_MESSAGES/django.mo
	apps/dynamic_search/locale/pl/LC_MESSAGES/django.mo
	apps/dynamic_search/locale/pt/LC_MESSAGES/django.mo
	apps/dynamic_search/locale/pt/LC_MESSAGES/django.po
	apps/dynamic_search/locale/pt_BR/LC_MESSAGES/django.mo
	apps/dynamic_search/locale/pt_BR/LC_MESSAGES/django.po
	apps/dynamic_search/locale/ru/LC_MESSAGES/django.mo
	apps/dynamic_search/models.py
	apps/folders/locale/de_DE/LC_MESSAGES/django.mo
	apps/folders/locale/de_DE/LC_MESSAGES/django.po
	apps/folders/locale/en/LC_MESSAGES/django.po
	apps/folders/locale/es/LC_MESSAGES/django.mo
	apps/folders/locale/es/LC_MESSAGES/django.po
	apps/folders/locale/it/LC_MESSAGES/django.mo
	apps/folders/locale/pl/LC_MESSAGES/django.mo
	apps/folders/locale/pt/LC_MESSAGES/django.mo
	apps/folders/locale/pt/LC_MESSAGES/django.po
	apps/folders/locale/pt_BR/LC_MESSAGES/django.mo
	apps/folders/locale/pt_BR/LC_MESSAGES/django.po
	apps/folders/locale/ru/LC_MESSAGES/django.mo
	apps/history/locale/de_DE/LC_MESSAGES/django.mo
	apps/history/locale/en/LC_MESSAGES/django.po
	apps/history/locale/es/LC_MESSAGES/django.mo
	apps/history/locale/es/LC_MESSAGES/django.po
	apps/history/locale/it/LC_MESSAGES/django.mo
	apps/history/locale/pl/LC_MESSAGES/django.mo
	apps/history/locale/pt/LC_MESSAGES/django.mo
	apps/history/locale/pt/LC_MESSAGES/django.po
	apps/history/locale/pt_BR/LC_MESSAGES/django.mo
	apps/history/locale/pt_BR/LC_MESSAGES/django.po
	apps/history/locale/ru/LC_MESSAGES/django.mo
	apps/installation/locale/de_DE/LC_MESSAGES/django.mo
	apps/installation/locale/en/LC_MESSAGES/django.po
	apps/installation/locale/es/LC_MESSAGES/django.mo
	apps/installation/locale/es/LC_MESSAGES/django.po
	apps/installation/locale/it/LC_MESSAGES/django.mo
	apps/installation/locale/pl/LC_MESSAGES/django.mo
	apps/installation/locale/pt/LC_MESSAGES/django.mo
	apps/installation/locale/pt_BR/LC_MESSAGES/django.mo
	apps/installation/locale/pt_BR/LC_MESSAGES/django.po
	apps/installation/locale/ru/LC_MESSAGES/django.mo
	apps/linking/locale/de_DE/LC_MESSAGES/django.mo
	apps/linking/locale/en/LC_MESSAGES/django.po
	apps/linking/locale/es/LC_MESSAGES/django.mo
	apps/linking/locale/es/LC_MESSAGES/django.po
	apps/linking/locale/it/LC_MESSAGES/django.mo
	apps/linking/locale/pl/LC_MESSAGES/django.mo
	apps/linking/locale/pt/LC_MESSAGES/django.mo
	apps/linking/locale/pt/LC_MESSAGES/django.po
	apps/linking/locale/pt_BR/LC_MESSAGES/django.mo
	apps/linking/locale/pt_BR/LC_MESSAGES/django.po
	apps/linking/locale/ru/LC_MESSAGES/django.mo
	apps/main/locale/de_DE/LC_MESSAGES/django.mo
	apps/main/locale/de_DE/LC_MESSAGES/django.po
	apps/main/locale/en/LC_MESSAGES/django.po
	apps/main/locale/es/LC_MESSAGES/django.mo
	apps/main/locale/es/LC_MESSAGES/django.po
	apps/main/locale/it/LC_MESSAGES/django.mo
	apps/main/locale/it/LC_MESSAGES/django.po
	apps/main/locale/pl/LC_MESSAGES/django.mo
	apps/main/locale/pl/LC_MESSAGES/django.po
	apps/main/locale/pt/LC_MESSAGES/django.mo
	apps/main/locale/pt_BR/LC_MESSAGES/django.mo
	apps/main/locale/pt_BR/LC_MESSAGES/django.po
	apps/main/locale/ru/LC_MESSAGES/django.mo
	apps/main/locale/ru/LC_MESSAGES/django.po
	apps/metadata/__init__.py
	apps/metadata/locale/de_DE/LC_MESSAGES/django.mo
	apps/metadata/locale/en/LC_MESSAGES/django.po
	apps/metadata/locale/es/LC_MESSAGES/django.mo
	apps/metadata/locale/es/LC_MESSAGES/django.po
	apps/metadata/locale/it/LC_MESSAGES/django.mo
	apps/metadata/locale/pl/LC_MESSAGES/django.mo
	apps/metadata/locale/pt/LC_MESSAGES/django.mo
	apps/metadata/locale/pt/LC_MESSAGES/django.po
	apps/metadata/locale/pt_BR/LC_MESSAGES/django.mo
	apps/metadata/locale/pt_BR/LC_MESSAGES/django.po
	apps/metadata/locale/ru/LC_MESSAGES/django.mo
	apps/navigation/locale/de_DE/LC_MESSAGES/django.mo
	apps/navigation/locale/en/LC_MESSAGES/django.po
	apps/navigation/locale/es/LC_MESSAGES/django.mo
	apps/navigation/locale/es/LC_MESSAGES/django.po
	apps/navigation/locale/it/LC_MESSAGES/django.mo
	apps/navigation/locale/pl/LC_MESSAGES/django.mo
	apps/navigation/locale/pt/LC_MESSAGES/django.mo
	apps/navigation/locale/pt/LC_MESSAGES/django.po
	apps/navigation/locale/pt_BR/LC_MESSAGES/django.mo
	apps/navigation/locale/pt_BR/LC_MESSAGES/django.po
	apps/navigation/locale/ru/LC_MESSAGES/django.mo
	apps/navigation/templatetags/navigation_tags.py
	apps/ocr/locale/de_DE/LC_MESSAGES/django.mo
	apps/ocr/locale/en/LC_MESSAGES/django.po
	apps/ocr/locale/es/LC_MESSAGES/django.mo
	apps/ocr/locale/es/LC_MESSAGES/django.po
	apps/ocr/locale/it/LC_MESSAGES/django.mo
	apps/ocr/locale/pl/LC_MESSAGES/django.mo
	apps/ocr/locale/pt/LC_MESSAGES/django.mo
	apps/ocr/locale/pt/LC_MESSAGES/django.po
	apps/ocr/locale/pt_BR/LC_MESSAGES/django.mo
	apps/ocr/locale/pt_BR/LC_MESSAGES/django.po
	apps/ocr/locale/ru/LC_MESSAGES/django.mo
	apps/permissions/locale/de_DE/LC_MESSAGES/django.mo
	apps/permissions/locale/de_DE/LC_MESSAGES/django.po
	apps/permissions/locale/en/LC_MESSAGES/django.po
	apps/permissions/locale/es/LC_MESSAGES/django.mo
	apps/permissions/locale/es/LC_MESSAGES/django.po
	apps/permissions/locale/it/LC_MESSAGES/django.mo
	apps/permissions/locale/it/LC_MESSAGES/django.po
	apps/permissions/locale/pl/LC_MESSAGES/django.mo
	apps/permissions/locale/pl/LC_MESSAGES/django.po
	apps/permissions/locale/pt/LC_MESSAGES/django.mo
	apps/permissions/locale/pt/LC_MESSAGES/django.po
	apps/permissions/locale/pt_BR/LC_MESSAGES/django.mo
	apps/permissions/locale/pt_BR/LC_MESSAGES/django.po
	apps/permissions/locale/ru/LC_MESSAGES/django.mo
	apps/permissions/locale/ru/LC_MESSAGES/django.po
	apps/project_setup/locale/de_DE/LC_MESSAGES/django.mo
	apps/project_setup/locale/en/LC_MESSAGES/django.po
	apps/project_setup/locale/es/LC_MESSAGES/django.mo
	apps/project_setup/locale/es/LC_MESSAGES/django.po
	apps/project_setup/locale/it/LC_MESSAGES/django.mo
	apps/project_setup/locale/pl/LC_MESSAGES/django.mo
	apps/project_setup/locale/pt/LC_MESSAGES/django.mo
	apps/project_setup/locale/pt/LC_MESSAGES/django.po
	apps/project_setup/locale/pt_BR/LC_MESSAGES/django.mo
	apps/project_setup/locale/pt_BR/LC_MESSAGES/django.po
	apps/project_setup/locale/ru/LC_MESSAGES/django.mo
	apps/project_tools/locale/de_DE/LC_MESSAGES/django.mo
	apps/project_tools/locale/en/LC_MESSAGES/django.po
	apps/project_tools/locale/es/LC_MESSAGES/django.mo
	apps/project_tools/locale/es/LC_MESSAGES/django.po
	apps/project_tools/locale/it/LC_MESSAGES/django.mo
	apps/project_tools/locale/pl/LC_MESSAGES/django.mo
	apps/project_tools/locale/pt/LC_MESSAGES/django.mo
	apps/project_tools/locale/pt_BR/LC_MESSAGES/django.mo
	apps/project_tools/locale/pt_BR/LC_MESSAGES/django.po
	apps/project_tools/locale/ru/LC_MESSAGES/django.mo
	apps/scheduler/locale/de_DE/LC_MESSAGES/django.mo
	apps/scheduler/locale/en/LC_MESSAGES/django.po
	apps/scheduler/locale/es/LC_MESSAGES/django.mo
	apps/scheduler/locale/es/LC_MESSAGES/django.po
	apps/scheduler/locale/it/LC_MESSAGES/django.mo
	apps/scheduler/locale/pl/LC_MESSAGES/django.mo
	apps/scheduler/locale/pt/LC_MESSAGES/django.mo
	apps/scheduler/locale/pt/LC_MESSAGES/django.po
	apps/scheduler/locale/pt_BR/LC_MESSAGES/django.mo
	apps/scheduler/locale/pt_BR/LC_MESSAGES/django.po
	apps/scheduler/locale/ru/LC_MESSAGES/django.mo
	apps/smart_settings/locale/de_DE/LC_MESSAGES/django.mo
	apps/smart_settings/locale/en/LC_MESSAGES/django.po
	apps/smart_settings/locale/es/LC_MESSAGES/django.mo
	apps/smart_settings/locale/es/LC_MESSAGES/django.po
	apps/smart_settings/locale/it/LC_MESSAGES/django.mo
	apps/smart_settings/locale/pl/LC_MESSAGES/django.mo
	apps/smart_settings/locale/pt/LC_MESSAGES/django.mo
	apps/smart_settings/locale/pt/LC_MESSAGES/django.po
	apps/smart_settings/locale/pt_BR/LC_MESSAGES/django.mo
	apps/smart_settings/locale/pt_BR/LC_MESSAGES/django.po
	apps/smart_settings/locale/ru/LC_MESSAGES/django.mo
	apps/sources/__init__.py
	apps/sources/locale/de_DE/LC_MESSAGES/django.mo
	apps/sources/locale/de_DE/LC_MESSAGES/django.po
	apps/sources/locale/es/LC_MESSAGES/django.mo
	apps/sources/locale/es/LC_MESSAGES/django.po
	apps/sources/locale/it/LC_MESSAGES/django.mo
	apps/sources/locale/it/LC_MESSAGES/django.po
	apps/sources/locale/pl/LC_MESSAGES/django.mo
	apps/sources/locale/pl/LC_MESSAGES/django.po
	apps/sources/locale/pt/LC_MESSAGES/django.mo
	apps/sources/locale/pt/LC_MESSAGES/django.po
	apps/sources/locale/pt_BR/LC_MESSAGES/django.mo
	apps/sources/locale/pt_BR/LC_MESSAGES/django.po
	apps/sources/locale/ru/LC_MESSAGES/django.mo
	apps/sources/locale/ru/LC_MESSAGES/django.po
	apps/sources/views.py
	apps/tags/locale/de_DE/LC_MESSAGES/django.mo
	apps/tags/locale/en/LC_MESSAGES/django.po
	apps/tags/locale/es/LC_MESSAGES/django.mo
	apps/tags/locale/es/LC_MESSAGES/django.po
	apps/tags/locale/it/LC_MESSAGES/django.mo
	apps/tags/locale/pl/LC_MESSAGES/django.mo
	apps/tags/locale/pt/LC_MESSAGES/django.mo
	apps/tags/locale/pt/LC_MESSAGES/django.po
	apps/tags/locale/pt_BR/LC_MESSAGES/django.mo
	apps/tags/locale/pt_BR/LC_MESSAGES/django.po
	apps/tags/locale/ru/LC_MESSAGES/django.mo
	apps/user_management/locale/de_DE/LC_MESSAGES/django.mo
	apps/user_management/locale/en/LC_MESSAGES/django.po
	apps/user_management/locale/es/LC_MESSAGES/django.mo
	apps/user_management/locale/es/LC_MESSAGES/django.po
	apps/user_management/locale/it/LC_MESSAGES/django.mo
	apps/user_management/locale/pl/LC_MESSAGES/django.mo
	apps/user_management/locale/pt/LC_MESSAGES/django.mo
	apps/user_management/locale/pt/LC_MESSAGES/django.po
	apps/user_management/locale/pt_BR/LC_MESSAGES/django.mo
	apps/user_management/locale/pt_BR/LC_MESSAGES/django.po
	apps/user_management/locale/ru/LC_MESSAGES/django.mo
	apps/web_theme/locale/de_DE/LC_MESSAGES/django.mo
	apps/web_theme/locale/de_DE/LC_MESSAGES/django.po
	apps/web_theme/locale/en/LC_MESSAGES/django.po
	apps/web_theme/locale/es/LC_MESSAGES/django.mo
	apps/web_theme/locale/es/LC_MESSAGES/django.po
	apps/web_theme/locale/it/LC_MESSAGES/django.mo
	apps/web_theme/locale/it/LC_MESSAGES/django.po
	apps/web_theme/locale/pl/LC_MESSAGES/django.mo
	apps/web_theme/locale/pl/LC_MESSAGES/django.po
	apps/web_theme/locale/pt/LC_MESSAGES/django.mo
	apps/web_theme/locale/pt/LC_MESSAGES/django.po
	apps/web_theme/locale/pt_BR/LC_MESSAGES/django.mo
	apps/web_theme/locale/pt_BR/LC_MESSAGES/django.po
	apps/web_theme/locale/ru/LC_MESSAGES/django.mo
	apps/web_theme/locale/ru/LC_MESSAGES/django.po
	misc/compilemessages_all.sh
	misc/makemessages_all.sh
	requirements/production.txt
	settings.py
This commit is contained in:
Roberto Rosario
2012-07-26 21:43:03 -04:00
491 changed files with 31132 additions and 4140 deletions

View File

@@ -5,12 +5,15 @@ import logging
from django.db.models.signals import pre_save, post_save, pre_delete
from django.dispatch import receiver
from django.utils.translation import ugettext_lazy as _
from django.dispatch import receiver
from django.db.models.signals import post_save, pre_delete, post_delete
from navigation.api import (register_top_menu, register_sidebar_template,
bind_links, Link)
from main.api import register_maintenance_links
from documents.models import Document, DocumentVersion
from documents.permissions import PERMISSION_DOCUMENT_VIEW
from metadata.models import DocumentMetadata
from project_setup.api import register_setup
@@ -20,6 +23,13 @@ from .links import (index_setup, index_setup_list, index_setup_create,
index_setup_edit, index_setup_delete, index_setup_view,
template_node_create, template_node_edit, template_node_delete,
index_list, index_parent, document_index_list, rebuild_index_instances)
from .permissions import (PERMISSION_DOCUMENT_INDEXING_VIEW,
PERMISSION_DOCUMENT_INDEXING_REBUILD_INDEXES,
PERMISSION_DOCUMENT_INDEXING_SETUP,
PERMISSION_DOCUMENT_INDEXING_CREATE,
PERMISSION_DOCUMENT_INDEXING_EDIT,
PERMISSION_DOCUMENT_INDEXING_DELETE
)
logger = logging.getLogger(__name__)
@@ -36,27 +46,33 @@ bind_links([IndexTemplateNode], [template_node_create, template_node_edit, templ
register_setup(index_setup)
def delete_indexes_handler(sender, instance, **kwargs):
if isinstance(instance, DocumentVersion):
logger.debug('received pre save signal - document version')
logger.debug('instance: %s' % instance)
delete_indexes(instance.document)
elif isinstance(instance, DocumentMetadata):
logger.debug('received pre save signal - document metadata')
logger.debug('instance: %s' % instance)
delete_indexes(instance.document)
@receiver(post_save, dispatch_uid='document_index_update', sender=Document)
def document_index_update(sender, **kwargs):
# TODO: save result in index log
delete_indexes(kwargs['instance'])
update_indexes(kwargs['instance'])
@receiver(post_save, dispatch_uid='update_indexes_handler')
def update_indexes_handler(sender, instance, **kwargs):
if isinstance(instance, DocumentVersion):
logger.debug('received post save signal - document version')
logger.debug('instance: %s' % instance)
update_indexes(instance.document)
elif isinstance(instance, DocumentMetadata):
logger.debug('received post save signal - document metadata')
logger.debug('instance: %s' % instance)
update_indexes(instance.document)
@receiver(pre_delete, dispatch_uid='document_index_delete', sender=Document)
def document_index_delete(sender, **kwargs):
# TODO: save result in index log
delete_indexes(kwargs['instance'])
pre_save.connect(delete_indexes_handler, dispatch_uid='delete_indexes_handler_on_update')
pre_delete.connect(delete_indexes_handler, dispatch_uid='delete_indexes_handler_on_delete')
@receiver(post_save, dispatch_uid='document_metadata_index_update', sender=DocumentMetadata)
def document_metadata_index_update(sender, **kwargs):
# TODO: save result in index log
delete_indexes(kwargs['instance'].document)
update_indexes(kwargs['instance'].document)
@receiver(pre_delete, dispatch_uid='document_metadata_index_delete', sender=DocumentMetadata)
def document_metadata_index_delete(sender, **kwargs):
# TODO: save result in index log
delete_indexes(kwargs['instance'].document)
@receiver(post_delete, dispatch_uid='document_metadata_index_post_delete', sender=DocumentMetadata)
def document_metadata_index_post_delete(sender, **kwargs):
# TODO: save result in index log
update_indexes(kwargs['instance'].document)

Binary file not shown.

View File

@@ -0,0 +1,367 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Bulgarian (http://www.transifex.com/projects/p/mayan-edms/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:284
msgid "indexes"
msgstr ""
#: __init__.py:32 __init__.py:42
msgid "index list"
msgstr ""
#: __init__.py:33 views.py:77
msgid "create index"
msgstr ""
#: __init__.py:34 __init__.py:39
msgid "edit"
msgstr ""
#: __init__.py:35 __init__.py:40
msgid "delete"
msgstr ""
#: __init__.py:36
msgid "tree template"
msgstr ""
#: __init__.py:38
msgid "new child node"
msgstr ""
#: __init__.py:44
msgid "go up one level"
msgstr ""
#: __init__.py:49
msgid "rebuild indexes"
msgstr ""
#: __init__.py:49
msgid "Deletes and creates from scratch all the document indexes."
msgstr ""
#: __init__.py:51
msgid "Indexes"
msgstr ""
#: api.py:69
#, python-format
msgid "Maximum suffix (%s) count reached."
msgstr ""
#: api.py:83
#, python-format
msgid ""
"Error in document indexing update expression: %(expression)s; %(exception)s"
msgstr ""
#: api.py:92 api.py:107
#, python-format
msgid ""
"Error updating document index, expression: %(expression)s; %(exception)s"
msgstr ""
#: api.py:149
#, python-format
msgid "Unable to delete document indexing node; %s"
msgstr ""
#: filesystem.py:51
#, python-format
msgid "Unable to create indexing directory; %s"
msgstr ""
#: filesystem.py:69
#, python-format
msgid ""
"Unable to create symbolic link, file exists and could not be deleted: "
"%(filepath)s; %(exc)s"
msgstr ""
#: filesystem.py:71
#, python-format
msgid "Unable to create symbolic link: %(filepath)s; %(exc)s"
msgstr ""
#: filesystem.py:84
#, python-format
msgid "Unable to delete document symbolic link; %s"
msgstr ""
#: filesystem.py:96
#, python-format
msgid "Unable to delete indexing directory; %s"
msgstr ""
#: models.py:13
#, python-format
msgid "Available functions: %s"
msgstr ""
#: models.py:17 views.py:42
msgid "name"
msgstr ""
#: models.py:17
msgid "Internal name used to reference this index."
msgstr ""
#: models.py:18 views.py:43
msgid "title"
msgstr ""
#: models.py:18
msgid "The name that will be visible to users."
msgstr ""
#: models.py:19 models.py:50 views.py:44 views.py:168
msgid "enabled"
msgstr ""
#: models.py:19
msgid ""
"Causes this index to be visible and updated when document data changes."
msgstr ""
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr ""
#: models.py:48
msgid "indexing expression"
msgstr ""
#: models.py:48
msgid "Enter a python string expression to be evaluated."
msgstr ""
#: models.py:50
msgid "Causes this node to be visible and updated when document data changes."
msgstr ""
#: models.py:51
msgid "link documents"
msgstr ""
#: models.py:51
msgid ""
"Check this option to have this node act as a container for documents and not"
" as a parent for further nodes."
msgstr ""
#: models.py:57 models.py:63
msgid "index template node"
msgstr ""
#: models.py:58
msgid "indexes template nodes"
msgstr ""
#: models.py:64
msgid "value"
msgstr ""
#: models.py:65
msgid "documents"
msgstr ""
#: models.py:75
msgid "index instance node"
msgstr ""
#: models.py:76
msgid "indexes instance nodes"
msgstr ""
#: models.py:80
msgid "index instance"
msgstr ""
#: models.py:81
msgid "document"
msgstr ""
#: models.py:88
msgid "document rename count"
msgstr ""
#: models.py:89
msgid "documents rename count"
msgstr ""
#: permissions.py:7
msgid "Indexing"
msgstr ""
#: permissions.py:9
msgid "Configure document indexes"
msgstr ""
#: permissions.py:10
msgid "Create new document indexes"
msgstr ""
#: permissions.py:11
msgid "Edit document indexes"
msgstr ""
#: permissions.py:12
msgid "Delete document indexes"
msgstr ""
#: permissions.py:14
msgid "View document indexes"
msgstr ""
#: permissions.py:15
msgid "Rebuild document indexes"
msgstr ""
#: utils.py:19
msgid "document indexes"
msgstr ""
#: views.py:71
msgid "Index created successfully."
msgstr ""
#: views.py:95
msgid "Index edited successfully"
msgstr ""
#: views.py:101
#, python-format
msgid "edit index: %s"
msgstr ""
#: views.py:126
#, python-format
msgid "Index: %s deleted successfully."
msgstr ""
#: views.py:128
#, python-format
msgid "Index: %(index)s delete error: %(error)s"
msgstr ""
#: views.py:140
#, python-format
msgid "Are you sure you with to delete the index: %s?"
msgstr ""
#: views.py:164
#, python-format
msgid "tree template nodes for index: %s"
msgstr ""
#: views.py:167
msgid "level"
msgstr ""
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr ""
#: views.py:196
msgid "create child node"
msgstr ""
#: views.py:217
msgid "Index template node edited successfully"
msgstr ""
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr ""
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
#: views.py:287
msgid "nodes"
msgstr ""
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr ""
#: views.py:342
msgid "items"
msgstr ""
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr ""
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr ""
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr ""
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr ""
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr ""
#: conf/settings.py:22
msgid ""
"A dictionary that maps the index name and where on the filesystem that index"
" will be mirrored."
msgstr ""
#: templates/indexing_help.html:3
msgid "What are indexes?"
msgstr ""
#: templates/indexing_help.html:4
msgid "Indexes group documents into a tree like hierarchical structure."
msgstr ""

View File

@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-06-12 09:24+0000\n"
"Last-Translator: tilmannsittig <tilmann.sittig@web.de>\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: German (Germany) (http://www.transifex.com/projects/p/mayan-edms/language/de_DE/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "indices"
@@ -143,7 +143,7 @@ msgid ""
msgstr "Sorgt dafür, dass der Index sichtbar ist und aktualisiert wird, wenn sich die Inhalte der Dokumente ändern."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "Index"
@@ -278,73 +278,77 @@ msgstr ""
msgid "level"
msgstr ""
#: views.py:189
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr ""
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr ""
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr ""
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr ""
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr ""
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "Inhalt für Index: %s"
#: views.py:341
#: views.py:342
msgid "items"
msgstr "Elemente"
#: views.py:366
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Sind Sie sicher, dass Sie alle Indices neu erstellen möchten?"
#: views.py:367
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "Bei großen Datenbanken kann dieser Vorgang einige Zeit in Anspruch nehmen."
#: views.py:373
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Neuaufbau des Index erfolgreich abgeschlossen."
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Fehler bei Neuaufbau des Index: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "Indices enthalten: %s"

Binary file not shown.

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-07-01 23:40-0400\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,6 +19,8 @@ msgstr ""
#: __init__.py:26 links.py:24 links.py:38 models.py:42 views.py:38
#: views.py:283
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:284
msgid "indexes"
msgstr ""
@@ -141,7 +143,7 @@ msgid "Causes this index to be visible and updated when document data changes."
msgstr ""
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr ""
@@ -276,73 +278,77 @@ msgstr ""
msgid "level"
msgstr ""
#: views.py:189
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr ""
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr ""
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr ""
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr ""
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr ""
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr ""
#: views.py:341
#: views.py:342
msgid "items"
msgstr ""
#: views.py:366
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr ""
#: views.py:367
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr ""
#: views.py:373
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr ""
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr ""
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr ""

View File

@@ -8,10 +8,10 @@ msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-02-12 19:28+0000\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Spanish (Castilian) (http://www.transifex.com/projects/p/mayan-edms/language/es/)\n"
"Language-Team: Spanish (http://www.transifex.com/projects/p/mayan-edms/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -19,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "índices"
@@ -143,7 +143,7 @@ msgid ""
msgstr "Hace que este índice sea visible y actualizado cuando los datos de documentos cambien."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "índice"
@@ -278,73 +278,77 @@ msgstr "nodos de la plantilla del árbol del índice: %s"
msgid "level"
msgstr "nivel"
#: views.py:189
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr "Nodo de plantilla de índice creado exitosamente."
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr "crear nodo hijo"
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr "Nodo de la plantilla de índice editado exitosamente"
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr "editar nodo de la plantilla de índice: %s"
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr "nodo"
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr "Nodo: %s eliminado exitosamente."
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr "Error de eliminación para nodo: %(node)s, %(error)s "
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr "¿Seguro que desea eliminar el nodo de plantilla de indice: %s?"
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr "nodos"
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "contenido del indice: %s"
#: views.py:341
#: views.py:342
msgid "items"
msgstr "artículos"
#: views.py:366
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "¿Está seguro que desea reconstruir todos los índices?"
#: views.py:367
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "En bases de datos de gran tamaño esta operación puede tardar algún tiempo en ejecutarse."
#: views.py:373
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Reconstrucción de Índices completada exitosamente."
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Error de reconstrucción de índices: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "índices que contienen: %s"

Binary file not shown.

View File

@@ -0,0 +1,368 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Pierre Lhoste <peter.cathbad.host@gmail.com>, 2012.
msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: French (http://www.transifex.com/projects/p/mayan-edms/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:284
msgid "indexes"
msgstr "indexes"
#: __init__.py:32 __init__.py:42
msgid "index list"
msgstr "Liste des index"
#: __init__.py:33 views.py:77
msgid "create index"
msgstr "créer un index"
#: __init__.py:34 __init__.py:39
msgid "edit"
msgstr "modifier"
#: __init__.py:35 __init__.py:40
msgid "delete"
msgstr "supprimer"
#: __init__.py:36
msgid "tree template"
msgstr "modèle d'arborescence"
#: __init__.py:38
msgid "new child node"
msgstr "nouveau noeud enfant"
#: __init__.py:44
msgid "go up one level"
msgstr "remonter d'un niveau"
#: __init__.py:49
msgid "rebuild indexes"
msgstr "reconstruire les indexes"
#: __init__.py:49
msgid "Deletes and creates from scratch all the document indexes."
msgstr "Supprimer et reconstruire les indexes des documents en partant de zéro."
#: __init__.py:51
msgid "Indexes"
msgstr "Indexes"
#: api.py:69
#, python-format
msgid "Maximum suffix (%s) count reached."
msgstr "Le nombre maximal de suffixes (%s) est atteint."
#: api.py:83
#, python-format
msgid ""
"Error in document indexing update expression: %(expression)s; %(exception)s"
msgstr "Erreur dans l'expression de mise à jour d'indexation du document: %(expression)s; %(exception)s"
#: api.py:92 api.py:107
#, python-format
msgid ""
"Error updating document index, expression: %(expression)s; %(exception)s"
msgstr "Erreur lors de la mise à jour de l'index des documents, expression: %(expression)s; %(exception)s"
#: api.py:149
#, python-format
msgid "Unable to delete document indexing node; %s"
msgstr "Impossible de supprimer le noeud d'indexation des documents;%s"
#: filesystem.py:51
#, python-format
msgid "Unable to create indexing directory; %s"
msgstr "Impossible de créer le répertoire d'indexation;%s"
#: filesystem.py:69
#, python-format
msgid ""
"Unable to create symbolic link, file exists and could not be deleted: "
"%(filepath)s; %(exc)s"
msgstr "Impossible de créer le lien symbolique, le fichier existe déjà et ne peut être effacé: %(filepath)s; %(exc)s"
#: filesystem.py:71
#, python-format
msgid "Unable to create symbolic link: %(filepath)s; %(exc)s"
msgstr "Impossible de créer le lien symbolique: %(filepath)s; %(exc)s"
#: filesystem.py:84
#, python-format
msgid "Unable to delete document symbolic link; %s"
msgstr "Impossible de supprimer le lien symbolique;%s"
#: filesystem.py:96
#, python-format
msgid "Unable to delete indexing directory; %s"
msgstr "Impossible de supprimer le répertoire d'indexation;%s"
#: models.py:13
#, python-format
msgid "Available functions: %s"
msgstr "Fonctions disponibles:%s"
#: models.py:17 views.py:42
msgid "name"
msgstr "nom"
#: models.py:17
msgid "Internal name used to reference this index."
msgstr "nom interne utilisé pour référencer cet index."
#: models.py:18 views.py:43
msgid "title"
msgstr "titre"
#: models.py:18
msgid "The name that will be visible to users."
msgstr "Le nom qui sera affiché aux utilisateurs."
#: models.py:19 models.py:50 views.py:44 views.py:168
msgid "enabled"
msgstr "activé"
#: models.py:19
msgid ""
"Causes this index to be visible and updated when document data changes."
msgstr "Permet à cet index d'être à la fois visible et mis à jour quand le contenu d'un document est modifié."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "index"
#: models.py:48
msgid "indexing expression"
msgstr "Expression d'indexation"
#: models.py:48
msgid "Enter a python string expression to be evaluated."
msgstr "Entrez une commande python à exécuter."
#: models.py:50
msgid "Causes this node to be visible and updated when document data changes."
msgstr "Permet à ce noeud d'être visible et mis à jour quand le contenu d'un document est modifié."
#: models.py:51
msgid "link documents"
msgstr "documents de lien"
#: models.py:51
msgid ""
"Check this option to have this node act as a container for documents and not"
" as a parent for further nodes."
msgstr "Cochez cette option pour permettre à ce noeud d'être un conteneur de documents et pas seulement un noeud parent d'autres noeuds enfants."
#: models.py:57 models.py:63
msgid "index template node"
msgstr "noeud de modèle d'index"
#: models.py:58
msgid "indexes template nodes"
msgstr "noeuds de modèles d'indexes"
#: models.py:64
msgid "value"
msgstr "valeur"
#: models.py:65
msgid "documents"
msgstr "documents"
#: models.py:75
msgid "index instance node"
msgstr "noeud d'instance d'index"
#: models.py:76
msgid "indexes instance nodes"
msgstr "noeuds d'instances d'indexes"
#: models.py:80
msgid "index instance"
msgstr "instance d'index"
#: models.py:81
msgid "document"
msgstr "document"
#: models.py:88
msgid "document rename count"
msgstr "nombre de renommage du document"
#: models.py:89
msgid "documents rename count"
msgstr "nombre de renommages de documents"
#: permissions.py:7
msgid "Indexing"
msgstr "Indexation"
#: permissions.py:9
msgid "Configure document indexes"
msgstr "Configurer les indexes de documents"
#: permissions.py:10
msgid "Create new document indexes"
msgstr "Créer de nouveaux indexes de documents"
#: permissions.py:11
msgid "Edit document indexes"
msgstr "Modifier les indexes de documents"
#: permissions.py:12
msgid "Delete document indexes"
msgstr "Supprimer des indexes de documents"
#: permissions.py:14
msgid "View document indexes"
msgstr "Afficher les indexes des documents"
#: permissions.py:15
msgid "Rebuild document indexes"
msgstr "Reconstruire les indexes des documents"
#: utils.py:19
msgid "document indexes"
msgstr "indexes de documents"
#: views.py:71
msgid "Index created successfully."
msgstr "Index créé avec succès"
#: views.py:95
msgid "Index edited successfully"
msgstr "Index modifié avec succès"
#: views.py:101
#, python-format
msgid "edit index: %s"
msgstr "modifier l'index: %s"
#: views.py:126
#, python-format
msgid "Index: %s deleted successfully."
msgstr "Index: %s supprimé avec succès."
#: views.py:128
#, python-format
msgid "Index: %(index)s delete error: %(error)s"
msgstr "Index: %(index)s erreur de suppression: %(error)s"
#: views.py:140
#, python-format
msgid "Are you sure you with to delete the index: %s?"
msgstr "Êtes vous certain de vouloir supprimer l'index: %s?"
#: views.py:164
#, python-format
msgid "tree template nodes for index: %s"
msgstr "noeuds de modèles arborescentes pour l'index: %s"
#: views.py:167
msgid "level"
msgstr "niveau"
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr "Noeud de modèle d'index créé avec succès."
#: views.py:196
msgid "create child node"
msgstr "créer un noeud enfant"
#: views.py:217
msgid "Index template node edited successfully"
msgstr "Noeud de modèle d'index modifié avec succès."
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr "modifier le noeud de modèle d'index: %s"
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr "noeud"
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr "Noeud: %s supprimé avec succès."
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr "Noeud: %(node)s erreur de suppression: %(error)s"
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr "Êtes vous certain de vouloir supprimer le noeud de modèle d'index: %s?"
#: views.py:287
msgid "nodes"
msgstr "noeuds"
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "contenu de l'index:%s"
#: views.py:342
msgid "items"
msgstr "éléments"
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Êtes vous certain de vouloir reconstruire tous les indexes ?"
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "Sur de grosses bases de données, cette opération peut prendre un certain temps."
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Reconstruction d'index effectuée avec succès."
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Erreur de reconstruction d'index:%s"
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "indexes contenant:%s"
#: conf/settings.py:22
msgid ""
"A dictionary that maps the index name and where on the filesystem that index"
" will be mirrored."
msgstr "Un dictionnaire qui référence nom d'un index et indique l'emplacement où cet index sera dupliqué dans l'arborescence du système de fichiers."
#: templates/indexing_help.html:3
msgid "What are indexes?"
msgstr "Que sont les indexes?"
#: templates/indexing_help.html:4
msgid "Indexes group documents into a tree like hierarchical structure."
msgstr "Les indexes regoupent les documents dans une structure hiérarchique arborescente."

View File

@@ -10,9 +10,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-06-08 07:25+0000\n"
"Last-Translator: Carlo Zanatto <>\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/mayan-edms/language/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -21,7 +21,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "indici"
@@ -145,7 +145,7 @@ msgid ""
msgstr "Fa sì che questo indice possa essere visibile e aggiornato quando i dati del documento cambiano."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "indice"
@@ -280,73 +280,77 @@ msgstr "modello nodi della struttura per l'indice: %s"
msgid "level"
msgstr "livello"
#: views.py:189
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr "Modello nodo indice creato con successo."
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr "creare nodo figlio"
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr "Template nodo Indice modificato con successo"
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr "modifica index template node: %s"
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr "nodo"
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr "Nodo: %s cancellato con succcesso."
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr "Nodo: %(node)s errore di cancellazione: %(error)s"
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr "Sei sicuro di voler cancellare index template node: %s?"
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr "nodi"
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "contenuto per indice: %s"
#: views.py:341
#: views.py:342
msgid "items"
msgstr "voci"
#: views.py:366
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Sei sicuro di voler ricostruire l'indice ?"
#: views.py:367
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "Per un database di grosse dimensioni l'operazione protrebbe aver bisogno di tempo."
#: views.py:373
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Ricostruzione dell'indice avvenuta con successo"
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Errore nella ricostruzione dell'indice: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "Gli indici contengono: %s"

View File

@@ -0,0 +1,367 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/mayan-edms/language/nl_NL/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl_NL\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:284
msgid "indexes"
msgstr ""
#: __init__.py:32 __init__.py:42
msgid "index list"
msgstr ""
#: __init__.py:33 views.py:77
msgid "create index"
msgstr ""
#: __init__.py:34 __init__.py:39
msgid "edit"
msgstr ""
#: __init__.py:35 __init__.py:40
msgid "delete"
msgstr ""
#: __init__.py:36
msgid "tree template"
msgstr ""
#: __init__.py:38
msgid "new child node"
msgstr ""
#: __init__.py:44
msgid "go up one level"
msgstr ""
#: __init__.py:49
msgid "rebuild indexes"
msgstr ""
#: __init__.py:49
msgid "Deletes and creates from scratch all the document indexes."
msgstr ""
#: __init__.py:51
msgid "Indexes"
msgstr ""
#: api.py:69
#, python-format
msgid "Maximum suffix (%s) count reached."
msgstr ""
#: api.py:83
#, python-format
msgid ""
"Error in document indexing update expression: %(expression)s; %(exception)s"
msgstr ""
#: api.py:92 api.py:107
#, python-format
msgid ""
"Error updating document index, expression: %(expression)s; %(exception)s"
msgstr ""
#: api.py:149
#, python-format
msgid "Unable to delete document indexing node; %s"
msgstr ""
#: filesystem.py:51
#, python-format
msgid "Unable to create indexing directory; %s"
msgstr ""
#: filesystem.py:69
#, python-format
msgid ""
"Unable to create symbolic link, file exists and could not be deleted: "
"%(filepath)s; %(exc)s"
msgstr ""
#: filesystem.py:71
#, python-format
msgid "Unable to create symbolic link: %(filepath)s; %(exc)s"
msgstr ""
#: filesystem.py:84
#, python-format
msgid "Unable to delete document symbolic link; %s"
msgstr ""
#: filesystem.py:96
#, python-format
msgid "Unable to delete indexing directory; %s"
msgstr ""
#: models.py:13
#, python-format
msgid "Available functions: %s"
msgstr ""
#: models.py:17 views.py:42
msgid "name"
msgstr ""
#: models.py:17
msgid "Internal name used to reference this index."
msgstr ""
#: models.py:18 views.py:43
msgid "title"
msgstr ""
#: models.py:18
msgid "The name that will be visible to users."
msgstr ""
#: models.py:19 models.py:50 views.py:44 views.py:168
msgid "enabled"
msgstr ""
#: models.py:19
msgid ""
"Causes this index to be visible and updated when document data changes."
msgstr ""
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr ""
#: models.py:48
msgid "indexing expression"
msgstr ""
#: models.py:48
msgid "Enter a python string expression to be evaluated."
msgstr ""
#: models.py:50
msgid "Causes this node to be visible and updated when document data changes."
msgstr ""
#: models.py:51
msgid "link documents"
msgstr ""
#: models.py:51
msgid ""
"Check this option to have this node act as a container for documents and not"
" as a parent for further nodes."
msgstr ""
#: models.py:57 models.py:63
msgid "index template node"
msgstr ""
#: models.py:58
msgid "indexes template nodes"
msgstr ""
#: models.py:64
msgid "value"
msgstr ""
#: models.py:65
msgid "documents"
msgstr ""
#: models.py:75
msgid "index instance node"
msgstr ""
#: models.py:76
msgid "indexes instance nodes"
msgstr ""
#: models.py:80
msgid "index instance"
msgstr ""
#: models.py:81
msgid "document"
msgstr ""
#: models.py:88
msgid "document rename count"
msgstr ""
#: models.py:89
msgid "documents rename count"
msgstr ""
#: permissions.py:7
msgid "Indexing"
msgstr ""
#: permissions.py:9
msgid "Configure document indexes"
msgstr ""
#: permissions.py:10
msgid "Create new document indexes"
msgstr ""
#: permissions.py:11
msgid "Edit document indexes"
msgstr ""
#: permissions.py:12
msgid "Delete document indexes"
msgstr ""
#: permissions.py:14
msgid "View document indexes"
msgstr ""
#: permissions.py:15
msgid "Rebuild document indexes"
msgstr ""
#: utils.py:19
msgid "document indexes"
msgstr ""
#: views.py:71
msgid "Index created successfully."
msgstr ""
#: views.py:95
msgid "Index edited successfully"
msgstr ""
#: views.py:101
#, python-format
msgid "edit index: %s"
msgstr ""
#: views.py:126
#, python-format
msgid "Index: %s deleted successfully."
msgstr ""
#: views.py:128
#, python-format
msgid "Index: %(index)s delete error: %(error)s"
msgstr ""
#: views.py:140
#, python-format
msgid "Are you sure you with to delete the index: %s?"
msgstr ""
#: views.py:164
#, python-format
msgid "tree template nodes for index: %s"
msgstr ""
#: views.py:167
msgid "level"
msgstr ""
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr ""
#: views.py:196
msgid "create child node"
msgstr ""
#: views.py:217
msgid "Index template node edited successfully"
msgstr ""
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr ""
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
#: views.py:287
msgid "nodes"
msgstr ""
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr ""
#: views.py:342
msgid "items"
msgstr ""
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr ""
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr ""
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr ""
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr ""
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr ""
#: conf/settings.py:22
msgid ""
"A dictionary that maps the index name and where on the filesystem that index"
" will be mirrored."
msgstr ""
#: templates/indexing_help.html:3
msgid "What are indexes?"
msgstr ""
#: templates/indexing_help.html:4
msgid "Indexes group documents into a tree like hierarchical structure."
msgstr ""

View File

@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-02-21 20:50+0000\n"
"Last-Translator: mic <winterfall24@gmail.com>\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Polish (http://www.transifex.com/projects/p/mayan-edms/language/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "indeksy"
@@ -143,7 +143,7 @@ msgid ""
msgstr "Powoduje że ten wskaźnik będzie widoczny i zaktualizowany podczas zmiany danych dokumentów."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "index"
@@ -278,73 +278,77 @@ msgstr "tree template nodes for index: %s"
msgid "level"
msgstr "level"
#: views.py:189
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr "Index template node created successfully."
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr "create child node"
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr "Index template node edited successfully"
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr "node"
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr ""
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "Zawartość dla indeksu:%s"
#: views.py:341
#: views.py:342
msgid "items"
msgstr "pozycji"
#: views.py:366
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Czy na pewno chcesz odbudować wszystkie indeksy?"
#: views.py:367
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "Na dużych bazach danych operacja może chwilę potrwać."
#: views.py:373
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Główna odbudowa zakończyła się pomyślnie."
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Index rebuild error: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "indeksy zawierające:%s"

View File

@@ -4,12 +4,13 @@
#
# Translators:
# Renata Oliveira <renatabels@gmail.com>, 2011.
# Vítor Figueiró <vfigueiro@gmail.com>, 2012.
msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-02-02 18:18+0000\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Portuguese (http://www.transifex.com/projects/p/mayan-edms/language/pt/)\n"
"MIME-Version: 1.0\n"
@@ -19,33 +20,33 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "índices"
#: __init__.py:32 __init__.py:42
msgid "index list"
msgstr "lista de índice"
msgstr "lista de índices"
#: __init__.py:33 views.py:77
msgid "create index"
msgstr ""
msgstr "criar índice"
#: __init__.py:34 __init__.py:39
msgid "edit"
msgstr ""
msgstr "editar"
#: __init__.py:35 __init__.py:40
msgid "delete"
msgstr ""
msgstr "excluir"
#: __init__.py:36
msgid "tree template"
msgstr ""
msgstr "modelo de árvore"
#: __init__.py:38
msgid "new child node"
msgstr ""
msgstr "novo nó filho"
#: __init__.py:44
msgid "go up one level"
@@ -57,7 +58,7 @@ msgstr "reconstruir índices"
#: __init__.py:49
msgid "Deletes and creates from scratch all the document indexes."
msgstr "Exclui e criar a partir do zero todos os índices de documento."
msgstr "Exclui e cria a partir do zero todos os índices de documentos."
#: __init__.py:51
msgid "Indexes"
@@ -66,19 +67,19 @@ msgstr "Índices"
#: api.py:69
#, python-format
msgid "Maximum suffix (%s) count reached."
msgstr "Quantidade máxima do sufixo (%s) alcançada."
msgstr "Contagem máxima do sufixo (%s) alcançada."
#: api.py:83
#, python-format
msgid ""
"Error in document indexing update expression: %(expression)s; %(exception)s"
msgstr "Erro de atualização na expressão de indexação do documento: %(expression)s; %(exception)s "
msgstr "Erro na expressão de atualização de indexação de documentos: %(expression)s; %(exception)s "
#: api.py:92 api.py:107
#, python-format
msgid ""
"Error updating document index, expression: %(expression)s; %(exception)s"
msgstr "Erro de atualização de índice do documento, a expressão: %(expression)s ; %(exception)s "
msgstr "Erro ao atualizar índice de documentos, expressão: %(expression)s ; %(exception)s "
#: api.py:149
#, python-format
@@ -95,17 +96,17 @@ msgstr "Não é possível criar o diretório de indexação; %s"
msgid ""
"Unable to create symbolic link, file exists and could not be deleted: "
"%(filepath)s; %(exc)s"
msgstr "Não é possível criar o link simbólico, o arquivo existe e não pode ser excluído: %(filepath)s; %(exc)s "
msgstr "Não é possível criar a ligação simbólica, o ficheiro existe e não pode ser excluído: %(filepath)s; %(exc)s "
#: filesystem.py:71
#, python-format
msgid "Unable to create symbolic link: %(filepath)s; %(exc)s"
msgstr "Não é possível criar o link simbólico: %(filepath)s; %(exc)s "
msgstr "Não é possível criar a ligação simbólica: %(filepath)s; %(exc)s "
#: filesystem.py:84
#, python-format
msgid "Unable to delete document symbolic link; %s"
msgstr "Não é possível excluir o link simbólico do documento; %s"
msgstr "Não é possível excluir a ligação simbólica do documento; %s"
#: filesystem.py:96
#, python-format
@@ -119,19 +120,19 @@ msgstr "Funções disponíveis: %s "
#: models.py:17 views.py:42
msgid "name"
msgstr ""
msgstr "nome"
#: models.py:17
msgid "Internal name used to reference this index."
msgstr ""
msgstr "Nome interno usado para referenciar este índice."
#: models.py:18 views.py:43
msgid "title"
msgstr ""
msgstr "título"
#: models.py:18
msgid "The name that will be visible to users."
msgstr ""
msgstr "O nome que será visível aos utilizadores."
#: models.py:19 models.py:50 views.py:44 views.py:168
msgid "enabled"
@@ -140,10 +141,10 @@ msgstr "habilitado"
#: models.py:19
msgid ""
"Causes this index to be visible and updated when document data changes."
msgstr ""
msgstr "Faz com que este índice seja visível e atualizado quando os dados do documento forem alterados."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "índice"
@@ -157,7 +158,7 @@ msgstr "Digite uma expressão python para ser avaliada."
#: models.py:50
msgid "Causes this node to be visible and updated when document data changes."
msgstr ""
msgstr "Faz com que este nó seja visível e atualizado quando os dados do documento forem alterados."
#: models.py:51
msgid "link documents"
@@ -167,15 +168,15 @@ msgstr "ligar documentos"
msgid ""
"Check this option to have this node act as a container for documents and not"
" as a parent for further nodes."
msgstr ""
msgstr "Escolha esta opção para que este nó atue como contentor para documentos e não como pai de outros nós."
#: models.py:57 models.py:63
msgid "index template node"
msgstr ""
msgstr "nó de modelo de índice"
#: models.py:58
msgid "indexes template nodes"
msgstr ""
msgstr "nós de modelos de índice"
#: models.py:64
msgid "value"
@@ -187,15 +188,15 @@ msgstr "documentos"
#: models.py:75
msgid "index instance node"
msgstr ""
msgstr "nó de instância de índice"
#: models.py:76
msgid "indexes instance nodes"
msgstr ""
msgstr "nós de instâncias de índices"
#: models.py:80
msgid "index instance"
msgstr "exemplo de índice"
msgstr "instância de índice"
#: models.py:81
msgid "document"
@@ -203,31 +204,31 @@ msgstr "documento"
#: models.py:88
msgid "document rename count"
msgstr "contagem de renomeação do documento"
msgstr "número de renomeações do documento"
#: models.py:89
msgid "documents rename count"
msgstr "contagem de renomeação dos documentos"
msgstr "número de renomeações dos documentos"
#: permissions.py:7
msgid "Indexing"
msgstr "Indexando"
msgstr "Indexação"
#: permissions.py:9
msgid "Configure document indexes"
msgstr ""
msgstr "Configurar índices de documento"
#: permissions.py:10
msgid "Create new document indexes"
msgstr ""
msgstr "Criar novos índices de documento"
#: permissions.py:11
msgid "Edit document indexes"
msgstr ""
msgstr "Editar índices de documento"
#: permissions.py:12
msgid "Delete document indexes"
msgstr ""
msgstr "Eliminar índices de documento"
#: permissions.py:14
msgid "View document indexes"
@@ -239,112 +240,116 @@ msgstr "Reconstruir índices de documento"
#: utils.py:19
msgid "document indexes"
msgstr "índices de documento"
msgstr "índices de documentos"
#: views.py:71
msgid "Index created successfully."
msgstr ""
msgstr "Índice criado com sucesso."
#: views.py:95
msgid "Index edited successfully"
msgstr ""
msgstr "Índice editado com sucesso"
#: views.py:101
#, python-format
msgid "edit index: %s"
msgstr ""
msgstr "editar índice: %s"
#: views.py:126
#, python-format
msgid "Index: %s deleted successfully."
msgstr ""
msgstr "Índice: %s eliminado com sucesso."
#: views.py:128
#, python-format
msgid "Index: %(index)s delete error: %(error)s"
msgstr ""
msgstr "Índice: %(index)s, erro ao eliminar: %(error)s "
#: views.py:140
#, python-format
msgid "Are you sure you with to delete the index: %s?"
msgstr ""
msgstr "Tem a certeza de que deseja eliminar o índice: %s?"
#: views.py:164
#, python-format
msgid "tree template nodes for index: %s"
msgstr ""
msgstr "nós de modelo de árvore para o índice: %s"
#: views.py:167
msgid "level"
msgstr "nível"
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:189
#: views.py:190
msgid "Index template node created successfully."
msgstr ""
msgstr "Nó de modelo de índice criado com sucesso."
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr ""
msgstr "criar nó filho"
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr ""
msgstr "nó de modelo de índice editado com sucesso"
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
msgstr "editar o nó de modelo de índice: %s"
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr ""
msgstr ""
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
msgstr "Nó: %s eliminado com sucesso."
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
msgstr "Nó: %(node)s, erro ao eliminar: %(error)s "
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
msgstr "Tem a certeza de que pretende eliminar o nó de modelo de índice: %s?"
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr ""
msgstr "nós"
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "conteúdos para o índice: %s"
#: views.py:341
#: views.py:342
msgid "items"
msgstr "itens"
#: views.py:366
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Tem certeza de que deseja reconstruir todos os índices?"
#: views.py:367
msgid "On large databases this operation may take some time to execute."
msgstr "Em grandes bases de dados esta operação pode levar algum tempo para executar."
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Tem a certeza de que deseja reconstruir todos os índices?"
#: views.py:373
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "Esta operação pode levar algum tempo em bases de dados grandes."
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Reconstrução de índice concluída com êxito."
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Reconstrução de índice de erro: %s"
msgstr "Erro na reconstrução do índice: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "índices contendo: %s"
@@ -353,12 +358,12 @@ msgstr "índices contendo: %s"
msgid ""
"A dictionary that maps the index name and where on the filesystem that index"
" will be mirrored."
msgstr ""
msgstr "Um dicionário que mapeia o nome do índice com o local no sistema de ficheiros onde será espelhado."
#: templates/indexing_help.html:3
msgid "What are indexes?"
msgstr "Quais são os índices?"
msgstr "O que são índices?"
#: templates/indexing_help.html:4
msgid "Indexes group documents into a tree like hierarchical structure."
msgstr "Indexar documentos agrupados em uma árvore como uma estrutura hierárquica."
msgstr "Os índices agrupam documentos numa árvore como uma estrutura hierárquica."

View File

@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-07-02 03:31+0000\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/mayan-edms/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
@@ -20,6 +20,7 @@ msgstr ""
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "índices"
@@ -144,6 +145,7 @@ msgstr ""
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "índice"
@@ -291,6 +293,23 @@ msgid "Index template node edited successfully"
msgstr ""
#: views.py:222
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr ""
#: views.py:196
msgid "create child node"
msgstr ""
#: views.py:217
msgid "Index template node edited successfully"
msgstr ""
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr ""
@@ -300,16 +319,23 @@ msgid "node"
msgstr ""
#: views.py:251
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr ""
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr ""
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr ""
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr ""
@@ -319,6 +345,11 @@ msgid "nodes"
msgstr ""
#: views.py:319
#: views.py:287
msgid "nodes"
msgstr ""
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "conteúdos para o índice: %s"
@@ -340,11 +371,29 @@ msgid "Index rebuild completed successfully."
msgstr "Reconstrução de índice concluída com êxito."
#: views.py:380
#: views.py:342
msgid "items"
msgstr "itens"
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Tem certeza de que deseja reconstruir todos os índices?"
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "Em grandes bases de dados esta operação pode levar algum tempo para executar."
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "Reconstrução de índice concluída com êxito."
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Reconstrução de índice de erro: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "índices contendo: %s"

View File

@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Mayan EDMS\n"
"Report-Msgid-Bugs-To: http://github.com/rosarior/mayan/issues\n"
"POT-Creation-Date: 2012-06-17 19:02-0400\n"
"PO-Revision-Date: 2012-02-27 04:22+0000\n"
"Last-Translator: Sergey Glita <gsv70@mail.ru>\n"
"POT-Creation-Date: 2012-07-23 15:36-0400\n"
"PO-Revision-Date: 2012-07-23 19:51+0000\n"
"Last-Translator: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>\n"
"Language-Team: Russian (http://www.transifex.com/projects/p/mayan-edms/language/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
#: __init__.py:31 __init__.py:45 __init__.py:47 models.py:42 views.py:38
#: views.py:283
#: views.py:284
msgid "indexes"
msgstr "индексы"
@@ -143,7 +143,7 @@ msgid ""
msgstr "Этот индекс должен быть видимым и обновляться при изменении данных документа."
#: models.py:41 models.py:47 views.py:104 views.py:135 views.py:161
#: views.py:198 views.py:228 views.py:268
#: views.py:199 views.py:229 views.py:269
msgid "index"
msgstr "индекс"
@@ -278,73 +278,77 @@ msgstr "дерево шаблонных узлов для индекса %s"
msgid "level"
msgstr "уровень"
#: views.py:189
#: views.py:169
msgid "has document links?"
msgstr ""
#: views.py:190
msgid "Index template node created successfully."
msgstr "узел шаблона индексирования создан"
#: views.py:195
#: views.py:196
msgid "create child node"
msgstr "создать дочерний узел"
#: views.py:216
#: views.py:217
msgid "Index template node edited successfully"
msgstr "узел шаблона индексирования изменён"
#: views.py:222
#: views.py:223
#, python-format
msgid "edit index template node: %s"
msgstr "изменить узел шаблона индексирования %s"
#: views.py:229 views.py:269 views.py:337
#: views.py:230 views.py:270 views.py:338
msgid "node"
msgstr "узел"
#: views.py:251
#: views.py:252
#, python-format
msgid "Node: %s deleted successfully."
msgstr "Узел %s удален."
#: views.py:253
#: views.py:254
#, python-format
msgid "Node: %(node)s delete error: %(error)s"
msgstr "Узел %(node)s - ошибка удаления %(error)s"
#: views.py:262
#: views.py:263
#, python-format
msgid "Are you sure you with to delete the index template node: %s?"
msgstr "Вы уверены, что нужно удалить узел шаблона индексирования %s?"
#: views.py:286
#: views.py:287
msgid "nodes"
msgstr "узлы"
#: views.py:319
#: views.py:320
#, python-format
msgid "contents for index: %s"
msgstr "содержания для индекса: %s."
#: views.py:341
#: views.py:342
msgid "items"
msgstr "членов"
#: views.py:366
#: views.py:367
msgid "Are you sure you wish to rebuild all indexes?"
msgstr "Вы уверены, что хотите перестроить все индексы?"
#: views.py:367
#: views.py:368
msgid "On large databases this operation may take some time to execute."
msgstr "В больших базах данных эта операция может занять некоторое время для выполнения."
#: views.py:373
#: views.py:374
msgid "Index rebuild completed successfully."
msgstr "восстановление индекса успешно завершено."
#: views.py:380
#: views.py:381
#, python-format
msgid "Index rebuild error: %s"
msgstr "Индекс восстановить ошибка: %s"
#: views.py:402
#: views.py:403
#, python-format
msgid "indexes containing: %s"
msgstr "индексы, содержащие: %s"

View File

@@ -51,7 +51,7 @@ class IndexTemplateNode(MPTTModel):
link_documents = models.BooleanField(default=False, verbose_name=_(u'link documents'), help_text=_(u'Check this option to have this node act as a container for documents and not as a parent for further nodes.'))
def __unicode__(self):
return self.expression if not self.link_documents else u'%s/[document]' % self.expression
return self.expression
class Meta:
verbose_name = _(u'index template node')

View File

@@ -1,23 +0,0 @@
from django.utils.translation import ugettext_lazy as _
from document_indexing.api import get_breadcrumbs
def get_document_indexing_subtemplate(document):
"""
Return all the settings to render a subtemplate containing a
list of index instances where a document may be found
"""
object_list = []
for index_instance in document.indexinstance_set.all():
object_list.append(get_breadcrumbs(index_instance, single_link=True, include_count=True))
return {
'name': 'generic_list_subtemplate.html',
'context': {
'title': _(u'document indexes'),
'object_list': object_list,
'hide_link': True
}
}

View File

@@ -166,6 +166,7 @@ def index_setup_view(request, index_pk):
'extra_columns': [
{'name': _(u'level'), 'attribute': encapsulate(lambda x: node_level(x))},
{'name': _(u'enabled'), 'attribute': encapsulate(lambda x: two_state_template(x.enabled))},
{'name': _(u'has document links?'), 'attribute': encapsulate(lambda x: two_state_template(x.link_documents))},
],
}