feat(design): the Copy rule — names, verbs, dates and units (E28 S3g)
The owner's picks (all the recommended options) become DESIGN.md's Copy chapter and a sweep of both languages (742 values, no key drift): - One name per feature: the rail's label, which may shorten it (Alerts -> Notifications, Fiókok -> Felhasználók, Download Center -> Downloads, Channel manager -> Channels); one "sync from YouTube" verb. - Four verbs, four meanings (Delete / Remove / Dismiss / Discard, and their Hungarian pairs), checked against what each action does. - Sentence case, the app's places capitalised; "…" on a command that asks first (a popover or form title got its own key without it); one-sentence messages without a stop or a tick, "Couldn't …"; curly quotes. - Dates only from lib/format.ts, in the UI language: formatDateTime names the month and stops at the minute (it printed "9/27/2026, 8:30:14 AM"), formatDateTimeSec for the log, the audit and the recorder; ui/RelativeTime pairs "3d ago" with the exact minute on hover. local/date-format refuses toLocale*String and Intl date formatters elsewhere. - Units from Intl, short (formatUnit): runtimes, totals, the Scheduler countdown, the stats range, the player's tap skip. "2h 13m" was English in both languages. - src/i18n/copyRule.test.ts holds the machine-readable part (quotes, "...", ticks, bare unit letters).
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
"inactive": "waiting for activation",
|
||||
"activate": "Activate",
|
||||
"activateHint": "Let this account in. Their address is already approved — this only finishes it.",
|
||||
"activated": "{{email}} can sign in now.",
|
||||
"activateFailed": "Couldn't activate that account.",
|
||||
"activated": "{{email}} can sign in now",
|
||||
"activateFailed": "Couldn't activate that account",
|
||||
"resend": "Send the confirmation link again",
|
||||
"resendHint": "Send the confirmation link again, to the address on the account.",
|
||||
"resent": "Confirmation link sent to {{email}}.",
|
||||
"resendFailed": "Couldn't send the confirmation link."
|
||||
"resent": "Confirmation link sent to {{email}}",
|
||||
"resendFailed": "Couldn't send the confirmation link"
|
||||
},
|
||||
"roles": {
|
||||
"title": "Users & roles",
|
||||
@@ -42,7 +42,7 @@
|
||||
"demoteTitle": "Remove admin?",
|
||||
"promoteConfirm": "Give {{email}} full admin access (settings, scheduler, user management)?",
|
||||
"demoteConfirm": "Remove admin access from {{email}}? They'll become a regular user.",
|
||||
"failed": "Couldn't change the role."
|
||||
"failed": "Couldn't change the role"
|
||||
},
|
||||
"suspend": {
|
||||
"action": "Suspend",
|
||||
@@ -55,7 +55,7 @@
|
||||
"undone": "{{email}} unsuspended",
|
||||
"demoLocked": "The demo account can't be suspended.",
|
||||
"selfLocked": "You can't suspend your own account.",
|
||||
"failed": "Couldn't change the suspension."
|
||||
"failed": "Couldn't change the suspension"
|
||||
},
|
||||
"delete": {
|
||||
"action": "Delete",
|
||||
@@ -63,7 +63,7 @@
|
||||
"title": "Delete account?",
|
||||
"confirm": "Permanently delete {{email}} and all their data — subscriptions, tags, watch history, playlists and settings? This can't be undone.",
|
||||
"done": "{{email}} deleted",
|
||||
"failed": "Couldn't delete the account."
|
||||
"failed": "Couldn't delete the account"
|
||||
},
|
||||
"account": {
|
||||
"access": "Access",
|
||||
@@ -75,7 +75,7 @@
|
||||
"approvalWaitingOnYou": "waiting on you",
|
||||
"copied": "Copied",
|
||||
"copy": "Copy",
|
||||
"copyFailed": "Couldn't copy — select the link and copy it by hand.",
|
||||
"copyFailed": "Couldn't copy — select the link and copy it by hand",
|
||||
"email": "Email",
|
||||
"emailConfirmed": "confirmed",
|
||||
"emailUnconfirmed": "not confirmed",
|
||||
@@ -97,7 +97,7 @@
|
||||
"passwordSet": "set",
|
||||
"recovery": "Recovery",
|
||||
"resend": "Send a confirmation link",
|
||||
"resendSent": "Confirmation link sent.",
|
||||
"resendSent": "Confirmation link sent",
|
||||
"setPassword": "Create a set-password link",
|
||||
"setPasswordAgain": "Create another link",
|
||||
"linkFailed": "Couldn't create the link. Please try again."
|
||||
|
||||
Reference in New Issue
Block a user