Merge pull request 'localization' (#1) from pch_xyz-patch-1 into master
Reviewed-on: #1
This commit is contained in:
commit
818a3573ae
|
@ -41,7 +41,7 @@ async def home(request):
|
||||||
|
|
||||||
text = f"""
|
text = f"""
|
||||||
<html><head>
|
<html><head>
|
||||||
<title>ActivityPub Relay at {host}</title>
|
<title>SEDI中繼器</title>
|
||||||
<style>
|
<style>
|
||||||
p {{ color: #FFFFFF; font-family: monospace, arial; font-size: 100%; }}
|
p {{ color: #FFFFFF; font-family: monospace, arial; font-size: 100%; }}
|
||||||
body {{ background-color: #000000; }}
|
body {{ background-color: #000000; }}
|
||||||
|
@ -53,9 +53,10 @@ a:hover {{ color: #8AF; }}
|
||||||
<body>
|
<body>
|
||||||
<p>This is an Activity Relay for fediverse instances.</p>
|
<p>This is an Activity Relay for fediverse instances.</p>
|
||||||
<p>{note}</p>
|
<p>{note}</p>
|
||||||
<p>You may subscribe to this relay with the address: <a href="https://{host}/actor">https://{host}/actor</a></p>
|
<p>Misskey及Mastodon站長請訂閱這個地址:<a href="https://{host}/inbox">https://{host}/inbox</a></p>
|
||||||
<p>To host your own relay, you may download the code at this address: <a href="https://git.pleroma.social/pleroma/relay">https://git.pleroma.social/pleroma/relay</a></p>
|
<p>Pleroma及Friendica站長請訂閱這個地址:<a href="https://{host}/actor">https://{host}/actor</a></p>
|
||||||
<br><p>List of {count} registered instances:<br>{targets}</p>
|
<p>原始碼:<a href="https://git.seediqbale.xyz/pch_xyz/sedi-relay">https://git.seediqbale.xyz/pch_xyz/sedi-relay</a></p>
|
||||||
|
<br><p>有 {count} 個實例訂閱中:<br>{targets}</p>
|
||||||
</body></html>"""
|
</body></html>"""
|
||||||
|
|
||||||
return Response.new(text, ctype='html')
|
return Response.new(text, ctype='html')
|
||||||
|
|
Loading…
Reference in a new issue