From be3c70e704294a4cce9c0ea767c67c107f3273d4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 17 Dec 2019 23:02:02 +0000 Subject: [PATCH] Translations on options screen --- webinterface.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webinterface.py b/webinterface.py index ec8104fb9..e97c77f76 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1552,7 +1552,7 @@ def htmlProfile(defaultTimeline: str, \ if matrixAddress: donateSection+='

'+translate['Matrix']+': '+matrixAddress+'

\n' if PGPpubKey: - donateSection+='

'+translate['PGP']+': '+PGPpubKey.replace('\n','
')+'

\n' + donateSection+='

'+PGPpubKey.replace('\n','
')+'

\n' donateSection+=' \n' donateSection+='\n' @@ -3416,13 +3416,13 @@ def htmlPersonOptions(translate: {},baseDir: str, \ optionsStr+=' ' optionsStr+='

'+translate['Options for']+' @'+getNicknameFromActor(optionsActor)+'@'+optionsDomain+'

' if emailAddress: - optionsStr+='

Email: '+emailAddress+'

' + optionsStr+='

'+translate['Email']+': '+emailAddress+'

' if xmppAddress: - optionsStr+='

XMPP: '+xmppAddress+'

' + optionsStr+='

'+translate['XMPP']+': '+xmppAddress+'

' if matrixAddress: - optionsStr+='

Matrix: '+matrixAddress+'

' + optionsStr+='

'+translate['Matrix']+': '+matrixAddress+'

' if PGPpubKey: - optionsStr+='

PGP: '+PGPpubKey.replace('\n','
')+'

' + optionsStr+='

'+PGPpubKey.replace('\n','
')+'

' optionsStr+='
' optionsStr+=' ' optionsStr+=' '