Repository navigation
Expand file tree
/
Copy pathen.ts
More file actions
423 lines (392 loc) · 20.2 KB
/
Copy pathen.ts
File metadata and controls
423 lines (392 loc) · 20.2 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
const source = {
"ui.preview.controls": "Preview controls",
"ui.preview.zoomIn": "Zoom in",
"ui.preview.zoomOut": "Zoom out",
"ui.preview.fit": "Fit",
"ui.sessionReview.title": "Session changes",
"ui.sessionReview.title.git": "Git changes",
"ui.sessionReview.title.branch": "Branch changes",
"ui.sessionReview.title.lastTurn": "Last turn changes",
"ui.sessionReview.diffStyle.unified": "Unified",
"ui.sessionReview.diffStyle.split": "Split",
"ui.sessionReview.expandAll": "Expand all",
"ui.sessionReview.collapseAll": "Collapse all",
"ui.sessionReview.change.added": "Added",
"ui.sessionReview.change.removed": "Removed",
"ui.sessionReview.change.modified": "Modified",
"ui.sessionReview.image.loading": "Loading…",
"ui.sessionReview.image.placeholder": "Image",
"ui.sessionReview.largeDiff.title": "Diff too large to render",
"ui.sessionReview.largeDiff.meta": "Limit: {{limit}} changed lines. Current: {{current}} changed lines.",
"ui.sessionReview.largeDiff.renderAnyway": "Render anyway",
"ui.sessionReviewV2.expandMode": "Expand or collapse diff",
"ui.sessionReviewV2.filterFiles": "Filter files",
"ui.sessionReviewV2.toggleSidebar": "Toggle file tree",
"ui.sessionReviewV2.showAllLines": "Show all lines",
"ui.sessionReviewV2.hideNonDiffLines": "Hide non-diff lines",
"ui.sessionReviewV2.unifiedDiff": "Unified diff",
"ui.sessionReviewV2.splitDiff": "Split diff",
"ui.sessionReviewV2.previousFile": "Previous file",
"ui.sessionReviewV2.nextFile": "Next file",
"ui.sessionReviewV2.diffView": "Diff view",
"ui.sessionReviewV2.empty.noGit.title": "No tracked changes",
"ui.sessionReviewV2.empty.noGit.description": "Track, review, and undo changes in this project",
"ui.sessionReviewV2.empty.noGit.action": "Create Git repository",
"ui.sessionReviewV2.empty.noGit.actionLoading": "Creating Git repository…",
"ui.sessionReviewV2.empty.changes.title": "No file changes yet",
"ui.sessionReviewV2.empty.changes.description": "Project changes will appear here",
"ui.sessionReview.openFile": "Open file",
"ui.sessionReview.selection.line": "line {{line}}",
"ui.sessionReview.selection.lines": "lines {{start}}-{{end}}",
"ui.fileMedia.kind.image": "image",
"ui.fileMedia.kind.audio": "audio",
"ui.fileMedia.state.removed": "Removed {{kind}} file.",
"ui.fileMedia.state.loading": "Loading {{kind}}…",
"ui.fileMedia.state.error": "Unable to load {{kind}}.",
"ui.fileMedia.state.unavailable": "{{kind}} preview unavailable.",
"ui.fileMedia.binary.title": "Binary file",
"ui.fileMedia.binary.description.path": "{{path}} is binary.",
"ui.fileMedia.binary.description.default": "Binary content",
"ui.lineComment.label.prefix": "Comment on ",
"ui.lineComment.label.suffix": "",
"ui.lineComment.editorLabel.prefix": "Commenting on ",
"ui.lineComment.editorLabel.suffix": "",
"ui.lineComment.placeholder": "Add comment",
"ui.lineComment.contextPlaceholder": "Add context for this change",
"ui.lineComment.submit": "Comment",
"ui.lineComment.cancel": "Cancel",
"ui.commentCard.quote": "Quote",
"ui.commentCard.addComment": "Add comment",
"ui.commentCard.editComment": "Edit comment",
"ui.sessionTurn.steps.show": "Show steps",
"ui.sessionTurn.steps.hide": "Hide steps",
"ui.sessionTurn.summary.response": "Response",
"ui.sessionTurn.diff.showMore": "Show more changes ({{count}})",
"ui.sessionTurn.diffs.changed.one": "{{count}} Changed file",
"ui.sessionTurn.diffs.changed.other": "{{count}} Changed files",
"ui.sessionTurn.diffs.showAll": "Show all",
"ui.sessionTurn.diffs.showLess": "Show less",
"ui.sessionTurn.diffs.more": "+{{count}} more files",
"ui.sessionTurn.diffs.failed": "Diff unavailable",
"ui.sessionTurn.diffs.retry": "Retry",
"ui.sessionTurn.retry.retrying": "retrying",
"ui.sessionTurn.retry.inSeconds": "in {{seconds}}s",
"ui.sessionTurn.retry.attempt": "attempt #{{attempt}}",
"ui.sessionTurn.retry.attemptLine": "{{line}} - attempt #{{attempt}}",
"ui.sessionTurn.retry.attemptLabel": "Attempt {{attempt}}",
"ui.sessionTurn.retry.attemptRetrying": "Attempt {{attempt}} - {{line}}",
"ui.sessionTurn.retry.attemptWaiting.one": "Attempt {{attempt}} - retrying in {{count}}s",
"ui.sessionTurn.retry.attemptWaiting.other": "Attempt {{attempt}} - retrying in {{count}}s",
"ui.sessionTurn.retry.attemptRetryingNow": "Attempt {{attempt}} - retrying",
"ui.sessionTurn.retry.geminiHot": "gemini is way too hot right now",
"ui.sessionTurn.freeLimit.title": "You've used today's free messages.",
"ui.sessionTurn.freeLimit.lineReset": "You've used today's free messages. They reset at {{time}}.",
"ui.sessionTurn.budgetLimit.all":
"Workspace budget reached · paid models paused until {{time}} · free models still work",
"ui.sessionTurn.budgetLimit.allUntilReset":
"Workspace budget reached · paid models paused until it resets · free models still work",
"ui.sessionTurn.budgetLimit.models": "Model budget reached · this model is paused until {{time}}",
"ui.sessionTurn.budgetLimit.modelsUntilReset": "Model budget reached · this model is paused until it resets",
"ui.sessionTurn.budgetLimit.useFreeModel": "Use a free model",
"ui.sessionTurn.budgetLimit.switchModel": "Switch model",
"ui.sessionTurn.goLimit.title": "You've reached your OpenCode Go usage limit.",
"ui.sessionTurn.goLimit.lineReset": "You've reached your OpenCode Go usage limit. It resets at {{time}}.",
"ui.sessionTurn.error.freeUsageExceeded": "Free usage exceeded",
"ui.sessionTurn.error.addCredits": "Add credits",
"dialog.usageExceeded.freeTier.title": "Free limit reached",
"dialog.usageExceeded.freeTier.description":
"Subscribe to OpenCode Go for reliable access to the best open-source models for $10/month.",
"dialog.usageExceeded.freeTier.reset": "Your free messages reset at {{time}}.",
"dialog.usageExceeded.freeTier.actionLabel": "Subscribe",
"ui.sessionTurn.status.delegating": "Delegating work",
"ui.sessionTurn.status.planning": "Planning next steps",
"ui.sessionTurn.status.gatheringContext": "Exploring",
"ui.sessionTurn.status.gatheredContext": "Explored",
"ui.sessionTurn.status.searchingCodebase": "Searching the codebase",
"ui.sessionTurn.status.searchingWeb": "Searching the web",
"ui.sessionTurn.status.makingEdits": "Making edits",
"ui.sessionTurn.status.runningCommands": "Running commands",
"ui.sessionTurn.status.thinking": "Thinking",
"ui.sessionTurn.status.thinkingWithTopic": "Thinking - {{topic}}",
"ui.sessionTurn.status.gatheringThoughts": "Gathering thoughts",
"ui.sessionTurn.status.consideringNextSteps": "Considering next steps",
"ui.messagePart.diagnostic.error": "Error",
"ui.messagePart.title.edit": "Edit",
"ui.messagePart.title.write": "Write",
"ui.messagePart.option.typeOwnAnswer": "Type your own answer",
"ui.messagePart.review.title": "Review your answers",
"ui.messagePart.questions.dismissed": "Questions dismissed",
"ui.messagePart.compaction": "Session compacted",
"ui.messagePart.compaction.started": "Session compaction started",
"ui.messagePart.compaction.queued": "Session compaction queued",
"ui.messagePart.compaction.running": "Compacting",
"ui.messagePart.compaction.done": "Compacted",
"ui.messagePart.compaction.failed": "Session compaction failed",
"ui.messagePart.compaction.cancelled": "Session compaction cancelled",
"ui.messagePart.compaction.interrupted": "Session compaction interrupted",
"ui.messagePart.providerCompaction": "Session compacted by provider",
"ui.messagePart.compaction.usage": "{{input}} in · {{output}} out",
"ui.messagePart.context.updates": "Updates",
"ui.messagePart.context.read.one": "{{count}} read",
"ui.messagePart.context.read.other": "{{count}} reads",
"ui.messagePart.context.search.one": "{{count}} search",
"ui.messagePart.context.search.other": "{{count}} searches",
"ui.messagePart.context.list.one": "{{count}} list",
"ui.messagePart.context.list.other": "{{count}} lists",
"ui.messagePart.context.notice.one": "{{count}} Notice",
"ui.messagePart.context.notice.other": "{{count}} Notices",
"ui.messagePart.context.thought.one": "Thought",
"ui.messagePart.context.thought.other": "Thoughts",
"ui.messagePart.context.match.one": "({{count}} match)",
"ui.messagePart.context.match.other": "({{count}} matches)",
"ui.messagePart.context.matchCount.one": "{{count}} match",
"ui.messagePart.context.matchCount.other": "{{count}} matches",
"ui.messagePart.tools.used.one": "Used {{count}} {{tools}}",
"ui.messagePart.tools.used.other": "Used {{count}} {{tools}}",
"ui.timeline.activity.explored": "Explored",
"ui.timeline.activity.edited": "Edited",
"ui.timeline.activity.ran": "Ran",
"ui.timeline.activity.used": "Used",
"ui.timeline.activity.worked": "Worked {{duration}}",
"ui.timeline.activity.workedUnknown": "Worked",
"ui.timeline.activity.files.one": "{{count}} file",
"ui.timeline.activity.files.other": "{{count}} files",
"ui.timeline.activity.reads.one": "{{count}} read",
"ui.timeline.activity.reads.other": "{{count}} reads",
"ui.timeline.activity.editedFiles.one": "{{count}} edited file",
"ui.timeline.activity.editedFiles.other": "{{count}} edited files",
"ui.timeline.activity.searches.one": "{{count}} search",
"ui.timeline.activity.searches.other": "{{count}} searches",
"ui.timeline.activity.webSearches.one": "{{count}} web search",
"ui.timeline.activity.webSearches.other": "{{count}} web searches",
"ui.timeline.activity.pages.one": "{{count}} page",
"ui.timeline.activity.pages.other": "{{count}} pages",
"ui.timeline.activity.skills.one": "{{count}} skill",
"ui.timeline.activity.skills.other": "{{count}} skills",
"ui.timeline.activity.commands.one": "{{count}} command",
"ui.timeline.activity.commands.other": "{{count}} commands",
"ui.timeline.activity.subagents.one": "{{count}} subagent",
"ui.timeline.activity.subagents.other": "{{count}} subagents",
"ui.timeline.activity.startedShells.one": "started {{count}} shell",
"ui.timeline.activity.startedShells.other": "started {{count}} shells",
"ui.timeline.activity.startedSubagents.one": "started {{count}} subagent",
"ui.timeline.activity.startedSubagents.other": "started {{count}} subagents",
"ui.timeline.activity.finishedShells.one": "finished {{count}} shell",
"ui.timeline.activity.finishedShells.other": "finished {{count}} shells",
"ui.timeline.activity.finishedSubagents.one": "finished {{count}} subagent",
"ui.timeline.activity.finishedSubagents.other": "finished {{count}} subagents",
"ui.timeline.activity.stoppedShells.one": "stopped {{count}} shell",
"ui.timeline.activity.stoppedShells.other": "stopped {{count}} shells",
"ui.timeline.activity.stoppedSubagents.one": "stopped {{count}} subagent",
"ui.timeline.activity.stoppedSubagents.other": "stopped {{count}} subagents",
"ui.timeline.event.started": "Started",
"ui.timeline.event.finished": "Finished",
"ui.timeline.subagent.name": "{{name}} Agent",
"ui.timeline.subagent.updated": "Updated",
"ui.timeline.subagent.completed": "Completed",
"ui.timeline.event.stopped": "Stopped",
"ui.timeline.event.subagents.one": "{{count}} subagent",
"ui.timeline.event.subagents.other": "{{count}} subagents",
"ui.timeline.event.shells.one": "{{count}} shell",
"ui.timeline.event.shells.other": "{{count}} shells",
"ui.timeline.event.failed": "{{count}} failed",
"ui.timeline.event.allFailed": "Failed",
"ui.timeline.notice.agentSwitched": "Switched to {{agent}}",
"ui.timeline.shell.exit": "Exit {{code}}",
"ui.timeline.shell.timedOut": "Timed out",
"ui.timeline.shell.stopped": "Stopped",
"ui.list.loading": "Loading",
"ui.list.empty": "No results",
"ui.list.failed": "Failed to load results",
"ui.list.clearFilter": "Clear filter",
"ui.list.emptyWithFilter.prefix": "No results for",
"ui.list.emptyWithFilter.suffix": "",
"ui.fileSearch.placeholder": "Find",
"ui.fileSearch.previousMatch": "Previous match",
"ui.fileSearch.nextMatch": "Next match",
"ui.fileSearch.close": "Close search",
"ui.messageNav.newMessage": "New message",
"ui.promptInput.noMatchingItems": "No matching items",
"ui.promptInput.commands": "Commands",
"ui.promptInput.history": "Prompt history",
"ui.promptInput.history.search": "Search prompt history…",
"ui.promptInput.history.contextOnly": "Prompt with context",
"ui.promptInput.dropFiles": "Drop files to add",
"ui.promptInput.dropFiles.image": "Drop images or files to add",
"ui.promptInput.dropFiles.pdf": "Drop PDFs or files to add",
"ui.promptInput.dropFiles.imagePdf": "Drop images, PDFs, or files to add",
"ui.promptInput.removeAttachment": "Remove attachment",
"ui.promptInput.cancelUpload": "Cancel upload",
"ui.promptInput.uploading": "{{percent}}%",
"ui.promptInput.label": "Prompt",
"ui.promptInput.placeholder.shell": "Enter shell command…",
"ui.promptInput.placeholder.normal": "Ask anything, {{slash}} for commands, {{at}} for context…",
"ui.promptInput.placeholder.followUp": "Add follow-up, {{slash}} for commands, {{at}} for context…",
"ui.promptInput.add": "Add images and files",
"ui.promptInput.attachments": "Images and files",
"ui.promptInput.context": "Context",
"ui.promptInput.shell": "Shell command",
"ui.promptInput.chooseAgent": "Choose agent",
"ui.promptInput.chooseModel": "Choose model",
"ui.promptInput.chooseVariant": "Choose model variant",
"ui.promptInput.send": "Send",
"ui.promptInput.stop": "Stop",
"ui.promptInput.exitShell": "Exit",
"ui.promptInput.steer": "Steer",
"ui.promptInput.queue": "Queue",
"ui.promptInput.steerHint": "Send without interrupting",
"ui.tabs.close": "Close tab",
"ui.redirectPaste.label": "Redirect URL",
"ui.redirectPaste.placeholder": "http://127.0.0.1:…/callback?code=…",
"ui.redirectPaste.required": "Paste the URL from the browser's address bar",
"ui.textField.copyToClipboard": "Copy to clipboard",
"ui.textField.copyLink": "Copy link",
"ui.textField.copied": "Copied",
"ui.imagePreview.alt": "Image preview",
"ui.imagePreview.zoomIn": "Zoom in",
"ui.imagePreview.zoomOut": "Zoom out",
"ui.imagePreview.zoomToFit": "Zoom to fit",
"ui.diagramPreview.label": "Diagram",
"ui.diagramPreview.open": "Maximize diagram",
"ui.scrollView.ariaLabel": "scrollable content",
"ui.tool.read": "Read",
"ui.tool.loaded": "Loaded",
"ui.tool.loadedFile": "Loaded {{path}}",
"ui.tool.loadedSkill": "Loaded {{name}} skill",
"ui.tool.loadedSkills.one": "Loaded {{name}} skill",
"ui.tool.loadedSkills.other": "Loaded {{name}} skills",
"ui.tool.list": "List",
"ui.tool.glob": "Glob",
"ui.tool.grep": "Grep",
"ui.tool.task": "Task",
"ui.tool.browser": "Browser",
"ui.tool.webfetch": "Webfetch",
"ui.tool.websearch": "Web Search",
"ui.tool.websearch.provider": "{{provider}} Web Search",
"ui.tool.searchWeb": "Search web",
"ui.tool.fetch": "Fetch",
"ui.tool.shell": "Shell",
"ui.tool.shell.writingCommand": "Writing command…",
"ui.tool.shell.exit": "Command exited with code {{code}}",
"ui.tool.shell.timeout": "Command timed out",
"ui.tool.shell.cancelled": "Command cancelled",
"ui.tool.execute": "Execute",
"ui.tool.execute.viewCode": "View code",
"ui.tool.execute.code": "Code",
"ui.tool.execute.output": "Output",
"ui.tool.execute.error": "Error",
"ui.tool.execute.copyCode": "Copy code",
"ui.tool.execute.copyOutput": "Copy output",
"ui.tool.execute.running": "Running",
"ui.tool.execute.completed": "Completed",
"ui.tool.execute.calls.one": "{{count}} call",
"ui.tool.execute.calls.other": "{{count}} calls",
"ui.tool.execute.lines.one": "{{count}} line",
"ui.tool.execute.lines.other": "{{count}} lines",
"ui.tool.patch": "Patch",
"ui.tool.questions": "Questions",
"ui.tool.questions.numbered": "Questions {{number}}",
"ui.tool.agent": "{{type}} Agent",
"ui.tool.agent.default": "Agent",
"ui.tool.agent.delegating": "Delegating agent…",
"ui.tool.skill": "Skill",
"ui.basicTool.called": "Called `{{tool}}`",
"ui.toolErrorCard.failed": "Failed",
"ui.toolErrorCard.copyError": "Copy error",
"ui.common.file.one": "file",
"ui.common.file.other": "files",
"ui.common.fileCount.one": "{{count}} file",
"ui.common.fileCount.other": "{{count}} files",
"ui.common.question.one": "question",
"ui.common.question.other": "questions",
"ui.common.add": "Add",
"ui.common.clear": "Clear",
"ui.common.file": "File",
"ui.common.back": "Back",
"ui.common.cancel": "Cancel",
"ui.common.confirm": "Confirm",
"ui.common.dismiss": "Dismiss",
"ui.common.close": "Close",
"ui.common.next": "Next",
"ui.common.continue": "Continue",
"ui.common.submit": "Submit",
"ui.common.showMore": "Show more",
"ui.common.showLess": "Show less",
"ui.common.moreCount.one": "+{{count}} more",
"ui.common.moreCount.other": "+{{count}} more",
"ui.permission.deny": "Deny",
"ui.permission.allowAlways": "Allow always",
"ui.permission.allowOnce": "Allow once",
"ui.message.expand": "Expand message",
"ui.message.collapse": "Collapse message",
"ui.message.readMore": "Read more",
"ui.message.showLess": "Show less",
"ui.message.copy": "Copy",
"ui.message.copyMessage": "Copy message",
"ui.message.copyFullMessage": "Copy full message",
"ui.message.forkMessage": "Fork from here",
"ui.message.revertMessage": "Revert to here",
"ui.message.undoMessage": "Undo",
"ui.message.moreActions": "More actions",
"ui.message.moveToQueue": "Move to queue",
"ui.message.pending": "Pending",
"ui.message.voice": "Voice",
"ui.message.deletePending": "Delete",
"ui.message.copyResponse": "Copy response",
"ui.message.copyOutput": "Copy output",
"ui.message.copied": "Copied",
"ui.message.thought": "Thought",
"ui.message.duration.seconds": "{{count}}s",
"ui.message.duration.minutesSeconds": "{{minutes}}m {{seconds}}s",
"ui.message.duration.hoursMinutes": "{{hours}}h {{minutes}}m",
"ui.message.tokensPerSecond": "{{value}} tok/s",
"ui.message.interrupted": "Interrupted",
"ui.message.modelVariant": "{{model}} ({{variant}})",
"ui.message.time.justNow": "Just now",
"ui.message.time.minutesAgo": "{{count}}m ago",
"ui.message.time.hoursAgo": "{{count}}h ago",
"ui.message.time.daysAgo": "{{count}}d ago",
"ui.sources.count.one": "{{count}} source",
"ui.sources.count.other": "{{count}} sources",
"ui.sources.none": "No sources",
"ui.sources.title": "Sources",
"ui.sources.searched": "Searched web",
"ui.sources.searchFailed": "Search failed",
"ui.sources.noResults": "No results",
"ui.sources.opened": "Opened page",
"ui.sources.openFailed": "Couldn’t open page",
"ui.sessionTimeline.notice.model": "Model",
"ui.sessionTimeline.notice.modelSwitched": "Switched to {{model}}",
"ui.sessionTimeline.notice.variantSwitched": "Switched variant to {{variant}}",
"ui.sessionTimeline.notice.variantDefault": "Switched variant to Default",
"ui.sessionTimeline.notice.agentChanged": "Agent changed",
"ui.sessionTimeline.notice.movedTo": "Moved to",
"ui.sessionTimeline.notice.movedTooltip": "Session working directory changed",
"ui.sessionTimeline.notice.failed": "{{actor}} failed",
"ui.sessionTimeline.notice.cancelled": "{{actor}} cancelled",
"ui.sessionTimeline.notice.finished": "{{actor}} finished",
"ui.sessionTimeline.notice.instructionsUpdated": "Instructions updated",
"ui.sessionTimeline.notice.restart": "Continuing after restart",
"ui.message.queued": "Queued",
"ui.message.attachment.alt": "attachment",
"ui.patch.action.deleted": "Deleted",
"ui.patch.action.created": "Created",
"ui.patch.action.moved": "Moved",
"ui.patch.action.patched": "Patched",
"ui.question.subtitle.answered": "{{count}} answered",
"ui.question.answer.none": "(no answer)",
"ui.question.review.notAnswered": "(not answered)",
"ui.question.multiHint": "Pick any",
"ui.question.singleHint": "Select one answer",
"ui.question.classic.multiHint": "Select all answers that apply",
"ui.question.custom.placeholder": "Type your answer…",
"ui.question.custom.answerPlaceholder": "Type your own answer…",
} satisfies Record<string, string>
export type Key = keyof typeof source
export type PluralCategory = "zero" | "one" | "two" | "few" | "many" | "other"
export type PluralKey = {
[Entry in Key]: Entry extends `${infer Base}.other` ? (`${Base}.one` extends Key ? Base : never) : never
}[Key]
export type PluralLookupKey = `${PluralKey}.${PluralCategory}`
export type LocaleKey = Key | PluralLookupKey
export const dict: typeof source & Record<string, string> = source