X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/158c370e8443878b1fd4a6cea63613c45045346b..9b3338dbdd3bb11315f01b571120ccb8f3536064:/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)