@box/box-ai-content-answers 0.83.6 → 0.85.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 (54) hide show
  1. package/esm/lib/components/common/mock-data.js +35 -1
  2. package/esm/lib/components/modal/modal.js +123 -107
  3. package/i18n/bn-IN.js +5 -5
  4. package/i18n/bn-IN.properties +10 -4
  5. package/i18n/da-DK.js +5 -5
  6. package/i18n/da-DK.properties +10 -4
  7. package/i18n/de-DE.js +5 -5
  8. package/i18n/de-DE.properties +10 -4
  9. package/i18n/en-AU.js +3 -3
  10. package/i18n/en-AU.properties +10 -4
  11. package/i18n/en-CA.js +2 -2
  12. package/i18n/en-CA.properties +9 -3
  13. package/i18n/en-GB.js +3 -3
  14. package/i18n/en-GB.properties +10 -4
  15. package/i18n/en-x-pseudo.js +57 -57
  16. package/i18n/en-x-pseudo.properties +61 -55
  17. package/i18n/es-419.js +5 -5
  18. package/i18n/es-419.properties +10 -4
  19. package/i18n/es-ES.js +5 -5
  20. package/i18n/es-ES.properties +10 -4
  21. package/i18n/fi-FI.js +5 -5
  22. package/i18n/fi-FI.properties +10 -4
  23. package/i18n/fr-CA.js +5 -5
  24. package/i18n/fr-CA.properties +10 -4
  25. package/i18n/fr-FR.js +5 -5
  26. package/i18n/fr-FR.properties +10 -4
  27. package/i18n/hi-IN.js +5 -5
  28. package/i18n/hi-IN.properties +10 -4
  29. package/i18n/it-IT.js +5 -5
  30. package/i18n/it-IT.properties +10 -4
  31. package/i18n/ja-JP.js +5 -5
  32. package/i18n/ja-JP.properties +10 -4
  33. package/i18n/ko-KR.js +5 -5
  34. package/i18n/ko-KR.properties +10 -4
  35. package/i18n/nb-NO.js +5 -5
  36. package/i18n/nb-NO.properties +10 -4
  37. package/i18n/nl-NL.js +5 -5
  38. package/i18n/nl-NL.properties +10 -4
  39. package/i18n/pl-PL.js +5 -5
  40. package/i18n/pl-PL.properties +10 -4
  41. package/i18n/pt-BR.js +5 -5
  42. package/i18n/pt-BR.properties +10 -4
  43. package/i18n/ru-RU.js +5 -5
  44. package/i18n/ru-RU.properties +10 -4
  45. package/i18n/sv-SE.js +5 -5
  46. package/i18n/sv-SE.properties +10 -4
  47. package/i18n/tr-TR.js +5 -5
  48. package/i18n/tr-TR.properties +10 -4
  49. package/i18n/zh-CN.js +5 -5
  50. package/i18n/zh-CN.properties +10 -4
  51. package/i18n/zh-TW.js +5 -5
  52. package/i18n/zh-TW.properties +10 -4
  53. package/package.json +3 -3
  54. package/types/lib/components/common/mock-data.d.ts +4 -0
