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.
* Added quality check for AngularJS interpolation.
* Added extensive group based ACLs.
* Clarified terminology on strings needing review (formerly fuzzy).
* Clarified terminology on strings needing action and not translated strings.
weblate 2.4
-----------
......
......@@ -988,18 +988,34 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
'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
result.add_if(
'untranslated',
_('Untranslated strings'),
'todo',
_('Strings needing attention'),
self.total - self.translated,
'danger',
)
# Untranslated words, the link is same, just to show number of words
result.add_if(
'untranslated',
_('Untranslated words'),
'todo',
_('Words needing attention'),
self.total_words - self.translated_words,
'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