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
87eb8e7d
Commit
87eb8e7d
authored
Oct 22, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip reporting changes with no words
Fixes rb#313 Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
90d83850
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
weblate/trans/views/reports.py
weblate/trans/views/reports.py
+2
-0
No files found.
weblate/trans/views/reports.py
View file @
87eb8e7d
...
@@ -136,6 +136,8 @@ def generate_counts(component, start_date, end_date):
...
@@ -136,6 +136,8 @@ def generate_counts(component, start_date, end_date):
'author__email'
,
'author__first_name'
,
'unit__num_words'
,
'author__email'
,
'author__first_name'
,
'unit__num_words'
,
)
)
for
email
,
name
,
words
in
authors
:
for
email
,
name
,
words
in
authors
:
if
words
is
None
:
continue
if
email
not
in
result
:
if
email
not
in
result
:
result
[
email
]
=
{
result
[
email
]
=
{
'name'
:
name
,
'name'
:
name
,
...
...
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