-
Notifications
You must be signed in to change notification settings - Fork 827
Expand file tree
/
Copy pathen.json
More file actions
1076 lines (1076 loc) · 47.5 KB
/
Copy pathen.json
File metadata and controls
1076 lines (1076 loc) · 47.5 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
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"common": {
"appName": "open-codesign",
"send": "Send",
"cancel": "Cancel",
"retry": "Retry",
"save": "Save",
"close": "Close",
"dismissNotification": "Dismiss notification",
"settings": "Settings",
"advanced": "Advanced",
"about": "About",
"learnMore": "Learn more",
"copy": "Copy",
"copied": "Copied",
"comingSoon": "Coming soon",
"loading": "Loading…",
"preAlpha": "pre-alpha",
"tagline": "BYOK · local-first · multi-model",
"done": "Done.",
"applied": "Applied.",
"working": "Working"
},
"toast": {
"error": {
"report": "Report"
}
},
"loading": {
"stage": {
"sending": "Connecting…",
"thinking": "Thinking…",
"streaming": "Generating…",
"parsing": "Finalizing…",
"rendering": "Rendering preview…",
"done": "Done"
},
"tokens": "{{count}} tokens"
},
"canvas": {
"filesTab": "Files",
"filesTabEmpty": "No files yet",
"openInTab": "Open in tab",
"previewHint": "Thumbnail preview · double-click the file or use Open in tab for full view",
"tabsAriaLabel": "Open files",
"closeTab": "Close {{name}}",
"files": {
"sectionTitle": "Design files",
"sectionSubtitle": "{{count}} files",
"empty": "No files yet. Send a prompt to have the agent generate a design — files will show up here."
},
"rail": {
"title": "Files",
"collapse": "Collapse files",
"expand": "Expand files",
"empty": "No files yet"
}
},
"preview": {
"empty": {
"title": "Design with AI",
"body": "Pick a starter on the left, or describe what you want to design. The result renders here in a sandboxed preview.",
"starterChip": "Try a starter prompt:"
},
"loading": {
"title": "Generating your design…"
},
"error": {
"title": "Generation failed",
"body": "Something went wrong while generating your design.",
"copyError": "Copy error details",
"brokenJsx": "This design has a syntax error, likely an incomplete early save. Regenerate or edit to fix.",
"undefinedRef": "The design references an undefined variable or component. Likely a mid-run abort — try regenerating."
},
"ready": "Preview",
"noDesign": "No design yet",
"clickToComment": "Click any element in the preview to leave an inline comment.",
"commentMode": "Comment mode",
"commentModeHint": "Click any element to comment",
"runtimeError": "Preview runtime error",
"dismissErrors": "Dismiss preview errors",
"zoom": "Zoom"
},
"tweaks": {
"title": "Tweaks",
"openLabel": "Open tweaks panel",
"close": "Close",
"reset": "Reset to defaults",
"pickColor": "Pick color",
"swatchAria": "{{key}} color",
"emptyTitle": "No tweakable tokens",
"emptyHint": "The agent hasn't declared an EDITMODE block yet. Future generations will expose design tokens here."
},
"chat": {
"placeholder": "Describe what to design…",
"sendShortcut": "Send (Enter)",
"emptyHint": "Start with a starter prompt or your own idea.",
"sendAction": "send",
"sendAnywhere": "anywhere",
"send": "Send prompt",
"stop": "Stop generation",
"expand": "Expand prompt",
"collapse": "Collapse prompt",
"placeholderRich": "Describe a design… try 'Pitch deck for a fintech startup'"
},
"sidebar": {
"localContext": "Local context",
"attachLocalFiles": "Attach local files",
"linkDesignSystemRepo": "Link design system repo",
"refreshDesignSystemRepo": "Refresh design system repo",
"referenceUrl": "Reference URL",
"attachedFiles": "Attached files",
"removeFile": "Remove {{name}}",
"activeDesignSystem": "Active design system",
"clear": "Clear",
"designSystemHint": "Link a repo to extract colors, typography, spacing, and other styling cues for future generations.",
"startHint": "Start with a brief, then add files, a URL, or a local repo to ground the result.",
"empty": {
"title": "What should we design?",
"subtitle": "Describe your idea below — or start from one of these.",
"eyebrow": "Try"
},
"ariaLabel": "Chat pane",
"noDesign": "No design",
"newChat": "New chat",
"collapse": "Collapse sidebar",
"expand": "Expand sidebar",
"chat": {
"youLabel": "You",
"claudeLabel": "Claude",
"noModel": "No model selected",
"addMenu": {
"trigger": "Add context"
},
"thinking": "Thinking",
"streamingLabel": "Assistant is typing",
"tokensLine": "~{{count}} tokens",
"artifactDelivered": "delivered",
"artifactDefaultLabel": "design.html",
"tool": {
"done": "Done"
},
"working": {
"title": "Working"
}
},
"comments": {
"title": "Comment mode",
"body": "Inline comments on the canvas arrive in v0.2.1. You'll be able to click any element in the preview to leave a note or an edit instruction."
}
},
"settings": {
"title": "Settings",
"tabs": {
"models": "Models",
"appearance": "Appearance",
"storage": "Storage",
"diagnostics": "Diagnostics",
"advanced": "Advanced"
},
"shell": {
"back": "Workspace",
"backAria": "Back to workspace"
},
"common": {
"loading": "Loading…",
"cancel": "Cancel",
"copy": "Copy",
"copied": "Copied!",
"open": "Open",
"unknownError": "Unknown error"
},
"providers": {
"sectionTitle": "API Providers",
"chatgptLogin": {
"title": "Sign in with ChatGPT subscription",
"description": "Use your ChatGPT Plus / Pro / Team plan quota to call Codex models (gpt-5.3-codex and friends) — no API key needed.",
"signIn": "Sign in with ChatGPT",
"inProgress": "Browser opened. Complete the authorization and we'll return automatically…",
"loggedInBadge": "Signed in with ChatGPT",
"logout": "Sign out",
"confirmLogout": "Sign out of ChatGPT subscription?",
"loginFailedTitle": "ChatGPT sign-in failed",
"logoutFailedTitle": "ChatGPT sign-out failed",
"statusFailedTitle": "ChatGPT status check failed",
"unknownError": "Unknown error"
},
"addProvider": "Add provider",
"addCustom": "Add custom",
"empty": "No providers configured yet. Add one to start generating.",
"active": "Active",
"decryptionFailed": "Decryption failed",
"setActive": "Set active",
"reEnterKey": "Re-enter key",
"missingKey": "Missing key",
"addKey": "Add key",
"confirm": "Confirm",
"delete": "Delete",
"edit": "Edit",
"testConnection": "Test connection",
"moreActions": "More actions",
"editModel": "Change model",
"deleteAria": "Delete {{label}} provider",
"primary": "Primary",
"fast": "Fast",
"custom": {
"title": "Add custom endpoint",
"editTitle": "Edit provider",
"wire": "Wire protocol",
"wires": {
"openai-chat": "OpenAI Chat",
"openai-responses": "OpenAI Responses",
"anthropic": "Anthropic Messages"
},
"name": "Label",
"baseUrl": "Base URL",
"apiKey": "API Key",
"apiKeyEditPlaceholder": "Leave empty to keep {{mask}}",
"defaultModel": "Default model",
"switchToManual": "Enter manually",
"switchToDropdown": "Pick from list",
"test": "Test connection",
"testOk": "OK — {{count}} models available",
"save": "Save & continue",
"saveEdit": "Save changes"
},
"import": {
"action": "Import",
"dismiss": "Dismiss",
"codexFound": "Codex config detected — import {{count}} providers?",
"claudeCodeOAuthTitle": "Claude Code subscription detected",
"claudeCodeOAuthBody": "Your Pro/Max subscription can only be used through the Claude Code client itself. Third-party apps can't reuse the subscription quota. Generate an API key at Anthropic Console (same account, billed per token) to use Claude here.",
"claudeCodeOAuthCtaConsole": "Get API key from Anthropic Console ↗",
"claudeCodeHasKeyBody": "Found a key in {{source}} for the gateway at {{baseUrl}} — click Import to use it here.",
"claudeCodeHasKeySourceSettings": "~/.claude/settings.json",
"claudeCodeHasKeySourceEnv": "shell env",
"claudeCodeLocalProxyBody": "Looks like a local proxy at {{baseUrl}}. This is the typical setup for reusing an OAuth subscription through a tool like Claude Code Proxy.",
"claudeCodeLocalProxyAction": "Paste key to use proxy",
"claudeCodeRemoteGatewayBody": "Gateway at {{baseUrl}} has no API key in your Claude Code config. Import the gateway, then paste a key in Settings.",
"claudeCodeRemoteGatewayAction": "Paste key to use gateway",
"oauthErrorToast": "Claude Code subscription can't be shared with third-party apps. Generate an API key at Anthropic Console.",
"oauthErrorToastCta": "Get API key ↗",
"codexDone": "Codex providers imported",
"geminiFound": "Gemini CLI key detected — import?",
"geminiNoKey": "Gemini CLI config found, but no API key in ~/.gemini/.env or ~/.env. Paste a key manually to use Gemini here.",
"geminiBlocked": "Google Vertex AI projects aren't supported yet — paste a Gemini Developer API key (starts with AIzaSy…) to use Gemini here.",
"geminiDone": "Gemini provider imported",
"opencodeBlocked": "OpenCode config detected but nothing is importable. Check the warning above, fix auth.json, and try again.",
"opencodeFound": "OpenCode detected — import {{count}} providers ({{providers}})?",
"opencodeDone": "OpenCode providers imported",
"claudeCodeImportedActivated": "Claude Code imported and set as the active model provider",
"claudeCodeOpenSettings": "Open Settings",
"claudeCodeIHaveKey": "I have an API key — paste it",
"claudeCodeShellEnvHint": "Or: export ANTHROPIC_API_KEY in your shell and relaunch from Terminal — we'll pick it up automatically.",
"claudeCodeParseErrorTitle": "Claude Code config is malformed",
"claudeCodeParseErrorBody": "~/.claude/settings.json couldn't be parsed: {{reason}}.",
"claudeCodeParseErrorReasonNotObject": "the top-level value is not a JSON object",
"claudeCodeWarningsMore": "+{{count}} more",
"claudeCodeParseErrorCopyPath": "Copy file path",
"claudeCodeParseErrorPathCopied": "Path copied to clipboard",
"claudeCodeAnthropicPresetName": "Anthropic",
"claudeCodeLocalProxyPresetName": "Claude Code Proxy (local)",
"claudeCodeRemoteGatewayPresetName": "Claude Code Gateway",
"failed": "Import failed",
"codexMenu": "Import from Codex",
"codexMenuDesc": "Read ~/.codex/config.toml",
"claudeCodeMenu": "Import from Claude Code",
"claudeCodeMenuDesc": "Read the signed-in Claude Code session",
"ollamaMenu": "Ollama (local)",
"ollamaMenuDesc": "Add the local localhost:11434 provider",
"ollamaDone": "Ollama provider added",
"customMenu": "Custom provider",
"customMenuDesc": "Enter API key and URL manually",
"alreadyImported": "Already imported"
},
"modal": {
"title": "Add provider",
"provider": "Provider",
"apiKey": "API Key",
"getKey": "Get key ↗",
"apiKeyPlaceholder": "sk-...",
"validate": "Validate",
"validating": "Validating…",
"valid": "Valid",
"baseUrl": "Base URL",
"baseUrlOptional": "(optional)",
"baseUrlPlaceholder": "https://your-proxy.example.com",
"primaryModel": "Primary model",
"fastModel": "Fast model",
"save": "Save provider"
},
"toast": {
"loadFailed": "Failed to load providers",
"removed": "Provider removed",
"deleteFailed": "Delete failed",
"activateFailed": "Cannot activate provider",
"missingModel": "Provider has no default model — add one first.",
"switchedTo": "Switched to {{label}}",
"switchFailed": "Switch failed",
"saved": "Provider saved",
"saveFailed": "Failed to save provider",
"modelSaveFailed": "Failed to save model selection",
"reasoningSaved": "Reasoning depth saved",
"reasoningSaveFailed": "Failed to save reasoning depth",
"connectionOk": "Connection OK",
"connectionFailed": "Connection failed"
},
"cliProxyApi": {
"presetName": "CLIProxyAPI",
"presetDescription": "Local proxy that wraps Claude/Codex/Gemini OAuth subscriptions",
"apiKeyOptional": "API key only required if you configured `api-keys` in CPA config.yaml",
"thinkingHint": "Tip: append `(high)` / `(xhigh)` / `(8192)` to model name to control thinking budget",
"discoveringModels": "Discovering models...",
"discoveredModels": "Found {{count}} models",
"discoveryFailed": "Could not connect to CPA"
},
"reasoning": {
"label": "Reasoning depth",
"default": "Default (auto)",
"minimal": "Minimal",
"low": "Low",
"medium": "Medium",
"high": "High",
"xhigh": "Extra high"
}
},
"appearance": {
"themeTitle": "Theme",
"themeHint": "Choice persists across restarts.",
"lightLabel": "Light",
"lightDesc": "Warm beige, soft shadows",
"darkLabel": "Dark",
"darkDesc": "Deep neutral, low glare",
"languageLabel": "Language",
"languageHint": "Language changes take effect immediately.",
"languageLoadFailed": "Failed to load language",
"langEn": "English",
"langZhCN": "中文 (简体)",
"langPtBR": "Português (BR)"
},
"language": {
"label": "Language",
"system": "System default"
},
"theme": {
"label": "Theme",
"light": "Light",
"dark": "Dark",
"system": "System"
},
"storage": {
"pathsTitle": "Paths",
"config": "Config",
"logs": "Logs",
"data": "Data directory",
"change": "Change",
"restartHint": "Choose where open-codesign stores config, logs, and local design data. Changes are saved permanently and take effect after restarting the app.",
"locationSavedToast": "Storage location saved. Restart the app to apply it.",
"locationSaveFailed": "Could not save storage location",
"onboardingTitle": "Onboarding",
"onboardingHint": "Clear the setup flag so the onboarding wizard runs again on next launch.",
"resetConfirm": "This will remove your saved keys. Continue?",
"reset": "Reset",
"resetButton": "Reset onboarding",
"pathsLoadFailed": "Failed to load app paths",
"openFolderFailed": "Could not open folder",
"onboardingResetToast": "Onboarding reset. Restart the app to re-run setup.",
"diagnosticsTitle": "Diagnostics",
"diagnosticsHint": "Open the log folder to inspect logs, or export a redacted bundle for bug reports.",
"openLogFolder": "Open log folder",
"exportDiagnostics": "Export diagnostics",
"diagnosticsExported": "Exported to {{path}}",
"diagnosticsExportFailed": "Could not export diagnostics"
},
"diagnostics": {
"title": "Diagnostics",
"description": "Review recent errors. Report a bug with full context attached.",
"openLogFolder": "Open log folder",
"exportBundle": "Export diagnostic bundle",
"showTransient": "Show retried-then-succeeded errors",
"empty": "No diagnostic events recorded yet.",
"dbUnavailable": "Diagnostic storage unavailable. Errors are still logged to main.log but won't appear here until the app restarts. Check disk space and permissions.",
"inMemoryFallback": "Showing in-memory records — DB unavailable, these will not persist across restart.",
"report": "Report",
"column": {
"time": "Time",
"code": "Code",
"scope": "Scope",
"runId": "Run id",
"message": "Message"
}
},
"advanced": {
"updateChannel": "Update channel",
"updateChannelHint": "Stable: tested releases. Beta: early access (may have bugs).",
"stable": "Stable",
"beta": "Beta",
"checkForUpdatesOnStartup": "Check for updates on startup",
"checkForUpdatesOnStartupHint": "Automatically check for a new release 30 seconds after launch.",
"timeout": "Generation timeout",
"timeoutHint": "Seconds before a generation request is aborted.",
"timeoutSeconds": "{{value}} s",
"devtools": "Developer tools",
"devtoolsHint": "Open the Chromium DevTools panel for the renderer.",
"toggleDevtools": "Toggle DevTools",
"prefsLoadFailed": "Failed to load preferences",
"prefsSaveFailed": "Failed to save preference",
"devtoolsFailed": "Could not toggle DevTools"
}
},
"updates": {
"bannerAvailable": "{{appName}} {{version}} is available.",
"bannerViewRelease": "View release",
"bannerDismissAria": "Dismiss update banner"
},
"onboarding": {
"stepperLabel": "Step {{current}} of {{total}}",
"welcome": {
"title": "Design with any model.",
"subtitle": "Pick how you want to power your designs. You can change this later in Settings.",
"tryFree": "Try free now",
"tryFreeSubtitle": "OpenRouter free tier - paste an OpenRouter key, then start with openrouter/free or type any model ID.",
"useKey": "Use my API key",
"useKeySubtitle": "Anthropic, OpenAI, or OpenRouter. Auto-detected from the key prefix.",
"useOllama": "Use local model (Ollama)",
"useOllamaSubtitle": "Runs 100% locally with zero API cost. Needs Ollama installed and running.",
"useOllamaDetected": "Ollama detected — {{count}} models available locally.",
"useOllamaNotRunning": "Ollama not detected at localhost:11434. Install or start it, then retry.",
"useOllamaProbing": "Checking for a local Ollama instance...",
"useOllamaRetry": "Retry probe",
"useOllamaInstall": "Install Ollama ↗",
"whereToGetKey": "Where to get a key"
},
"paste": {
"title": "Paste your API key",
"description": "Auto-detects your provider. Click Test to verify the key and endpoint before continuing. Your key is stored locally in ~/.config/open-codesign/config.toml (file mode 0600).",
"placeholder": "sk-…",
"recognized": "Detected provider: {{provider}}",
"connected_one": "Connected {{count}} model",
"connected_other": "Connected {{count}} models",
"howToGet": "How to get a key",
"getKey": "Get key",
"statusIdle": "Paste a key above — provider is auto-detected from the prefix.",
"statusDetecting": "Detecting provider...",
"statusValidating": "Recognized: {{provider}} — validating...",
"statusDetected": "Recognized: {{provider}} — click Test to verify",
"statusOk": "Recognized: {{provider}} — Connected ({{count}} models)",
"errors": {
"401": "API key invalid or unauthorized. Check it in your provider dashboard.",
"402": "Your account has no credit. Top up and retry.",
"429": "Rate limited. Wait a moment and try again.",
"network": "Cannot reach base URL. Check domain/port/network.",
"unsupported": "Unrecognized key prefix. Supported: sk-ant- (Anthropic), sk- (OpenAI), sk-or- (OpenRouter).",
"notSupportedProvider": "{{provider}} is not supported in v0.1. Use Anthropic, OpenAI, or OpenRouter.",
"rendererDisconnected": "Renderer is not connected to the main process.",
"detectIpc": "Provider detection failed (main process unreachable): {{message}}. Restart the app and try again.",
"detectNetwork": "Provider detection failed (network error): {{message}}. Check your connection and try again."
},
"advanced": {
"toggle": "Advanced — custom base URL (proxy / relay)",
"title": "Advanced — custom base URL",
"description": "Override the default endpoint for your provider. Useful for relay services and self-hosted proxies. Leave empty to use the official endpoint."
},
"preset": {
"label": "Preset",
"placeholder": "-- choose a preset --",
"hint": "Not sure which to pick? Choose OpenAI Official for the official endpoint, or pick by relay name.",
"custom": "Custom"
},
"apiKey": {
"label": "API key"
},
"baseUrl": {
"label": "Base URL"
},
"connectionTest": {
"button": "Test",
"testing": "Testing...",
"ok": "Connected",
"okVerified": "Connected — key and endpoint verified",
"idleHint": "Run Test to verify your key and connection before continuing.",
"runFirst": "Run Test to verify your connection first",
"errors": {
"401": "API key invalid or unauthorized.",
"404": "Base URL path wrong. Try adding /v1 suffix (e.g. https://your-host/v1).",
"ECONNREFUSED": "Cannot reach base URL. Check domain/port/network.",
"NETWORK": "Network error. Check your connection.",
"PARSE": "Unexpected response. View logs at ~/Library/Logs/open-codesign/main.log",
"IPC_BAD_INPUT": "Invalid input sent to connection test. Check provider / API key / base URL fields."
}
},
"back": "Back",
"continue": "Continue"
},
"choose": {
"title": "Pick default models",
"description": "Start with a recommendation or enter any provider-specific model ID. You can switch these per design later.",
"primary": "Primary design model",
"fast": "Fast completion model",
"primaryHint": "Used for full design generation.",
"fastHint": "Used for quick edits and inline tweaks.",
"primaryHintFree": "Free path starts on openrouter/free, but you can enter any OpenRouter model ID.",
"fastHintFree": "Keep openrouter/free for lowest cost, or replace it with a faster custom choice.",
"customBaseUrl": "Custom base URL: {{url}}",
"costNote": "Estimated cost varies by provider, chosen model, and prompt length.",
"costNoteFree": "OpenRouter free routing availability can change. If a free route is unavailable, type another model ID here.",
"estimatedCost": "Estimated cost: {{amount}}",
"back": "Back",
"saving": "Saving...",
"finish": "Finish"
}
},
"topbar": {
"modelSwitcher": {
"fromProvider": "Provider",
"searchPlaceholder": "Search models…",
"searchAriaLabel": "Filter models by name",
"clearSearch": "Clear search",
"noMatches": "No models match \"{{query}}\""
},
"status": {
"connected": "Connected",
"untested": "Not tested",
"error": "Connection error",
"noProvider": "No provider configured",
"lastTested": "Last tested {{time}}",
"tooltip": {
"click": "Click to re-test"
}
},
"openMyDesigns": "All designs",
"hubLabel": "My designs",
"settingsLabel": "Settings",
"closeSettings": "Close settings",
"unreadErrors": "{{count}} unread error"
},
"theme": {
"toggleAria": "Toggle theme",
"switchToLight": "Switch to light",
"switchToDark": "Switch to dark"
},
"export": {
"button": "Export",
"items": {
"html": {
"label": "HTML",
"hint": "Single self-contained .html file"
},
"pdf": {
"label": "PDF",
"hint": "Rendered via your installed Chrome"
},
"pptx": {
"label": "PPTX",
"hint": "Editable slides; one per <section>"
},
"zip": {
"label": "ZIP bundle",
"hint": "index.html + assets + README.md"
},
"markdown": {
"label": "Markdown",
"hint": "Plain .md with YAML frontmatter"
}
}
},
"notifications": {
"designSystemLinked": "Design system linked",
"designSystemScanFailed": "Design system scan failed",
"designSystemCleared": "Design system cleared",
"clearDesignSystemFailed": "Unable to clear design system",
"generationFailed": "Generation failed",
"cancellationFailed": "Cancellation failed",
"inlineCommentFailed": "Inline comment failed",
"commentNeedsSnapshot": "Generate a design first before leaving a comment",
"commentCreateFailed": "Could not save the comment",
"commentUpdateFailed": "Could not update the comment",
"commentDeleteFailed": "Could not delete the comment",
"noDesignToExport": "No design to export yet.",
"exportedTo": "Exported to {{path}}"
},
"inlineComment": {
"title": "Comment on",
"closeComposer": "Close inline comment composer",
"description": "Clicked elements stay selected in the canvas. Describe the visual or content change you want, and open-codesign will rewrite the artifact around that target.",
"placeholder": "Make this section more compact, sharpen the headline, and align it with the linked design system…",
"applying": "Applying…",
"applyChange": "Apply change"
},
"commentBubble": {
"title": "Comment on",
"close": "Close comment bubble",
"placeholder": "Describe the change, or leave a note for yourself…",
"saveNote": "Comment",
"sendToClaude": "Send to Claude",
"saving": "Saving…",
"sending": "Sending…",
"scope": {
"legend": "Scope of this comment",
"element": "This element only",
"global": "Whole design"
}
},
"pinOverlay": {
"note": "Note {{n}}",
"edit": "Edit {{n}}"
},
"commentChip": {
"dismiss": "Dismiss pending edit",
"empty": "No pending edits",
"apply": "Apply ({{count}})",
"applyAll": "Apply all pending edits"
},
"commentsTab": {
"empty": "Click any element in the preview while comment mode is on to leave a note or an edit instruction.",
"pendingEdits": "Pending edits",
"notes": "Notes",
"appliedEdits": "Applied edits",
"delete": "Delete comment",
"atSnapshot": "@ snapshot {{n}}"
},
"comments": {
"panel": {
"title": "Comments",
"close": "Close comments panel",
"empty": "No comments yet. Click any element on the canvas to leave one.",
"delete": "Delete comment",
"untitled": "(no text)",
"status": {
"pending": "Pending",
"applied": "Applied"
},
"scope": {
"element": "Element",
"global": "Global",
"tooltip": "Whether the change is scoped to this element or the whole design"
}
},
"quickActions": {
"label": "Quick actions",
"spacing": {
"more": "+ Spacing",
"less": "− Spacing"
},
"contrast": {
"more": "+ Contrast",
"less": "− Contrast"
},
"font": {
"bigger": "+ Font",
"smaller": "− Font"
},
"radius": {
"more": "+ Radius",
"less": "− Radius"
},
"text": {
"spacing-more": "increase spacing on this element",
"spacing-less": "tighten spacing on this element",
"contrast-more": "increase color contrast",
"contrast-less": "soften the color contrast",
"font-bigger": "increase font size on this element",
"font-smaller": "decrease font size on this element",
"radius-more": "make corners more rounded",
"radius-less": "make corners sharper"
}
}
},
"disabledReason": {
"typePromptToSend": "Type a prompt to start",
"generatingInProgress": "Generation in progress",
"typeDraftToApply": "Type a comment to apply",
"noDesignToExport": "Generate a design first",
"enterApiKeyToValidate": "Enter an API key to validate",
"validateKeyFirst": "Validate the key first",
"enterKeyToTest": "Paste an API key to test the connection",
"detectingProvider": "Detecting provider — please wait",
"unsupportedKeyForTest": "Unsupported key format — can't test this key",
"providerDetectIpcForTest": "Provider detection failed (IPC) — can't test this key",
"providerDetectNetworkForTest": "Provider detection failed (network) — can't test this key",
"testingConnection": "Testing connection…",
"validateKeyToContinue": "Validate your API key to continue",
"savingInProgress": "Saving in progress",
"enterBothModels": "Both model fields are required",
"ollamaComingSoon": "Ollama integration is coming in v0.2"
},
"errorBoundary": {
"scopeFallback": "this view",
"crashedSuffix": "{{scope}} crashed",
"body": "The rest of the app is still running. Reload this view, or copy the stack to file a bug.",
"noStack": "(no stack)",
"copyStack": "Copy stack",
"reportOnGitHub": "Report on GitHub",
"reportViaDiagnostics": "Report via Diagnostics",
"reload": "Reload"
},
"errors": {
"generic": "Something went wrong.",
"providerAuthMissing": "No API key configured. Open Settings to add one.",
"providerError": "Provider error: {{message}}",
"ipcBadInput": "Invalid input passed to the main process.",
"exporterNotReady": "Exporter is still loading. Try again in a moment.",
"rendererDisconnected": "Renderer is not connected to the main process.",
"onboardingIncomplete": "Onboarding is not complete.",
"providerMissingKey": "The active provider \"{{provider}}\" has no API key. Open Settings to add one.",
"modelListFailed": "Could not load model list.",
"unknown": "Unknown error",
"localePersistFailed": "Failed to save language preference"
},
"projects": {
"untitled": "Untitled design",
"untitledNumbered": "Untitled design {{n}}",
"duplicateNameTemplate": "{{name}} copy",
"switcher": {
"currentLabel": "Current design",
"menuLabel": "Switch design",
"newDesign": "New design",
"renameCurrent": "Rename",
"viewAll": "View all designs…",
"recent": "Recent",
"noOthers": "No other designs yet"
},
"view": {
"title": "Designs",
"subtitle": "All your saved designs. Switch, rename, duplicate, or delete.",
"newDesign": "New design",
"search": "Search designs",
"empty": "No designs yet — create your first one to get started.",
"noMatches": "No designs match \"{{query}}\".",
"open": "Open",
"rename": "Rename",
"duplicate": "Duplicate",
"delete": "Delete",
"edited": "Edited {{when}}",
"snapshotCount_one": "{{count}} version",
"snapshotCount_other": "{{count}} versions",
"close": "Close designs view"
},
"rename": {
"title": "Rename design",
"label": "Design name",
"placeholder": "e.g. Landing page hero",
"save": "Save",
"cancel": "Cancel"
},
"delete": {
"title": "Delete this design?",
"body": "\"{{name}}\" and all of its history will be removed from the designs list. This cannot be undone in v0.",
"confirm": "Delete design",
"cancel": "Keep it"
},
"time": {
"justNow": "just now",
"minutesAgo_one": "{{count}} minute ago",
"minutesAgo_other": "{{count}} minutes ago",
"hoursAgo_one": "{{count}} hour ago",
"hoursAgo_other": "{{count}} hours ago",
"yesterday": "yesterday",
"daysAgo_one": "{{count}} day ago",
"daysAgo_other": "{{count}} days ago"
},
"notifications": {
"createFailed": "Could not create a new design",
"switchFailed": "Could not switch design",
"switchBlockedGenerating": "Wait for generation to finish before switching",
"busyGenerating": "Wait for the current generation to finish, then try again",
"renameFailed": "Could not rename the design",
"duplicated": "Duplicated as \"{{name}}\"",
"duplicateFailed": "Could not duplicate the design",
"deleted": "Design moved out of the active list",
"deleteFailed": "Could not delete the design",
"deleteBlockedGenerating": "Wait for generation to finish before deleting",
"saveFailed": "Could not save the latest changes",
"snapshotSkipped": "Incomplete output kept unsaved",
"snapshotSkippedBody": "The agent's JSX is truncated (missing ReactDOM.createRoot or unbalanced braces). Previous good version preserved. Send the prompt again to retry.",
"loadFailed": "Could not load your designs"
}
},
"diagnostics": {
"title": "Connection failed",
"status": "Status: {{status}}",
"attempted": "What we tried: {{url}}",
"mostLikelyCause": "Most likely cause:",
"cause": {
"keyInvalid": "API key invalid or revoked.",
"balanceEmpty": "Account balance is empty.",
"missingV1": "Base URL path is likely missing the /v1 suffix.",
"rateLimit": "Rate limit exceeded.",
"hostUnreachable": "Cannot reach host — check domain, port, or VPN.",
"timedOut": "Request timed out — check firewall or VPN.",
"corsError": "CORS error (should not happen in main process). This is a bug.",
"sslError": "SSL / certificate error (self-signed cert on relay?).",
"unknown": "Unknown error — check the full log for details."
},
"fix": {
"updateKey": "Update key",
"addCredits": "Add credits →",
"addCreditsGeneric": "Check your provider's billing page",
"addV1": "Add /v1",
"waitAndRetry": "Wait and retry",
"checkNetwork": "Check network / VPN",
"checkVpn": "Check VPN / firewall",
"reportBug": "Report this bug",
"disableTls": "Disable TLS verify"
},
"applyFix": "Apply this fix",
"setBaseUrlFirst": "Set a Base URL first",
"testAgain": "Test again",
"showLog": "Show full log",
"showLogFailed": "Failed to open logs folder",
"dismiss": "Dismiss",
"report": {
"title": "Report a bug",
"notes": "Steps to reproduce (optional)",
"include": {
"prompt": "Include prompt text",
"paths": "Include file paths",
"urls": "Include URLs",
"timeline": "Include 60 s action timeline",
"promptHint": "Includes the text of prompts you submitted during the session.",
"pathsHint": "Includes local file paths (can reveal your username / directory structure).",
"urlsHint": "Includes reference URLs you pasted.",
"timelineHint": "60-second activity log — actions only, no content."
},
"disclaimer": "Nothing is uploaded automatically. The diagnostic bundle is saved to your Downloads folder; attach it to the GitHub issue manually.",
"openIssue": "Open issue",
"copySummary": "Copy summary",
"cancel": "Cancel",
"copied": "Copied to clipboard",
"generating": "Creating bundle…",
"close": "Close",
"scope": "Scope",
"runId": "Run id",
"fingerprint": "Fingerprint",
"message": "Message",
"recentlyReported": "You reported this {{relative}} as issue #{{issueNumber}}.",
"recentlyReportedNoNumber": "You reported this {{relative}}.",
"viewPrevious": "View previous issue",
"continueAnyway": "Continue anyway",
"confirmOpenAnyway": "Yes, open anyway ({{seconds}}s)",
"error": {
"notesTooLong": "Notes exceed the 2000-character limit.",
"generic": "Couldn't open the issue. Check the log folder for details."
},
"bundleSavedTitle": "Bundle saved",
"bundleSavedDescription": "Saved to",
"revealBundle": "Show in folder",
"openFailedTitle": "Couldn't open the browser",
"openFailedCopyHint": "Copy the issue URL and open it manually.",
"copyIssueUrl": "Copy URL",
"clipboardFailedTitle": "Couldn't copy to clipboard",
"clipboardFailedHint": "The bundle is on disk — open it manually and paste the summary there.",
"preview": {
"code": "Code",
"scope": "Scope",
"runId": "Run id",
"fingerprint": "Fingerprint",
"message": "Message",
"upstream": "Upstream context",
"upstreamProvider": "Provider",
"upstreamStatus": "Status",
"upstreamRequestId": "Request id",
"upstreamRetry": "Retry",
"upstreamBodyHead": "Body head"
}
}
},
"demos": {
"meditationApp": {
"title": "Calm Spaces meditation app",
"description": "Mobile prototype with phone frame, soft palette, interactive nav.",
"prompt": "Design a mobile app prototype for a meditation app called Calm Spaces. Show a phone frame containing a home screen with a meditation list, play button, and progress tracker. Use serene typography, soft greens and blues, and lots of white space."
},
"caseStudy": {
"title": "Client case study one-pager",
"description": "Dark theme one-page PDF-ready layout with hero metrics.",
"prompt": "Create a one-page client case study. The client increased qualified leads 40% using our platform. Include before/after metrics, a CEO quote, and a logo placeholder. Clean, minimal, dark theme."
},
"pitchDeck": {
"title": "B2B SaaS pitch deck",
"description": "8-12 slides for a healthcare-targeted SaaS pitch.",
"prompt": "Design a pitch deck for a B2B SaaS company targeting mid-market healthcare. 8 to 10 slides covering problem, market, product, traction, team, and ask."
},
"marketingLanding": {
"title": "Marketing landing page",
"description": "Hero + features + CTA, tunable accent color.",
"prompt": "Design a modern marketing landing page for an AI productivity tool. Include a hero section, three feature cards, social proof, and a call to action. Use a warm neutral palette."
}
},
"examples": {
"tab": "Examples",
"title": "Examples",
"subtitle": "Hand-picked starting points. Hover to preview, then drop the prompt into the composer.",
"empty": "No examples match your filter.",
"useThisPrompt": "Use this prompt",
"categories": {
"all": "All",
"animation": "Animation",
"ui": "UI",
"marketing": "Marketing",
"document": "Document",
"dashboard": "Dashboard",
"presentation": "Presentation",
"email": "Email",
"mobile": "Mobile"
},
"thumbnailAlt": "{{title}} preview",
"promptUsedToast": "Prompt loaded — edit and send when ready."
},
"emptyState": {
"heading": "What would you like to design?",
"subline": "Describe your idea in the chat, or pick a template to get started.",
"tryThese": "Quick starts",
"starters": {
"landing": "Startup landing page",
"pitch": "Pitch deck slides",
"mobile": "Mobile onboarding",
"dashboard": "Analytics dashboard",
"email": "Welcome email",
"portfolio": "Photo portfolio",
"casestudy": "Case study page",
"animation": "CSS animation showcase"
},
"starterDesc": {
"landing": "Hero + feature cards + social proof + CTA",
"pitch": "Title + problem + solution, 16:9 slides",
"mobile": "3-screen flow inside a phone frame",
"dashboard": "Line chart + bars + table, dark theme",
"email": "600px single-column with onboarding steps",
"portfolio": "Masonry grid + filters + hover overlays",
"casestudy": "Key metrics + quote + implementation steps",
"animation": "Pure CSS/SVG animations, 60fps smooth"
}
},
"starterPrompts": {
"landing": "Build a landing page for an AI startup. Hero with a strong tagline, 3 feature cards, social proof section, CTA. Editorial typography, generous whitespace.",
"pitch": "Generate the first 3 slides of a pitch deck for a fintech startup: title slide, problem, solution. 16:9 format, navy palette, one orange accent.",
"mobile": "Design a 3-screen mobile app onboarding flow inside a phone frame: welcome, permissions, first action. Soft mint palette.",
"dashboard": "Build an analytics dashboard with: MRR trend line chart, pipeline stacked bars, top accounts table, and forecast gauge. Dark theme, teal + amber accents, plausible mock data.",
"email": "Design a transactional welcome email for a SaaS product. Single column, 600px wide, table-based. Logo header, greeting, 3 onboarding steps, CTA button, footer.",
"portfolio": "Design a photographer portfolio with masonry image grid using CSS gradient placeholders. Dark background, category filter pills, hover overlay with title and camera settings.",
"casestudy": "Create a one-page customer case study for a B2B fintech. Hero with client name, three large metrics with deltas, a CFO pull quote, a three-step 'How we did it' section, and a logo strip. Dark theme, serif headings, monospace numerals.",
"animation": "Build a showcase page with six organic CSS loading animations. Each in its own card: blob morph, leaf sway, ink drop, breathing circle, soft pulse, ribbon weave. Warm cream background, muted pastels, pure CSS/SVG only."
},
"hub": {
"newDesign": "New design",
"newDesignCardTitle": "Start a new design",
"newDesignCardSub": "Blank canvas · AI generated",
"backToHub": "All designs",
"tabs": {
"recent": "Recent",
"your": "Your designs",
"examples": "Examples",
"designSystems": "Design systems"
},
"recent": {
"title": "Recent",
"empty": "Nothing here yet — start a new design to see it pinned at the top."
},
"your": {
"title": "Your designs",
"empty": "No designs saved yet. Click \"New design\" to create your first one.",
"openAria": "Open {{name}}"
},
"examples": {
"title": "Examples",
"comingSoon": "A curated gallery of starter prompts is on the way."
},
"designSystems": {
"title": "Design systems",
"comingSoon": "Reusable brand systems and templates are on the way."
},
"card": {
"type": {
"prototype": "Prototype",
"slideDeck": "Slide deck",
"template": "From template",
"other": "Other"
},
"createdAt": "Created {{date}}",
"moreActions": "More actions for {{name}}",
"rename": "Rename",
"delete": "Delete"
}
},
"create": {
"title": "Start a new design",
"subtitle": "Pick a type so we can tailor the first prompt.",
"close": "Close",
"types": {
"prototype": "Prototype",
"slideDeck": "Slide deck",
"template": "From template",
"other": "Other"
},
"typeDescriptions": {
"prototype": "Interactive UI mockups with a phone or browser frame.",
"slideDeck": "A multi-slide deck for talks, pitches, or summaries.",
"template": "Start from one of the bundled starter prompts.",
"other": "A blank canvas — describe anything else you have in mind."