@atlaskit/editor-common 100.4.3 → 101.0.0

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.
Files changed (116) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/ai-messages/package.json +17 -0
  3. package/dist/cjs/ai-messages/ai-config-items.js +489 -0
  4. package/dist/cjs/ai-messages/ai-experience-application.js +131 -0
  5. package/dist/cjs/ai-messages/ai-failed-state.js +56 -0
  6. package/dist/cjs/ai-messages/ai-languages.js +368 -0
  7. package/dist/cjs/ai-messages/ai.js +122 -0
  8. package/dist/cjs/ai-messages/index.js +68 -0
  9. package/dist/cjs/card/index.js +13 -0
  10. package/dist/cjs/card/link-toolbar-button-group-options.js +2 -2
  11. package/dist/cjs/card/link-toolbar-dropdown-options.js +33 -0
  12. package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -1
  13. package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  14. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  15. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  16. package/dist/cjs/media/messages/altText.js +5 -0
  17. package/dist/cjs/messages/index.js +0 -28
  18. package/dist/cjs/monitoring/error.js +1 -1
  19. package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +35 -8
  20. package/dist/cjs/selection/gap-cursor/styles.js +1 -1
  21. package/dist/cjs/type-ahead/messages.js +10 -0
  22. package/dist/cjs/ui/DropList/index.js +1 -1
  23. package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
  24. package/dist/cjs/ui/FloatingToolbar/Separator.js +12 -6
  25. package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -1
  26. package/dist/es2019/ai-messages/ai-config-items.js +483 -0
  27. package/dist/es2019/ai-messages/ai-experience-application.js +124 -0
  28. package/dist/es2019/ai-messages/ai-failed-state.js +49 -0
  29. package/dist/es2019/ai-messages/ai-languages.js +361 -0
  30. package/dist/es2019/ai-messages/ai.js +116 -0
  31. package/dist/es2019/ai-messages/index.js +12 -0
  32. package/dist/es2019/card/index.js +2 -1
  33. package/dist/es2019/card/link-toolbar-button-group-options.js +1 -1
  34. package/dist/es2019/card/link-toolbar-dropdown-options.js +26 -0
  35. package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
  36. package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  37. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  38. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  39. package/dist/es2019/media/messages/altText.js +5 -0
  40. package/dist/es2019/messages/index.js +0 -4
  41. package/dist/es2019/monitoring/error.js +1 -1
  42. package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +34 -8
  43. package/dist/es2019/selection/gap-cursor/styles.js +1 -1
  44. package/dist/es2019/type-ahead/messages.js +10 -0
  45. package/dist/es2019/ui/DropList/index.js +1 -1
  46. package/dist/es2019/ui/FloatingToolbar/Button.js +5 -1
  47. package/dist/es2019/ui/FloatingToolbar/Separator.js +11 -4
  48. package/dist/es2019/ui-menu/ColorPickerButton/index.js +2 -1
  49. package/dist/esm/ai-messages/ai-config-items.js +483 -0
  50. package/dist/esm/ai-messages/ai-experience-application.js +124 -0
  51. package/dist/esm/ai-messages/ai-failed-state.js +49 -0
  52. package/dist/esm/ai-messages/ai-languages.js +361 -0
  53. package/dist/esm/ai-messages/ai.js +116 -0
  54. package/dist/esm/ai-messages/index.js +12 -0
  55. package/dist/esm/card/index.js +2 -1
  56. package/dist/esm/card/link-toolbar-button-group-options.js +1 -1
  57. package/dist/esm/card/link-toolbar-dropdown-options.js +26 -0
  58. package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
  59. package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  60. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  61. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  62. package/dist/esm/media/messages/altText.js +5 -0
  63. package/dist/esm/messages/index.js +0 -4
  64. package/dist/esm/monitoring/error.js +1 -1
  65. package/dist/esm/react-node-view/getInlineNodeViewProducer.js +35 -8
  66. package/dist/esm/selection/gap-cursor/styles.js +1 -1
  67. package/dist/esm/type-ahead/messages.js +10 -0
  68. package/dist/esm/ui/DropList/index.js +1 -1
  69. package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
  70. package/dist/esm/ui/FloatingToolbar/Separator.js +12 -6
  71. package/dist/esm/ui-menu/ColorPickerButton/index.js +2 -1
  72. package/dist/types/ai-messages/ai-config-items.d.ts +462 -0
  73. package/dist/types/ai-messages/ai-experience-application.d.ts +122 -0
  74. package/dist/types/ai-messages/ai-failed-state.d.ts +47 -0
  75. package/dist/types/ai-messages/ai-languages.d.ts +357 -0
  76. package/dist/types/ai-messages/ai.d.ts +107 -0
  77. package/dist/types/ai-messages/index.d.ts +9 -0
  78. package/dist/types/card/index.d.ts +2 -1
  79. package/dist/types/card/link-toolbar-button-group-options.d.ts +51 -0
  80. package/dist/types/card/link-toolbar-dropdown-options.d.ts +4 -0
  81. package/dist/types/media/messages/altText.d.ts +5 -0
  82. package/dist/types/messages/index.d.ts +0 -4
  83. package/dist/types/type-ahead/messages.d.ts +10 -0
  84. package/dist/types-ts4.5/ai-messages/ai-config-items.d.ts +462 -0
  85. package/dist/types-ts4.5/ai-messages/ai-experience-application.d.ts +122 -0
  86. package/dist/types-ts4.5/ai-messages/ai-failed-state.d.ts +47 -0
  87. package/dist/types-ts4.5/ai-messages/ai-languages.d.ts +357 -0
  88. package/dist/types-ts4.5/ai-messages/ai.d.ts +107 -0
  89. package/dist/types-ts4.5/ai-messages/index.d.ts +9 -0
  90. package/dist/types-ts4.5/card/index.d.ts +2 -1
  91. package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +51 -0
  92. package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +4 -0
  93. package/dist/types-ts4.5/media/messages/altText.d.ts +5 -0
  94. package/dist/types-ts4.5/messages/index.d.ts +0 -4
  95. package/dist/types-ts4.5/type-ahead/messages.d.ts +10 -0
  96. package/package.json +9 -11
  97. /package/dist/cjs/{messages → ai-messages}/ai-definitions.js +0 -0
  98. /package/dist/cjs/{messages → ai-messages}/ai-proactive-setting.js +0 -0
  99. /package/dist/cjs/{messages → ai-messages}/ai-proactive-transform.js +0 -0
  100. /package/dist/cjs/{messages → ai-messages}/ai-proactive.js +0 -0
  101. /package/dist/es2019/{messages → ai-messages}/ai-definitions.js +0 -0
  102. /package/dist/es2019/{messages → ai-messages}/ai-proactive-setting.js +0 -0
  103. /package/dist/es2019/{messages → ai-messages}/ai-proactive-transform.js +0 -0
  104. /package/dist/es2019/{messages → ai-messages}/ai-proactive.js +0 -0
  105. /package/dist/esm/{messages → ai-messages}/ai-definitions.js +0 -0
  106. /package/dist/esm/{messages → ai-messages}/ai-proactive-setting.js +0 -0
  107. /package/dist/esm/{messages → ai-messages}/ai-proactive-transform.js +0 -0
  108. /package/dist/esm/{messages → ai-messages}/ai-proactive.js +0 -0
  109. /package/dist/types/{messages → ai-messages}/ai-definitions.d.ts +0 -0
  110. /package/dist/types/{messages → ai-messages}/ai-proactive-setting.d.ts +0 -0
  111. /package/dist/types/{messages → ai-messages}/ai-proactive-transform.d.ts +0 -0
  112. /package/dist/types/{messages → ai-messages}/ai-proactive.d.ts +0 -0
  113. /package/dist/types-ts4.5/{messages → ai-messages}/ai-definitions.d.ts +0 -0
  114. /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive-setting.d.ts +0 -0
  115. /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive-transform.d.ts +0 -0
  116. /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive.d.ts +0 -0
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.aiExperienceApplicationMessages = void 0;
7
+ var _reactIntlNext = require("react-intl-next");
8
+ // eslint-disable-next-line no-restricted-imports
9
+
10
+ var aiExperienceApplicationMessages = exports.aiExperienceApplicationMessages = (0, _reactIntlNext.defineMessages)({
11
+ responseTooSimilarMessage: {
12
+ id: 'fabric.editor.ai.experience.responseTooSimilarMessage',
13
+ defaultMessage: 'Atlassian Intelligence has no suggestions at this time. Feel free to try a different prompt or content.',
14
+ description: 'Message to indicate to user the response from Atlassian Intelligence response is too similar or the same as their input.'
15
+ },
16
+ discardMessagePrompt: {
17
+ id: 'fabric.editor.ai.experience.discardMessagePrompt',
18
+ defaultMessage: 'Do you want to discard your prompt?',
19
+ description: 'Message to confirm if the user wants to discard their input.'
20
+ },
21
+ discardMessageResponse: {
22
+ id: 'fabric.editor.ai.experience.discardMessageResponse',
23
+ defaultMessage: 'Do you want to discard your response?',
24
+ description: 'Message to confirm if the user wants to discard the generated response from Atlassian Intelligence.'
25
+ },
26
+ loadingTitle: {
27
+ id: 'fabric.editor.ai.experience.loadingTitle',
28
+ defaultMessage: 'Generating',
29
+ description: 'The title string that appears on the "Loading" screen when the user is waiting for Atlassian Intelligence to generate content'
30
+ },
31
+ messageTemplateAnalysingQuery: {
32
+ id: 'fabric.editor.ai.experience.messageTemplateAnalysingQuery',
33
+ defaultMessage: 'Analyzing: Reviewing your question.',
34
+ description: 'Message to indicate to user that the AI is reading and understanding their question'
35
+ },
36
+ messageTemplateContentSearch: {
37
+ id: 'fabric.editor.ai.experience.messageTemplateContentSearch',
38
+ defaultMessage: 'Searching: One moment while we search for information.',
39
+ description: 'Message to indicate to user that the AI is searching for content'
40
+ },
41
+ messageTemplatePageHydration: {
42
+ id: 'fabric.editor.ai.experience.messageTemplatePageHydration',
43
+ defaultMessage: 'Searching: One moment while we search the page.',
44
+ description: 'Message to indicate to user that the AI is searching a URL for content'
45
+ },
46
+ messageTemplateNextBestTask: {
47
+ id: 'fabric.editor.ai.experience.messageTemplateNextBestTask',
48
+ defaultMessage: 'Searching: One moment while we search Jira.',
49
+ description: 'Message to indicate to user that the AI is searching Jira'
50
+ },
51
+ convoAIBeta: {
52
+ id: 'fabric.editor.ai.screens.preview.convoAIBeta',
53
+ defaultMessage: 'Content generation requests that reference URLs is in beta.',
54
+ description: 'The disclaimer for convo ai beta lozenge'
55
+ },
56
+ useRovoOrganisationKnowledgeRightText: {
57
+ id: 'fabric.editor.ai.experience.labelRight.rovo',
58
+ defaultMessage: 'Rovo',
59
+ description: 'Righthand side text for Atlassian Intelligence general knowledge suggestion'
60
+ },
61
+ useGeneralAiKnowledgeRightText: {
62
+ id: 'fabric.editor.ai.experience.labelRight.atlassianIntelligence',
63
+ defaultMessage: 'Atlassian Intelligence',
64
+ description: 'Righthand side text for Rovo general knowledge suggestion'
65
+ },
66
+ atlassianIntelligenceGroupHeading: {
67
+ id: 'fabric.editor.ai.experience.suggestionGroupHeading.atlassianIntelligence',
68
+ defaultMessage: 'Atlassian intelligence',
69
+ description: 'Heading text to indicate that the next set of features are for Atlassian intelligence'
70
+ },
71
+ knowledgeSourceGroupHeading: {
72
+ id: 'fabric.editor.ai.experience.suggestionGroupHeading.knowledgeSource',
73
+ defaultMessage: 'Knowledge source',
74
+ description: 'Heading text to indicate that the next set of features are for Knowledge source'
75
+ },
76
+ agentsSuggestionGroupHeading: {
77
+ id: 'fabric.editor.ai.experience.suggestionGroupHeading.agents',
78
+ defaultMessage: 'Agents',
79
+ description: 'Heading text to indicate that the next set of features are for agents'
80
+ },
81
+ rovoAgentsCountSuggestionGroupHeading: {
82
+ id: 'fabric.editor.ai.experience.suggestionGroupHeading.rovoAgentsCount',
83
+ defaultMessage: "Rovo agents ({numberOfAgents})",
84
+ description: 'Heading text to indicate that the next set of features are for starred agents'
85
+ },
86
+ useRovoAgentsCountSuggestionGroupHeading: {
87
+ id: 'fabric.editor.ai.experience.suggestionGroupHeading.useRovoAgentsCount',
88
+ defaultMessage: "Use a Rovo agent ({numberOfAgents})",
89
+ description: 'Heading text to indicate that the next set of features are for starred agents'
90
+ },
91
+ rovoAgentsSuggestionGroupHeading: {
92
+ id: 'fabric.editor.ai.experience.suggestionGroupHeading.rovoAgents',
93
+ defaultMessage: 'Rovo agents',
94
+ description: 'Heading text to indicate that the next set of features are for agents'
95
+ },
96
+ useGeneralAiKnowledgeLabel: {
97
+ id: 'fabric.editor.ai.experience.useGeneralAiKnowledgeLabel',
98
+ defaultMessage: 'Use general knowledge',
99
+ description: 'Label for the button to write using general AI knowledge'
100
+ },
101
+ useRovoOrganisationKnowledgeLabel: {
102
+ id: 'fabric.editor.ai.experience.useRovoOrganisationKnowledgeLabel',
103
+ defaultMessage: 'Use knowledge from your organization',
104
+ description: 'Label for the button to ask using Rovo organisation knowledge'
105
+ },
106
+ agentsFooterRightText: {
107
+ id: 'fabric.editor.ai.experience.footerRightText.agents',
108
+ defaultMessage: 'Powered by Rovo',
109
+ description: 'Label text for Rovo footer icon'
110
+ },
111
+ agentsBrowseMore: {
112
+ id: 'fabric.editor.ai.experience.browseMore.agents',
113
+ defaultMessage: 'Browse Agents',
114
+ description: 'Link text to browse more agents'
115
+ },
116
+ showMoreButton: {
117
+ id: 'fabric.editor.ai.experience.showMoreButton',
118
+ defaultMessage: 'Show more',
119
+ description: 'Link text for the Show more button which is shown when hiding extra suggestions'
120
+ },
121
+ noResultsSuggestion: {
122
+ id: 'fabric.editor.ai.experience.noResultsSuggestion',
123
+ defaultMessage: 'No results',
124
+ description: 'Text which displays when a nested set of results has no search results'
125
+ },
126
+ engagementBannerLinksText: {
127
+ id: 'fabric.editor.ai.experience.engagementBannerLinksText',
128
+ defaultMessage: '🚀 You can now paste links 🔗 to Jira and Confluence content in your prompts.',
129
+ description: 'Text for the engagement banner'
130
+ }
131
+ });
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.aiFailedStateMessages = void 0;
7
+ var _reactIntlNext = require("react-intl-next");
8
+ // eslint-disable-next-line no-restricted-imports
9
+
10
+ var aiFailedStateMessages = exports.aiFailedStateMessages = (0, _reactIntlNext.defineMessages)({
11
+ aupViolationMessage: {
12
+ id: 'fabric.editor.ai.experience.aupViolationMessage',
13
+ defaultMessage: 'Your prompt or content might not comply with our Acceptable Use Policy. Please review both and refer to our <link>Acceptable Use Policy</link> if needed. If the problem persists, consider trying a different prompt or content.',
14
+ description: 'Message to indicate to user their prompt or content (this can be a range of content, such as a selection or document -- we used content to keep it vague -- as this will change without user knowing) has been detected as violating Atlassians acceptable use policy. Note the markdown link -- this is expected to remain as markdown as this string is converted to html.'
15
+ },
16
+ documentInsertError: {
17
+ id: 'fabric.editor.ai.experience-application.documentInsertError',
18
+ defaultMessage: "We're having trouble inserting the response. Close the dialog and try again.",
19
+ description: 'Message to users that displays when error happens during document insertion.'
20
+ },
21
+ tokenLimitExceeded: {
22
+ id: 'fabric.editor.ai.experience-application.tokenLimitExceeded',
23
+ defaultMessage: "We couldn't get a response. Your prompt or response was over the limit for this request. Close the dialog and try again.",
24
+ description: 'Message to users that displays when their request has exceeded the maximum input or output limit.'
25
+ },
26
+ rateLimitEnforced: {
27
+ id: 'fabric.editor.ai.experience-application.rateLimitEnforced',
28
+ defaultMessage: 'We’ve received too many recent requests for Atlassian Intelligence (AI). Try again in a few minutes or read about <link>excessive use of AI</link>.',
29
+ description: 'Message to users that rate limiting has been enforced.'
30
+ },
31
+ apiError: {
32
+ id: 'fabric.editor.ai.experience.apiError',
33
+ defaultMessage: "We couldn\u2019t get a response, please try again.",
34
+ description: "We couldn't get a response due to an api error (ie. the backend responded with an error, or got a timeout)"
35
+ },
36
+ elevateDisabledGenerateError: {
37
+ id: 'fabric.editor.ai.experience.elevateDisabledGenetateError',
38
+ defaultMessage: "Free generate is disabled in Elevate at this time.",
39
+ description: "Message to let internal users know that the free generate editor ai feature is is disabled in Elevate at this time."
40
+ },
41
+ internalServerError: {
42
+ id: 'fabric.editor.ai.experience.internalServerError',
43
+ defaultMessage: "Atlassian Intelligence (AI) isn\u2019t responding. Try again later or <link>check the status of AI</link>.",
44
+ description: "We couldn't get a response due to an internal server error."
45
+ },
46
+ inputTooShortError: {
47
+ id: 'fabric.editor.ai.experience.inputTooShortError',
48
+ defaultMessage: "The content is too short to summarize. Please add more and try again.",
49
+ description: "The input was too short to summarize"
50
+ },
51
+ hipaaContentError: {
52
+ id: 'fabric.editor.ai.experience.hipaaContentError',
53
+ defaultMessage: "Atlassian Intelligence was unable to process your request as your content contains links to HIPAA restricted content. Please remove these links and try again.",
54
+ description: "The input contained HIPAA content"
55
+ }
56
+ });
@@ -0,0 +1,368 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.aiLanguageMessages = void 0;
7
+ var _reactIntlNext = require("react-intl-next");
8
+ // eslint-disable-next-line no-restricted-imports
9
+
10
+ var aiLanguageMessages = exports.aiLanguageMessages = (0, _reactIntlNext.defineMessages)({
11
+ // Language Messages
12
+ nestingParentTitle: {
13
+ id: 'fabric.editor.ai.config.item.translate.nestingParentTitle.ga',
14
+ defaultMessage: 'Translate',
15
+ description: 'The nested title which shows in the generative-ai-modal'
16
+ },
17
+ nestingParentTitlePostGA: {
18
+ id: 'fabric.editor.ai.config.item.translate.nestingParentTitlePostGA',
19
+ defaultMessage: 'Translate to ...',
20
+ description: 'The nested title which shows in the generative-ai-modal'
21
+ },
22
+ chineseSimplified: {
23
+ id: 'fabric.editor.ai.config.item.translate.chineseSimplified',
24
+ defaultMessage: 'Chinese (Simplified)',
25
+ description: 'Language string referenced in UIs involving the translation AI prompt for Chinese (Simplified)'
26
+ },
27
+ chineseTraditional: {
28
+ id: 'fabric.editor.ai.config.item.translate.chineseTraditional',
29
+ defaultMessage: 'Chinese (Traditional)',
30
+ description: 'Language string referenced in UIs involving the translation AI prompt for Chinese (Traditional)'
31
+ },
32
+ czech: {
33
+ id: 'fabric.editor.ai.config.item.translate.czech',
34
+ defaultMessage: 'Czech',
35
+ description: 'Language string referenced in UIs involving the translation AI prompt for Czech'
36
+ },
37
+ danish: {
38
+ id: 'fabric.editor.ai.config.item.translate.danish',
39
+ defaultMessage: 'Danish',
40
+ description: 'Language string referenced in UIs involving the translation AI prompt for Danish'
41
+ },
42
+ dutch: {
43
+ id: 'fabric.editor.ai.config.item.translate.dutch',
44
+ defaultMessage: 'Dutch',
45
+ description: 'Language string referenced in UIs involving the translation AI prompt for Dutch'
46
+ },
47
+ english: {
48
+ id: 'fabric.editor.ai.config.item.translate.english',
49
+ defaultMessage: 'English',
50
+ description: 'Language string referenced in UIs involving the translation AI prompt for English'
51
+ },
52
+ finnish: {
53
+ id: 'fabric.editor.ai.config.item.translate.finnish',
54
+ defaultMessage: 'Finnish',
55
+ description: 'Language string referenced in UIs involving the translation AI prompt for Finnish'
56
+ },
57
+ french: {
58
+ id: 'fabric.editor.ai.config.item.translate.french',
59
+ defaultMessage: 'French',
60
+ description: 'Language string referenced in UIs involving the translation AI prompt for French'
61
+ },
62
+ german: {
63
+ id: 'fabric.editor.ai.config.item.translate.german',
64
+ defaultMessage: 'German',
65
+ description: 'Language string referenced in UIs involving the translation AI prompt for German'
66
+ },
67
+ hungarian: {
68
+ id: 'fabric.editor.ai.config.item.translate.hungarian',
69
+ defaultMessage: 'Hungarian',
70
+ description: 'Language string referenced in UIs involving the translation AI prompt for Hungarian'
71
+ },
72
+ italian: {
73
+ id: 'fabric.editor.ai.config.item.translate.italian',
74
+ defaultMessage: 'Italian',
75
+ description: 'Language string referenced in UIs involving the translation AI prompt for Italian'
76
+ },
77
+ japanese: {
78
+ id: 'fabric.editor.ai.config.item.translate.japanese',
79
+ defaultMessage: 'Japanese',
80
+ description: 'Language string referenced in UIs involving the translation AI prompt for Japanese'
81
+ },
82
+ korean: {
83
+ id: 'fabric.editor.ai.config.item.translate.korean',
84
+ defaultMessage: 'Korean',
85
+ description: 'Language string referenced in UIs involving the translation AI prompt for Korean'
86
+ },
87
+ norwegian: {
88
+ id: 'fabric.editor.ai.config.item.translate.norwegian',
89
+ defaultMessage: 'Norwegian',
90
+ description: 'Language string referenced in UIs involving the translation AI prompt for Norwegian'
91
+ },
92
+ polish: {
93
+ id: 'fabric.editor.ai.config.item.translate.polish',
94
+ defaultMessage: 'Polish',
95
+ description: 'Language string referenced in UIs involving the translation AI prompt for Polish'
96
+ },
97
+ portugueseBrazilian: {
98
+ id: 'fabric.editor.ai.config.item.translate.portugueseBrazilian',
99
+ defaultMessage: 'Portuguese (Brazilian)',
100
+ description: 'Language string referenced in UIs involving the translation AI prompt for Portuguese (Brazilian)'
101
+ },
102
+ russian: {
103
+ id: 'fabric.editor.ai.config.item.translate.russian',
104
+ defaultMessage: 'Russian',
105
+ description: 'Language string referenced in UIs involving the translation AI prompt for Russian'
106
+ },
107
+ spanish: {
108
+ id: 'fabric.editor.ai.config.item.translate.spanish',
109
+ defaultMessage: 'Spanish',
110
+ description: 'Language string referenced in UIs involving the translation AI prompt for Spanish'
111
+ },
112
+ swedish: {
113
+ id: 'fabric.editor.ai.config.item.translate.swedish',
114
+ defaultMessage: 'Swedish',
115
+ description: 'Language string referenced in UIs involving the translation AI prompt for Swedish'
116
+ },
117
+ turkish: {
118
+ id: 'fabric.editor.ai.config.item.translate.turkish',
119
+ defaultMessage: 'Turkish',
120
+ description: 'Language string referenced in UIs involving the translation AI prompt for Turkish'
121
+ },
122
+ thai: {
123
+ id: 'fabric.editor.ai.config.item.translate.thai',
124
+ defaultMessage: 'Thai',
125
+ description: 'Language string referenced in UIs involving the translation AI prompt for Thai'
126
+ },
127
+ ukrainian: {
128
+ id: 'fabric.editor.ai.config.item.translate.ukrainian',
129
+ defaultMessage: 'Ukrainian',
130
+ description: 'Language string referenced in UIs involving the translation AI prompt for Ukrainian'
131
+ },
132
+ vietnamese: {
133
+ id: 'fabric.editor.ai.config.item.translate.vietnamese',
134
+ defaultMessage: 'Vietnamese',
135
+ description: 'Language string referenced in UIs involving the translation AI prompt for Vietnamese'
136
+ },
137
+ // Translate to messages
138
+ chineseSimplifiedTitle: {
139
+ id: 'fabric.editor.ai.config.item.translateTo.chineseSimplified.title',
140
+ defaultMessage: 'Translate to Chinese (Simplified)',
141
+ description: 'Title of a prompt that translates the selected content into Chinese (Simplified)'
142
+ },
143
+ chineseSimplifiedDescription: {
144
+ id: 'fabric.editor.ai.config.item.translateTo.chineseSimplified.description',
145
+ defaultMessage: "Translates the text you're working on to Chinese (Simplified)",
146
+ description: 'Description for prompt that translates selected content into Chinese (Simplified)'
147
+ },
148
+ chineseTraditionalTitle: {
149
+ id: 'fabric.editor.ai.config.item.translateTo.chineseTraditional.title',
150
+ defaultMessage: 'Translate to Chinese (Traditional)',
151
+ description: 'Title of a prompt that translates the selected content into Chinese (Traditional)'
152
+ },
153
+ chineseTraditionalDescription: {
154
+ id: 'fabric.editor.ai.config.item.translateTo.chineseTraditional.description',
155
+ defaultMessage: "Translates the text you're working on to Chinese (Traditional)",
156
+ description: 'Description for prompt that translates selected content into Chinese (Traditional)'
157
+ },
158
+ czechTitle: {
159
+ id: 'fabric.editor.ai.config.item.translateTo.czech.title',
160
+ defaultMessage: 'Translate to Czech',
161
+ description: 'Title of a prompt that translates the selected content into Czech'
162
+ },
163
+ czechDescription: {
164
+ id: 'fabric.editor.ai.config.item.translateTo.czech.description',
165
+ defaultMessage: "Translates the text you're working on to Czech",
166
+ description: 'Description for prompt that translates selected content into Czech'
167
+ },
168
+ danishTitle: {
169
+ id: 'fabric.editor.ai.config.item.translateTo.danish.title',
170
+ defaultMessage: 'Translate to Danish',
171
+ description: 'Title of a prompt that translates the selected content into Danish'
172
+ },
173
+ danishDescription: {
174
+ id: 'fabric.editor.ai.config.item.translateTo.danish.description',
175
+ defaultMessage: "Translates the text you're working on to Danish",
176
+ description: 'Description for prompt that translates selected content into Danish'
177
+ },
178
+ dutchTitle: {
179
+ id: 'fabric.editor.ai.config.item.translateTo.dutch.title',
180
+ defaultMessage: 'Translate to Dutch',
181
+ description: 'Title of a prompt that translates the selected content into Dutch'
182
+ },
183
+ dutchDescription: {
184
+ id: 'fabric.editor.ai.config.item.translateTo.dutch.description',
185
+ defaultMessage: "Translates the text you're working on to Dutch",
186
+ description: 'Description for prompt that translates selected content into Dutch'
187
+ },
188
+ englishTitle: {
189
+ id: 'fabric.editor.ai.config.item.translateTo.english.title',
190
+ defaultMessage: 'Translate to English',
191
+ description: 'Title of a prompt that translates the selected content into English'
192
+ },
193
+ englishDescription: {
194
+ id: 'fabric.editor.ai.config.item.translateTo.english.description',
195
+ defaultMessage: "Translates the text you're working on to English",
196
+ description: 'Description for prompt that translates selected content into English'
197
+ },
198
+ finnishTitle: {
199
+ id: 'fabric.editor.ai.config.item.translateTo.finnish.title',
200
+ defaultMessage: 'Translate to Finnish',
201
+ description: 'Title of a prompt that translates the selected content into Finnish'
202
+ },
203
+ finnishDescription: {
204
+ id: 'fabric.editor.ai.config.item.translateTo.finnish.description',
205
+ defaultMessage: "Translates the text you're working on to Finnish",
206
+ description: 'Description for prompt that translates selected content into Finnish'
207
+ },
208
+ frenchTitle: {
209
+ id: 'fabric.editor.ai.config.item.translateTo.french.title',
210
+ defaultMessage: 'Translate to French',
211
+ description: 'Title of a prompt that translates the selected content into French'
212
+ },
213
+ frenchDescription: {
214
+ id: 'fabric.editor.ai.config.item.translateTo.french.description',
215
+ defaultMessage: "Translates the text you're working on to French",
216
+ description: 'Description for prompt that translates selected content into French'
217
+ },
218
+ germanTitle: {
219
+ id: 'fabric.editor.ai.config.item.translateTo.german.title',
220
+ defaultMessage: 'Translate to German',
221
+ description: 'Title of a prompt that translates the selected content into German'
222
+ },
223
+ germanDescription: {
224
+ id: 'fabric.editor.ai.config.item.translateTo.german.description',
225
+ defaultMessage: "Translates the text you're working on to German",
226
+ description: 'Description for prompt that translates selected content into German'
227
+ },
228
+ hungarianTitle: {
229
+ id: 'fabric.editor.ai.config.item.translateTo.hungarian.title',
230
+ defaultMessage: 'Translate to Hungarian',
231
+ description: 'Title of a prompt that translates the selected content into Hungarian'
232
+ },
233
+ hungarianDescription: {
234
+ id: 'fabric.editor.ai.config.item.translateTo.hungarian.description',
235
+ defaultMessage: "Translates the text you're working on to Hungarian",
236
+ description: 'Description for prompt that translates selected content into Hungarian'
237
+ },
238
+ italianTitle: {
239
+ id: 'fabric.editor.ai.config.item.translateTo.italian.title',
240
+ defaultMessage: 'Translate to Italian',
241
+ description: 'Title of a prompt that translates the selected content into Italian'
242
+ },
243
+ italianDescription: {
244
+ id: 'fabric.editor.ai.config.item.translateTo.italian.description',
245
+ defaultMessage: "Translates the text you're working on to Italian",
246
+ description: 'Description for prompt that translates selected content into Italian'
247
+ },
248
+ japaneseTitle: {
249
+ id: 'fabric.editor.ai.config.item.translateTo.japanese.title',
250
+ defaultMessage: 'Translate to Japanese',
251
+ description: 'Title of a prompt that translates the selected content into Japanese'
252
+ },
253
+ japaneseDescription: {
254
+ id: 'fabric.editor.ai.config.item.translateTo.japanese.description',
255
+ defaultMessage: "Translates the text you're working on to Japanese",
256
+ description: 'Description for prompt that translates selected content into Japanese'
257
+ },
258
+ koreanTitle: {
259
+ id: 'fabric.editor.ai.config.item.translateTo.korean.title',
260
+ defaultMessage: 'Translate to Korean',
261
+ description: 'Title of a prompt that translates the selected content into Korean'
262
+ },
263
+ koreanDescription: {
264
+ id: 'fabric.editor.ai.config.item.translateTo.korean.description',
265
+ defaultMessage: "Translates the text you're working on to Korean",
266
+ description: 'Description for prompt that translates selected content into Korean'
267
+ },
268
+ norwegianTitle: {
269
+ id: 'fabric.editor.ai.config.item.translateTo.norwegian.title',
270
+ defaultMessage: 'Translate to Norwegian',
271
+ description: 'Title of a prompt that translates the selected content into Norwegian'
272
+ },
273
+ norwegianDescription: {
274
+ id: 'fabric.editor.ai.config.item.translateTo.norwegian.description',
275
+ defaultMessage: "Translates the text you're working on to Norwegian",
276
+ description: 'Description for prompt that translates selected content into Norwegian'
277
+ },
278
+ polishTitle: {
279
+ id: 'fabric.editor.ai.config.item.translateTo.polish.title',
280
+ defaultMessage: 'Translate to Polish',
281
+ description: 'Title of a prompt that translates the selected content into Polish'
282
+ },
283
+ polishDescription: {
284
+ id: 'fabric.editor.ai.config.item.translateTo.polish.description',
285
+ defaultMessage: "Translates the text you're working on to Polish",
286
+ description: 'Description for prompt that translates selected content into Polish'
287
+ },
288
+ portugueseBrazilianTitle: {
289
+ id: 'fabric.editor.ai.config.item.translateTo.portugueseBrazilian.title',
290
+ defaultMessage: 'Translate to Portuguese (Brazilian)',
291
+ description: 'Title of a prompt that translates the selected content into Portuguese (Brazilian)'
292
+ },
293
+ portugueseBrazilianDescription: {
294
+ id: 'fabric.editor.ai.config.item.translateTo.portugueseBrazilian.description',
295
+ defaultMessage: "Translates the text you're working on to Portuguese (Brazilian)",
296
+ description: 'Description for prompt that translates selected content into Portuguese (Brazilian)'
297
+ },
298
+ russianTitle: {
299
+ id: 'fabric.editor.ai.config.item.translateTo.russian.title',
300
+ defaultMessage: 'Translate to Russian',
301
+ description: 'Title of a prompt that translates the selected content into Russian'
302
+ },
303
+ russianDescription: {
304
+ id: 'fabric.editor.ai.config.item.translateTo.russian.description',
305
+ defaultMessage: "Translates the text you're working on to Russian",
306
+ description: 'Description for prompt that translates selected content into Russian'
307
+ },
308
+ spanishTitle: {
309
+ id: 'fabric.editor.ai.config.item.translateTo.spanish.title',
310
+ defaultMessage: 'Translate to Spanish',
311
+ description: 'Title of a prompt that translates the selected content into Spanish'
312
+ },
313
+ spanishDescription: {
314
+ id: 'fabric.editor.ai.config.item.translateTo.spanish.description',
315
+ defaultMessage: "Translates the text you're working on to Spanish",
316
+ description: 'Description for prompt that translates selected content into Spanish'
317
+ },
318
+ swedishTitle: {
319
+ id: 'fabric.editor.ai.config.item.translateTo.swedish.title',
320
+ defaultMessage: 'Translate to Swedish',
321
+ description: 'Title of a prompt that translates the selected content into Swedish'
322
+ },
323
+ swedishDescription: {
324
+ id: 'fabric.editor.ai.config.item.translateTo.swedish.description',
325
+ defaultMessage: "Translates the text you're working on to Swedish",
326
+ description: 'Description for prompt that translates selected content into Swedish'
327
+ },
328
+ turkishTitle: {
329
+ id: 'fabric.editor.ai.config.item.translateTo.turkish.title',
330
+ defaultMessage: 'Translate to Turkish',
331
+ description: 'Title of a prompt that translates the selected content into Turkish'
332
+ },
333
+ turkishDescription: {
334
+ id: 'fabric.editor.ai.config.item.translateTo.turkish.description',
335
+ defaultMessage: "Translates the text you're working on to Turkish",
336
+ description: 'Description for prompt that translates selected content into Turkish'
337
+ },
338
+ thaiTitle: {
339
+ id: 'fabric.editor.ai.config.item.translateTo.thai.title',
340
+ defaultMessage: 'Translate to Thai',
341
+ description: 'Title of a prompt that translates the selected content into Thai'
342
+ },
343
+ thaiDescription: {
344
+ id: 'fabric.editor.ai.config.item.translateTo.thai.description',
345
+ defaultMessage: "Translates the text you're working on to Thai",
346
+ description: 'Description for prompt that translates selected content into Thai'
347
+ },
348
+ ukrainianTitle: {
349
+ id: 'fabric.editor.ai.config.item.translateTo.ukrainian.title',
350
+ defaultMessage: 'Translate to Ukrainian',
351
+ description: 'Title of a prompt that translates the selected content into Ukrainian'
352
+ },
353
+ ukrainianDescription: {
354
+ id: 'fabric.editor.ai.config.item.translateTo.ukrainian.description',
355
+ defaultMessage: "Translates the text you're working on to Ukrainian",
356
+ description: 'Description for prompt that translates selected content into Ukrainian'
357
+ },
358
+ vietnameseTitle: {
359
+ id: 'fabric.editor.ai.config.item.translateTo.vietnamese.title',
360
+ defaultMessage: 'Translate to Vietnamese',
361
+ description: 'Title of a prompt that translates the selected content into Vietnamese'
362
+ },
363
+ vietnameseDescription: {
364
+ id: 'fabric.editor.ai.config.item.translateTo.vietnamese.description',
365
+ defaultMessage: "Translates the text you're working on to Vietnamese",
366
+ description: 'Description for prompt that translates selected content into Vietnamese'
367
+ }
368
+ });