Fix message typos.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-26 22:23:35 -04:00
parent 67b97c0ed0
commit 6159bdca45
2 changed files with 6 additions and 6 deletions

View File

@@ -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'

View File

@@ -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()
)
}