projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e957cc2
)
correction commentaire.
author
Benoît Pin
<pin@cri.ensmp.fr>
Thu, 24 Jul 2014 09:04:25 +0000
(11:04 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Thu, 24 Jul 2014 09:04:25 +0000
(11:04 +0200)
utils.py
patch
|
blob
|
history
diff --git
a/utils.py
b/utils.py
index
024c975
..
6b3b697
100755
(executable)
--- a/
utils.py
+++ b/
utils.py
@@
-230,7
+230,7
@@
def getPreferredLanguages(context):
security.declarePublic('getBestTranslationLanguage')
def getBestTranslationLanguage(langs, context):
""" returns best translation language according
security.declarePublic('getBestTranslationLanguage')
def getBestTranslationLanguage(langs, context):
""" returns best translation language according
-
availables
languages (param langs)
+
to available
languages (param langs)
and user preferences (retrieves by context)
"""
request = getattr(context, 'REQUEST', None)
and user preferences (retrieves by context)
"""
request = getattr(context, 'REQUEST', None)