i18n: translate frontend UI strings to English

This commit is contained in:
zhi
2026-03-11 21:19:54 +00:00
parent 34ab80e50d
commit 0ab1d2f380
14 changed files with 147 additions and 147 deletions

View File

@@ -32,16 +32,16 @@ export default function NotificationsPage() {
return (
<div className="notifications-page">
<div className="page-header">
<h2>🔔 {unreadCount > 0 && <span className="badge" style={{ background: 'var(--danger)' }}>{unreadCount}</span>}</h2>
<h2>🔔 Notifications {unreadCount > 0 && <span className="badge" style={{ background: 'var(--danger)' }}>{unreadCount}</span>}</h2>
{unreadCount > 0 && (
<button className="btn-primary" onClick={markAllRead}></button>
<button className="btn-primary" onClick={markAllRead}>Mark all read</button>
)}
</div>
<div className="filters">
<label className="filter-check">
<input type="checkbox" checked={unreadOnly} onChange={(e) => setUnreadOnly(e.target.checked)} />
Show unread only
</label>
</div>
@@ -62,7 +62,7 @@ export default function NotificationsPage() {
</div>
</div>
))}
{notifications.length === 0 && <p className="empty"></p>}
{notifications.length === 0 && <p className="empty">No notifications</p>}
</div>
</div>
)