Commit 1d806322 authored by Michal Čihař's avatar Michal Čihař

Clarified terminology on strings needing action and not translated strings.

Now both of these can be filtered.

Fixes #967
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5227e58b
...@@ -34,6 +34,7 @@ Released on ? 2015. ...@@ -34,6 +34,7 @@ Released on ? 2015.
* Added quality check for AngularJS interpolation. * Added quality check for AngularJS interpolation.
* Added extensive group based ACLs. * Added extensive group based ACLs.
* Clarified terminology on strings needing review (formerly fuzzy). * Clarified terminology on strings needing review (formerly fuzzy).
* Clarified terminology on strings needing action and not translated strings.
weblate 2.4 weblate 2.4
----------- -----------
......
...@@ -988,18 +988,34 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -988,18 +988,34 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
'success', 'success',
) )
# Not translated strings
result.add_if(
'nottranslated',
_('Not translated strings'),
self.total - self.translated - self.fuzzy,
'danger',
)
# Not translated strings
result.add_if(
'nottranslated',
_('Not translated words'),
self.total_words - self.translated_words - self.fuzzy_words,
'danger',
)
# Untranslated strings # Untranslated strings
result.add_if( result.add_if(
'untranslated', 'todo',
_('Untranslated strings'), _('Strings needing attention'),
self.total - self.translated, self.total - self.translated,
'danger', 'danger',
) )
# Untranslated words, the link is same, just to show number of words # Untranslated words, the link is same, just to show number of words
result.add_if( result.add_if(
'untranslated', 'todo',
_('Untranslated words'), _('Words needing attention'),
self.total_words - self.translated_words, self.total_words - self.translated_words,
'danger', 'danger',
) )
......
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