translate variable

master
Bob Mottram 2019-09-07 10:25:16 +01:00
parent c25b373ee2
commit 78bacbea96
1 changed files with 3 additions and 2 deletions

View File

@ -944,7 +944,7 @@ def htmlProfileFollowing(translate: {},baseDir: str,httpPrefix: str, \
for item in followingJson['orderedItems']: for item in followingJson['orderedItems']:
profileStr+= \ profileStr+= \
individualFollowAsHtml(baseDir,session, \ individualFollowAsHtml(translate,baseDir,session, \
wfRequest,personCache, \ wfRequest,personCache, \
domain,item,authorized,nickname, \ domain,item,authorized,nickname, \
httpPrefix,projectVersion, \ httpPrefix,projectVersion, \
@ -1150,7 +1150,8 @@ def htmlProfile(translate: {},projectVersion: str, \
profileStr=htmlHeader(profileStyle)+profileStr+htmlFooter() profileStr=htmlHeader(profileStyle)+profileStr+htmlFooter()
return profileStr return profileStr
def individualFollowAsHtml(baseDir: str,session,wfRequest: {}, \ def individualFollowAsHtml(translate: {}, \
baseDir: str,session,wfRequest: {}, \
personCache: {},domain: str, \ personCache: {},domain: str, \
followUrl: str, \ followUrl: str, \
authorized: bool, \ authorized: bool, \