Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin_dbui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2pext
plugin_dbui
Commits
17287d81
Commit
17287d81
authored
9 years ago
by
LE GAC Renaud
Browse files
Options
Downloads
Patches
Plain Diff
Remove dependence to the module locale.
parent
86aa41f6
No related branches found
No related tags found
2 merge requests
!20
Release 0.8.2
,
!19
23 docker image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/common_settings.py
+0
-3
0 additions, 3 deletions
models/common_settings.py
with
0 additions
and
3 deletions
models/common_settings.py
+
0
−
3
View file @
17287d81
...
...
@@ -2,7 +2,6 @@
"""
Common settings
"""
import
locale
import
plugin_dbui
as
dbui
from
callbacks
import
country_delete
,
country_insert
,
country_update
...
...
@@ -33,8 +32,6 @@ T.set_current_languages('en', 'en-gb', 'en-us') # mother tongue
T
.
force
(
'
fr-fr
'
)
# user language
T
.
lazy
=
False
# immediate translation
locale
.
setlocale
(
locale
.
LC_ALL
,
"
fr_FR.UTF-8
"
)
#-------------------------------------------------------------------------------
#
# CONSTANTS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment