From 9fb0a7ef2e71598490f14c12b06576db50840c69 Mon Sep 17 00:00:00 2001 From: Jure <44338+hoornet@users.noreply.github.com> Date: Thu, 9 Apr 2026 19:51:16 +0200 Subject: [PATCH] =?UTF-8?q?Polish=20pass=2013=20=E2=80=94=20final=20senten?= =?UTF-8?q?ce=20case=20sweep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - NoteActions: Share, Follow/Unfollow - SearchView: Search button, Notes/Articles/People result tabs - RelaysView: Check all, Add (suggested relays) - SettingsView: Add (mute keywords), Export data/Exporting…/Exported ✓ - InlineReplyBox: Reply/Replied ✓/Posting… --- src/components/feed/InlineReplyBox.tsx | 2 +- src/components/feed/NoteActions.tsx | 2 +- src/components/search/SearchView.tsx | 6 +++--- src/components/shared/RelaysView.tsx | 6 +++--- src/components/shared/SettingsView.tsx | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/feed/InlineReplyBox.tsx b/src/components/feed/InlineReplyBox.tsx index 0a03ded..e439c39 100644 --- a/src/components/feed/InlineReplyBox.tsx +++ b/src/components/feed/InlineReplyBox.tsx @@ -233,7 +233,7 @@ export function InlineReplyBox({ event, name, rootEvent }: InlineReplyBoxProps) disabled={(!replyText.trim() && attachments.length === 0) || replying || uploading} className="px-2 py-0.5 text-[10px] bg-accent hover:bg-accent-hover text-accent-text transition-colors disabled:opacity-30 disabled:cursor-not-allowed" > - {replySent ? "replied ✓" : replying ? "posting…" : "reply"} + {replySent ? "Replied ✓" : replying ? "Posting…" : "Reply"} diff --git a/src/components/feed/NoteActions.tsx b/src/components/feed/NoteActions.tsx index 2e2d46e..d3de850 100644 --- a/src/components/feed/NoteActions.tsx +++ b/src/components/feed/NoteActions.tsx @@ -264,7 +264,7 @@ export function LoggedOutStats({ event }: { event: NDKEvent }) { copied ? "text-accent" : "text-text-dim hover:text-text" }`} > - {copied ? "copied ✓" : "share"} + {copied ? "copied ✓" : "Share"} ); diff --git a/src/components/search/SearchView.tsx b/src/components/search/SearchView.tsx index dc69c44..d8cd8f2 100644 --- a/src/components/search/SearchView.tsx +++ b/src/components/search/SearchView.tsx @@ -77,7 +77,7 @@ function UserRow({ user }: { user: ParsedUser }) { : "border-accent/60 text-accent hover:bg-accent hover:text-accent-text" }`} > - {pending ? "…" : isFollowing ? "unfollow" : "follow"} + {pending ? "…" : isFollowing ? "Unfollow" : "Follow"} )} @@ -288,7 +288,7 @@ export function SearchView() { disabled={!query.trim() || loading} className="text-[11px] px-3 py-1 border border-border text-text-muted hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-30 disabled:cursor-not-allowed shrink-0" > - {loading ? "…" : "search"} + {loading ? "…" : "Search"} @@ -308,7 +308,7 @@ export function SearchView() { : "border-transparent text-text-dim hover:text-text" }`} > - {tab} {count > 0 ? `(${count})` : ""} + {tab.charAt(0).toUpperCase() + tab.slice(1)} {count > 0 ? `(${count})` : ""} ); })} diff --git a/src/components/shared/RelaysView.tsx b/src/components/shared/RelaysView.tsx index 0e36226..89b5b9c 100644 --- a/src/components/shared/RelaysView.tsx +++ b/src/components/shared/RelaysView.tsx @@ -257,7 +257,7 @@ export function RelaysView() { checking… - ) : "check all"} + ) : "Check all"} @@ -405,8 +405,8 @@ function SuggestedRelays() { onClick={() => handleAdd(s.url)} className="text-accent hover:text-accent-hover text-[10px] opacity-0 group-hover:opacity-100 transition-opacity shrink-0" > - add - + Add + ))} diff --git a/src/components/shared/SettingsView.tsx b/src/components/shared/SettingsView.tsx index effedd0..4b72d1f 100644 --- a/src/components/shared/SettingsView.tsx +++ b/src/components/shared/SettingsView.tsx @@ -128,8 +128,8 @@ function MutedKeywordsSection() { onClick={handleAdd} className="px-3 py-1.5 text-[11px] border border-border text-text-muted hover:text-accent hover:border-accent/40 transition-colors shrink-0" > - add - + Add + {error &&

{error}

} @@ -233,7 +233,7 @@ function ExportSection() { disabled={status === "saving"} className="px-3 py-1.5 text-[11px] border border-border text-text-muted hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-40 disabled:cursor-not-allowed" > - {status === "saving" ? "exporting…" : status === "done" ? "exported ✓" : "export data"} + {status === "saving" ? "Exporting…" : status === "done" ? "Exported ✓" : "Export data"} {bookmarkedIds.length} notes · {bookmarkedArticleAddrs.length} articles · {follows.length} follows · {getStoredRelayUrls().length} relays