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
7e86d1fc
Commit
7e86d1fc
authored
Jan 06, 2015
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b8702466
fd871448
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
weblate/__init__.py
weblate/__init__.py
+9
-0
weblate/lang/__init__.py
weblate/lang/__init__.py
+0
-9
No files found.
weblate/__init__.py
View file @
7e86d1fc
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
#
#
import
os
import
os
import
re
import
logging
import
logging
import
django.utils.translation.trans_real
from
weblate.requirements
import
(
from
weblate.requirements
import
(
check_requirements
,
get_versions
,
get_optional_versions
check_requirements
,
get_versions
,
get_optional_versions
)
)
...
@@ -116,3 +118,10 @@ def get_versions_string():
...
@@ -116,3 +118,10 @@ def get_versions_string():
check_requirements
()
check_requirements
()
check_data_writable
()
check_data_writable
()
create_ssh_wrapper
()
create_ssh_wrapper
()
# Monkey patch locales, workaround for
# https://code.djangoproject.com/ticket/24063
django
.
utils
.
translation
.
trans_real
.
language_code_re
=
re
.
compile
(
r'^[a-z]{1,8}(?:-[a-z0-9]{1,8})*(?:@[a-z0-9]{1,20})?$'
,
re
.
IGNORECASE
)
weblate/lang/__init__.py
View file @
7e86d1fc
...
@@ -17,12 +17,3 @@
...
@@ -17,12 +17,3 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
django.utils.translation.trans_real
import
re
# Monkey patch locales, workaround for
# https://code.djangoproject.com/ticket/24063
django
.
utils
.
translation
.
trans_real
.
language_code_re
=
re
.
compile
(
r'^[a-z]{1,8}(?:-[a-z0-9]{1,8})*(?:@[a-z0-9]{1,20})?$'
,
re
.
IGNORECASE
)
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