@widgetic/creator 0.4.43 → 0.4.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CreatorApp.svelte +88 -37
- package/dist/CreatorApp.svelte.d.ts +1 -0
- package/dist/components/WidgetDetails.svelte +18 -4
- package/dist/creator-types.d.ts +5 -0
- package/dist/errors/toUserFriendlyError.d.ts +44 -0
- package/dist/errors/toUserFriendlyError.js +236 -0
- package/dist/i18n/language.d.ts +77 -119
- package/dist/i18n/messages.d.ts +9 -0
- package/dist/i18n/messages.js +9 -0
- package/dist/i18n/statusText.d.ts +8 -3
- package/dist/i18n/statusText.js +48 -12
- package/dist/pageHelpers.d.ts +9 -3
- package/dist/pageHelpers.js +37 -15
- package/package.json +11 -11
package/dist/i18n/language.d.ts
CHANGED
|
@@ -435,6 +435,15 @@ export declare const CREATOR_CATALOGS: {
|
|
|
435
435
|
readonly 'creator.error.anUnknownErrorOccurred': "An unknown error occurred.";
|
|
436
436
|
readonly 'creator.error.couldNotReachTheServer': "Could not reach the server. Try again.";
|
|
437
437
|
readonly 'creator.error.buildFailed': "Build failed.";
|
|
438
|
+
readonly 'creator.error.codeGenerationUnavailable': "Code generation is not available right now. Please try again later.";
|
|
439
|
+
readonly 'creator.error.featureUnavailable': "This feature is not available right now. Please try again later.";
|
|
440
|
+
readonly 'creator.error.requestTimedOut': "This took too long. Please try again.";
|
|
441
|
+
readonly 'creator.error.permissionDenied': "You don't have permission to do that.";
|
|
442
|
+
readonly 'creator.error.invalidRequest': "Something was wrong with the request. Please check your input and try again.";
|
|
443
|
+
readonly 'creator.error.serverError': "Something went wrong on our side. Please try again in a moment.";
|
|
444
|
+
readonly 'creator.error.somethingWentWrong': "Something went wrong. Please try again.";
|
|
445
|
+
readonly 'creator.error.canvasNotFound': "We couldn't find this sketch. It may have been deleted.";
|
|
446
|
+
readonly 'creator.error.resourceNotFound': "We couldn't find that. It may have been deleted.";
|
|
438
447
|
readonly 'creator.details.fixThePromptOrAttachments': "Fix the prompt or attachments, then retry.";
|
|
439
448
|
readonly 'creator.details.codeGenerationWillStartShortly': "Code generation will start shortly.";
|
|
440
449
|
readonly 'creator.details.saveWillExecuteShortly': "Save will execute shortly.";
|
|
@@ -557,7 +566,7 @@ export declare const CREATOR_CATALOGS: {
|
|
|
557
566
|
readonly 'creator.elementSelector.done': "done";
|
|
558
567
|
readonly 'creator.elementSelector.notePlaceholder': "Note for this part";
|
|
559
568
|
};
|
|
560
|
-
readonly editor:
|
|
569
|
+
readonly editor: Readonly<Record<string, string>>;
|
|
561
570
|
readonly chat: {
|
|
562
571
|
readonly 'chat.contextType.frame': "frame";
|
|
563
572
|
readonly 'chat.contextType.text': "text";
|
|
@@ -571,27 +580,37 @@ export declare const CREATOR_CATALOGS: {
|
|
|
571
580
|
readonly 'chat.header.untitled': "Untitled";
|
|
572
581
|
readonly 'chat.header.newConversationTitle': "New conversation";
|
|
573
582
|
readonly 'chat.header.newConversation': "Start new conversation";
|
|
583
|
+
readonly 'chat.header.console': "Console";
|
|
574
584
|
readonly 'chat.header.close': "Close chat";
|
|
575
585
|
readonly 'chat.contextPreview.expand': "Expand {name} chat context";
|
|
576
586
|
readonly 'chat.conversation.defaultTitle': "Chat about {name}";
|
|
577
|
-
readonly 'chat.messages.
|
|
578
|
-
readonly 'chat.messages.
|
|
587
|
+
readonly 'chat.messages.emptyTitle': "What do you want to build?";
|
|
588
|
+
readonly 'chat.messages.emptyHint': "Sketch it on the canvas, or describe it here.";
|
|
579
589
|
readonly 'chat.messages.loadingHistory': "Loading chat history...";
|
|
580
590
|
readonly 'chat.messages.thinking': "Assistant is thinking";
|
|
581
|
-
readonly 'chat.
|
|
582
|
-
readonly 'chat.
|
|
591
|
+
readonly 'chat.generation.thinking': "Thinking";
|
|
592
|
+
readonly 'chat.generation.writingCode': "Writing code";
|
|
593
|
+
readonly 'chat.generation.thoughtFor': "Thought for {seconds} s";
|
|
594
|
+
readonly 'chat.generation.expandThought': "Show thinking";
|
|
595
|
+
readonly 'chat.generation.collapseThought': "Hide thinking";
|
|
596
|
+
readonly 'chat.generation.statusThinking': "Assistant is thinking";
|
|
597
|
+
readonly 'chat.generation.statusWritingCode': "Assistant is writing code";
|
|
598
|
+
readonly 'chat.plan.title': "Build plan";
|
|
599
|
+
readonly 'chat.plan.progress': "{current} of {total}";
|
|
600
|
+
readonly 'chat.plan.showMoreTasks': "Show {count} more tasks";
|
|
601
|
+
readonly 'chat.plan.showFewerTasks': "Show fewer tasks";
|
|
602
|
+
readonly 'chat.plan.regionLabel': "Widget build plan";
|
|
583
603
|
readonly 'chat.messages.attachmentMissingTitle': "Attachment not available";
|
|
584
604
|
readonly 'chat.messages.attachmentMissingLabel': "Missing file attachment";
|
|
585
|
-
readonly 'chat.messages.attachmentMissingCaption': "Attachment not saved. Re-attach with Upload, then
|
|
586
|
-
readonly 'chat.messages.retry': "Retry";
|
|
587
|
-
readonly 'chat.messages.retryPromptTitle': "Run this prompt again as its own message. The sketch stays with the model, not on the bubble.";
|
|
588
|
-
readonly 'chat.messages.retryLastTitle': "Retry the last user prompt (same generation request)";
|
|
605
|
+
readonly 'chat.messages.attachmentMissingCaption': "Attachment not saved. Re-attach with Upload, then send it again.";
|
|
589
606
|
readonly 'chat.messages.upgrade': "Upgrade";
|
|
590
607
|
readonly 'chat.messages.upgradeTitle': "Open plans and billing";
|
|
591
608
|
readonly 'chat.messages.commitId': "(commit id: {id})";
|
|
592
609
|
readonly 'chat.messages.restore': "Restore Checkpoint";
|
|
593
|
-
readonly 'chat.messages.
|
|
594
|
-
readonly 'chat.messages.
|
|
610
|
+
readonly 'chat.messages.actions': "Message actions";
|
|
611
|
+
readonly 'chat.messages.copy': "Copy";
|
|
612
|
+
readonly 'chat.messages.copied': "Copied";
|
|
613
|
+
readonly 'chat.messages.regenerate': "Regenerate";
|
|
595
614
|
readonly 'chat.messages.rateGroup': "Rate this version";
|
|
596
615
|
readonly 'chat.messages.rateUp': "This version is good";
|
|
597
616
|
readonly 'chat.messages.rateDown': "This version is not good";
|
|
@@ -633,6 +652,13 @@ export declare const CREATOR_CATALOGS: {
|
|
|
633
652
|
readonly 'chat.input.stop': "Stop generation";
|
|
634
653
|
readonly 'chat.input.sending': "Sending message...";
|
|
635
654
|
readonly 'chat.input.send': "Send message";
|
|
655
|
+
readonly 'chat.input.tooLong': "Message is too long";
|
|
656
|
+
readonly 'chat.composer.assistant': "Assistant";
|
|
657
|
+
readonly 'chat.messages.scrollToBottom': "Scroll to latest messages";
|
|
658
|
+
readonly 'chat.messages.clarificationPrompt': "Which option fits best?";
|
|
659
|
+
readonly 'chat.checkpoint.version': "Version {n}";
|
|
660
|
+
readonly 'chat.checkpoint.redo': "Redo";
|
|
661
|
+
readonly 'chat.checkpoint.restored': "Restored to version {n}";
|
|
636
662
|
readonly 'chat.actions.screenshot': "Screenshot";
|
|
637
663
|
readonly 'chat.actions.screenshotTitle': "Take Screenshot";
|
|
638
664
|
readonly 'chat.actions.screenshotLabel': "Take screenshot of current content";
|
|
@@ -704,48 +730,42 @@ export declare const CREATOR_CATALOGS: {
|
|
|
704
730
|
readonly canvas: {
|
|
705
731
|
readonly 'canvas.state.loading': "Loading canvas\u2026";
|
|
706
732
|
readonly 'canvas.state.initFailed': "Canvas failed to initialize.";
|
|
707
|
-
readonly 'canvas.
|
|
708
|
-
readonly 'canvas.
|
|
733
|
+
readonly 'canvas.state.boardLabel': "Canvas board";
|
|
734
|
+
readonly 'canvas.state.unsupported': "This canvas was made with an older version and cannot be opened. It stays as it is until you add something new.";
|
|
735
|
+
readonly 'canvas.state.invalid': "This canvas could not be read. It stays as it is until you add something new.";
|
|
736
|
+
readonly 'canvas.state.dismiss': "Dismiss";
|
|
737
|
+
readonly 'canvas.hint.title': "Start with a sketch";
|
|
709
738
|
readonly 'canvas.defaults.textBox': "Type here";
|
|
710
|
-
readonly 'canvas.defaults.frameLabel': "Frame";
|
|
711
|
-
readonly 'canvas.defaults.untitledFrame': "Untitled Frame";
|
|
712
739
|
readonly 'canvas.defaults.untitledShape': "Untitled Shape";
|
|
713
|
-
readonly 'canvas.draw.dropImage': "Drop image";
|
|
714
|
-
readonly 'canvas.draw.dropVideo': "Drop video";
|
|
715
|
-
readonly 'canvas.draw.or': "or";
|
|
716
|
-
readonly 'canvas.draw.doubleClick': "double click";
|
|
717
740
|
readonly 'canvas.draw.widgetName': "Widget";
|
|
718
741
|
readonly 'canvas.draw.widgetPreview': "Widget preview";
|
|
742
|
+
readonly 'canvas.toolbar.label': "Canvas tools";
|
|
719
743
|
readonly 'canvas.tool.select': "Select";
|
|
720
744
|
readonly 'canvas.tool.hand': "Hand / Pan";
|
|
721
745
|
readonly 'canvas.tool.erase': "Erase";
|
|
722
746
|
readonly 'canvas.tool.draw': "Draw";
|
|
723
747
|
readonly 'canvas.tool.arrow': "Arrow";
|
|
724
748
|
readonly 'canvas.tool.rectangle': "Rectangle";
|
|
749
|
+
readonly 'canvas.tool.roundedRectangle': "Rounded rectangle";
|
|
725
750
|
readonly 'canvas.tool.triangle': "Triangle";
|
|
726
751
|
readonly 'canvas.tool.ellipse': "Ellipse";
|
|
727
752
|
readonly 'canvas.tool.circle': "Circle";
|
|
728
|
-
readonly 'canvas.tool.frame': "Frame";
|
|
729
753
|
readonly 'canvas.tool.text': "Text";
|
|
754
|
+
readonly 'canvas.tool.selector': "Selector";
|
|
730
755
|
readonly 'canvas.tool.image': "Image";
|
|
731
|
-
readonly 'canvas.tool.
|
|
756
|
+
readonly 'canvas.tool.svg': "SVG";
|
|
732
757
|
readonly 'canvas.tool.shapes': "Shapes";
|
|
733
|
-
readonly 'canvas.tool.moreShapes': "More
|
|
758
|
+
readonly 'canvas.tool.moreShapes': "More shapes";
|
|
734
759
|
readonly 'canvas.tool.undo': "Undo";
|
|
735
760
|
readonly 'canvas.tool.redo': "Redo";
|
|
736
|
-
readonly 'canvas.
|
|
737
|
-
readonly 'canvas.tool.undoTitle': "Undo (Ctrl+Z)";
|
|
738
|
-
readonly 'canvas.tool.redoTitle': "Redo (Ctrl+Shift+Z)";
|
|
739
|
-
readonly 'canvas.tool.stickyOn': "Tool Lock: ON \u2014 drawing tool stays active";
|
|
740
|
-
readonly 'canvas.tool.stickyOff': "Tool Lock: OFF \u2014 reverts to Select after placing";
|
|
741
|
-
readonly 'canvas.tool.stickyLabel': "Toggle sticky tool mode";
|
|
742
|
-
readonly 'canvas.menu.mediaShapes': "Media Shapes";
|
|
761
|
+
readonly 'canvas.menu.media': "Media";
|
|
743
762
|
readonly 'canvas.category.geometric': "Geometric Shapes";
|
|
744
763
|
readonly 'canvas.category.arrows': "Arrow Shapes";
|
|
745
764
|
readonly 'canvas.category.media': "Media Icons";
|
|
746
765
|
readonly 'canvas.category.ui': "UI Icons";
|
|
747
766
|
readonly 'canvas.category.symbols': "Symbol Shapes";
|
|
748
767
|
readonly 'canvas.shape.hexagon': "Hexagon";
|
|
768
|
+
readonly 'canvas.shape.pentagon': "Pentagon";
|
|
749
769
|
readonly 'canvas.shape.oval': "Oval";
|
|
750
770
|
readonly 'canvas.shape.play': "Play";
|
|
751
771
|
readonly 'canvas.shape.pause': "Pause";
|
|
@@ -779,20 +799,13 @@ export declare const CREATOR_CATALOGS: {
|
|
|
779
799
|
readonly 'canvas.action.group': "Group";
|
|
780
800
|
readonly 'canvas.action.ungroup': "Ungroup";
|
|
781
801
|
readonly 'canvas.action.selectAll': "Select All";
|
|
782
|
-
readonly 'canvas.action.clearAll': "Clear All";
|
|
783
802
|
readonly 'canvas.layer.title': "Layer Order";
|
|
784
803
|
readonly 'canvas.layer.front': "Bring to Front";
|
|
785
804
|
readonly 'canvas.layer.forward': "Bring Forward";
|
|
786
805
|
readonly 'canvas.layer.backward': "Send Backward";
|
|
787
806
|
readonly 'canvas.layer.back': "Send to Back";
|
|
788
|
-
readonly 'canvas.layer.frontShort': "Front";
|
|
789
|
-
readonly 'canvas.layer.upShort': "Up";
|
|
790
|
-
readonly 'canvas.layer.downShort': "Down";
|
|
791
|
-
readonly 'canvas.layer.backShort': "Back";
|
|
792
807
|
readonly 'canvas.shortcuts.title': "Keyboard Shortcuts";
|
|
793
808
|
readonly 'canvas.shortcuts.close': "Close keyboard shortcuts";
|
|
794
|
-
readonly 'canvas.shortcuts.footer': "Press {key} {hint} or click {icon} in the zoom panel to toggle";
|
|
795
|
-
readonly 'canvas.shortcuts.footerHint': "(Shift + /)";
|
|
796
809
|
readonly 'canvas.shortcuts.groupTools': "Tools";
|
|
797
810
|
readonly 'canvas.shortcuts.groupSelection': "Selection";
|
|
798
811
|
readonly 'canvas.shortcuts.groupHistory': "History";
|
|
@@ -807,8 +820,7 @@ export declare const CREATOR_CATALOGS: {
|
|
|
807
820
|
readonly 'canvas.shortcuts.pan': "Pan canvas";
|
|
808
821
|
readonly 'canvas.shortcuts.move1': "Move selected (1px)";
|
|
809
822
|
readonly 'canvas.shortcuts.move10': "Move selected (10px)";
|
|
810
|
-
readonly 'canvas.
|
|
811
|
-
readonly 'canvas.shortcuts.frameEdit': "Enter / exit frame edit";
|
|
823
|
+
readonly 'canvas.key.ctrl': "Ctrl";
|
|
812
824
|
readonly 'canvas.key.ctrlCmd': "Ctrl/Cmd";
|
|
813
825
|
readonly 'canvas.key.alt': "Alt";
|
|
814
826
|
readonly 'canvas.key.shift': "Shift";
|
|
@@ -816,95 +828,41 @@ export declare const CREATOR_CATALOGS: {
|
|
|
816
828
|
readonly 'canvas.key.space': "Space";
|
|
817
829
|
readonly 'canvas.key.click': "Click";
|
|
818
830
|
readonly 'canvas.key.drag': "Drag";
|
|
819
|
-
readonly 'canvas.
|
|
820
|
-
readonly 'canvas.key.doubleClick': "Double-click";
|
|
821
|
-
readonly 'canvas.zoom.expandTitle': "Zoom {percent}% \u2014 click to expand";
|
|
822
|
-
readonly 'canvas.zoom.expandLabel': "Expand zoom controls";
|
|
823
|
-
readonly 'canvas.zoom.gridTitle': "Toggle Grid [G]";
|
|
824
|
-
readonly 'canvas.zoom.gridLabel': "Toggle grid";
|
|
825
|
-
readonly 'canvas.zoom.panTitle': "Hand / Pan [H]";
|
|
826
|
-
readonly 'canvas.zoom.panLabel': "Hand / pan tool";
|
|
827
|
-
readonly 'canvas.zoom.outTitle': "Zoom Out [Ctrl/Cmd] + [\u2212]";
|
|
831
|
+
readonly 'canvas.zoom.groupLabel': "Zoom";
|
|
828
832
|
readonly 'canvas.zoom.outLabel': "Zoom out";
|
|
829
|
-
readonly 'canvas.zoom.inTitle': "Zoom In [Ctrl/Cmd] + [+]";
|
|
830
833
|
readonly 'canvas.zoom.inLabel': "Zoom in";
|
|
831
|
-
readonly 'canvas.zoom.resetTitle': "Reset zoom to 100% [Ctrl/Cmd] + [0]";
|
|
832
834
|
readonly 'canvas.zoom.resetLabel': "Reset zoom to 100%";
|
|
833
|
-
readonly 'canvas.zoom.levelLabel': "Zoom level (percent)";
|
|
834
|
-
readonly 'canvas.zoom.oneToOneTitle': "Reset Zoom 100% [Ctrl/Cmd] + [0]";
|
|
835
|
-
readonly 'canvas.zoom.fitTitle': "Fit Content to View [Ctrl/Cmd] + [9]";
|
|
836
835
|
readonly 'canvas.zoom.fitLabel': "Fit content to view";
|
|
837
|
-
readonly 'canvas.zoom.
|
|
838
|
-
readonly 'canvas.zoom.
|
|
839
|
-
readonly 'canvas.
|
|
840
|
-
readonly 'canvas.
|
|
841
|
-
readonly 'canvas.
|
|
842
|
-
readonly 'canvas.
|
|
843
|
-
readonly 'canvas.
|
|
844
|
-
readonly 'canvas.
|
|
845
|
-
readonly 'canvas.
|
|
846
|
-
readonly 'canvas.
|
|
847
|
-
readonly 'canvas.
|
|
848
|
-
readonly 'canvas.
|
|
849
|
-
readonly 'canvas.
|
|
850
|
-
readonly 'canvas.
|
|
851
|
-
readonly 'canvas.
|
|
852
|
-
readonly 'canvas.
|
|
853
|
-
readonly 'canvas.
|
|
854
|
-
readonly 'canvas.
|
|
855
|
-
readonly 'canvas.
|
|
856
|
-
readonly 'canvas.
|
|
857
|
-
readonly 'canvas.
|
|
858
|
-
readonly 'canvas.
|
|
859
|
-
readonly 'canvas.
|
|
860
|
-
readonly 'canvas.
|
|
861
|
-
readonly 'canvas.props.textBackground': "Text Background";
|
|
836
|
+
readonly 'canvas.zoom.unsavedTitle': "Unsaved changes \u2014 click to save";
|
|
837
|
+
readonly 'canvas.zoom.savedTitle': "All changes saved";
|
|
838
|
+
readonly 'canvas.panel.label': "Selection properties";
|
|
839
|
+
readonly 'canvas.panel.close': "Close panel";
|
|
840
|
+
readonly 'canvas.panel.open': "Open selection properties";
|
|
841
|
+
readonly 'canvas.panel.actions': "Actions";
|
|
842
|
+
readonly 'canvas.panel.fill': "Fill";
|
|
843
|
+
readonly 'canvas.panel.stroke': "Stroke";
|
|
844
|
+
readonly 'canvas.panel.strokeWidth': "Stroke width";
|
|
845
|
+
readonly 'canvas.panel.roundness': "Roundness";
|
|
846
|
+
readonly 'canvas.panel.opacity': "Opacity";
|
|
847
|
+
readonly 'canvas.panel.fontSize': "Font size";
|
|
848
|
+
readonly 'canvas.panel.decrease': "Decrease";
|
|
849
|
+
readonly 'canvas.panel.increase': "Increase";
|
|
850
|
+
readonly 'canvas.panel.mixed': "Mixed";
|
|
851
|
+
readonly 'canvas.panel.none': "None";
|
|
852
|
+
readonly 'canvas.panel.noColor': "No color";
|
|
853
|
+
readonly 'canvas.panel.pickColor': "Pick a color";
|
|
854
|
+
readonly 'canvas.panel.hex': "Hex color";
|
|
855
|
+
readonly 'canvas.colorPicker.area': "Saturation and brightness";
|
|
856
|
+
readonly 'canvas.colorPicker.areaValue': "Saturation {s}%, brightness {v}%";
|
|
857
|
+
readonly 'canvas.colorPicker.hue': "Hue";
|
|
858
|
+
readonly 'canvas.colorPicker.add': "Add";
|
|
859
|
+
readonly 'canvas.colorPicker.swatch': "Use {hex}";
|
|
862
860
|
readonly 'canvas.type.none': "None";
|
|
863
861
|
readonly 'canvas.type.widget': "Widget";
|
|
864
862
|
readonly 'canvas.type.drawing': "Drawing";
|
|
865
|
-
readonly 'canvas.type.line': "Line";
|
|
866
863
|
readonly 'canvas.type.group': "Group";
|
|
867
864
|
readonly 'canvas.type.selection': "Selection";
|
|
868
865
|
readonly 'canvas.type.drawingOf': "{name} (Drawing)";
|
|
869
|
-
readonly 'canvas.type.customShape': "Custom Shape (Drawing)";
|
|
870
|
-
readonly 'canvas.field.opacity': "Opacity";
|
|
871
|
-
readonly 'canvas.field.cornerRoundness': "Corner Roundness";
|
|
872
|
-
readonly 'canvas.field.backgroundColor': "Background Color";
|
|
873
|
-
readonly 'canvas.field.backgroundOpacity': "Background Opacity";
|
|
874
|
-
readonly 'canvas.field.fillColor': "Fill Color";
|
|
875
|
-
readonly 'canvas.field.fillOpacity': "Fill Opacity";
|
|
876
|
-
readonly 'canvas.field.strokeColor': "Stroke Color";
|
|
877
|
-
readonly 'canvas.field.strokeWidth': "Stroke Width";
|
|
878
|
-
readonly 'canvas.field.strokeType': "Stroke Type";
|
|
879
|
-
readonly 'canvas.field.strokeSolid': "Solid";
|
|
880
|
-
readonly 'canvas.field.strokeDashed': "Dashed";
|
|
881
|
-
readonly 'canvas.field.strokeDotted': "Dotted";
|
|
882
|
-
readonly 'canvas.field.fontSize': "Font Size";
|
|
883
|
-
readonly 'canvas.field.textPadding': "Text Padding";
|
|
884
|
-
readonly 'canvas.field.textColor': "Text Color";
|
|
885
|
-
readonly 'canvas.field.textStrokeColor': "Text Stroke Color";
|
|
886
|
-
readonly 'canvas.field.textStrokeWidth': "Text Stroke Width";
|
|
887
|
-
readonly 'canvas.field.groupFillColor': "Group Fill Color";
|
|
888
|
-
readonly 'canvas.field.groupFillOpacity': "Group Fill Opacity";
|
|
889
|
-
readonly 'canvas.field.groupStrokeColor': "Group Stroke Color";
|
|
890
|
-
readonly 'canvas.field.groupStrokeWidth': "Group Stroke Width";
|
|
891
|
-
readonly 'canvas.field.groupStrokeType': "Group Stroke Type";
|
|
892
|
-
readonly 'canvas.arrange.title': "Align";
|
|
893
|
-
readonly 'canvas.arrange.left': "Align Left";
|
|
894
|
-
readonly 'canvas.arrange.centerH': "Align Center (horizontal)";
|
|
895
|
-
readonly 'canvas.arrange.right': "Align Right";
|
|
896
|
-
readonly 'canvas.arrange.top': "Align Top";
|
|
897
|
-
readonly 'canvas.arrange.middleV': "Align Middle (vertical)";
|
|
898
|
-
readonly 'canvas.arrange.bottom': "Align Bottom";
|
|
899
|
-
readonly 'canvas.image.source': "IMAGE SOURCE";
|
|
900
|
-
readonly 'canvas.image.file': "File:";
|
|
901
|
-
readonly 'canvas.image.noFile': "No file selected";
|
|
902
|
-
readonly 'canvas.image.changeFile': "Change File";
|
|
903
|
-
readonly 'canvas.image.chooseFile': "Choose File";
|
|
904
|
-
readonly 'canvas.image.url': "URL:";
|
|
905
|
-
readonly 'canvas.image.pasteUrl': "Paste URL...";
|
|
906
|
-
readonly 'canvas.image.newUrl': "New URL...";
|
|
907
|
-
readonly 'canvas.image.load': "Load";
|
|
908
866
|
readonly 'canvas.widget.createPreview': "Create Preview";
|
|
909
867
|
readonly 'canvas.widget.capture': "Capture";
|
|
910
868
|
readonly 'canvas.widget.linked': "Widget Linked";
|
|
@@ -927,7 +885,7 @@ export declare const CREATOR_CATALOGS: {
|
|
|
927
885
|
readonly 'canvas.control.value': "Value";
|
|
928
886
|
readonly 'canvas.control.openPicker': "Open color picker";
|
|
929
887
|
readonly 'canvas.control.removeColor': "Remove color";
|
|
930
|
-
readonly 'canvas.control.fontFamily': "Font
|
|
888
|
+
readonly 'canvas.control.fontFamily': "Font family";
|
|
931
889
|
readonly 'canvas.control.textStyle': "Text Style";
|
|
932
890
|
readonly 'canvas.control.bold': "Bold";
|
|
933
891
|
readonly 'canvas.control.boldMark': "B";
|
|
@@ -965,4 +923,4 @@ export declare const useCreatorLanguage: () => import("@widgetic/design-system/i
|
|
|
965
923
|
* The English `t` of the creator, for code that has no component around it. The screens of the creator get their words, in
|
|
966
924
|
* the page's language, from `useCreatorLanguage`.
|
|
967
925
|
*/
|
|
968
|
-
export declare const translateEnglish: import("@widgetic/design-system/i18n").Translate<"creator.common.close" | "creator.common.new" | "creator.common.doubleClickToRename" | "creator.common.thisAppNeedsARefresh" | "creator.common.reload" | "creator.common.publish" | "creator.common.switchVersion" | "creator.common.live" | "creator.common.setLive" | "creator.common.retry" | "creator.common.delete" | "creator.common.draft" | "creator.common.loading" | "creator.general.unknownError" | "creator.general.couldNotLoadUploadedImage" | "creator.general.tryUploadingTheImageAgain" | "creator.general.uploadFailed" | "creator.general.couldNotUpdateConversationStatus" | "creator.general.changeUndone" | "creator.general.failedToLoadEditorSettings" | "creator.general.setTo" | "creator.general.failedToUpdate" | "creator.general.failedToSaveDimensions" | "creator.general.nothingToSave" | "creator.general.serviceTemporarilyUnavailable" | "creator.general.retryingWhenTheApiIs" | "creator.general.invalidFileType" | "creator.general.pleaseSelectAnImageFile" | "creator.general.imageTooLarge" | "creator.general.maximumImageSizeIsMb" | "creator.general.tooManyImages" | "creator.general.maximumImagesAllowedRemoveAn" | "creator.general.failedToProcessImage" | "creator.general.couldNotReadTheImage" | "creator.general.imagePasted" | "creator.general.screenshotCaptureFailed" | "creator.general.missingOperationId" | "creator.general.switchToThatPanelTo" | "creator.general.limitReached" | "creator.general.rateLimited" | "creator.general.theApiRateLimitWas" | "creator.general.liveV" | "creator.general.anUnexpectedErrorOccurredPlease" | "creator.general.latestCommitIsAlreadyLive" | "creator.general.theServerRefusedTheRename" | "creator.general.checkYourConnectionAndTry" | "creator.general.unableToReachTheApi" | "creator.general.pleaseWaitForTheCurrent" | "creator.general.created" | "creator.general.saveBlocked" | "creator.general.keptALocalCopyCheck" | "creator.general.apiClientUnavailable" | "creator.general.screenshotCouldNotBeCaptured" | "creator.general.fixTheSelectionZoomOut" | "creator.general.checkConsoleForDetails" | "creator.general.retryLoad" | "creator.general.dismiss" | "creator.general.saving" | "creator.general.saved" | "creator.general.saveError" | "creator.general.loadingHistory" | "creator.general.upgrade" | "creator.general.fixInCreate" | "creator.general.save" | "creator.general.cancel" | "creator.general.noEditableSettingsAvailableYet" | "creator.general.dimensions" | "creator.general.w" | "creator.general.h" | "creator.general.px" | "creator.general.copy" | "creator.general.testPage" | "creator.general.zoomedReference" | "creator.general.keepInDatabase" | "creator.general.deleteFromDatabase" | "creator.general.checkingWhatWillBeDeleted" | "creator.general.describeWhatYouWant" | "creator.session.endedStartAgain" | "creator.session.canvasCannotOpen" | "creator.session.sessionEnded" | "creator.session.sessionExpiredSignInAgain" | "creator.session.sessionExpired" | "creator.session.authenticationExpired" | "creator.session.pleaseLoginAgainToContinue" | "creator.session.signInAgainToPublish" | "creator.session.loginRequiredToDuplicateWidget" | "creator.session.pleaseLoginFirst" | "creator.session.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.noWidgetSelected" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "creator.widget.widgetDeletedFromDatabase" | "creator.widget.widgetWasAlreadyDeleted" | "creator.widget.failedToDeleteWidgetFrom" | "creator.widget.selectAWidgetFirst" | "creator.widget.duplicateFromTheHeaderCopies" | "creator.widget.failedToLoadWidgets" | "creator.widget.couldNotRestoreShapesYet" | "creator.widget.widgetRenamedTo" | "creator.widget.failedToRenameWidget" | "creator.widget.capturingWidgetScreenshot" | "creator.widget.widgetsApiClientIsNot" | "creator.widget.unlinkedWidgetShape" | "creator.widget.duplicatingWidget" | "creator.widget.failedToDuplicateWidget" | "creator.widget.widgetDuplicated" | "creator.widget.widgetKeptInDatabase2" | "creator.widget.youCanKeepEditingWidgets" | "creator.widget.oneWidgetAlready" | "creator.widget.widgetDraftCreated" | "creator.widget.failedToPrepareWidgetDraft" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidgetShape" | "creator.widget.theseWidgetsBelongToMore" | "creator.canvas.appearsEmptyButWidgets" | "creator.canvas.restoredShapes" | "creator.canvas.removedTheLeftoverShapeFrom" | "creator.canvas.clickAWidgetOnThe" | "creator.canvas.canvasIsNotReadyYet" | "creator.canvas.failedToLoadCanvases" | "creator.canvas.couldNotDeleteThisCanvas" | "creator.canvas.noCanvasIdCannotLoad" | "creator.canvas.canvasMayStillBeLoading" | "creator.canvas.widgetPreviewUpdatedOnCanvas" | "creator.canvas.widgetCanvasAndRepositoryAre" | "creator.canvas.canvasIsRequiredBeforePublishing" | "creator.canvas.thisShapePointsToA" | "creator.canvas.shapeRemovedFromCanvas" | "creator.canvas.canvasIsTakingLongerThan" | "creator.canvas.canvasShapesFailedToRender" | "creator.canvas.failedToLoadCanvasFrom" | "creator.canvas.canvasLoadFailedCheckSupabase" | "creator.canvas.apiMayBeThrottledOr" | "creator.canvas.canvasSnapshotLookedEmptyRefresh" | "creator.canvas.canvasSaved" | "creator.canvas.sketchRestored" | "creator.canvas.canvasSaveFailed" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.embedded.tabCanvas" | "creator.composition.compositionCreated" | "creator.composition.failedToCreateComposition" | "creator.composition.compositionSaved" | "creator.composition.compositionRenamed" | "creator.composition.failedToRenameComposition" | "creator.composition.compositionDeleted" | "creator.composition.failedToDeleteComposition" | "creator.composition.fixTheSyntaxErrorIn" | "creator.composition.compositions" | "creator.composition.selectComposition" | "creator.composition.deleteThisComposition" | "creator.composition.webComponentFormatRequiresA" | "creator.composition.compositionUrl" | "creator.codegen.referenceImages" | "creator.codegen.referenceNumber" | "creator.codegen.missingReferenceImage" | "creator.codegen.unreadableAttachmentsTitle" | "creator.codegen.unreadableAttachments" | "creator.codegen.missingImageError" | "creator.codegen.visionModelNote" | "creator.codegen.noImageTitle" | "creator.codegen.repositoryCreated" | "creator.codegen.failedToCreateRepository" | "creator.codegen.noVisionNote" | "creator.codegen.codeRevertedToCommitRefreshing" | "creator.codegen.widgetCodeAtCommitRefreshing" | "creator.codegen.gitRollbackMayNotHave" | "creator.codegen.codeGenerationCompleted" | "creator.codegen.generationInProgress" | "creator.codegen.reconnectedToAnActiveCode" | "creator.codegen.generationStopped" | "creator.codegen.codeGenerationWasCancelledYou" | "creator.codegen.couldNotStopGeneration" | "creator.codegen.generationMayStillBeRunning" | "creator.codegen.imageAddedToYourPrompt" | "creator.codegen.generateCodeFirstToCapture" | "creator.codegen.previewIsMissingTheCapture" | "creator.codegen.promptTooShort" | "creator.codegen.pleaseProvideAPromptWith" | "creator.codegen.mockCodeGenerated" | "creator.codegen.thisIsASimulationNo" | "creator.codegen.missingRepository" | "creator.codegen.coderVision" | "creator.codegen.answeredWithoutGenerating" | "creator.codegen.noGenerationStarted" | "creator.codegen.cannotTrackCodeGenerationProgress" | "creator.codegen.aiGeneratedInvalidSvelteSyntax" | "creator.codegen.codeSavedRebuildingPreview" | "creator.codegen.codeWasNotSaved" | "creator.codegen.codeWasNotSavedToTheRepository" | "creator.codegen.retrySavesItAndRecordsAVersion" | "creator.codegen.generationCompleted" | "creator.codegen.codeSavedPreviewIsLoading" | "creator.codegen.generationAlreadyInProgress" | "creator.codegen.anotherCodeGenerationIsAlready" | "creator.codegen.teammateIsGeneratingSince" | "creator.codegen.generationRunningInTheWidget" | "creator.codegen.yourGenerationRunsElsewhere" | "creator.codegen.newerCodeWasSaved" | "creator.codegen.chosenVersionIsOutOfDate" | "creator.codegen.codeGenerationError" | "creator.codegen.imagePastedToPrompt" | "creator.codegen.codeGenerationInProgressWait" | "creator.codegen.repositoryMissingUseRebuildCode" | "creator.codegen.buildFailedCheckLogsFor" | "creator.codegen.createdWithExistingCode" | "creator.codegen.editTheSketchFreelySending" | "creator.codegen.repositoryIsNowLinkedTo" | "creator.codegen.repositoryExists" | "creator.codegen.repositoryOwnedByAnotherAccount" | "creator.codegen.repositoryFound" | "creator.codegen.linkedToRepository" | "creator.codegen.repositoryReferenceInvalid" | "creator.codegen.supabaseDoesNotHaveThis" | "creator.codegen.unableToVerifyRepositoryStatus" | "creator.codegen.repositoryVerificationFailed" | "creator.codegen.repositoryCreationFailed" | "creator.codegen.couldNotDetermineRepositoryId" | "creator.codegen.repositoryCreatedButNotPersisted" | "creator.codegen.repositoryExistsButFailedTo" | "creator.codegen.repositoryReadyForUse" | "creator.codegen.previewBuilderIsUnavailable" | "creator.codegen.theWidgetCodeWasSaved" | "creator.codegen.rebuildInCreate" | "creator.codegen.codeDoesNotCompile" | "creator.codegen.latestCodeDoesNotCompile" | "creator.codegen.generateCodeFirstToCustomize" | "creator.codegen.noWidgetCodeYet" | "creator.codegen.goToStep1Create" | "creator.codegen.confirmCodeGeneration" | "creator.codegen.reviewThePromptAndReference" | "creator.codegen.describeTheWidgetYouWant" | "creator.codegen.prompt" | "creator.codegen.editPromptFirst" | "creator.codegen.generateNow" | "creator.preview.newerThanLive" | "creator.preview.mayShowLive" | "creator.preview.rebuilt" | "creator.preview.versionHasCodeError" | "creator.preview.versionCouldNotLoad" | "creator.preview.versionHourlyLimit" | "creator.preview.recompiledIn" | "creator.preview.commitRefreshed" | "creator.preview.noValidPreviewAvailable" | "creator.preview.theWidgetDidNotRespond" | "creator.preview.captureErrorRefreshThePreview" | "creator.preview.imageWaitsForGeneration" | "creator.preview.savingImage" | "creator.preview.imageSaved" | "creator.preview.couldNotSaveImage" | "creator.preview.imageNotReturned" | "creator.version.checkpointRestored" | "creator.version.restoreCompletedWithWarnings" | "creator.version.failedToRestoreCheckpoint" | "creator.version.restoreRefusedWhileGenerating" | "creator.version.restoreAlreadyRunning" | "creator.version.codeWasNotRolledBack" | "creator.version.restoreRefusedNewerCode" | "creator.version.restoreRefusedLatestCodeUnknown" | "creator.version.versionIsNowLive" | "creator.version.version" | "creator.version.theSelectedDraftVersionWas" | "creator.version.thisIsADraftVersion" | "creator.version.thisVersionIsNowWhat" | "creator.version.versionRenamed" | "creator.version.versionTitleCleared" | "creator.version.couldNotRenameTheVersion" | "creator.version.closeVersionHistory" | "creator.publish.cannotPublish" | "creator.publish.noEditableSettingsFoundGenerate" | "creator.publish.publishingViaWidgetBuilder" | "creator.publish.widgetPublished" | "creator.publish.publishedAutomaticallyAfterCodeGeneration" | "creator.publish.publishFailed" | "creator.publish.publishing" | "creator.publish.publishingInProgress" | "creator.publish.anotherWidgetIsPublishingWait" | "creator.publish.publishIsRunningInAnother" | "creator.publish.thisVersionIsAlreadyPublished" | "creator.publish.thisDraftHasNoRecorded" | "creator.publish.generateWidgetCodeBeforePublishing" | "creator.publish.publishWidget" | "creator.publish.publishChanges" | "creator.publish.noNewVersionToPublish" | "creator.publish.publishNewV" | "creator.publish.generateOrRebuildSoWe" | "creator.publish.cannotPublishYet" | "creator.publish.publishedVSuccessfully" | "creator.publish.published" | "creator.publish.widgetPublishFailed" | "creator.publish.failedToLoadPublishHistory" | "creator.publish.pressPublishToMakeThe" | "creator.publish.failedToSetLiveVersion" | "creator.publish.publishTheLatestGeneratedCode" | "creator.publish.liveGenerateNewCodeTo" | "creator.publish.publishThisVersionSoVisitors" | "creator.publish.noHistoryRecordsYetGenerate" | "creator.publish.retryPublish" | "creator.publish.notPublishedYet" | "creator.publish.generateOnCreatePreviewThe" | "creator.publish.widgetNotPublishedYet" | "creator.publish.publishYourWidgetFromThe" | "creator.publish.publishYourWidgetFromTheCreate" | "creator.embed.codeTitle" | "creator.embed.formatIframe" | "creator.embed.formatWebComponent" | "creator.embed.copied" | "creator.embed.versionIsLiveAndReady" | "creator.embed.embedYourWidget" | "creator.embed.setDimensionsAndCopyThe" | "creator.embed.embedWidth" | "creator.embed.embedHeight" | "creator.embed.copyEmbedCode" | "creator.embed.embedFormat" | "creator.dialog.removeShape" | "creator.dialog.alsoDeleteWidget" | "creator.dialog.deleteCanvas" | "creator.dialog.alsoDeleteWidgets" | "creator.status.label" | "creator.status.preparingCodeGeneration" | "creator.status.ready" | "creator.status.completedPreviewReady" | "creator.status.generationCompletePreviewReady" | "creator.status.completedAutoSaving" | "creator.status.completedSaved" | "creator.status.completedChangesSaved" | "creator.status.failed" | "creator.status.stoppedByUser" | "creator.status.fixingCompilationErrors" | "creator.status.generatingMockCode" | "creator.status.mockCodeComplete" | "creator.status.processingQueuedRequest" | "creator.status.sessionExpired" | "creator.status.repositoryRequired" | "creator.status.runningQueued" | "creator.status.repositoryReady" | "creator.status.answeredFromDetails" | "creator.status.needMoreDetail" | "creator.status.noGenerationNeeded" | "creator.status.authenticationExpired" | "creator.status.noOperationId" | "creator.status.processingQueued" | "creator.status.inProgress" | "creator.status.generating" | "creator.status.generatingProgress" | "creator.status.savedBuildingPreview" | "creator.status.savedLoadingPreview" | "creator.status.savedPreviewRebuilt" | "creator.status.alreadySavedCompilingPreview" | "creator.status.alreadySavedShaCompilingPreview" | "creator.status.alreadySavedPreviewFailed" | "creator.status.alreadySavedShaPreviewFailed" | "creator.status.previewReady" | "creator.status.alreadyRunning" | "creator.status.needsRefresh" | "creator.status.limitReached" | "creator.status.rateLimited" | "creator.status.failedWithReason" | "creator.status.reconnected" | "creator.status.versionSaved" | "creator.status.versionNumberSaved" | "creator.conversation.version" | "creator.conversation.previousVersion" | "creator.conversation.restoredFromCommit" | "creator.conversation.completedCommitPreviewLoading" | "creator.conversation.completedCommitPreviewReady" | "creator.conversation.completedPreviewLoading" | "creator.conversation.codeSavedShaBuilding" | "creator.conversation.codeSavedShaLoading" | "creator.conversation.codeSavedShaRebuilt" | "creator.conversation.codeSavedCommitPreviewFailed" | "creator.conversation.stoppedRetryPrompt" | "creator.conversation.previewRecompiled" | "creator.conversation.previewRecompiledCommitPart" | "creator.conversation.previewRecompiledDurationPart" | "creator.conversation.alreadyDoneWithCommit" | "creator.conversation.alreadyDone" | "creator.conversation.alreadyDoneFilesSuffix" | "creator.conversation.convert" | "creator.conversation.widgetConversion" | "creator.error.generationFailedWhileYouWere" | "creator.error.generationTrackingLost" | "creator.error.unableToResolveRepositoryFor" | "creator.error.authenticationExpiredPleaseLoginAgain" | "creator.error.cannotTrackCodeGenerationProgress" | "creator.error.usageLimitExceeded" | "creator.error.tooManyRequestsPleaseTry" | "creator.error.codeGenerationFailed" | "creator.error.widgetBuilderIsNotReachable" | "creator.error.buildRequestFailed" | "creator.error.notAuthenticated" | "creator.error.apiClientIsNotConfigured" | "creator.error.publishedVersionIsNotAvailable" | "creator.error.failedToCompileWidgetCode" | "creator.error.previewNotReadyYetClick" | "creator.error.previewNotReadyYetClickRebuild" | "creator.error.previewLoadedButTheWidget" | "creator.error.previewTimedOutTheDev" | "creator.error.couldNotOpenPreviewUrl" | "creator.error.couldNotFetchThePreview" | "creator.error.widgetPreviewRuntimeErrorHttp" | "creator.error.previewBuildFailed" | "creator.error.savedCodeCouldNotBeCompiled" | "creator.error.couldNotReachThePreview" | "creator.error.previewRebuildIsUnavailableIn" | "creator.error.previewBuilderIsUnavailableThe" | "creator.error.previewBuilderReturnedAnUnexpected" | "creator.error.anUnknownErrorOccurred" | "creator.error.couldNotReachTheServer" | "creator.error.buildFailed" | "creator.details.fixThePromptOrAttachments" | "creator.details.codeGenerationWillStartShortly" | "creator.details.saveWillExecuteShortly" | "creator.details.codeGenerationQueued" | "creator.details.saveQueued" | "creator.details.closeWidgetDetails" | "creator.details.widgetDraft" | "creator.details.createWidgetCode" | "creator.details.create" | "creator.details.editComposition" | "creator.details.publishTheWidgetToEdit" | "creator.details.edit" | "creator.details.embedThePublishedWidget" | "creator.details.publishTheWidgetToGet" | "creator.details.embed" | "creator.details.openLivePreview" | "creator.details.closeLivePreview" | "creator.details.showLivePreview" | "creator.details.preview" | "creator.details.dragToResizeChatPreview" | "creator.details.livePreview" | "creator.details.recompileWidgetCodeForPreview" | "creator.details.rebuilding" | "creator.details.rebuild" | "creator.details.clickToFocusThisWidget" | "creator.details.livePreviewBelow" | "creator.details.generatingCode" | "creator.details.loadingPreview" | "creator.details.sketchDraft" | "creator.details.yourSketchIsStillOn" | "creator.details.sendThePromptInChat" | "creator.details.preparingWidget" | "creator.details.settingUpRepository" | "creator.details.widgetHasNoRepository" | "creator.details.repositoryCreationFailedPreviouslyClick" | "creator.details.createRepository" | "creator.details.noCodeYet" | "creator.details.writeAPromptAndGenerate" | "creator.details.generateNow" | "creator.details.previewUnavailable" | "creator.details.rebuildCode" | "creator.details.fixCompileError" | "creator.details.retryBuild" | "creator.details.retry" | "creator.details.buildingPreview" | "creator.details.compilingWidgetCode" | "creator.details.previewWillAppearAfterCode" | "creator.details.resizePanel" | "creator.details.resizeWidth" | "creator.details.resizeHeight" | "creator.brandKit.languageIsFixedAfterThe" | "creator.brandKit.selectLanguage" | "creator.brandKit.brandKit" | "creator.brandKit.libraries" | "creator.brandKit.replacesTheWidgeticPaletteFor" | "creator.brandKit.colorPalette" | "creator.brandKit.primary" | "creator.brandKit.secondary" | "creator.brandKit.title" | "creator.brandKit.sub" | "creator.brandKit.fonts" | "creator.brandKit.addFont" | "creator.brandKit.fontLabel" | "creator.brandKit.font" | "creator.brandKit.removeFont" | "creator.brandKit.uploadFonts" | "creator.brandKit.uploadAFontFileOr" | "creator.brandKit.urlArchiveWoff2TtfOtf" | "creator.brandKit.removeUploadedFont" | "creator.brandKit.icons" | "creator.brandKit.addIconLibrary" | "creator.brandKit.removeIconLibrary" | "creator.brandKit.uploadIconLibraryTooltip" | "creator.brandKit.urlIcons" | "creator.brandKit.addLibrary" | "creator.brandKit.uploadLibrary" | "creator.brandKit.removeLibrary" | "creator.brandKit.uploadCustomLibraryTooltip" | "creator.brandKit.urlLibraries" | "creator.livePreviews.dragWidget" | "creator.livePreviews.primaryWidget" | "creator.livePreviews.setPrimary" | "creator.livePreviews.publishLatest" | "creator.livePreviews.currentlyLive" | "creator.livePreviews.makeThisVersionLive" | "creator.livePreviews.publishThisDraft" | "creator.livePreviews.noCommitToPublish" | "creator.livePreviews.currentVersion" | "creator.livePreviews.editMode" | "creator.livePreviews.refreshPreview" | "creator.livePreviews.refresh" | "creator.livePreviews.openChat" | "creator.livePreviews.chat" | "creator.livePreviews.liveWidgetPreview" | "creator.livePreviews.building" | "creator.versions.addTitle" | "creator.versions.renameVersion" | "creator.versions.addVersionTitle" | "creator.versions.addATitleForThis" | "creator.versions.notPublishedPreviewOnly" | "creator.versions.live" | "creator.selector.select" | "creator.selector.doubleClickToRename" | "creator.selector.toggleList" | "creator.selector.noItemsFound" | "creator.name.unnamed" | "creator.name.saveName" | "creator.name.renameWidget" | "creator.designEdit.shownAsAppliedTheseControls" | "creator.designEdit.notAvailableInThisWidget" | "creator.fileSource.uploadFile" | "creator.fileSource.url" | "creator.elementSelector.removeSelectedElement" | "creator.elementSelector.clickPartToReference" | "creator.elementSelector.parentChild" | "creator.elementSelector.hold" | "creator.elementSelector.cmdCtrl" | "creator.elementSelector.toInteract" | "creator.elementSelector.esc" | "creator.elementSelector.done" | "creator.elementSelector.notePlaceholder">;
|
|
926
|
+
export declare const translateEnglish: import("@widgetic/design-system/i18n").Translate<"creator.common.close" | "creator.common.new" | "creator.common.doubleClickToRename" | "creator.common.thisAppNeedsARefresh" | "creator.common.reload" | "creator.common.publish" | "creator.common.switchVersion" | "creator.common.live" | "creator.common.setLive" | "creator.common.retry" | "creator.common.delete" | "creator.common.draft" | "creator.common.loading" | "creator.general.unknownError" | "creator.general.couldNotLoadUploadedImage" | "creator.general.tryUploadingTheImageAgain" | "creator.general.uploadFailed" | "creator.general.couldNotUpdateConversationStatus" | "creator.general.changeUndone" | "creator.general.failedToLoadEditorSettings" | "creator.general.setTo" | "creator.general.failedToUpdate" | "creator.general.failedToSaveDimensions" | "creator.general.nothingToSave" | "creator.general.serviceTemporarilyUnavailable" | "creator.general.retryingWhenTheApiIs" | "creator.general.invalidFileType" | "creator.general.pleaseSelectAnImageFile" | "creator.general.imageTooLarge" | "creator.general.maximumImageSizeIsMb" | "creator.general.tooManyImages" | "creator.general.maximumImagesAllowedRemoveAn" | "creator.general.failedToProcessImage" | "creator.general.couldNotReadTheImage" | "creator.general.imagePasted" | "creator.general.screenshotCaptureFailed" | "creator.general.missingOperationId" | "creator.general.switchToThatPanelTo" | "creator.general.limitReached" | "creator.general.rateLimited" | "creator.general.theApiRateLimitWas" | "creator.general.liveV" | "creator.general.anUnexpectedErrorOccurredPlease" | "creator.general.latestCommitIsAlreadyLive" | "creator.general.theServerRefusedTheRename" | "creator.general.checkYourConnectionAndTry" | "creator.general.unableToReachTheApi" | "creator.general.pleaseWaitForTheCurrent" | "creator.general.created" | "creator.general.saveBlocked" | "creator.general.keptALocalCopyCheck" | "creator.general.apiClientUnavailable" | "creator.general.screenshotCouldNotBeCaptured" | "creator.general.fixTheSelectionZoomOut" | "creator.general.checkConsoleForDetails" | "creator.general.retryLoad" | "creator.general.dismiss" | "creator.general.saving" | "creator.general.saved" | "creator.general.saveError" | "creator.general.loadingHistory" | "creator.general.upgrade" | "creator.general.fixInCreate" | "creator.general.save" | "creator.general.cancel" | "creator.general.noEditableSettingsAvailableYet" | "creator.general.dimensions" | "creator.general.w" | "creator.general.h" | "creator.general.px" | "creator.general.copy" | "creator.general.testPage" | "creator.general.zoomedReference" | "creator.general.keepInDatabase" | "creator.general.deleteFromDatabase" | "creator.general.checkingWhatWillBeDeleted" | "creator.general.describeWhatYouWant" | "creator.session.endedStartAgain" | "creator.session.canvasCannotOpen" | "creator.session.sessionEnded" | "creator.session.sessionExpiredSignInAgain" | "creator.session.sessionExpired" | "creator.session.authenticationExpired" | "creator.session.pleaseLoginAgainToContinue" | "creator.session.signInAgainToPublish" | "creator.session.loginRequiredToDuplicateWidget" | "creator.session.pleaseLoginFirst" | "creator.session.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.noWidgetSelected" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "creator.widget.widgetDeletedFromDatabase" | "creator.widget.widgetWasAlreadyDeleted" | "creator.widget.failedToDeleteWidgetFrom" | "creator.widget.selectAWidgetFirst" | "creator.widget.duplicateFromTheHeaderCopies" | "creator.widget.failedToLoadWidgets" | "creator.widget.couldNotRestoreShapesYet" | "creator.widget.widgetRenamedTo" | "creator.widget.failedToRenameWidget" | "creator.widget.capturingWidgetScreenshot" | "creator.widget.widgetsApiClientIsNot" | "creator.widget.unlinkedWidgetShape" | "creator.widget.duplicatingWidget" | "creator.widget.failedToDuplicateWidget" | "creator.widget.widgetDuplicated" | "creator.widget.widgetKeptInDatabase2" | "creator.widget.youCanKeepEditingWidgets" | "creator.widget.oneWidgetAlready" | "creator.widget.widgetDraftCreated" | "creator.widget.failedToPrepareWidgetDraft" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidgetShape" | "creator.widget.theseWidgetsBelongToMore" | "creator.canvas.appearsEmptyButWidgets" | "creator.canvas.restoredShapes" | "creator.canvas.removedTheLeftoverShapeFrom" | "creator.canvas.clickAWidgetOnThe" | "creator.canvas.canvasIsNotReadyYet" | "creator.canvas.failedToLoadCanvases" | "creator.canvas.couldNotDeleteThisCanvas" | "creator.canvas.noCanvasIdCannotLoad" | "creator.canvas.canvasMayStillBeLoading" | "creator.canvas.widgetPreviewUpdatedOnCanvas" | "creator.canvas.widgetCanvasAndRepositoryAre" | "creator.canvas.canvasIsRequiredBeforePublishing" | "creator.canvas.thisShapePointsToA" | "creator.canvas.shapeRemovedFromCanvas" | "creator.canvas.canvasIsTakingLongerThan" | "creator.canvas.canvasShapesFailedToRender" | "creator.canvas.failedToLoadCanvasFrom" | "creator.canvas.canvasLoadFailedCheckSupabase" | "creator.canvas.apiMayBeThrottledOr" | "creator.canvas.canvasSnapshotLookedEmptyRefresh" | "creator.canvas.canvasSaved" | "creator.canvas.sketchRestored" | "creator.canvas.canvasSaveFailed" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.embedded.tabCanvas" | "creator.composition.compositionCreated" | "creator.composition.failedToCreateComposition" | "creator.composition.compositionSaved" | "creator.composition.compositionRenamed" | "creator.composition.failedToRenameComposition" | "creator.composition.compositionDeleted" | "creator.composition.failedToDeleteComposition" | "creator.composition.fixTheSyntaxErrorIn" | "creator.composition.compositions" | "creator.composition.selectComposition" | "creator.composition.deleteThisComposition" | "creator.composition.webComponentFormatRequiresA" | "creator.composition.compositionUrl" | "creator.codegen.referenceImages" | "creator.codegen.referenceNumber" | "creator.codegen.missingReferenceImage" | "creator.codegen.unreadableAttachmentsTitle" | "creator.codegen.unreadableAttachments" | "creator.codegen.missingImageError" | "creator.codegen.visionModelNote" | "creator.codegen.noImageTitle" | "creator.codegen.repositoryCreated" | "creator.codegen.failedToCreateRepository" | "creator.codegen.noVisionNote" | "creator.codegen.codeRevertedToCommitRefreshing" | "creator.codegen.widgetCodeAtCommitRefreshing" | "creator.codegen.gitRollbackMayNotHave" | "creator.codegen.codeGenerationCompleted" | "creator.codegen.generationInProgress" | "creator.codegen.reconnectedToAnActiveCode" | "creator.codegen.generationStopped" | "creator.codegen.codeGenerationWasCancelledYou" | "creator.codegen.couldNotStopGeneration" | "creator.codegen.generationMayStillBeRunning" | "creator.codegen.imageAddedToYourPrompt" | "creator.codegen.generateCodeFirstToCapture" | "creator.codegen.previewIsMissingTheCapture" | "creator.codegen.promptTooShort" | "creator.codegen.pleaseProvideAPromptWith" | "creator.codegen.mockCodeGenerated" | "creator.codegen.thisIsASimulationNo" | "creator.codegen.missingRepository" | "creator.codegen.coderVision" | "creator.codegen.answeredWithoutGenerating" | "creator.codegen.noGenerationStarted" | "creator.codegen.cannotTrackCodeGenerationProgress" | "creator.codegen.aiGeneratedInvalidSvelteSyntax" | "creator.codegen.codeSavedRebuildingPreview" | "creator.codegen.codeWasNotSaved" | "creator.codegen.codeWasNotSavedToTheRepository" | "creator.codegen.retrySavesItAndRecordsAVersion" | "creator.codegen.generationCompleted" | "creator.codegen.codeSavedPreviewIsLoading" | "creator.codegen.generationAlreadyInProgress" | "creator.codegen.anotherCodeGenerationIsAlready" | "creator.codegen.teammateIsGeneratingSince" | "creator.codegen.generationRunningInTheWidget" | "creator.codegen.yourGenerationRunsElsewhere" | "creator.codegen.newerCodeWasSaved" | "creator.codegen.chosenVersionIsOutOfDate" | "creator.codegen.codeGenerationError" | "creator.codegen.imagePastedToPrompt" | "creator.codegen.codeGenerationInProgressWait" | "creator.codegen.repositoryMissingUseRebuildCode" | "creator.codegen.buildFailedCheckLogsFor" | "creator.codegen.createdWithExistingCode" | "creator.codegen.editTheSketchFreelySending" | "creator.codegen.repositoryIsNowLinkedTo" | "creator.codegen.repositoryExists" | "creator.codegen.repositoryOwnedByAnotherAccount" | "creator.codegen.repositoryFound" | "creator.codegen.linkedToRepository" | "creator.codegen.repositoryReferenceInvalid" | "creator.codegen.supabaseDoesNotHaveThis" | "creator.codegen.unableToVerifyRepositoryStatus" | "creator.codegen.repositoryVerificationFailed" | "creator.codegen.repositoryCreationFailed" | "creator.codegen.couldNotDetermineRepositoryId" | "creator.codegen.repositoryCreatedButNotPersisted" | "creator.codegen.repositoryExistsButFailedTo" | "creator.codegen.repositoryReadyForUse" | "creator.codegen.previewBuilderIsUnavailable" | "creator.codegen.theWidgetCodeWasSaved" | "creator.codegen.rebuildInCreate" | "creator.codegen.codeDoesNotCompile" | "creator.codegen.latestCodeDoesNotCompile" | "creator.codegen.generateCodeFirstToCustomize" | "creator.codegen.noWidgetCodeYet" | "creator.codegen.goToStep1Create" | "creator.codegen.confirmCodeGeneration" | "creator.codegen.reviewThePromptAndReference" | "creator.codegen.describeTheWidgetYouWant" | "creator.codegen.prompt" | "creator.codegen.editPromptFirst" | "creator.codegen.generateNow" | "creator.preview.newerThanLive" | "creator.preview.mayShowLive" | "creator.preview.rebuilt" | "creator.preview.versionHasCodeError" | "creator.preview.versionCouldNotLoad" | "creator.preview.versionHourlyLimit" | "creator.preview.recompiledIn" | "creator.preview.commitRefreshed" | "creator.preview.noValidPreviewAvailable" | "creator.preview.theWidgetDidNotRespond" | "creator.preview.captureErrorRefreshThePreview" | "creator.preview.imageWaitsForGeneration" | "creator.preview.savingImage" | "creator.preview.imageSaved" | "creator.preview.couldNotSaveImage" | "creator.preview.imageNotReturned" | "creator.version.checkpointRestored" | "creator.version.restoreCompletedWithWarnings" | "creator.version.failedToRestoreCheckpoint" | "creator.version.restoreRefusedWhileGenerating" | "creator.version.restoreAlreadyRunning" | "creator.version.codeWasNotRolledBack" | "creator.version.restoreRefusedNewerCode" | "creator.version.restoreRefusedLatestCodeUnknown" | "creator.version.versionIsNowLive" | "creator.version.version" | "creator.version.theSelectedDraftVersionWas" | "creator.version.thisIsADraftVersion" | "creator.version.thisVersionIsNowWhat" | "creator.version.versionRenamed" | "creator.version.versionTitleCleared" | "creator.version.couldNotRenameTheVersion" | "creator.version.closeVersionHistory" | "creator.publish.cannotPublish" | "creator.publish.noEditableSettingsFoundGenerate" | "creator.publish.publishingViaWidgetBuilder" | "creator.publish.widgetPublished" | "creator.publish.publishedAutomaticallyAfterCodeGeneration" | "creator.publish.publishFailed" | "creator.publish.publishing" | "creator.publish.publishingInProgress" | "creator.publish.anotherWidgetIsPublishingWait" | "creator.publish.publishIsRunningInAnother" | "creator.publish.thisVersionIsAlreadyPublished" | "creator.publish.thisDraftHasNoRecorded" | "creator.publish.generateWidgetCodeBeforePublishing" | "creator.publish.publishWidget" | "creator.publish.publishChanges" | "creator.publish.noNewVersionToPublish" | "creator.publish.publishNewV" | "creator.publish.generateOrRebuildSoWe" | "creator.publish.cannotPublishYet" | "creator.publish.publishedVSuccessfully" | "creator.publish.published" | "creator.publish.widgetPublishFailed" | "creator.publish.failedToLoadPublishHistory" | "creator.publish.pressPublishToMakeThe" | "creator.publish.failedToSetLiveVersion" | "creator.publish.publishTheLatestGeneratedCode" | "creator.publish.liveGenerateNewCodeTo" | "creator.publish.publishThisVersionSoVisitors" | "creator.publish.noHistoryRecordsYetGenerate" | "creator.publish.retryPublish" | "creator.publish.notPublishedYet" | "creator.publish.generateOnCreatePreviewThe" | "creator.publish.widgetNotPublishedYet" | "creator.publish.publishYourWidgetFromThe" | "creator.publish.publishYourWidgetFromTheCreate" | "creator.embed.codeTitle" | "creator.embed.formatIframe" | "creator.embed.formatWebComponent" | "creator.embed.copied" | "creator.embed.versionIsLiveAndReady" | "creator.embed.embedYourWidget" | "creator.embed.setDimensionsAndCopyThe" | "creator.embed.embedWidth" | "creator.embed.embedHeight" | "creator.embed.copyEmbedCode" | "creator.embed.embedFormat" | "creator.dialog.removeShape" | "creator.dialog.alsoDeleteWidget" | "creator.dialog.deleteCanvas" | "creator.dialog.alsoDeleteWidgets" | "creator.status.label" | "creator.status.preparingCodeGeneration" | "creator.status.ready" | "creator.status.completedPreviewReady" | "creator.status.generationCompletePreviewReady" | "creator.status.completedAutoSaving" | "creator.status.completedSaved" | "creator.status.completedChangesSaved" | "creator.status.failed" | "creator.status.stoppedByUser" | "creator.status.fixingCompilationErrors" | "creator.status.generatingMockCode" | "creator.status.mockCodeComplete" | "creator.status.processingQueuedRequest" | "creator.status.sessionExpired" | "creator.status.repositoryRequired" | "creator.status.runningQueued" | "creator.status.repositoryReady" | "creator.status.answeredFromDetails" | "creator.status.needMoreDetail" | "creator.status.noGenerationNeeded" | "creator.status.authenticationExpired" | "creator.status.noOperationId" | "creator.status.processingQueued" | "creator.status.inProgress" | "creator.status.generating" | "creator.status.generatingProgress" | "creator.status.savedBuildingPreview" | "creator.status.savedLoadingPreview" | "creator.status.savedPreviewRebuilt" | "creator.status.alreadySavedCompilingPreview" | "creator.status.alreadySavedShaCompilingPreview" | "creator.status.alreadySavedPreviewFailed" | "creator.status.alreadySavedShaPreviewFailed" | "creator.status.previewReady" | "creator.status.alreadyRunning" | "creator.status.needsRefresh" | "creator.status.limitReached" | "creator.status.rateLimited" | "creator.status.failedWithReason" | "creator.status.reconnected" | "creator.status.versionSaved" | "creator.status.versionNumberSaved" | "creator.conversation.version" | "creator.conversation.previousVersion" | "creator.conversation.restoredFromCommit" | "creator.conversation.completedCommitPreviewLoading" | "creator.conversation.completedCommitPreviewReady" | "creator.conversation.completedPreviewLoading" | "creator.conversation.codeSavedShaBuilding" | "creator.conversation.codeSavedShaLoading" | "creator.conversation.codeSavedShaRebuilt" | "creator.conversation.codeSavedCommitPreviewFailed" | "creator.conversation.stoppedRetryPrompt" | "creator.conversation.previewRecompiled" | "creator.conversation.previewRecompiledCommitPart" | "creator.conversation.previewRecompiledDurationPart" | "creator.conversation.alreadyDoneWithCommit" | "creator.conversation.alreadyDone" | "creator.conversation.alreadyDoneFilesSuffix" | "creator.conversation.convert" | "creator.conversation.widgetConversion" | "creator.error.generationFailedWhileYouWere" | "creator.error.generationTrackingLost" | "creator.error.unableToResolveRepositoryFor" | "creator.error.authenticationExpiredPleaseLoginAgain" | "creator.error.cannotTrackCodeGenerationProgress" | "creator.error.usageLimitExceeded" | "creator.error.tooManyRequestsPleaseTry" | "creator.error.codeGenerationFailed" | "creator.error.widgetBuilderIsNotReachable" | "creator.error.buildRequestFailed" | "creator.error.notAuthenticated" | "creator.error.apiClientIsNotConfigured" | "creator.error.publishedVersionIsNotAvailable" | "creator.error.failedToCompileWidgetCode" | "creator.error.previewNotReadyYetClick" | "creator.error.previewNotReadyYetClickRebuild" | "creator.error.previewLoadedButTheWidget" | "creator.error.previewTimedOutTheDev" | "creator.error.couldNotOpenPreviewUrl" | "creator.error.couldNotFetchThePreview" | "creator.error.widgetPreviewRuntimeErrorHttp" | "creator.error.previewBuildFailed" | "creator.error.savedCodeCouldNotBeCompiled" | "creator.error.couldNotReachThePreview" | "creator.error.previewRebuildIsUnavailableIn" | "creator.error.previewBuilderIsUnavailableThe" | "creator.error.previewBuilderReturnedAnUnexpected" | "creator.error.anUnknownErrorOccurred" | "creator.error.couldNotReachTheServer" | "creator.error.buildFailed" | "creator.error.codeGenerationUnavailable" | "creator.error.featureUnavailable" | "creator.error.requestTimedOut" | "creator.error.permissionDenied" | "creator.error.invalidRequest" | "creator.error.serverError" | "creator.error.somethingWentWrong" | "creator.error.canvasNotFound" | "creator.error.resourceNotFound" | "creator.details.fixThePromptOrAttachments" | "creator.details.codeGenerationWillStartShortly" | "creator.details.saveWillExecuteShortly" | "creator.details.codeGenerationQueued" | "creator.details.saveQueued" | "creator.details.closeWidgetDetails" | "creator.details.widgetDraft" | "creator.details.createWidgetCode" | "creator.details.create" | "creator.details.editComposition" | "creator.details.publishTheWidgetToEdit" | "creator.details.edit" | "creator.details.embedThePublishedWidget" | "creator.details.publishTheWidgetToGet" | "creator.details.embed" | "creator.details.openLivePreview" | "creator.details.closeLivePreview" | "creator.details.showLivePreview" | "creator.details.preview" | "creator.details.dragToResizeChatPreview" | "creator.details.livePreview" | "creator.details.recompileWidgetCodeForPreview" | "creator.details.rebuilding" | "creator.details.rebuild" | "creator.details.clickToFocusThisWidget" | "creator.details.livePreviewBelow" | "creator.details.generatingCode" | "creator.details.loadingPreview" | "creator.details.sketchDraft" | "creator.details.yourSketchIsStillOn" | "creator.details.sendThePromptInChat" | "creator.details.preparingWidget" | "creator.details.settingUpRepository" | "creator.details.widgetHasNoRepository" | "creator.details.repositoryCreationFailedPreviouslyClick" | "creator.details.createRepository" | "creator.details.noCodeYet" | "creator.details.writeAPromptAndGenerate" | "creator.details.generateNow" | "creator.details.previewUnavailable" | "creator.details.rebuildCode" | "creator.details.fixCompileError" | "creator.details.retryBuild" | "creator.details.retry" | "creator.details.buildingPreview" | "creator.details.compilingWidgetCode" | "creator.details.previewWillAppearAfterCode" | "creator.details.resizePanel" | "creator.details.resizeWidth" | "creator.details.resizeHeight" | "creator.brandKit.languageIsFixedAfterThe" | "creator.brandKit.selectLanguage" | "creator.brandKit.brandKit" | "creator.brandKit.libraries" | "creator.brandKit.replacesTheWidgeticPaletteFor" | "creator.brandKit.colorPalette" | "creator.brandKit.primary" | "creator.brandKit.secondary" | "creator.brandKit.title" | "creator.brandKit.sub" | "creator.brandKit.fonts" | "creator.brandKit.addFont" | "creator.brandKit.fontLabel" | "creator.brandKit.font" | "creator.brandKit.removeFont" | "creator.brandKit.uploadFonts" | "creator.brandKit.uploadAFontFileOr" | "creator.brandKit.urlArchiveWoff2TtfOtf" | "creator.brandKit.removeUploadedFont" | "creator.brandKit.icons" | "creator.brandKit.addIconLibrary" | "creator.brandKit.removeIconLibrary" | "creator.brandKit.uploadIconLibraryTooltip" | "creator.brandKit.urlIcons" | "creator.brandKit.addLibrary" | "creator.brandKit.uploadLibrary" | "creator.brandKit.removeLibrary" | "creator.brandKit.uploadCustomLibraryTooltip" | "creator.brandKit.urlLibraries" | "creator.livePreviews.dragWidget" | "creator.livePreviews.primaryWidget" | "creator.livePreviews.setPrimary" | "creator.livePreviews.publishLatest" | "creator.livePreviews.currentlyLive" | "creator.livePreviews.makeThisVersionLive" | "creator.livePreviews.publishThisDraft" | "creator.livePreviews.noCommitToPublish" | "creator.livePreviews.currentVersion" | "creator.livePreviews.editMode" | "creator.livePreviews.refreshPreview" | "creator.livePreviews.refresh" | "creator.livePreviews.openChat" | "creator.livePreviews.chat" | "creator.livePreviews.liveWidgetPreview" | "creator.livePreviews.building" | "creator.versions.addTitle" | "creator.versions.renameVersion" | "creator.versions.addVersionTitle" | "creator.versions.addATitleForThis" | "creator.versions.notPublishedPreviewOnly" | "creator.versions.live" | "creator.selector.select" | "creator.selector.doubleClickToRename" | "creator.selector.toggleList" | "creator.selector.noItemsFound" | "creator.name.unnamed" | "creator.name.saveName" | "creator.name.renameWidget" | "creator.designEdit.shownAsAppliedTheseControls" | "creator.designEdit.notAvailableInThisWidget" | "creator.fileSource.uploadFile" | "creator.fileSource.url" | "creator.elementSelector.removeSelectedElement" | "creator.elementSelector.clickPartToReference" | "creator.elementSelector.parentChild" | "creator.elementSelector.hold" | "creator.elementSelector.cmdCtrl" | "creator.elementSelector.toInteract" | "creator.elementSelector.esc" | "creator.elementSelector.done" | "creator.elementSelector.notePlaceholder">;
|
package/dist/i18n/messages.d.ts
CHANGED
|
@@ -432,6 +432,15 @@ export declare const CREATOR_MESSAGES: {
|
|
|
432
432
|
readonly 'creator.error.anUnknownErrorOccurred': "An unknown error occurred.";
|
|
433
433
|
readonly 'creator.error.couldNotReachTheServer': "Could not reach the server. Try again.";
|
|
434
434
|
readonly 'creator.error.buildFailed': "Build failed.";
|
|
435
|
+
readonly 'creator.error.codeGenerationUnavailable': "Code generation is not available right now. Please try again later.";
|
|
436
|
+
readonly 'creator.error.featureUnavailable': "This feature is not available right now. Please try again later.";
|
|
437
|
+
readonly 'creator.error.requestTimedOut': "This took too long. Please try again.";
|
|
438
|
+
readonly 'creator.error.permissionDenied': "You don't have permission to do that.";
|
|
439
|
+
readonly 'creator.error.invalidRequest': "Something was wrong with the request. Please check your input and try again.";
|
|
440
|
+
readonly 'creator.error.serverError': "Something went wrong on our side. Please try again in a moment.";
|
|
441
|
+
readonly 'creator.error.somethingWentWrong': "Something went wrong. Please try again.";
|
|
442
|
+
readonly 'creator.error.canvasNotFound': "We couldn't find this sketch. It may have been deleted.";
|
|
443
|
+
readonly 'creator.error.resourceNotFound': "We couldn't find that. It may have been deleted.";
|
|
435
444
|
readonly 'creator.details.fixThePromptOrAttachments': "Fix the prompt or attachments, then retry.";
|
|
436
445
|
readonly 'creator.details.codeGenerationWillStartShortly': "Code generation will start shortly.";
|
|
437
446
|
readonly 'creator.details.saveWillExecuteShortly': "Save will execute shortly.";
|
package/dist/i18n/messages.js
CHANGED
|
@@ -450,6 +450,15 @@ export const CREATOR_MESSAGES = {
|
|
|
450
450
|
'creator.error.anUnknownErrorOccurred': 'An unknown error occurred.',
|
|
451
451
|
'creator.error.couldNotReachTheServer': 'Could not reach the server. Try again.',
|
|
452
452
|
'creator.error.buildFailed': 'Build failed.',
|
|
453
|
+
'creator.error.codeGenerationUnavailable': 'Code generation is not available right now. Please try again later.',
|
|
454
|
+
'creator.error.featureUnavailable': 'This feature is not available right now. Please try again later.',
|
|
455
|
+
'creator.error.requestTimedOut': 'This took too long. Please try again.',
|
|
456
|
+
'creator.error.permissionDenied': "You don't have permission to do that.",
|
|
457
|
+
'creator.error.invalidRequest': 'Something was wrong with the request. Please check your input and try again.',
|
|
458
|
+
'creator.error.serverError': 'Something went wrong on our side. Please try again in a moment.',
|
|
459
|
+
'creator.error.somethingWentWrong': 'Something went wrong. Please try again.',
|
|
460
|
+
'creator.error.canvasNotFound': "We couldn't find this sketch. It may have been deleted.",
|
|
461
|
+
'creator.error.resourceNotFound': "We couldn't find that. It may have been deleted.",
|
|
453
462
|
// The widget details panel: steps, preview states and buttons.
|
|
454
463
|
'creator.details.fixThePromptOrAttachments': 'Fix the prompt or attachments, then retry.',
|
|
455
464
|
'creator.details.codeGenerationWillStartShortly': 'Code generation will start shortly.',
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { Translate } from '@widgetic/design-system/i18n';
|
|
2
|
+
import { type UserFriendlyErrorContext } from '../errors/toUserFriendlyError.js';
|
|
2
3
|
import type { CreatorMessageKey } from './messages.js';
|
|
4
|
+
export type StatusTextDisplayOptions = {
|
|
5
|
+
debugMode?: boolean;
|
|
6
|
+
context?: UserFriendlyErrorContext;
|
|
7
|
+
};
|
|
3
8
|
/** The texts the creator writes, one by one, as it stores them. For the tests that read the creator's source. */
|
|
4
9
|
export declare const KNOWN_ENGLISH_TEXTS: readonly string[];
|
|
5
10
|
/** Whether the creator knows this text, one by one or by a pattern. For the tests that read the creator's source. */
|
|
@@ -9,14 +14,14 @@ export declare function isKnownText(text: string): boolean;
|
|
|
9
14
|
* language when the host passes this through the chat's `storedLineLabel` (the widget creator does). A line the table does
|
|
10
15
|
* not know (an assistant reply from the model) is shown as it is.
|
|
11
16
|
*/
|
|
12
|
-
export declare function conversationLineLabel(content: string | null | undefined, t: Translate<CreatorMessageKey
|
|
17
|
+
export declare function conversationLineLabel(content: string | null | undefined, t: Translate<CreatorMessageKey>, display?: StatusTextDisplayOptions): string;
|
|
13
18
|
/**
|
|
14
19
|
* What the status bar of a code generation shows for a status line the creator stored. Nothing stored is `Ready`; a line
|
|
15
20
|
* the creator does not know (one that came from the server) is shown as it is.
|
|
16
21
|
*/
|
|
17
|
-
export declare function statusLabel(status: string | null | undefined, t: Translate<CreatorMessageKey
|
|
22
|
+
export declare function statusLabel(status: string | null | undefined, t: Translate<CreatorMessageKey>, display?: StatusTextDisplayOptions): string;
|
|
18
23
|
/**
|
|
19
24
|
* What a screen shows for an error text the creator stored. Nothing stored is an empty text (so a screen can write
|
|
20
25
|
* `errorLabel(error, t) || fallback`); an error the creator does not know is shown as it is.
|
|
21
26
|
*/
|
|
22
|
-
export declare function errorLabel(error: string | null | undefined, t: Translate<CreatorMessageKey
|
|
27
|
+
export declare function errorLabel(error: string | null | undefined, t: Translate<CreatorMessageKey>, display?: StatusTextDisplayOptions): string;
|