@@ -146,6 +146,39 @@ const s = [{
146
146
  status: "no_permission",
147
147
  id: "10"
148
148
  }], _ = [{
149
+ status: "supported",
150
+ fileType: "word-document"
151
+ }, {
152
+ status: "supported",
153
+ fileType: "spreadsheet"
154
+ }, {
155
+ status: "supported",
156
+ fileType: "powerpoint-presentation"
157
+ }, {
158
+ status: "supported",
159
+ fileType: "pdf"
160
+ }, {
161
+ status: "unsupported",
162
+ fileType: "image"
163
+ }, {
164
+ status: "unsupported",
165
+ fileType: "video"
166
+ }, {
167
+ status: "no_permission",
168
+ fileType: "audio"
169
+ }, {
170
+ status: "supported",
171
+ fileType: "code"
172
+ }, {
173
+ status: "supported",
174
+ fileType: "archive"
175
+ }, {
176
+ status: "supported",
177
+ fileType: "boxnote"
178
+ }, {
179
+ status: "no_permission",
180
+ fileType: void 0
181
+ }], f = [{
149
182
  type: "file",
150
183
  name: "This_is_a_very_long_file_name_that_tests_the_boundary_conditions_for_file_names.docx",
151
184
  status: "supported",
@@ -210,6 +243,7 @@ export {
210
243
  m as mockAgentState,
211
244
  d as mockAgents,
212
245
  c as mockItemsAllTypes,
213
- _ as mockItemsWithLongNames,
246
+ f as mockItemsWithLongNames,
247
+ _ as mockLogAllTypes,
214
248
  u as mockQuestions
215
249
  };
@@ -1,133 +1,149 @@
1
- import { useBreakpoint as U, Breakpoint as W, Modal as n, Text as D } from "@box/blueprint-web";
2
- import { ArrowsCollapse as K } from "@box/blueprint-web-assets/icons/Fill";
3
- import { BoxAiLogo as $ } from "@box/blueprint-web-assets/icons/Logo";
4
- import { Size8 as T } from "@box/blueprint-web-assets/tokens/tokens";
5
- import { BoxAiAgentSelectorWithApi as J, AgentsProvider as V } from "@box/box-ai-agent-selector";
1
+ import { useBreakpoint as D, Breakpoint as I, Modal as c, Text as K } from "@box/blueprint-web";
2
+ import { ArrowsCollapse as $ } from "@box/blueprint-web-assets/icons/Fill";
3
+ import { BoxAiLogo as J } from "@box/blueprint-web-assets/icons/Logo";
4
+ import { Size8 as _ } from "@box/blueprint-web-assets/tokens/tokens";
5
+ import { BoxAiAgentSelectorWithApi as V, AgentsProvider as X } from "@box/box-ai-agent-selector";
6
6
  import l from "react";
7
- import { useIntl as X } from "react-intl";
8
- import { BoxAiContentAnswers as Y } from "../../box-ai-content-answers.js";
9
- import { AgentsProvider as Z } from "../../contexts/AgentsContext.js";
10
- import { A as y, R as ee } from "../../../../chunks/types.js";
11
- import { AgentSelector as te } from "../agents/agent-selector.js";
12
- import { LOGGER_BASE_CONFIG as b, LOGGER_ACTION_CLICK as oe } from "../common/constants.js";
13
- import { s as t, C as se } from "../../../../chunks/clear-conversation-button.js";
14
- import re from "./hooks/useStopPropagationOnEsc.js";
15
- import f from "./messages.js";
16
- import { jsxs as g, jsx as e } from "react/jsx-runtime";
17
- const ve = ({
18
- children: L,
19
- getAIStudioAgents: p,
20
- hasCustomSuggestedQuestions: _,
21
- hostAppName: m,
22
- isAgentSelectorEnabled: u,
23
- isAIStudioAgentSelectorEnabled: i,
24
- isDebugModeEnabled: x,
25
- isResetChatEnabled: k,
26
- isStopResponseEnabled: w = !1,
27
- itemSize: C,
28
- extension: h,
29
- onClearAction: A,
30
- onSelectAgent: B,
31
- recordAction: s,
32
- shouldRenderProviders: S = !0,
33
- stopPropagationOnEsc: G,
34
- variant: N = "closable",
35
- ...I
7
+ import { useIntl as Y } from "react-intl";
8
+ import { BoxAiContentAnswers as Z } from "../../box-ai-content-answers.js";
9
+ import { AgentsProvider as ee } from "../../contexts/AgentsContext.js";
10
+ import { A as te, R as oe } from "../../../../chunks/types.js";
11
+ import { AgentSelector as se } from "../agents/agent-selector.js";
12
+ import { LOGGER_BASE_CONFIG as g, LOGGER_ACTION_CLICK as ae } from "../common/constants.js";
13
+ import { s as o, C as re } from "../../../../chunks/clear-conversation-button.js";
14
+ import le from "./hooks/useStopPropagationOnEsc.js";
15
+ import p from "./messages.js";
16
+ import { jsxs as C, jsx as e } from "react/jsx-runtime";
17
+ const Ee = ({
18
+ children: x,
19
+ getAIStudioAgents: h,
20
+ hasCustomSuggestedQuestions: k,
21
+ hostAppName: d,
22
+ isAgentSelectorEnabled: A,
23
+ isAIStudioAgentSelectorEnabled: m,
24
+ isDebugModeEnabled: w,
25
+ isResetChatEnabled: B,
26
+ isStopResponseEnabled: S = !1,
27
+ itemSize: T,
28
+ extension: N,
29
+ onClearAction: O,
30
+ onSelectAgent: G,
31
+ recordAction: a,
32
+ shouldRenderProviders: P = !0,
33
+ stopPropagationOnEsc: q,
34
+ variant: R = "closable",
35
+ items: n,
36
+ parentItem: i,
37
+ ...H
36
38
  }) => {
37
- var E, M;
39
+ var b, L;
38
40
  const {
39
- open: O,
40
- defaultOpen: P,
41
- onOpenChange: q,
42
- modal: H,
43
- ...o
44
- } = I, c = X(), z = U() <= W.Medium;
45
- re(G, O);
46
- const d = (M = (E = o == null ? void 0 : o.questions) == null ? void 0 : E[o.questions.length - 1]) == null ? void 0 : M.error, [F, R] = l.useState(!1), r = l.useCallback((a) => {
47
- s && (a.data ?? (a.data = {}), a.data.hostAppName = m, s(a));
48
- }, [m, s]);
41
+ open: v,
42
+ defaultOpen: z,
43
+ onOpenChange: F,
44
+ modal: j,
45
+ ...r
46
+ } = H, f = Y(), Q = D() <= I.Medium;
47
+ le(q, v);
48
+ const u = (L = (b = r == null ? void 0 : r.questions) == null ? void 0 : b[r.questions.length - 1]) == null ? void 0 : L.error, [U, E] = l.useState(!1), s = l.useCallback((t) => {
49
+ a && (t.data ?? (t.data = {}), t.data.hostAppName = d, a(t));
50
+ }, [d, a]);
49
51
  l.useEffect(() => {
50
- r({
51
- ...b,
52
+ n || s({
53
+ ...g,
52
54
  target: "loaded",
53
55
  data: {
54
- fileSize: C,
55
- fileType: h
56
+ fileSize: T,
57
+ fileType: N
56
58
  }
57
59
  });
58
- }, [r, h, C, s]), l.useEffect(() => {
59
- d && d === y.AGENT_NOT_FOUND && R(!0);
60
- }, [d]);
61
- const j = () => {
62
- A && (A(), r({
63
- ...b,
64
- action: oe,
60
+ }, [s, N, T, n, a]), l.useEffect(() => {
61
+ n && s({
62
+ ...g,
63
+ target: "loaded",
64
+ data: {
65
+ parentItemType: i == null ? void 0 : i.type,
66
+ items: n.map((t) => ({
67
+ status: t.status,
68
+ fileType: t.fileType
69
+ }))
70
+ }
71
+ });
72
+ }, [s, i, a]), l.useEffect(() => {
73
+ u && u === te.AGENT_NOT_FOUND && E(!0);
74
+ }, [u]);
75
+ const W = () => {
76
+ O && (O(), s({
77
+ ...g,
78
+ action: ae,
65
79
  target: "clearChat"
66
80
  }));
67
- }, Q = l.useCallback(async () => (R(!1), p()), [p]), v = /* @__PURE__ */ g(n, {
68
- defaultOpen: P,
69
- modal: H,
70
- onOpenChange: q,
71
- open: O,
72
- children: [/* @__PURE__ */ e(n.Trigger, {
73
- children: L
74
- }), /* @__PURE__ */ g(n.Content, {
75
- className: t.contentAnswersModal,
81
+ }, y = l.useCallback(async () => (E(!1), h()), [h]), M = /* @__PURE__ */ C(c, {
82
+ defaultOpen: z,
83
+ modal: j,
84
+ onOpenChange: F,
85
+ open: v,
86
+ children: [/* @__PURE__ */ e(c.Trigger, {
87
+ children: x
88
+ }), /* @__PURE__ */ C(c.Content, {
89
+ className: o.contentAnswersModal,
76
90
  "data-testid": "content-answers-modal",
77
91
  size: "xlarge",
78
- children: [/* @__PURE__ */ e(n.Header, {
79
- className: t.modalHeaderContainer,
80
- children: /* @__PURE__ */ g("div", {
81
- className: t.modalHeader,
82
- children: [!z && /* @__PURE__ */ e($, {
83
- className: t.BoxAIIconColor,
92
+ children: [/* @__PURE__ */ e(c.Header, {
93
+ className: o.modalHeaderContainer,
94
+ children: /* @__PURE__ */ C("div", {
95
+ className: o.modalHeader,
96
+ children: [!Q && /* @__PURE__ */ e(J, {
97
+ className: o.BoxAIIconColor,
84
98
  "data-testid": "content-answers-icon-color",
85
- height: T,
86
- width: T
87
- }), /* @__PURE__ */ e(D, {
99
+ height: _,
100
+ width: _
101
+ }), /* @__PURE__ */ e(K, {
88
102
  as: "span",
89
103
  variant: "titleMedium",
90
- children: c.formatMessage(f.contentAnswersTitle)
91
- }), !i && u && /* @__PURE__ */ e(te, {
92
- onSelectAgent: B,
93
- recordAction: r
94
- }), i && /* @__PURE__ */ e(J, {
95
- contentClassName: t.agentSelectorContent,
96
- disabled: o.hasRequestInProgress,
97
- fetcher: Q,
98
- hostAppName: m,
99
- recordAction: s,
100
- requestState: F ? ee.ERROR : void 0,
104
+ children: f.formatMessage(p.contentAnswersTitle)
105
+ }), !m && A && /* @__PURE__ */ e(se, {
106
+ onSelectAgent: G,
107
+ recordAction: s
108
+ }), m && /* @__PURE__ */ e(V, {
109
+ contentClassName: o.agentSelectorContent,
110
+ disabled: r.hasRequestInProgress,
111
+ fetcher: y,
112
+ hostAppName: d,
113
+ recordAction: a,
114
+ requestState: U ? oe.ERROR : void 0,
101
115
  shouldHideAgentSelectorOnLoad: !0,
102
- triggerChipClassName: t.agentSelectorTrigger
116
+ triggerChipClassName: o.agentSelectorTrigger
103
117
  })]
104
118
  })
105
- }), k && /* @__PURE__ */ e(se, {
106
- onClick: j
107
- }), /* @__PURE__ */ e(n.Close, {
108
- "aria-label": N === "collapsible" ? c.formatMessage(f.collapseModalAriaLabel) : c.formatMessage(f.closeModalAriaLabel),
109
- className: t["modal-close-button"],
110
- icon: N === "collapsible" ? K : void 0,
119
+ }), B && /* @__PURE__ */ e(re, {
120
+ onClick: W
121
+ }), /* @__PURE__ */ e(c.Close, {
122
+ "aria-label": R === "collapsible" ? f.formatMessage(p.collapseModalAriaLabel) : f.formatMessage(p.closeModalAriaLabel),
123
+ className: o["modal-close-button"],
124
+ icon: R === "collapsible" ? $ : void 0,
111
125
  size: "small"
112
- }), /* @__PURE__ */ e(Y, {
113
- className: t.boxAiContentAnswers,
114
- hasCustomSuggestedQuestions: _,
115
- isAgentSelectorEnabled: !i && u,
116
- isAIStudioAgentSelectorEnabled: i,
117
- isDebugModeEnabled: x,
118
- isStopResponseEnabled: w,
119
- recordAction: r,
120
- ...o
126
+ }), /* @__PURE__ */ e(Z, {
127
+ className: o.boxAiContentAnswers,
128
+ hasCustomSuggestedQuestions: k,
129
+ isAgentSelectorEnabled: !m && A,
130
+ isAIStudioAgentSelectorEnabled: m,
131
+ isDebugModeEnabled: w,
132
+ isStopResponseEnabled: S,
133
+ items: n,
134
+ parentItem: i,
135
+ recordAction: s,
136
+ ...r
121
137
  })]
122
138
  })]
123
139
  });
124
- return S ? /* @__PURE__ */ e(V, {
125
- children: /* @__PURE__ */ e(Z, {
126
- children: v
140
+ return P ? /* @__PURE__ */ e(X, {
141
+ children: /* @__PURE__ */ e(ee, {
142
+ children: M
127
143
  })
128
- }) : v;
144
+ }) : M;
129
145
  };
130
146
  export {
131
- ve as IntelligenceModal,
132
- ve as default
147
+ Ee as IntelligenceModal,
148
+ Ee as default
133
149
  };
package/i18n/bn-IN.js CHANGED
@@ -36,7 +36,7 @@ export default {
36
36
  "boxAI.contentAnswers.loadingSuggestedQuestions": "পরামর্শ লোড হচ্ছে",
37
37
  "boxAI.contentAnswers.loadingSuggestedQuestionsFailed": "পরামর্শ লোড হয়নি",
38
38
  "boxAI.contentAnswers.maxCharactersReachedError": "সর্বাধিক {characterLimit} অক্ষরে পৌঁছেছে",
39
- "boxAI.contentAnswers.noPermissionsLabel": "No Box AI permissions",
39
+ "boxAI.contentAnswers.noPermissionsLabel": "Box AI কোনও অনুমতি নেই",
40
40
  "boxAI.contentAnswers.noReferences": "সাধারণ ডকুমেন্ট বিশ্লেষণের ভিত্তিতে জবাব",
41
41
  "boxAI.contentAnswers.referenceAriaLabel": "রেফারেন্স {number}",
42
42
  "boxAI.contentAnswers.responseFailedError": "জবাব পাওয়া যায়নি",
@@ -46,12 +46,12 @@ export default {
46
46
  "boxAI.contentAnswers.selectAgent": "এজেন্ট নির্বাচন করুন",
47
47
  "boxAI.contentAnswers.stopResponse": "জবাব বন্ধ করুন",
48
48
  "boxAI.contentAnswers.suggestedQuestions": "প্রস্তাবিত প্রশ্ন:",
49
- "boxAI.contentAnswers.unsupportedFormatLabel": "Unsupported format",
50
- "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }",
49
+ "boxAI.contentAnswers.unsupportedFormatLabel": "অসমর্থিত ফরম্যাট",
50
+ "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} Box AI এর জন্য বিদ্যমান নেই।} other{{files} Box AI এর জন্য বিদ্যমান নেই।}}",
51
51
  "boxAI.contentAnswers.userAvatar": "ব্যবহারকারীর অবতার",
52
- "boxAI.contentAnswers.welcomeAskQuestionText": "{name} সম্পর্কে প্রশ্ন করুন",
52
+ "boxAI.contentAnswers.welcomeAskQuestionText": "এই ব্যাপারে প্রশ্ন করুন {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
53
53
  "boxAI.contentAnswers.welcomeClearChatText": "আপনি যখন এই {type}-টি বন্ধ করবেন, তখন এই চ্যাটটি মুছে দেওয়া হবে",
54
- "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems, plural, one {# file} other {# files} }",
54
+ "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{#টি ফাইল} other{# ফাইল}}",
55
55
  "boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems, plural, one {# item} other {# items} }",
56
56
  "boxAI.contentAnswers.welcomeMessageTitle": "Box AI-এ স্বাগত",
57
57
  "boxAI.popup.closeButtonText": "বন্ধ করুন",
@@ -72,6 +72,8 @@ boxAI.contentAnswers.loadingSuggestedQuestions = পরামর্শ লোড
72
72
  boxAI.contentAnswers.loadingSuggestedQuestionsFailed = পরামর্শ লোড হয়নি
73
73
  # Error tooltip to show inside text area if the user reached the character limit
74
74
  boxAI.contentAnswers.maxCharactersReachedError = সর্বাধিক {characterLimit} অক্ষরে পৌঁছেছে
75
+ # Label that shows within the modal to show how many files are not supported by Box AI due to file not having permissions
76
+ boxAI.contentAnswers.noPermissionsLabel = Box AI কোনও অনুমতি নেই
75
77
  # Loading message if there are no citations for an answer
76
78
  boxAI.contentAnswers.noReferences = সাধারণ ডকুমেন্ট বিশ্লেষণের ভিত্তিতে জবাব
77
79
  # ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.
@@ -90,16 +92,20 @@ boxAI.contentAnswers.selectAgent = এজেন্ট নির্বাচন
90
92
  boxAI.contentAnswers.stopResponse = জবাব বন্ধ করুন
91
93
  # Suggested questions title
92
94
  boxAI.contentAnswers.suggestedQuestions = প্রস্তাবিত প্রশ্ন:
95
+ # Label that shows within the modal to show how many files are not supported by Box AI due to correct format
96
+ boxAI.contentAnswers.unsupportedFormatLabel = অসমর্থিত ফরম্যাট
93
97
  # Warning message that shows how many files are not supported by Box AI
94
- boxAI.contentAnswers.unsupportedItems = {numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }
98
+ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} Box AI এর জন্য বিদ্যমান নেই।} other{{files} Box AI এর জন্য বিদ্যমান নেই।}}
95
99
  # Alt text for user avatar image
96
100
  boxAI.contentAnswers.userAvatar = ব্যবহারকারীর অবতার
97
- # Content Answers welcome message for asking questions {Name} is the name of the content
98
- boxAI.contentAnswers.welcomeAskQuestionText = {name} সম্পর্কে প্রশ্ন করুন
101
+ # Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
102
+ boxAI.contentAnswers.welcomeAskQuestionText = এই ব্যাপারে প্রশ্ন করুন {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}
99
103
  # Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
100
104
  boxAI.contentAnswers.welcomeClearChatText = আপনি যখন এই {type}-টি বন্ধ করবেন, তখন এই চ্যাটটি মুছে দেওয়া হবে
101
105
  # Link that show the number of files that are going to be displayed within the modal
102
- boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems, plural, one {# file} other {# files} }
106
+ boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems,plural,one{#টি ফাইল} other{# ফাইল}}
107
+ # Link that show the number of items that are going to be displayed within the modal
108
+ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems, plural, one {# item} other {# items} }
103
109
  # Content Answers welcome message title
104
110
  boxAI.contentAnswers.welcomeMessageTitle = Box AI-এ স্বাগত
105
111
  # Text for close button in popup
package/i18n/da-DK.js CHANGED
@@ -36,7 +36,7 @@ export default {
36
36
  "boxAI.contentAnswers.loadingSuggestedQuestions": "Indlæsning af forslag",
37
37
  "boxAI.contentAnswers.loadingSuggestedQuestionsFailed": "Forslag kunne ikke indlæses",
38
38
  "boxAI.contentAnswers.maxCharactersReachedError": "Det maksimale antal på {characterLimit} tegn nået",
39
- "boxAI.contentAnswers.noPermissionsLabel": "No Box AI permissions",
39
+ "boxAI.contentAnswers.noPermissionsLabel": "Ingen tilladelser til Box AI",
40
40
  "boxAI.contentAnswers.noReferences": "Svar baseret på en generel analyse af dokumentet",
41
41
  "boxAI.contentAnswers.referenceAriaLabel": "Reference {number}",
42
42
  "boxAI.contentAnswers.responseFailedError": "Svar mislykkedes",
@@ -46,12 +46,12 @@ export default {
46
46
  "boxAI.contentAnswers.selectAgent": "Vælge en agent",
47
47
  "boxAI.contentAnswers.stopResponse": "Stop svar",
48
48
  "boxAI.contentAnswers.suggestedQuestions": "Foreslåede spørgsmål:",
49
- "boxAI.contentAnswers.unsupportedFormatLabel": "Unsupported format",
50
- "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }",
49
+ "boxAI.contentAnswers.unsupportedFormatLabel": "Ikke-understøttet format",
50
+ "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} ikke tilgængelig for Box AI} other{{files} er ikke tilgængelige for Box AI}}",
51
51
  "boxAI.contentAnswers.userAvatar": "Brugeravatar",
52
- "boxAI.contentAnswers.welcomeAskQuestionText": "Stil spørgsmål om {name}",
52
+ "boxAI.contentAnswers.welcomeAskQuestionText": "Stil spørgsmål om {numberOfItems,plural,one{{firstItemName}} other{{files}}} {parentItem,select,other{ i {parentItem}}}",
53
53
  "boxAI.contentAnswers.welcomeClearChatText": "Denne chat vil blive ryddet, når du lukker dette {type}",
54
- "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems, plural, one {# file} other {# files} }",
54
+ "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# fil} other{# filer}}",
55
55
  "boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems, plural, one {# item} other {# items} }",
56
56
  "boxAI.contentAnswers.welcomeMessageTitle": "Velkommen til Box AI",
57
57
  "boxAI.popup.closeButtonText": "Luk",
@@ -72,6 +72,8 @@ boxAI.contentAnswers.loadingSuggestedQuestions = Indlæsning af forslag
72
72
  boxAI.contentAnswers.loadingSuggestedQuestionsFailed = Forslag kunne ikke indlæses
73
73
  # Error tooltip to show inside text area if the user reached the character limit
74
74
  boxAI.contentAnswers.maxCharactersReachedError = Det maksimale antal på {characterLimit} tegn nået
75
+ # Label that shows within the modal to show how many files are not supported by Box AI due to file not having permissions
76
+ boxAI.contentAnswers.noPermissionsLabel = Ingen tilladelser til Box AI
75
77
  # Loading message if there are no citations for an answer
76
78
  boxAI.contentAnswers.noReferences = Svar baseret på en generel analyse af dokumentet
77
79
  # ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.
@@ -90,16 +92,20 @@ boxAI.contentAnswers.selectAgent = Vælge en agent
90
92
  boxAI.contentAnswers.stopResponse = Stop svar
91
93
  # Suggested questions title
92
94
  boxAI.contentAnswers.suggestedQuestions = Foreslåede spørgsmål:
95
+ # Label that shows within the modal to show how many files are not supported by Box AI due to correct format
96
+ boxAI.contentAnswers.unsupportedFormatLabel = Ikke-understøttet format
93
97
  # Warning message that shows how many files are not supported by Box AI
94
- boxAI.contentAnswers.unsupportedItems = {numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }
98
+ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} ikke tilgængelig for Box AI} other{{files} er ikke tilgængelige for Box AI}}
95
99
  # Alt text for user avatar image
96
100
  boxAI.contentAnswers.userAvatar = Brugeravatar
97
- # Content Answers welcome message for asking questions {Name} is the name of the content
98
- boxAI.contentAnswers.welcomeAskQuestionText = Stil spørgsmål om {name}
101
+ # Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
102
+ boxAI.contentAnswers.welcomeAskQuestionText = Stil spørgsmål om {numberOfItems,plural,one{{firstItemName}} other{{files}}} {parentItem,select,other{ i {parentItem}}}
99
103
  # Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
100
104
  boxAI.contentAnswers.welcomeClearChatText = Denne chat vil blive ryddet, når du lukker dette {type}
101
105
  # Link that show the number of files that are going to be displayed within the modal
102
- boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems, plural, one {# file} other {# files} }
106
+ boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems,plural,one{# fil} other{# filer}}
107
+ # Link that show the number of items that are going to be displayed within the modal
108
+ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems, plural, one {# item} other {# items} }
103
109
  # Content Answers welcome message title
104
110
  boxAI.contentAnswers.welcomeMessageTitle = Velkommen til Box AI
105
111
  # Text for close button in popup
package/i18n/de-DE.js CHANGED
@@ -36,7 +36,7 @@ export default {
36
36
  "boxAI.contentAnswers.loadingSuggestedQuestions": "Vorschläge werden geladen",
37
37
  "boxAI.contentAnswers.loadingSuggestedQuestionsFailed": "Vorschläge konnten nicht geladen werden",
38
38
  "boxAI.contentAnswers.maxCharactersReachedError": "Das Maximum an {characterLimit} Zeichen ist erreicht",
39
- "boxAI.contentAnswers.noPermissionsLabel": "No Box AI permissions",
39
+ "boxAI.contentAnswers.noPermissionsLabel": "Keine Box-AI-Berechtigungen",
40
40
  "boxAI.contentAnswers.noReferences": "Antwort basierend auf allgemeiner Dokumentanalyse",
41
41
  "boxAI.contentAnswers.referenceAriaLabel": "Referenz {number}",
42
42
  "boxAI.contentAnswers.responseFailedError": "Antwort fehlgeschlagen",
@@ -46,12 +46,12 @@ export default {
46
46
  "boxAI.contentAnswers.selectAgent": "Wählen Sie einen Agenten aus",
47
47
  "boxAI.contentAnswers.stopResponse": "Antwort stoppen",
48
48
  "boxAI.contentAnswers.suggestedQuestions": "Vorgeschlagene Fragen:",
49
- "boxAI.contentAnswers.unsupportedFormatLabel": "Unsupported format",
50
- "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }",
49
+ "boxAI.contentAnswers.unsupportedFormatLabel": "Nicht unterstütztes Format",
50
+ "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} ist nicht für Box AI verfügbar} other{{files} sind nicht für Box AI verfügbar}}",
51
51
  "boxAI.contentAnswers.userAvatar": "Benutzeravatar",
52
- "boxAI.contentAnswers.welcomeAskQuestionText": "Fragen zu {name} stellen",
52
+ "boxAI.contentAnswers.welcomeAskQuestionText": "Stellen Sie Fragen zu {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
53
53
  "boxAI.contentAnswers.welcomeClearChatText": "Dieser Chat wird gelöscht, wenn Sie diese(s) {type} schließen",
54
- "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems, plural, one {# file} other {# files} }",
54
+ "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# file} other{# files}}",
55
55
  "boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems, plural, one {# item} other {# items} }",
56
56
  "boxAI.contentAnswers.welcomeMessageTitle": "Willkommen bei Box AI!",
57
57
  "boxAI.popup.closeButtonText": "Schließen",
@@ -72,6 +72,8 @@ boxAI.contentAnswers.loadingSuggestedQuestions = Vorschläge werden geladen
72
72
  boxAI.contentAnswers.loadingSuggestedQuestionsFailed = Vorschläge konnten nicht geladen werden
73
73
  # Error tooltip to show inside text area if the user reached the character limit
74
74
  boxAI.contentAnswers.maxCharactersReachedError = Das Maximum an {characterLimit} Zeichen ist erreicht
75
+ # Label that shows within the modal to show how many files are not supported by Box AI due to file not having permissions
76
+ boxAI.contentAnswers.noPermissionsLabel = Keine Box-AI-Berechtigungen
75
77
  # Loading message if there are no citations for an answer
76
78
  boxAI.contentAnswers.noReferences = Antwort basierend auf allgemeiner Dokumentanalyse
77
79
  # ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.
@@ -90,16 +92,20 @@ boxAI.contentAnswers.selectAgent = Wählen Sie einen Agenten aus
90
92
  boxAI.contentAnswers.stopResponse = Antwort stoppen
91
93
  # Suggested questions title
92
94
  boxAI.contentAnswers.suggestedQuestions = Vorgeschlagene Fragen:
95
+ # Label that shows within the modal to show how many files are not supported by Box AI due to correct format
96
+ boxAI.contentAnswers.unsupportedFormatLabel = Nicht unterstütztes Format
93
97
  # Warning message that shows how many files are not supported by Box AI
94
- boxAI.contentAnswers.unsupportedItems = {numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }
98
+ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} ist nicht für Box AI verfügbar} other{{files} sind nicht für Box AI verfügbar}}
95
99
  # Alt text for user avatar image
96
100
  boxAI.contentAnswers.userAvatar = Benutzeravatar
97
- # Content Answers welcome message for asking questions {Name} is the name of the content
98
- boxAI.contentAnswers.welcomeAskQuestionText = Fragen zu {name} stellen
101
+ # Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
102
+ boxAI.contentAnswers.welcomeAskQuestionText = Stellen Sie Fragen zu {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}
99
103
  # Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
100
104
  boxAI.contentAnswers.welcomeClearChatText = Dieser Chat wird gelöscht, wenn Sie diese(s) {type} schließen
101
105
  # Link that show the number of files that are going to be displayed within the modal
102
- boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems, plural, one {# file} other {# files} }
106
+ boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems,plural,one{# file} other{# files}}
107
+ # Link that show the number of items that are going to be displayed within the modal
108
+ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems, plural, one {# item} other {# items} }
103
109
  # Content Answers welcome message title
104
110
  boxAI.contentAnswers.welcomeMessageTitle = Willkommen bei Box AI!
105
111
  # Text for close button in popup
package/i18n/en-AU.js CHANGED
@@ -47,11 +47,11 @@ export default {
47
47
  "boxAI.contentAnswers.stopResponse": "Stop Response",
48
48
  "boxAI.contentAnswers.suggestedQuestions": "Suggested Questions:",
49
49
  "boxAI.contentAnswers.unsupportedFormatLabel": "Unsupported format",
50
- "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }",
50
+ "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} is unavailable for Box AI} other{{files} are unavailable for Box AI}}",
51
51
  "boxAI.contentAnswers.userAvatar": "User avatar",
52
- "boxAI.contentAnswers.welcomeAskQuestionText": "Ask questions about {name}",
52
+ "boxAI.contentAnswers.welcomeAskQuestionText": "Ask questions about {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
53
53
  "boxAI.contentAnswers.welcomeClearChatText": "This chat will be cleared when you close this {type}",
54
- "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems, plural, one {# file} other {# files} }",
54
+ "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# file} other{# files}}",
55
55
  "boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems, plural, one {# item} other {# items} }",
56
56
  "boxAI.contentAnswers.welcomeMessageTitle": "Welcome to Box AI",
57
57
  "boxAI.popup.closeButtonText": "Close",
@@ -72,6 +72,8 @@ boxAI.contentAnswers.loadingSuggestedQuestions = Loading suggestions
72
72
  boxAI.contentAnswers.loadingSuggestedQuestionsFailed = Suggestions failed to load
73
73
  # Error tooltip to show inside text area if the user reached the character limit
74
74
  boxAI.contentAnswers.maxCharactersReachedError = Maximum of {characterLimit} characters reached
75
+ # Label that shows within the modal to show how many files are not supported by Box AI due to file not having permissions
76
+ boxAI.contentAnswers.noPermissionsLabel = No Box AI permissions
75
77
  # Loading message if there are no citations for an answer
76
78
  boxAI.contentAnswers.noReferences = Response based on general document analysis
77
79
  # ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.
@@ -90,16 +92,20 @@ boxAI.contentAnswers.selectAgent = Select an Agent
90
92
  boxAI.contentAnswers.stopResponse = Stop Response
91
93
  # Suggested questions title
92
94
  boxAI.contentAnswers.suggestedQuestions = Suggested Questions:
95
+ # Label that shows within the modal to show how many files are not supported by Box AI due to correct format
96
+ boxAI.contentAnswers.unsupportedFormatLabel = Unsupported format
93
97
  # Warning message that shows how many files are not supported by Box AI
94
- boxAI.contentAnswers.unsupportedItems = {numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }
98
+ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} is unavailable for Box AI} other{{files} are unavailable for Box AI}}
95
99
  # Alt text for user avatar image
96
100
  boxAI.contentAnswers.userAvatar = User avatar
97
- # Content Answers welcome message for asking questions {Name} is the name of the content
98
- boxAI.contentAnswers.welcomeAskQuestionText = Ask questions about {name}
101
+ # Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
102
+ boxAI.contentAnswers.welcomeAskQuestionText = Ask questions about {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}
99
103
  # Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
100
104
  boxAI.contentAnswers.welcomeClearChatText = This chat will be cleared when you close this {type}
101
105
  # Link that show the number of files that are going to be displayed within the modal
102
- boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems, plural, one {# file} other {# files} }
106
+ boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems,plural,one{# file} other{# files}}
107
+ # Link that show the number of items that are going to be displayed within the modal
108
+ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems, plural, one {# item} other {# items} }
103
109
  # Content Answers welcome message title
104
110
  boxAI.contentAnswers.welcomeMessageTitle = Welcome to Box AI
105
111
  # Text for close button in popup
package/i18n/en-CA.js CHANGED
@@ -47,9 +47,9 @@ export default {
47
47
  "boxAI.contentAnswers.stopResponse": "Stop Response",
48
48
  "boxAI.contentAnswers.suggestedQuestions": "Suggested Questions:",
49
49
  "boxAI.contentAnswers.unsupportedFormatLabel": "Unsupported format",
50
- "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }",
50
+ "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is unavailable for Box AI} other {{files} are unavailable for Box AI} }",
51
51
  "boxAI.contentAnswers.userAvatar": "User avatar",
52
- "boxAI.contentAnswers.welcomeAskQuestionText": "Ask questions about {name}",
52
+ "boxAI.contentAnswers.welcomeAskQuestionText": "Ask questions about {numberOfItems, plural, one {{firstItemName}} other {these {files}}}{parentItem, select, undefined {} other { in {parentItem}}}",
53
53
  "boxAI.contentAnswers.welcomeClearChatText": "This chat will be cleared when you close this {type}",
54
54
  "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems, plural, one {# file} other {# files} }",
55
55
  "boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems, plural, one {# item} other {# items} }",
@@ -72,6 +72,8 @@ boxAI.contentAnswers.loadingSuggestedQuestions = Loading suggestions
72
72
  boxAI.contentAnswers.loadingSuggestedQuestionsFailed = Suggestions failed to load
73
73
  # Error tooltip to show inside text area if the user reached the character limit
74
74
  boxAI.contentAnswers.maxCharactersReachedError = Maximum of {characterLimit} characters reached
75
+ # Label that shows within the modal to show how many files are not supported by Box AI due to file not having permissions
76
+ boxAI.contentAnswers.noPermissionsLabel = No Box AI permissions
75
77
  # Loading message if there are no citations for an answer
76
78
  boxAI.contentAnswers.noReferences = Response based on general document analysis
77
79
  # ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.
@@ -90,16 +92,20 @@ boxAI.contentAnswers.selectAgent = Select an Agent
90
92
  boxAI.contentAnswers.stopResponse = Stop Response
91
93
  # Suggested questions title
92
94
  boxAI.contentAnswers.suggestedQuestions = Suggested Questions:
95
+ # Label that shows within the modal to show how many files are not supported by Box AI due to correct format
96
+ boxAI.contentAnswers.unsupportedFormatLabel = Unsupported format
93
97
  # Warning message that shows how many files are not supported by Box AI
94
- boxAI.contentAnswers.unsupportedItems = {numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }
98
+ boxAI.contentAnswers.unsupportedItems = {numberOfFiles, plural, one {{files} is unavailable for Box AI} other {{files} are unavailable for Box AI} }
95
99
  # Alt text for user avatar image
96
100
  boxAI.contentAnswers.userAvatar = User avatar
97
- # Content Answers welcome message for asking questions {Name} is the name of the content
98
- boxAI.contentAnswers.welcomeAskQuestionText = Ask questions about {name}
101
+ # Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
102
+ boxAI.contentAnswers.welcomeAskQuestionText = Ask questions about {numberOfItems, plural, one {{firstItemName}} other {these {files}}}{parentItem, select, undefined {} other { in {parentItem}}}
99
103
  # Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
100
104
  boxAI.contentAnswers.welcomeClearChatText = This chat will be cleared when you close this {type}
101
105
  # Link that show the number of files that are going to be displayed within the modal
102
106
  boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems, plural, one {# file} other {# files} }
107
+ # Link that show the number of items that are going to be displayed within the modal
108
+ boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems, plural, one {# item} other {# items} }
103
109
  # Content Answers welcome message title
104
110
  boxAI.contentAnswers.welcomeMessageTitle = Welcome to Box AI
105
111
  # Text for close button in popup
package/i18n/en-GB.js CHANGED
@@ -47,11 +47,11 @@ export default {
47
47
  "boxAI.contentAnswers.stopResponse": "Stop Response",
48
48
  "boxAI.contentAnswers.suggestedQuestions": "Suggested Questions:",
49
49
  "boxAI.contentAnswers.unsupportedFormatLabel": "Unsupported format",
50
- "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles, plural, one {{files} is not supported by Box AI} other {{files} are not supported by Box AI} }",
50
+ "boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} is unavailable for Box AI} other{{files} are unavailable for Box AI}}",
51
51
  "boxAI.contentAnswers.userAvatar": "User avatar",
52
- "boxAI.contentAnswers.welcomeAskQuestionText": "Ask questions about {name}",
52
+ "boxAI.contentAnswers.welcomeAskQuestionText": "Ask questions about {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
53
53
  "boxAI.contentAnswers.welcomeClearChatText": "This chat will be cleared when you close this {type}",
54
- "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems, plural, one {# file} other {# files} }",
54
+ "boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# file} other{# files}}",
55
55
  "boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems, plural, one {# item} other {# items} }",
56
56
  "boxAI.contentAnswers.welcomeMessageTitle": "Welcome to Box AI",
57
57
  "boxAI.popup.closeButtonText": "Close",