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,14 +13,14 @@
|
||||
"submit": "Add to downloads",
|
||||
"added": "Added to downloads",
|
||||
"view": "View",
|
||||
"manage": "Manage formats"
|
||||
"manage": "Manage formats…"
|
||||
},
|
||||
"page": {
|
||||
"addUrl": "Paste a video link (YouTube, Facebook, …) or a YouTube video id…",
|
||||
"add": "Add",
|
||||
"paste": "Paste link from clipboard",
|
||||
"upload": "Upload",
|
||||
"manage": "Manage formats"
|
||||
"manage": "Manage formats…"
|
||||
},
|
||||
"upload": {
|
||||
"title": "Upload a file",
|
||||
@@ -33,7 +33,7 @@
|
||||
"uploading": "Uploading… {{pct}}%",
|
||||
"uploadProgress": "Upload progress",
|
||||
"added": "File uploaded",
|
||||
"failed": "The upload failed."
|
||||
"failed": "Couldn't upload the file"
|
||||
},
|
||||
"tabs": {
|
||||
"queue": "Queue",
|
||||
@@ -65,15 +65,15 @@
|
||||
"pause": "Pause",
|
||||
"resume": "Resume",
|
||||
"cancel": "Cancel",
|
||||
"delete": "Remove",
|
||||
"delete": "Delete",
|
||||
"retry": "Retry",
|
||||
"download": "Save to my device",
|
||||
"play": "Play",
|
||||
"rename": "Rename",
|
||||
"editDetails": "Edit details",
|
||||
"editDetails": "Edit details…",
|
||||
"share": "Share (copy link)",
|
||||
"shareManage": "Manage sharing",
|
||||
"edit": "Edit / trim",
|
||||
"shareManage": "Manage sharing…",
|
||||
"edit": "Edit / trim…",
|
||||
"redownload": "Re-download (rebuild file)",
|
||||
"removeShared": "Remove from my list"
|
||||
},
|
||||
@@ -88,7 +88,7 @@
|
||||
},
|
||||
"usage": {
|
||||
"title": "Your storage",
|
||||
"items": "{{used}} / {{max}} items",
|
||||
"items": "{{used}} / {{max}} downloads",
|
||||
"unlimited": "Unlimited"
|
||||
},
|
||||
"source": {
|
||||
@@ -108,7 +108,7 @@
|
||||
"share": {
|
||||
"title": "Share download",
|
||||
"done": "Shared with {{email}}",
|
||||
"failed": "Couldn’t share.",
|
||||
"failed": "Couldn’t share",
|
||||
"userSection": "Share with a user",
|
||||
"userHint": "They’ll find it under “Shared with me”.",
|
||||
"pickPlaceholder": "Search a user…",
|
||||
@@ -127,7 +127,7 @@
|
||||
"days": "{{n}} days",
|
||||
"password": "Password (optional)",
|
||||
"copy": "Copy link",
|
||||
"copyFailed": "Couldn’t copy.",
|
||||
"copyFailed": "Couldn’t copy",
|
||||
"revoke": "Revoke",
|
||||
"revokeConfirm": "This link will stop working immediately.",
|
||||
"views": "{{n}} views",
|
||||
@@ -138,15 +138,15 @@
|
||||
"changePassword": "Change password",
|
||||
"newPassword": "New password",
|
||||
"savePassword": "Save",
|
||||
"removePassword": "Remove",
|
||||
"removePassword": "Delete",
|
||||
"removePasswordConfirm": "This makes the link public — anyone with the URL can watch it without a password."
|
||||
},
|
||||
"confirm": {
|
||||
"cancelTitle": "Cancel download?",
|
||||
"cancelBody": "This stops the download and removes it from your queue.",
|
||||
"cancelAction": "Stop download",
|
||||
"deleteTitle": "Remove download?",
|
||||
"deleteBody": "This removes it from your list. The file may stay cached for other users until it expires.",
|
||||
"deleteTitle": "Delete download?",
|
||||
"deleteBody": "This deletes it from your downloads. The file may stay cached for other users until it expires.",
|
||||
"removeSharedTitle": "Remove from your list?",
|
||||
"removeSharedBody": "This removes it from your shared list only — it won't delete the owner's file.",
|
||||
"redownloadTitle": "Re-download this file?",
|
||||
@@ -198,28 +198,28 @@
|
||||
"errors": {
|
||||
"quota": {
|
||||
"max_bytes": "You've used your download storage quota ({{size}} GB). Free up space first.",
|
||||
"max_jobs": "You've reached your download limit ({{limit}} items). Remove some first.",
|
||||
"generic": "Download quota exceeded."
|
||||
"max_jobs": "You've reached your download limit ({{limit}} downloads). Delete some first.",
|
||||
"generic": "Download quota exceeded"
|
||||
},
|
||||
"edit": {
|
||||
"empty_edit": "Choose a trim range or crop area first.",
|
||||
"source_not_ready": "The source download isn't ready to edit.",
|
||||
"generic": "That edit couldn't be created."
|
||||
"empty_edit": "Choose a trim range or crop area first",
|
||||
"source_not_ready": "The source download isn't ready to edit",
|
||||
"generic": "Couldn't create that edit"
|
||||
},
|
||||
"upload": {
|
||||
"tooLarge": "That file is too large (max {{size}}).",
|
||||
"empty": "That file is empty."
|
||||
"tooLarge": "That file is too large (max {{size}})",
|
||||
"empty": "That file is empty"
|
||||
},
|
||||
"urlBlocked": {
|
||||
"scheme": "Only http:// and https:// links can be downloaded.",
|
||||
"no_host": "That link doesn't contain a website address.",
|
||||
"scheme": "Only http:// and https:// links can be downloaded",
|
||||
"no_host": "That link doesn't contain a website address",
|
||||
"unresolvable": "That address couldn't be looked up. Check the link and try again.",
|
||||
"private": "That address is on the server's own network, so it can't be downloaded from.",
|
||||
"generic": "That address can't be downloaded from.",
|
||||
"malformed": "That link isn't a valid web address."
|
||||
"private": "That address is on the server's own network, so it can't be downloaded from",
|
||||
"generic": "That address can't be downloaded from",
|
||||
"malformed": "That link isn't a valid web address"
|
||||
},
|
||||
"fail": {
|
||||
"title": "Download failed",
|
||||
"title": "Couldn't download",
|
||||
"detailsLink": "details",
|
||||
"detailsToggle": "Technical details",
|
||||
"cat": {
|
||||
@@ -248,7 +248,7 @@
|
||||
"body": "This video is DRM-protected and cannot be downloaded."
|
||||
},
|
||||
"postprocess": {
|
||||
"short": "Processing failed",
|
||||
"short": "Couldn't process the video",
|
||||
"body": "The video downloaded but a processing step (merge or convert) failed. A retry often fixes this."
|
||||
},
|
||||
"source_missing": {
|
||||
@@ -260,8 +260,8 @@
|
||||
"body": "A network error interrupted the download. A retry usually fixes this."
|
||||
},
|
||||
"unknown": {
|
||||
"short": "Download failed",
|
||||
"body": "Something went wrong while downloading this item. The technical details below may help."
|
||||
"short": "Couldn't download",
|
||||
"body": "Something went wrong with this download. The technical details below may help."
|
||||
},
|
||||
"quota_exceeded": {
|
||||
"short": "Storage full",
|
||||
@@ -300,9 +300,9 @@
|
||||
}
|
||||
},
|
||||
"cookies": {
|
||||
"empty": "Paste your cookies first.",
|
||||
"format": "That doesn't look like a cookies.txt file (Netscape format).",
|
||||
"generic": "Those cookies couldn't be saved."
|
||||
"empty": "Paste your cookies first",
|
||||
"format": "That doesn't look like a cookies.txt file (Netscape format)",
|
||||
"generic": "Couldn't save those cookies"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user