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
ff73a53f
Commit
ff73a53f
authored
Jan 07, 2015
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5884328d
6f3bc368
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
weblate/trans/models/subproject.py
weblate/trans/models/subproject.py
+4
-1
weblate/trans/views/checks.py
weblate/trans/views/checks.py
+4
-1
No files found.
weblate/trans/models/subproject.py
View file @
ff73a53f
...
@@ -474,7 +474,10 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
...
@@ -474,7 +474,10 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
if
self
.
_repository
is
None
:
if
self
.
_repository
is
None
:
self
.
_repository
=
VCS_REGISTRY
[
self
.
vcs
](
self
.
get_path
())
self
.
_repository
=
VCS_REGISTRY
[
self
.
vcs
](
self
.
get_path
())
self
.
_repository
.
check_config
()
cache_key
=
'{0}-config-check'
.
format
(
self
.
get_full_slug
())
if
cache
.
get
(
cache_key
)
is
None
:
self
.
_repository
.
check_config
()
cache
.
set
(
cache_key
,
True
)
return
self
.
_repository
return
self
.
_repository
...
...
weblate/trans/views/checks.py
View file @
ff73a53f
...
@@ -171,7 +171,10 @@ def show_check_project(request, name, project):
...
@@ -171,7 +171,10 @@ def show_check_project(request, name, project):
'contentsum'
,
flat
=
True
'contentsum'
,
flat
=
True
)
)
for
subproject
in
prj
.
subproject_set
.
all
():
for
subproject
in
prj
.
subproject_set
.
all
():
lang
=
subproject
.
translation_set
.
all
()[
0
].
language
try
:
lang
=
subproject
.
translation_set
.
all
()[
0
].
language
except
IndexError
:
continue
res
=
Unit
.
objects
.
filter
(
res
=
Unit
.
objects
.
filter
(
contentsum__in
=
checks
,
contentsum__in
=
checks
,
translation__language
=
lang
,
translation__language
=
lang
,
...
...
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