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
03283fc1
Commit
03283fc1
authored
Apr 25, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store source language in the database
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
5ec6be49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
weblate/trans/tests/test_exporters.py
weblate/trans/tests/test_exporters.py
+2
-2
No files found.
weblate/trans/tests/test_exporters.py
View file @
03283fc1
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
from
unit
test
import
TestCase
from
django.
test
import
TestCase
from
weblate.lang.models
import
Language
from
weblate.lang.models
import
Language
from
weblate.trans.exporters
import
(
from
weblate.trans.exporters
import
(
...
@@ -60,7 +60,7 @@ class PoExporterTest(TestCase):
...
@@ -60,7 +60,7 @@ class PoExporterTest(TestCase):
lang
=
Language
(
code
=
'zz'
,
nplurals
=
nplurals
)
lang
=
Language
(
code
=
'zz'
,
nplurals
=
nplurals
)
project
=
Project
(
project
=
Project
(
slug
=
'test'
,
slug
=
'test'
,
source_language
=
Language
(
code
=
'en'
),
source_language
=
Language
.
objects
.
get
(
code
=
'en'
),
)
)
subproject
=
SubProject
(
slug
=
'comp'
,
project
=
project
)
subproject
=
SubProject
(
slug
=
'comp'
,
project
=
project
)
unit
=
Unit
(
unit
=
Unit
(
...
...
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