Title-case titles: Chat/File/Message Relay and File Upload

Capitalize Relay and Upload in the relay titles and the File Upload entry
(sidebar, homepage cards, relay page title via RELAY_KINDS).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jon
2026-06-05 18:42:03 +01:00
parent 5a5134f9b2
commit 22b5ee7203
3 changed files with 9 additions and 9 deletions

View File

@@ -144,7 +144,7 @@ async def bots_page(request: Request):
})
RELAY_KINDS = {"chat": "Chat relay", "file": "File relay", "message": "Message relay"}
RELAY_KINDS = {"chat": "Chat Relay", "file": "File Relay", "message": "Message Relay"}
@app.get("/relays/{kind}", response_class=HTMLResponse)

View File

@@ -296,12 +296,12 @@
<span class="ico">🔀</span><span class="lbl">Relays</span><span class="caret"></span>
</button>
<div class="nav-sub">
<a href="/relays/chat" {% if nav_active == 'relays' and kind == 'chat' %}class="active"{% endif %}><span class="ico">💬</span><span class="lbl">Chat relay</span></a>
<a href="/relays/file" {% if nav_active == 'relays' and kind == 'file' %}class="active"{% endif %}><span class="ico">📁</span><span class="lbl">File relay</span></a>
<a href="/relays/message" {% if nav_active == 'relays' and kind == 'message' %}class="active"{% endif %}><span class="ico">✉️</span><span class="lbl">Message relay</span></a>
<a href="/relays/chat" {% if nav_active == 'relays' and kind == 'chat' %}class="active"{% endif %}><span class="ico">💬</span><span class="lbl">Chat Relay</span></a>
<a href="/relays/file" {% if nav_active == 'relays' and kind == 'file' %}class="active"{% endif %}><span class="ico">📁</span><span class="lbl">File Relay</span></a>
<a href="/relays/message" {% if nav_active == 'relays' and kind == 'message' %}class="active"{% endif %}><span class="ico">✉️</span><span class="lbl">Message Relay</span></a>
</div>
</div>
<a href="https://simplex.chat/file/" target="_blank" rel="noopener"><span class="ico">📁</span><span class="lbl">File upload</span></a>
<a href="https://simplex.chat/file/" target="_blank" rel="noopener"><span class="ico">📁</span><span class="lbl">File Upload</span></a>
<a href="/notifications" class="nav-sep {% if nav_active == 'notifications' %}active{% endif %}"><span class="ico">🔔</span><span class="lbl">Notifications</span><span class="notif-badge" id="notif-badge" style="display:none;"></span></a>
<a href="/settings" class="nav-sep {% if nav_active == 'settings' %}active{% endif %}"><span class="ico">⚙️</span><span class="lbl">Settings</span></a>
<a href="https://simplex.chat/downloads/" target="_blank" rel="noopener" class="nav-sep"><span class="ico">📲</span><span class="lbl">Get App</span></a>

View File

@@ -54,7 +54,7 @@
</a>
<a class="tile" href="https://simplex.chat/file/" target="_blank" rel="noopener">
<span class="t-ico">📁</span>
<span class="t-title">File upload</span>
<span class="t-title">File Upload</span>
<span class="t-desc">Share files over SimpleX (opens simplex.chat).</span>
</a>
</div>
@@ -63,17 +63,17 @@
<div class="tiles">
<a class="tile" href="/relays/chat">
<span class="t-ico">💬</span>
<span class="t-title">Chat relay</span>
<span class="t-title">Chat Relay</span>
<span class="t-desc">Relay chat messages between connections.</span>
</a>
<a class="tile" href="/relays/file">
<span class="t-ico">📁</span>
<span class="t-title">File relay</span>
<span class="t-title">File Relay</span>
<span class="t-desc">Relay files between connections.</span>
</a>
<a class="tile" href="/relays/message">
<span class="t-ico">✉️</span>
<span class="t-title">Message relay</span>
<span class="t-title">Message Relay</span>
<span class="t-desc">Relay messages between connections.</span>
</a>
</div>