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
69803e00
Commit
69803e00
authored
Apr 01, 2015
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ed459b00
8dbb5b36
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
weblate/lang/models.py
weblate/lang/models.py
+2
-0
weblate/trans/migrations/0027_auto_20150401_1030.py
weblate/trans/migrations/0027_auto_20150401_1030.py
+1
-1
No files found.
weblate/lang/models.py
View file @
69803e00
...
@@ -115,6 +115,8 @@ class LanguageManager(models.Manager):
...
@@ -115,6 +115,8 @@ class LanguageManager(models.Manager):
It also handles Android special naming of regional locales like pt-rBR
It also handles Android special naming of regional locales like pt-rBR
'''
'''
code
=
code
.
replace
(
' '
,
'_'
)
# First try getting langauge as is
# First try getting langauge as is
ret
=
self
.
try_get
(
code
=
code
)
ret
=
self
.
try_get
(
code
=
code
)
if
ret
is
not
None
:
if
ret
is
not
None
:
...
...
weblate/trans/migrations/0027_auto_20150401_1030.py
View file @
69803e00
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
__future__
import
unicode_literals
from
django.db
import
m
odels
,
m
igrations
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
class
Migration
(
migrations
.
Migration
):
...
...
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