From 78bacbea96ddbfcf830af4abe6ff0c2675ae57e7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 7 Sep 2019 10:25:16 +0100 Subject: [PATCH] translate variable --- webinterface.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index edb4e39c1..f9d9ec09c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -944,7 +944,7 @@ def htmlProfileFollowing(translate: {},baseDir: str,httpPrefix: str, \ for item in followingJson['orderedItems']: profileStr+= \ - individualFollowAsHtml(baseDir,session, \ + individualFollowAsHtml(translate,baseDir,session, \ wfRequest,personCache, \ domain,item,authorized,nickname, \ httpPrefix,projectVersion, \ @@ -1150,7 +1150,8 @@ def htmlProfile(translate: {},projectVersion: str, \ profileStr=htmlHeader(profileStyle)+profileStr+htmlFooter() return profileStr -def individualFollowAsHtml(baseDir: str,session,wfRequest: {}, \ +def individualFollowAsHtml(translate: {}, \ + baseDir: str,session,wfRequest: {}, \ personCache: {},domain: str, \ followUrl: str, \ authorized: bool, \