-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcopy.ts
More file actions
70 lines (70 loc) · 3.06 KB
/
Copy pathcopy.ts
File metadata and controls
70 lines (70 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/** Sole UI copy owner for create / token / result journey states. */
export const COPY = {
creating: 'Creating feed',
previewChecking: 'Checking preview',
feedReady: 'Feed ready',
urlLabel: 'URL',
urlPlaceholder: 'example.com/articles',
feedUrl: 'Feed URL',
tokenTitle: 'Access token',
tokenHint: 'Required by this instance.',
tokenPlaceholder: 'Paste access token',
tokenRejected: 'Access token was rejected. Paste a valid token to continue.',
/** Non-retryable / correct_input create failures (blocked, empty extract, …). */
createFailedTitle: "Couldn't create feed",
/** Retryable create failures where Try again remains honest. */
createFailedRetryTitle: "Couldn't create feed yet",
tryAgain: 'Try again',
checkAgain: 'Check again',
previewItemCount: (count: number) => `${count} items`,
copy: 'Copy',
copied: 'Copied!',
creationDisabled: 'Feed creation is disabled on this instance.',
/** Browse product name — SSOT with docs /feed-directory/ title. */
feedDirectory: 'Feed Directory',
/** Escape / utility CTA — verb + SSOT name; optional public catalog count. */
browseFeedDirectory: (count = 0) =>
count > 0 ? `Browse Feed Directory (${count})` : 'Browse Feed Directory',
feedDirectoryIntro: 'Start with a ready-made feed from this instance.',
feedDirectoryLearnMore: 'Learn how the Feed Directory works.',
catalogFindHint: 'Matching feeds.',
catalogFindHitsLabel: 'Matching feeds',
dockerSetup: 'Set up your own instance with Docker.',
dockerInstall: 'Install from Docker Hub',
bookmarkletTitle: 'Bookmarklet',
bookmarkletHelp:
'Drag the Bookmarklet link from the footer to your bookmarks bar. On any page, click it to prefill the URL here.',
bookmarkletDragHint: 'Drag this bookmarklet to your bookmarks bar',
copyFeedUrl: 'Copy feed URL',
openFeed: 'Open feed',
openJsonFeed: 'Open JSON Feed',
openInFeedReader: 'Open in feed reader',
createAnother: 'Create another feed',
createFeed: 'Create feed',
saveAndContinue: 'Save and continue',
back: 'Back',
utilities: 'Utilities',
logout: 'Logout',
openapiSpec: 'OpenAPI spec',
sourceCode: 'Source code',
urlRequired: 'URL is required.',
invalidUrlFormat: 'Invalid URL format.',
unableToSaveToken: 'Unable to save access token.',
unableToLoadToken: 'Unable to load access token.',
unableToStartCreation: 'Unable to start feed creation.',
instanceMetadataUnavailable: 'Instance metadata unavailable',
accessTokenUnavailable: 'Access token unavailable',
instanceUnavailable: 'Instance unavailable.',
loadingInstance: 'Loading instance',
loadingInstanceBody: 'Reading instance settings.',
dismiss: 'Dismiss',
authRequired: 'Access token is required.',
checkUrlAndRetry: 'Check the URL.',
unableToReachServer: 'Unable to reach the server.',
unableToCompleteCreation: 'Unable to complete feed creation.',
serverStillProcessing: 'The server is still processing the request.',
previewUnavailable: 'Preview unavailable right now.',
footerNav: 'Footer navigation',
previewStatus: 'Feed preview status',
previewRegion: 'Feed preview',
} as const;