Commit 491afa10 authored by Michal Čihař's avatar Michal Čihař

Better description for todo strings

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent d9da8a43
...@@ -429,7 +429,7 @@ class FilterField(forms.ChoiceField): ...@@ -429,7 +429,7 @@ class FilterField(forms.ChoiceField):
kwargs['choices'] = [ kwargs['choices'] = [
('all', _('All strings')), ('all', _('All strings')),
('nottranslated', _('Not translated strings')), ('nottranslated', _('Not translated strings')),
('todo', _('Strings needing attention')), ('todo', _('Strings needing action')),
('translated', _('Translated strings')), ('translated', _('Translated strings')),
('fuzzy', _('Strings marked for review')), ('fuzzy', _('Strings marked for review')),
('suggestions', _('Strings with suggestions')), ('suggestions', _('Strings with suggestions')),
......
...@@ -987,7 +987,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -987,7 +987,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
# Untranslated strings # Untranslated strings
result.add_if( result.add_if(
'todo', 'todo',
_('Strings needing attention'), _('Strings needing action'),
self.total - self.translated, self.total - self.translated,
'danger', 'danger',
self.total_words - self.translated_words, self.total_words - self.translated_words,
......
...@@ -331,7 +331,7 @@ class SearchViewTest(ViewTestCase): ...@@ -331,7 +331,7 @@ class SearchViewTest(ViewTestCase):
def test_search_type(self): def test_search_type(self):
self.do_search( self.do_search(
{'type': 'untranslated'}, {'type': 'untranslated'},
'Strings needing attention', 'Strings needing action',
) )
self.do_search( self.do_search(
{'type': 'fuzzy'}, {'type': 'fuzzy'},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment