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
+2 -2
View File
@@ -167,7 +167,7 @@ class SetupWorkflowListView(SingleObjectListView):
context=RequestContext(request=self.request) context=RequestContext(request=self.request)
), ),
'no_results_text': _( '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 of a document. Transitions are used to change the '
'current state to a new one.' 'current state to a new one.'
), ),
@@ -366,7 +366,7 @@ class SetupWorkflowStateActionListView(SingleObjectListView):
), ),
'no_results_text': _( 'no_results_text': _(
'Workflow state actions are macros that get executed when ' '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': _( 'no_results_title': _(
'There are no actions for this workflow state' 'There are no actions for this workflow state'
+4 -4
View File
@@ -922,10 +922,10 @@ class FavoriteRemoveView(MultipleObjectConfirmActionView):
model = Document model = Document
object_permission = permission_document_view object_permission = permission_document_view
success_message = _( success_message = _(
'%(count)d document removed to favorites.' '%(count)d document removed from favorites.'
) )
success_message_plural = _( success_message_plural = _(
'%(count)d documents removed to favorites.' '%(count)d documents removed from favorites.'
) )
def get_extra_context(self): def get_extra_context(self):
@@ -935,8 +935,8 @@ class FavoriteRemoveView(MultipleObjectConfirmActionView):
'submit_label': _('Remove'), 'submit_label': _('Remove'),
'submit_icon_class': icon_document_list_favorites, 'submit_icon_class': icon_document_list_favorites,
'title': ungettext( 'title': ungettext(
singular='Remove the selected document to favorites', singular='Remove the selected document from favorites',
plural='Remove the selected documents to favorites', plural='Remove the selected documents from favorites',
number=queryset.count() number=queryset.count()
) )
} }