diff --git a/src/components/article/ArticleEditor.tsx b/src/components/article/ArticleEditor.tsx index e57b2cb..c3fe015 100644 --- a/src/components/article/ArticleEditor.tsx +++ b/src/components/article/ArticleEditor.tsx @@ -284,7 +284,7 @@ export function ArticleEditor() {
{wordCount > 0 ? `${wordCount} words` : "New article"} {activeDraft && !published && lastSaved && ( @@ -310,13 +310,13 @@ export function ArticleEditor() { onClick={() => setMode("write")} className={`px-3 py-1 transition-colors ${mode === "write" ? "bg-accent/10 text-accent" : "text-text-muted hover:text-text"}`} > - write + Write
@@ -325,14 +325,14 @@ export function ArticleEditor() { className="px-3 py-1 text-[11px] border border-border text-text-muted hover:text-text transition-colors" title="Focus mode (F11)" > - zen + Zen
@@ -497,7 +497,7 @@ function DraftListView({ onNewDraft }: { onNewDraft: () => void }) {

Drafts

{drafts.length} {drafts.length === 1 ? "draft" : "drafts"} @@ -506,7 +506,7 @@ function DraftListView({ onNewDraft }: { onNewDraft: () => void }) { onClick={onNewDraft} className="px-3 py-1 text-[11px] bg-accent hover:bg-accent-hover text-accent-text transition-colors" > - new draft + New draft
@@ -515,7 +515,7 @@ function DraftListView({ onNewDraft }: { onNewDraft: () => void }) {

No drafts yet.

- Click "new draft" to start writing an article. + Click "New draft" to start writing an article.

)} diff --git a/src/components/feed/InlineReplyBox.tsx b/src/components/feed/InlineReplyBox.tsx index 1f7d121..0a03ded 100644 --- a/src/components/feed/InlineReplyBox.tsx +++ b/src/components/feed/InlineReplyBox.tsx @@ -184,8 +184,9 @@ export function InlineReplyBox({ event, name, rootEvent }: InlineReplyBoxProps) onClick={() => removeAttachment(i)} className="absolute -top-1.5 -right-1.5 w-4 h-4 bg-danger text-accent-text text-[10px] rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity" title="Remove" + aria-label="Remove attachment" > - x + × ))} @@ -205,6 +206,7 @@ export function InlineReplyBox({ event, name, rootEvent }: InlineReplyBoxProps) onClick={handleFilePicker} disabled={uploading} title="Attach image or video" + aria-label="Attach image or video" className="text-text-dim hover:text-text text-[16px] transition-colors disabled:opacity-30" > + @@ -213,6 +215,7 @@ export function InlineReplyBox({ event, name, rootEvent }: InlineReplyBoxProps) diff --git a/src/components/profile/ImageField.tsx b/src/components/profile/ImageField.tsx index bfb79fc..eb509f6 100644 --- a/src/components/profile/ImageField.tsx +++ b/src/components/profile/ImageField.tsx @@ -40,7 +40,7 @@ export function ImageField({ label, value, onChange }: { label: string; value: s className="px-2 py-1.5 text-[10px] border border-border text-text-dim hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-40 disabled:cursor-not-allowed shrink-0" title="Upload from your computer" > - {uploading ? "uploading…" : "upload"} + {uploading ? "Uploading…" : "Upload"} {uploadError &&

{uploadError}

} diff --git a/src/components/shared/RelaysView.tsx b/src/components/shared/RelaysView.tsx index ab1dbfa..41bd758 100644 --- a/src/components/shared/RelaysView.tsx +++ b/src/components/shared/RelaysView.tsx @@ -277,7 +277,7 @@ export function RelaysView() { onClick={handleAddRelay} 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 {loggedIn && !!getNDK().signer && ( )} @@ -303,7 +303,7 @@ export function RelaysView() { disabled={removing} className="px-3 py-1 text-[11px] border border-danger/30 text-danger hover:bg-danger/10 transition-colors disabled:opacity-40" > - {removing ? "removing…" : "remove dead"} + {removing ? "Removing…" : "Remove dead"} )} @@ -384,9 +384,9 @@ function SuggestedRelays() { {loading ? ( - discovering… + Discovering… - ) : "discover relays"} + ) : "Discover relays"}