mirror of https://gitlab.com/bashrc2/epicyon
Translations on options screen
parent
afd518d517
commit
be3c70e704
|
@ -1552,7 +1552,7 @@ def htmlProfile(defaultTimeline: str, \
|
||||||
if matrixAddress:
|
if matrixAddress:
|
||||||
donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n'
|
donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n'
|
||||||
if PGPpubKey:
|
if PGPpubKey:
|
||||||
donateSection+='<p class="pgp">'+translate['PGP']+': '+PGPpubKey.replace('\n','<br>')+'</p>\n'
|
donateSection+='<p class="pgp">'+PGPpubKey.replace('\n','<br>')+'</p>\n'
|
||||||
donateSection+=' </center>\n'
|
donateSection+=' </center>\n'
|
||||||
donateSection+='</div>\n'
|
donateSection+='</div>\n'
|
||||||
|
|
||||||
|
@ -3416,13 +3416,13 @@ def htmlPersonOptions(translate: {},baseDir: str, \
|
||||||
optionsStr+=' <img loading="lazy" src="'+optionsProfileUrl+'"/></a>'
|
optionsStr+=' <img loading="lazy" src="'+optionsProfileUrl+'"/></a>'
|
||||||
optionsStr+=' <p class="optionsText">'+translate['Options for']+' @'+getNicknameFromActor(optionsActor)+'@'+optionsDomain+'</p>'
|
optionsStr+=' <p class="optionsText">'+translate['Options for']+' @'+getNicknameFromActor(optionsActor)+'@'+optionsDomain+'</p>'
|
||||||
if emailAddress:
|
if emailAddress:
|
||||||
optionsStr+='<p class="imText">Email: '+emailAddress+'</p>'
|
optionsStr+='<p class="imText">'+translate['Email']+': '+emailAddress+'</p>'
|
||||||
if xmppAddress:
|
if xmppAddress:
|
||||||
optionsStr+='<p class="imText">XMPP: '+xmppAddress+'</p>'
|
optionsStr+='<p class="imText">'+translate['XMPP']+': '+xmppAddress+'</p>'
|
||||||
if matrixAddress:
|
if matrixAddress:
|
||||||
optionsStr+='<p class="imText">Matrix: '+matrixAddress+'</p>'
|
optionsStr+='<p class="imText">'+translate['Matrix']+': '+matrixAddress+'</p>'
|
||||||
if PGPpubKey:
|
if PGPpubKey:
|
||||||
optionsStr+='<p class="pgp">PGP: '+PGPpubKey.replace('\n','<br>')+'</p>'
|
optionsStr+='<p class="pgp">'+PGPpubKey.replace('\n','<br>')+'</p>'
|
||||||
optionsStr+=' <form method="POST" action="'+originPathStr+'/personoptions">'
|
optionsStr+=' <form method="POST" action="'+originPathStr+'/personoptions">'
|
||||||
optionsStr+=' <input type="hidden" name="pageNumber" value="'+str(pageNumber)+'">'
|
optionsStr+=' <input type="hidden" name="pageNumber" value="'+str(pageNumber)+'">'
|
||||||
optionsStr+=' <input type="hidden" name="actor" value="'+optionsActor+'">'
|
optionsStr+=' <input type="hidden" name="actor" value="'+optionsActor+'">'
|
||||||
|
|
Loading…
Reference in New Issue