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
9d510cfe
Commit
9d510cfe
authored
Mar 29, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run source checks even on non translated units
parent
b2454a82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
weblate/trans/models/unit.py
weblate/trans/models/unit.py
+5
-7
No files found.
weblate/trans/models/unit.py
View file @
9d510cfe
...
...
@@ -825,19 +825,17 @@ class Unit(models.Model):
translation__subproject__allow_translation_propagation
=
False
,
)
# We run only checks which span across more units
checks_to_run
=
{}
# Delete all checks if only message with this source is fuzzy
if
not
same_source
.
exists
():
checks
=
self
.
checks
()
if
checks
.
exists
():
checks
.
delete
()
self
.
update_has_failing_check
(
True
)
return
({},
False
)
# We run only checks which span across more units
checks_to_run
=
{}
# Consistency check checks across more translations
if
'inconsistent'
in
CHECKS
:
elif
'inconsistent'
in
CHECKS
:
# Consistency check checks across more translations
checks_to_run
[
'inconsistent'
]
=
CHECKS
[
'inconsistent'
]
# Run source checks as well
...
...
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