# Writing for the iPX interface How the words in iPX read: the page (`web/`), the admin page, sign-in, the iOS app's own alerts (`ios/`) and the directory's and ipx-play's pages. It applies to every string a person sees: buttons, tooltips, toasts, hints, placeholders, empty lists, errors. iPX is a web page in English, used on a desktop browser, a phone's home screen and inside the iOS app, by people who run their own server or were given an account on one. They know what a podcast and a feed are; they do not know what a guid, a scan job or a 304 is. The rules below were chosen against forty years of interface guides (Apple 1987-2014, Windows 1995 and 2010, GNOME, KDE, Android and others); the reasons for the disputed ones are in the decision log at the end. ## Voice and tone | Be | This | Not that | |---|---|---| | Plain | Nothing in progress. Episodes you start and do not finish show up here. | No in-progress entries found. | | Direct, to "you" | Choose at least one podcast. | The user must select one or more podcasts. | | Calm | Unable to reach iPX. Check your connection and try again. | Error! Network request failed! | | Brief | Link copied | The link has been successfully copied to your clipboard. | | Honest about what happens next | Saved. It applies from the next check. | Saved. | Signals and DeadAir have their own voice, radio's signal against noise; see [signals.md](signals.md). Everything else is the plain voice above. ## Capitalization Sentence case everywhere: capitalize the first word and proper nouns, nothing else. | Element | ✅ | ❌ | |---|---|---| | Heading, dialog title | Add a feed | Add a Feed | | Button | Copy link | Copy Link | | Menu item, tab | Show notes | Show Notes | | Label, checkbox | Media types to download | Media Types To Download | | Tooltip | Check every feed for new items | Check Every Feed For New Items | | Placeholder | Filter feeds… | FILTER FEEDS… | Names of iPX's own features are proper nouns and keep their capitals: **iPX, Up Next, Now Playing, Currently Listening, All Subscriptions, Signals, DeadAir, Admin, Directory**. The filters Unread, All and In progress are tab labels, so only their first word is capitalized. Write other products as they write themselves: TypeSafe, Patreon, OPML, CarPlay. ## Punctuation * **Ellipsis**: the one character `…` (U+2026), never three periods, which screen readers read out. Use it on a command that needs more from the person before it runs (✅ Import…), on a placeholder that invites typing (✅ Filter…), and on work in progress (✅ Loading…). Not on a command that only opens something: ✅ Settings, ❌ Settings…. * **Periods**: a complete sentence ends with one; a fragment does not. ✅ Link copied · ✅ There is nothing to play in this item. ❌ Link copied. Two sentences both end with periods. * **No exclamation marks**, anywhere. * **Colons** after a label only when what follows completes it in the same line: ✅ Downloading: *episode title*. Not after a form label. * **Quotation marks**: curly double quotes around what the person typed: ✅ No podcast is called “f1”. * **No symbols for words**: ✅ light or dark, ❌ light/dark · ✅ and, ❌ & · ✅ number of episodes, ❌ # of episodes. * **No dashes to join clauses**; two sentences instead. ❌ Could not copy automatically — select the URL… ✅ Unable to copy the link. Select it and copy it yourself. ## Elements **Buttons** start with a verb and are four words at most, with no closing punctuation: ✅ Use the new address · ✅ Share link · ❌ New address · ❌ Initials. An icon-only button has a tooltip and an `aria-label` that say the same thing. A link or button inside a sentence takes the sentence's case: ✅ Get one at typesafe.ai, then add it in Settings. A button that toggles changes its verb: ✅ Pin / Unpin · ❌ Pin: on. **Paired commands** match: Subscribe / Unsubscribe, Keep / Remove (an episode on this device), Mark read / Mark unread, Show / Hide. **Tooltips** say what the control does, in more words than its label, and name its key when it has one: ✅ Back 15 seconds (←) · ✅ Play the next in Up Next. No closing period. Not a repeat of the label: ❌ title="Clear" on a button reading Clear. **Labels** are nouns or short questions: ✅ Feed address · ✅ How many of the newest undownloaded items? Not instructions. **Placeholders** show the form of an answer or invite a search, never replace the label: ✅ https://example.com/rss · ✅ Morning commute · ❌ Enter the feed URL here. A field that holds a secret says whether one is set: ✅ Set. Paste a new one to replace it. **Hints** under a control say what the person would not otherwise know: its effect, not how to use it. ✅ Only items matching a keyword are downloaded. ❌ Type keywords into the box above. If a control needs a paragraph, change the control. **Empty lists** say what is missing and how it fills: ✅ No podcasts yet. Add a feed with episodes in it, and it shows here. ❌ No results. **Toasts** confirm something that just happened, or say why it did not. One line; the subject is what changed, not iPX: ✅ Removed from Up Next · ❌ iPX has removed the episode from Up Next. ## Errors, warnings and confirmations An error says **what did not happen, and what to do now**, with the why between them when it helps. The form is `Unable to . .` | ✅ | ❌ | |---|---| | Unable to play this file. Try again, or download it again. | Playback error. | | Unable to reach iPX just now. Try again in a minute. | Request failed (502). | | Unable to keep it on this device. Try again. | Error: QuotaExceededError | * Never "error", "failed" or "invalid" as the message, and nothing that blames the person. * No codes, status numbers, exception names or paths in the message. They go to the log, which the admin page shows. * Before writing an error, ask whether it can be prevented: a Save button stays disabled until the form is complete, rather than "Name is required" after the click. * When iPX can fix the problem, the message offers the fix as a button: ✅ Add it in Settings. * One message per problem; never one alert after another. A **confirmation** asks only before something that cannot be undone. Its title is a question; its buttons name the action, the destructive one not the default. | ✅ | ❌ | |---|---| | Unsubscribe? · *Cancel* · *Unsubscribe* | Are you sure? · *OK* · *Cancel* | Cancel means nothing happened. If the action cannot be taken back halfway, the button is Stop. The page's `confirm()` (and the iOS app's answer to it) can only offer Cancel and OK, so its question names the action in full: ✅ Delete this file from the server? **please** only when the person has to wait or do something because of iPX: ✅ Please wait while iPX imports 214 feeds. **sorry** only when something is lost or cannot go on. Neither as filler. ## Vocabulary One word for each thing, everywhere. | Use | Not | Meaning | |---|---|---| | podcast | show, talk show, channel | a feed with audio or video in it | | episode | track, file (as the thing played) | an item of a podcast | | item | entry, post, article | anything a feed publishes; an episode is an item | | feed | RSS, source, channel | what someone subscribes to | | address | URL, link (for a feed) | where a feed or server is; "link" is what is shared | | subscribe, unsubscribe | follow, add/remove (for feeds) | | | download | fetch, grab | the server saving an episode's file | | keep on this device | download, save offline, cache | the phone or browser holding a copy | | check | scan, poll, refresh | the server reading a feed for new items | | read, unread | seen, new, viewed | | | pin | star, favorite, protect | an item kept from being deleted | | sign in, sign out | log in, log out, login | | | server | backend, instance, daemon | the iPX someone signs in to | | token | API key, secret | what a script or another server signs in with | | Up Next | queue, playlist | the episodes lined up to play | | playlist | smart list, collection | a list made from chosen podcasts | Never in the interface: guid, enclosure, entry, scan job, worker, cache, 304, ETag, OPML child, widget, payload, and the names of the people who use iPX (no character speaks, waiting is a spinner). OPML stays: people exporting a list meet the word in other apps. ## Localization iPX ships in English only, and its strings live in the code, not in a resource file. Write as if that will change: no sentence built from fragments joined in code (✅ `Kept on this device, to play offline: ${title}` keeps the variable at the end), plurals handled as a whole sentence, not with "(s)", dates and numbers through `toLocaleString` and the page's date helpers, and room for half again as much text in every label. ## Decision log | Decision | Choice | Why | |---|---|---| | Title or sentence case for buttons and menus | Sentence case for everything | The web has no platform rule; Windows 2010 moved everything but titles to sentence case, and iPX's strings already are. One rule, no list of words to keep lowercase | | Case for labels, checkboxes, tooltips | Sentence case | Follows from the above; Windows 1995, Apple 2009, GNOME and KDE agree | | Lowercase words in title case | None needed | Nothing is in title case | | Contractions | Never: do not, cannot, it is | iPX's house style already spells them out, and KDE 2021 and GEM agree. Android and Windows 2010 use them for friendliness; iPX finds it in plain words instead | | Failure wording | "Unable to …" | Most of the page's errors already say it; one form, not "Could not", "Cannot" and "Unable to" side by side | | Ellipsis character | `…` | Apple 2009 and KDE: three periods break screen readers | | Ellipsis on Settings | No | Windows' test: an ellipsis means more input is needed, not that something opens; GNOME agrees, Apple 2009 differs | | Room for translation | Half again | KDE's 50% over GNOME's 30%; short labels grow most | | Exclamation marks | Never | House style; KDE and GEM keep them out of errors | | OK and Cancel | Specific verbs; OK only to acknowledge or where `confirm()` allows nothing else; Cancel only when nothing changed, otherwise Stop | Mac 1992, Windows 1995 and Apple 2009 over Motif's standard pair | | Button length | Four words at most | Mac 1992 says three; "Use the new address" needs four and is clearer than any three | | Tone | Plain and friendly, second person, never jokey in errors | Android 2012 and Windows 2010; Signals keeps its own radio voice | | please and sorry | The Windows 2010 rule: please when the person is put out, sorry when something is lost | Avoids the filler apology Android 2012 warns against |