X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/158c370e8443878b1fd4a6cea63613c45045346b..cd19d4b7c2523b587f00e41b9401aec71166691d:/utils.py?ds=sidebyside diff --git a/utils.py b/utils.py index 024c975..6b3b697 100755 --- 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 - availables languages (param langs) + to available languages (param langs) and user preferences (retrieves by context) """ request = getattr(context, 'REQUEST', None)