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
bf070c54
Commit
bf070c54
authored
Apr 17, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various coding fixes
parent
2e932996
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
trans/formats.py
trans/formats.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 @
bf070c54
...
...
@@ -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/views/basic.py
View file @
bf070c54
...
...
@@ -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 @
bf070c54
...
...
@@ -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 @
bf070c54
...
...
@@ -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