From 6159bdca451890be3967b2db6e18090cd0ef7b28 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 26 Sep 2018 22:23:35 -0400 Subject: [PATCH] Fix message typos. Signed-off-by: Roberto Rosario --- mayan/apps/document_states/views.py | 4 ++-- mayan/apps/documents/views/document_views.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mayan/apps/document_states/views.py b/mayan/apps/document_states/views.py index 22ad5a23cc..1e220a9e2b 100644 --- a/mayan/apps/document_states/views.py +++ b/mayan/apps/document_states/views.py @@ -167,7 +167,7 @@ class SetupWorkflowListView(SingleObjectListView): context=RequestContext(request=self.request) ), 'no_results_text': _( - 'Workflows store a series for states and keep track of the ' + 'Workflows store a series of states and keep track of the ' 'current state of a document. Transitions are used to change the ' 'current state to a new one.' ), @@ -366,7 +366,7 @@ class SetupWorkflowStateActionListView(SingleObjectListView): ), 'no_results_text': _( 'Workflow state actions are macros that get executed when ' - 'enters or leaves the state in which they reside.' + 'documents enters or leaves the state in which they reside.' ), 'no_results_title': _( 'There are no actions for this workflow state' diff --git a/mayan/apps/documents/views/document_views.py b/mayan/apps/documents/views/document_views.py index 270f181edf..2dacedaf00 100644 --- a/mayan/apps/documents/views/document_views.py +++ b/mayan/apps/documents/views/document_views.py @@ -922,10 +922,10 @@ class FavoriteRemoveView(MultipleObjectConfirmActionView): model = Document object_permission = permission_document_view success_message = _( - '%(count)d document removed to favorites.' + '%(count)d document removed from favorites.' ) success_message_plural = _( - '%(count)d documents removed to favorites.' + '%(count)d documents removed from favorites.' ) def get_extra_context(self): @@ -935,8 +935,8 @@ class FavoriteRemoveView(MultipleObjectConfirmActionView): 'submit_label': _('Remove'), 'submit_icon_class': icon_document_list_favorites, 'title': ungettext( - singular='Remove the selected document to favorites', - plural='Remove the selected documents to favorites', + singular='Remove the selected document from favorites', + plural='Remove the selected documents from favorites', number=queryset.count() ) }