Commit 9ab70174 authored by Michal Čihař's avatar Michal Čihař

Add link to browse translated strings

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6376ea03
......@@ -979,6 +979,15 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
)
]
# Count of translated strings
if self.translated > 0:
result.append((
'translated',
_('Translated strings'),
self.translated,
'success',
))
# Untranslated strings
nottranslated = self.total - self.translated
if nottranslated > 0:
......
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