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
17989fa3
Commit
17989fa3
authored
Apr 17, 2013
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d24c09bd
236982bc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
trans/formats.py
trans/formats.py
+0
-1
trans/tests/files.py
trans/tests/files.py
+0
-1
trans/views/basic.py
trans/views/basic.py
+5
-5
trans/views/changes.py
trans/views/changes.py
+1
-0
trans/views/charts.py
trans/views/charts.py
+1
-0
No files found.
trans/formats.py
View file @
17989fa3
...
...
@@ -460,7 +460,6 @@ class PoFormat(FileFormat):
mounit
.
source
=
""
else
:
mounit
.
source
=
unit
.
source
context
=
unit
.
getcontext
()
mounit
.
msgctxt
=
[
unit
.
getcontext
()]
mounit
.
target
=
unit
.
target
outputfile
.
addunit
(
mounit
)
...
...
trans/tests/files.py
View file @
17989fa3
...
...
@@ -190,7 +190,6 @@ class ExportTest(ViewTestCase):
kwargs
=
self
.
kw_translation
)
)
self
.
assertContains
(
response
,
'Weblate Hello World 2012'
)
self
.
assertEqual
(
response
[
'Content-Disposition'
],
'attachment; filename=cs.mo'
...
...
trans/views/basic.py
View file @
17989fa3
...
...
@@ -313,16 +313,16 @@ def show_translation(request, project, subproject, lang):
'search_form'
:
search_form
,
'review_form'
:
review_form
,
'last_changes'
:
last_changes
,
'last_changes_rss'
:
reverse
(
'rss-translation'
,
kwargs
=
{
'last_changes_url'
:
urlencode
(
{
'lang'
:
obj
.
language
.
code
,
'subproject'
:
obj
.
subproject
.
slug
,
'project'
:
obj
.
subproject
.
project
.
slug
}
),
'last_changes_url'
:
urlencode
(
{
'last_changes_rss'
:
reverse
(
'rss-translation'
,
kwargs
=
{
'lang'
:
obj
.
language
.
code
,
'subproject'
:
obj
.
subproject
.
slug
,
'project'
:
obj
.
subproject
.
project
.
slug
...
...
trans/views/changes.py
View file @
17989fa3
...
...
@@ -26,6 +26,7 @@ from trans.models.changes import Change
from
trans.views.helper
import
get_project_translation
from
lang.models
import
Language
class
ChangesView
(
ListView
):
'''
Browser for changes.
...
...
trans/views/charts.py
View file @
17989fa3
...
...
@@ -25,6 +25,7 @@ from trans.models import Change
from
lang.models
import
Language
from
trans.views.helper
import
get_project_translation
from
django.shortcuts
import
render_to_response
,
get_object_or_404
from
django.utils.translation
import
ugettext
as
_
from
django.template
import
RequestContext
from
django.http
import
HttpResponse
from
django.contrib.auth.models
import
User
...
...
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