Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
05d3a102
Commit
05d3a102
authored
Feb 17, 2016
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b394e307
91895e53
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
weblate/html/mail/footer.html
weblate/html/mail/footer.html
+1
-1
weblate/html/mail/footer.txt
weblate/html/mail/footer.txt
+1
-1
weblate/trans/forms.py
weblate/trans/forms.py
+1
-1
weblate/trans/models/translation.py
weblate/trans/models/translation.py
+10
-10
No files found.
weblate/html/mail/footer.html
View file @
05d3a102
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<td>
{% trans "Untranslated strings:" %}
</th><td>
{{ translation.untranslated }} ({{ translation.get_untranslated_percent }}%)
</td>
<td>
{% trans "Untranslated strings:" %}
</th><td>
{{ translation.untranslated }} ({{ translation.get_untranslated_percent }}%)
</td>
</tr>
</tr>
<tr>
<tr>
<td>
{% trans "Strings
needing
review:" %}
</th><td>
{{ translation.fuzzy }} ({{ translation.get_fuzzy_percent }}%)
</td>
<td>
{% trans "Strings
marked for
review:" %}
</th><td>
{{ translation.fuzzy }} ({{ translation.get_fuzzy_percent }}%)
</td>
</tr>
</tr>
</table>
</table>
...
...
weblate/html/mail/footer.txt
View file @
05d3a102
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{% trans "Total strings:" %} {{ translation.total }}
{% trans "Total strings:" %} {{ translation.total }}
{% trans "Translated strings:" %} {{ translation.translated }} ({{ translation.get_translated_percent }}%)
{% trans "Translated strings:" %} {{ translation.translated }} ({{ translation.get_translated_percent }}%)
{% trans "Untranslated strings:" %} {{ translation.untranslated }} ({{ translation.get_untranslated_percent }}%)
{% trans "Untranslated strings:" %} {{ translation.untranslated }} ({{ translation.get_untranslated_percent }}%)
{% trans "Strings
needing
review:" %} {{ translation.fuzzy }} ({{ translation.get_fuzzy_percent }}%)
{% trans "Strings
marked for
review:" %} {{ translation.fuzzy }} ({{ translation.get_fuzzy_percent }}%)
{% blocktrans %}You can translate at {{ translation_url }}{% endblocktrans %}
{% blocktrans %}You can translate at {{ translation_url }}{% endblocktrans %}
{% endfilter%}{% endautoescape %}{% include "mail/signature.txt" %}
{% endfilter%}{% endautoescape %}{% include "mail/signature.txt" %}
weblate/trans/forms.py
View file @
05d3a102
...
@@ -431,7 +431,7 @@ class FilterField(forms.ChoiceField):
...
@@ -431,7 +431,7 @@ class FilterField(forms.ChoiceField):
(
'nottranslated'
,
_
(
'Not translated strings'
)),
(
'nottranslated'
,
_
(
'Not translated strings'
)),
(
'todo'
,
_
(
'Strings needing attention'
)),
(
'todo'
,
_
(
'Strings needing attention'
)),
(
'translated'
,
_
(
'Translated strings'
)),
(
'translated'
,
_
(
'Translated strings'
)),
(
'fuzzy'
,
_
(
'Strings
needing
review'
)),
(
'fuzzy'
,
_
(
'Strings
marked for
review'
)),
(
'suggestions'
,
_
(
'Strings with suggestions'
)),
(
'suggestions'
,
_
(
'Strings with suggestions'
)),
(
'comments'
,
_
(
'Strings with comments'
)),
(
'comments'
,
_
(
'Strings with comments'
)),
(
'allchecks'
,
_
(
'Strings with any failing checks'
)),
(
'allchecks'
,
_
(
'Strings with any failing checks'
)),
...
...
weblate/trans/models/translation.py
View file @
05d3a102
...
@@ -984,15 +984,6 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
...
@@ -984,15 +984,6 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
self
.
translated_words
,
self
.
translated_words
,
)
)
# Not translated strings
result
.
add_if
(
'nottranslated'
,
_
(
'Not translated strings'
),
self
.
total
-
self
.
translated
-
self
.
fuzzy
,
'danger'
,
self
.
total_words
-
self
.
translated_words
-
self
.
fuzzy_words
,
)
# Untranslated strings
# Untranslated strings
result
.
add_if
(
result
.
add_if
(
'todo'
,
'todo'
,
...
@@ -1002,10 +993,19 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
...
@@ -1002,10 +993,19 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
self
.
total_words
-
self
.
translated_words
,
self
.
total_words
-
self
.
translated_words
,
)
)
# Not translated strings
result
.
add_if
(
'nottranslated'
,
_
(
'Not translated strings'
),
self
.
total
-
self
.
translated
-
self
.
fuzzy
,
'danger'
,
self
.
total_words
-
self
.
translated_words
-
self
.
fuzzy_words
,
)
# Fuzzy strings
# Fuzzy strings
result
.
add_if
(
result
.
add_if
(
'fuzzy'
,
'fuzzy'
,
_
(
'Strings
needing
review'
),
_
(
'Strings
marked for
review'
),
self
.
fuzzy
,
self
.
fuzzy
,
'danger'
,
'danger'
,
self
.
fuzzy_words
,
self
.
fuzzy_words
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment