@box/metadata-editor 0.46.1 → 0.47.1

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 (56) hide show
  1. package/esm/lib/components/interactive-text/interactive-text.js +21 -17
  2. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/metadata-instance-form.js +25 -23
  3. package/esm/lib/components/metadata-instance-list/subcomponents/metadata-instance-entry/metadata-instance-entry.js +7 -6
  4. package/i18n/bn-IN.js +2 -3
  5. package/i18n/bn-IN.properties +18 -2
  6. package/i18n/da-DK.js +6 -7
  7. package/i18n/da-DK.properties +18 -2
  8. package/i18n/de-DE.js +6 -7
  9. package/i18n/de-DE.properties +18 -2
  10. package/i18n/en-AU.js +1 -2
  11. package/i18n/en-AU.properties +18 -2
  12. package/i18n/en-CA.js +1 -2
  13. package/i18n/en-CA.properties +18 -2
  14. package/i18n/en-GB.js +1 -2
  15. package/i18n/en-GB.properties +18 -2
  16. package/i18n/en-x-pseudo.js +90 -91
  17. package/i18n/en-x-pseudo.properties +99 -83
  18. package/i18n/es-419.js +5 -6
  19. package/i18n/es-419.properties +18 -2
  20. package/i18n/es-ES.js +5 -6
  21. package/i18n/es-ES.properties +18 -2
  22. package/i18n/fi-FI.js +6 -7
  23. package/i18n/fi-FI.properties +18 -2
  24. package/i18n/fr-CA.js +6 -7
  25. package/i18n/fr-CA.properties +18 -2
  26. package/i18n/fr-FR.js +6 -7
  27. package/i18n/fr-FR.properties +18 -2
  28. package/i18n/hi-IN.js +6 -7
  29. package/i18n/hi-IN.properties +18 -2
  30. package/i18n/it-IT.js +6 -7
  31. package/i18n/it-IT.properties +18 -2
  32. package/i18n/ja-JP.js +7 -8
  33. package/i18n/ja-JP.properties +19 -3
  34. package/i18n/ko-KR.js +6 -7
  35. package/i18n/ko-KR.properties +18 -2
  36. package/i18n/nb-NO.js +6 -7
  37. package/i18n/nb-NO.properties +18 -2
  38. package/i18n/nl-NL.js +6 -7
  39. package/i18n/nl-NL.properties +18 -2
  40. package/i18n/pl-PL.js +6 -7
  41. package/i18n/pl-PL.properties +18 -2
  42. package/i18n/pt-BR.js +6 -7
  43. package/i18n/pt-BR.properties +18 -2
  44. package/i18n/ru-RU.js +6 -7
  45. package/i18n/ru-RU.properties +18 -2
  46. package/i18n/sv-SE.js +6 -7
  47. package/i18n/sv-SE.properties +18 -2
  48. package/i18n/tr-TR.js +6 -7
  49. package/i18n/tr-TR.properties +18 -2
  50. package/i18n/zh-CN.js +6 -7
  51. package/i18n/zh-CN.properties +18 -2
  52. package/i18n/zh-TW.js +6 -7
  53. package/i18n/zh-TW.properties +18 -2
  54. package/package.json +5 -5
  55. package/types/lib/components/interactive-text/interactive-text.d.ts +2 -3
  56. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/types.d.ts +2 -0
@@ -1,22 +1,26 @@
1
1
  import { Focusable as c } from "@ariakit/react";
2
- import { Tooltip as i, Text as a } from "@box/blueprint-web";
2
+ import { Tooltip as a, Text as i } from "@box/blueprint-web";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
- const f = ({
5
- tooltipText: e,
6
- children: r,
7
- as: o = "span",
8
- ...n
9
- }) => /* @__PURE__ */ t(i, {
10
- __checkInteractivity: !1,
11
- content: e,
12
- children: /* @__PURE__ */ t(c, {
13
- render: /* @__PURE__ */ t(a, {
14
- as: o,
15
- ...n,
16
- children: r
4
+ const l = ({
5
+ tooltipText: r,
6
+ children: o,
7
+ ...e
8
+ }) => {
9
+ const {
10
+ as: n = "span"
11
+ } = e;
12
+ return /* @__PURE__ */ t(a, {
13
+ __checkInteractivity: !1,
14
+ content: r,
15
+ children: /* @__PURE__ */ t(c, {
16
+ render: /* @__PURE__ */ t(i, {
17
+ as: n,
18
+ ...e,
19
+ children: o
20
+ })
17
21
  })
18
- })
19
- });
22
+ });
23
+ };
20
24
  export {
21
- f as default
25
+ l as default
22
26
  };
@@ -1,5 +1,5 @@
1
1
  import "../../../../../../styles/metadata-instance-form.css";
2
- import { useState as l, useMemo as S } from "react";
2
+ import { useState as g, useMemo as S } from "react";
3
3
  import { Formik as D } from "formik";
4
4
  import { Card as E } from "@box/blueprint-web";
5
5
  import { CustomInstance as y } from "../custom-instance/custom-instance.js";
@@ -11,32 +11,34 @@ import { UnsavedChangesModal as v } from "../../../unsaved-changes-modal/unsaved
11
11
  import { TemplateInstance as _ } from "../../../metadata-editor-fields/metadata-editor-fields.js";
12
12
  import { TEMPLATE_CUSTOM_PROPERTIES as x } from "../../../../constants.js";
13
13
  import { createJSONPatch as A } from "./utils.js";
14
- import { jsx as t, jsxs as d, Fragment as P } from "react/jsx-runtime";
14
+ import { jsx as t, jsxs as l, Fragment as P } from "react/jsx-runtime";
15
15
  const U = "_metadataInstanceForm_1hu4u_1", j = {
16
16
  metadataInstanceForm: U
17
- }, X = (c) => {
17
+ }, X = (d) => {
18
18
  const {
19
19
  isAiSuggestionsFeatureEnabled: o,
20
20
  isLoading: n,
21
+ isUnsavedChangesModalOpen: c = !1,
21
22
  onCancel: p,
22
23
  onDelete: f,
23
24
  onSubmit: u,
24
- selectedTemplateInstance: e
25
- } = c, [C, m] = l(!1), [M, r] = l(!1), i = (a) => {
26
- u(e.id, A(a, e));
27
- }, h = (a) => {
28
- a ? m(!0) : p();
29
- }, F = () => {
25
+ selectedTemplateInstance: e,
26
+ setIsUnsavedChangesModalOpen: s
27
+ } = d, [C, r] = g(!1), i = (a) => {
28
+ u(e.id, A(a, e)), s(!1);
29
+ }, M = (a) => {
30
+ a ? s(!0) : p();
31
+ }, h = () => {
30
32
  r(!0);
31
- }, I = {
33
+ }, F = {
32
34
  metadata: {
33
35
  ...e
34
36
  }
35
- }, g = S(() => {
36
- const a = e.templateKey === x, s = e.fields.length === 0;
37
+ }, I = S(() => {
38
+ const a = e.templateKey === x, m = e.fields.length === 0;
37
39
  return a ? /* @__PURE__ */ t(y, {
38
40
  isLoading: n
39
- }) : s ? /* @__PURE__ */ t(b, {
41
+ }) : m ? /* @__PURE__ */ t(b, {
40
42
  isBoxAiSuggestionsFeatureEnabled: o,
41
43
  level: "instance"
42
44
  }) : /* @__PURE__ */ t(_, {
@@ -44,31 +46,31 @@ const U = "_metadataInstanceForm_1hu4u_1", j = {
44
46
  });
45
47
  }, [e.templateKey, e.fields.length, n, o]);
46
48
  return /* @__PURE__ */ t(D, {
47
- initialValues: I,
49
+ initialValues: F,
48
50
  onSubmit: i,
49
51
  children: ({
50
52
  values: a,
51
- dirty: s
52
- }) => /* @__PURE__ */ d(P, {
53
- children: [/* @__PURE__ */ d(E, {
53
+ dirty: m
54
+ }) => /* @__PURE__ */ l(P, {
55
+ children: [/* @__PURE__ */ l(E, {
54
56
  className: j.metadataInstanceForm,
55
57
  children: [/* @__PURE__ */ t(T, {
56
58
  isAiSuggestionsFeatureEnabled: o,
57
59
  isLoading: n,
58
60
  templateName: e.displayName
59
- }), g, /* @__PURE__ */ t(N, {
61
+ }), I, /* @__PURE__ */ t(N, {
60
62
  isLoading: n,
61
- onCancel: () => h(s),
62
- onDelete: F
63
+ onCancel: () => M(m),
64
+ onDelete: h
63
65
  })]
64
66
  }), /* @__PURE__ */ t(v, {
65
- onDismiss: () => m(!1),
67
+ onDismiss: () => s(!1),
66
68
  onSaveAndContinue: () => i(a),
67
- open: C
69
+ open: c
68
70
  }), /* @__PURE__ */ t(O, {
69
71
  onConfirm: () => f(e.id),
70
72
  onDismiss: () => r(!1),
71
- open: M,
73
+ open: C,
72
74
  templateName: e.displayName
73
75
  })]
74
76
  })
@@ -4,14 +4,14 @@ import { FormattedDate as d } from "react-intl";
4
4
  import { convertISOStringToUTCDate as l } from "./convertDate.js";
5
5
  import y from "../../../interactive-text/interactive-text.js";
6
6
  import { jsxs as f, jsx as a } from "react/jsx-runtime";
7
- const I = "_metadataInstanceEntry_1qhk8_1", u = "_metadataInstanceEntryInteractiveLabel_1qhk8_7", c = {
7
+ const I = "_metadataInstanceEntry_1qhk8_1", p = "_metadataInstanceEntryInteractiveLabel_1qhk8_7", c = {
8
8
  metadataInstanceEntry: I,
9
- metadataInstanceEntryInteractiveLabel: u
9
+ metadataInstanceEntryInteractiveLabel: p
10
10
  }, _ = ({
11
11
  description: r,
12
12
  name: e,
13
13
  shouldHideEmptyValues: i,
14
- type: m,
14
+ type: s,
15
15
  value: t
16
16
  }) => {
17
17
  const n = (() => {
@@ -21,12 +21,12 @@ const I = "_metadataInstanceEntry_1qhk8_1", u = "_metadataInstanceEntryInteracti
21
21
  return null;
22
22
  if (Array.isArray(t))
23
23
  return t.join(", ");
24
- if (m === "date" && typeof t == "string") {
25
- const s = l(t);
24
+ if (s === "date" && typeof t == "string") {
25
+ const m = l(t);
26
26
  return /* @__PURE__ */ a(d, {
27
27
  day: "numeric",
28
28
  month: "long",
29
- value: s,
29
+ value: m,
30
30
  year: "numeric"
31
31
  });
32
32
  }
@@ -39,6 +39,7 @@ const I = "_metadataInstanceEntry_1qhk8_1", u = "_metadataInstanceEntryInteracti
39
39
  color: "textOnLightSecondary",
40
40
  variant: "bodyDefaultBold",
41
41
  children: r ? /* @__PURE__ */ a(y, {
42
+ as: "span",
42
43
  className: c.metadataInstanceEntryInteractiveLabel,
43
44
  color: "textOnLightSecondary",
44
45
  tooltipText: r,
package/i18n/bn-IN.js CHANGED
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "টেমপ্লেট যোগ করুন",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "সংযুক্ত করুন",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "আপনি কি সত্যিই \"{templateName}\" মেটাডেটা টেমপ্লেট এবং এই ফাইল থেকে এটির সব মান মুছে ফেলতে চান?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "সেভ করুন এবং চালিয়ে যান",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "খালি মান লুকান",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "খালি মান দেখান",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "কাস্টম মেটাডেটা",
92
- "comboboxWithApiPagination.apiError": "ফলাফল লোড করা যায়নি। আবার চেষ্টা করতে ক্লিক করুন।"
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "কাস্টম মেটাডেটা"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = ফলাফল লোড করা যায়নি। আবার চেষ্টা করতে ক্লিক করুন।
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Clear input and selection
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Reload
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Error
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Failed to load options
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = লোড করা হচ্ছে...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = কাস্টম ম
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = টেমপ্লেট খুঁজুন
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = টেমপ্লেট যোগ করুন
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = সংযুক্ত করুন
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = আপনি কি সত্যিই "{templateName}" মেটাডেটা টেমপ্লেট এবং এই ফাইল থেকে এটির সব মান মুছে ফেলতে চান?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/da-DK.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Ryd input og udvælgelse",
3
+ "comboboxWithApiPagination.errorAction": "Genindlæs",
4
+ "comboboxWithApiPagination.errorIconLabel": "Fejl",
5
+ "comboboxWithApiPagination.errorMessage": "Kunne ikke indlæse indstillinger",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Indlæser...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Indlæser mere...",
8
8
  "comboboxWithApiPagination.noResults": "Ingen resultater fundet",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Tilføj skabelon",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Tilføj",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Er du sikker på, at du vil slette \"{templateName}\" metadataskabelon og alle dens værdier fra denne fil?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Gem og Fortsæt",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Skjul tomme værdier",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Vis tomme værdier",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Brugerdefineret metadata",
92
- "comboboxWithApiPagination.apiError": "Kunne ikke indlæse resultater. Klik for at prøve igen."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Brugerdefineret metadata"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Kunne ikke indlæse resultater. Klik for at prøve igen.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Ryd input og udvælgelse
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Genindlæs
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Fejl
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Kunne ikke indlæse indstillinger
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Indlæser...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Brugerdefineret metadata
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Søg efter skabeloner
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Tilføj skabelon
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Tilføj
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Er du sikker på, at du vil slette "{templateName}" metadataskabelon og alle dens værdier fra denne fil?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/de-DE.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Eingabe und Auswahl löschen",
3
+ "comboboxWithApiPagination.errorAction": "Neu laden",
4
+ "comboboxWithApiPagination.errorIconLabel": "Fehler",
5
+ "comboboxWithApiPagination.errorMessage": "Optionen konnten nicht geladen werden",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Laden …",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Mehr wird geladen ...",
8
8
  "comboboxWithApiPagination.noResults": "Keine Ergebnisse gefunden",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Vorlage hinzufügen",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Anfügen",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Möchten Sie die Metadaten-Vorlage „{templateName}“ und alle ihre Werte aus dieser Datei wirklich löschen?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Speichern und fortfahren",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Leere Werte ausblenden",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Leere Werte anzeigen",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Benutzerdefinierte Metadaten",
92
- "comboboxWithApiPagination.apiError": "Ergebnisse konnten nicht geladen werden. Klicken Sie auf den Link, um es erneut zu versuchen."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Benutzerdefinierte Metadaten"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Ergebnisse konnten nicht geladen werden. Klicken Sie auf den Link, um es erneut zu versuchen.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Eingabe und Auswahl löschen
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Neu laden
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Fehler
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Optionen konnten nicht geladen werden
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Laden …
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Selbst definierte Metada
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Suchvorlagen
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Vorlage hinzufügen
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Anfügen
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Möchten Sie die Metadaten-Vorlage „{templateName}“ und alle ihre Werte aus dieser Datei wirklich löschen?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/en-AU.js CHANGED
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Save and Continue",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Hide empty values",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Show empty values",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata",
92
- "comboboxWithApiPagination.apiError": "Couldn't load results. Click to try again."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Couldn't load results. Click to try again.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Clear input and selection
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Reload
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Error
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Failed to load options
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Loading...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Custom Metadata
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Search templates
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Add template
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Append
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Are you sure you want to delete the "{templateName}" Metadata template, and all of its values from this file?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/en-CA.js CHANGED
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Save and Continue",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Hide empty values",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Show empty values",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata",
92
- "comboboxWithApiPagination.apiError": "Couldn't load results. Click to try again."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Couldn't load results. Click to try again.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Clear input and selection
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Reload
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Error
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Failed to load options
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Loading...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Custom Metadata
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Search templates
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Add template
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Append
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Are you sure you want to delete the "{templateName}" Metadata template, and all of its values from this file?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/en-GB.js CHANGED
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Save and Continue",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Hide empty values",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Show empty values",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata",
92
- "comboboxWithApiPagination.apiError": "Couldn't load results. Click to try again."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Couldn't load results. Click to try again.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Clear input and selection
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Reload
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Error
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Failed to load options
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Loading...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Custom Metadata
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Search templates
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Add template
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Append
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Are you sure you want to delete the "{templateName}" Metadata template, and all of its values from this file?
73
89
  # Label informing how to confirm deletion of the template