box-ui-elements 24.0.0-beta.2 → 24.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DEVELOPING.md +1 -1
- package/dist/explorer.js +1 -1
- package/dist/openwith.js +1 -1
- package/dist/picker.js +1 -1
- package/dist/preview.js +1 -1
- package/dist/sharing.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/uploader.js +1 -1
- package/es/elements/common/content-answers/ContentAnswersModal.js +1 -0
- package/es/elements/common/content-answers/ContentAnswersModal.js.map +1 -1
- package/es/elements/common/withBlueprintModernization.js +16 -0
- package/es/elements/common/withBlueprintModernization.js.map +1 -0
- package/es/elements/content-explorer/ContentExplorer.js +2 -1
- package/es/elements/content-explorer/ContentExplorer.js.map +1 -1
- package/es/elements/content-explorer/stories/tests/ContentExplorer-visual.stories.js +5 -0
- package/es/elements/content-explorer/stories/tests/ContentExplorer-visual.stories.js.flow +6 -0
- package/es/elements/content-explorer/stories/tests/ContentExplorer-visual.stories.js.map +1 -1
- package/es/elements/content-picker/ContentPicker.js +4 -1
- package/es/elements/content-picker/ContentPicker.js.flow +4 -1
- package/es/elements/content-picker/ContentPicker.js.map +1 -1
- package/es/elements/content-picker/stories/tests/ContentPicker-visual.stories.js +5 -0
- package/es/elements/content-picker/stories/tests/ContentPicker-visual.stories.js.flow +6 -0
- package/es/elements/content-picker/stories/tests/ContentPicker-visual.stories.js.map +1 -1
- package/es/elements/content-preview/ContentPreview.js +3 -1
- package/es/elements/content-preview/ContentPreview.js.flow +3 -0
- package/es/elements/content-preview/ContentPreview.js.map +1 -1
- package/es/elements/content-preview/stories/tests/ContentPreview-visual.stories.js +5 -0
- package/es/elements/content-preview/stories/tests/ContentPreview-visual.stories.js.flow +7 -1
- package/es/elements/content-preview/stories/tests/ContentPreview-visual.stories.js.map +1 -1
- package/es/elements/content-sharing/ContentSharing.js +4 -1
- package/es/elements/content-sharing/ContentSharing.js.flow +4 -1
- package/es/elements/content-sharing/ContentSharing.js.map +1 -1
- package/es/elements/content-sidebar/ContentSidebar.js +3 -1
- package/es/elements/content-sidebar/ContentSidebar.js.flow +3 -0
- package/es/elements/content-sidebar/ContentSidebar.js.map +1 -1
- package/es/elements/content-sidebar/stories/tests/ContentSidebar-visual.stories.js +5 -0
- package/es/elements/content-sidebar/stories/tests/ContentSidebar-visual.stories.js.map +1 -1
- package/es/elements/content-uploader/ContentUploader.js +3 -1
- package/es/elements/content-uploader/ContentUploader.js.map +1 -1
- package/es/elements/content-uploader/stories/tests/ContentUploader-visual.stories.js +5 -0
- package/es/elements/content-uploader/stories/tests/ContentUploader-visual.stories.js.flow +6 -0
- package/es/elements/content-uploader/stories/tests/ContentUploader-visual.stories.js.map +1 -1
- package/es/features/classification/applied-by-ai-classification-reason/AppliedByAiClassificationReason.js +51 -0
- package/es/features/classification/applied-by-ai-classification-reason/AppliedByAiClassificationReason.js.map +1 -0
- package/es/features/classification/applied-by-ai-classification-reason/AppliedByAiClassificationReason.scss +29 -0
- package/es/features/classification/applied-by-ai-classification-reason/messages.js +13 -0
- package/es/features/classification/applied-by-ai-classification-reason/messages.js.map +1 -0
- package/es/features/classification/types.js +2 -0
- package/es/features/classification/types.js.map +1 -0
- package/es/src/elements/common/__tests__/withBlueprintModernization.test.d.ts +1 -0
- package/es/src/elements/common/withBlueprintModernization.d.ts +3 -0
- package/es/src/elements/content-sidebar/stories/tests/ContentSidebar-visual.stories.d.ts +5 -0
- package/es/src/features/classification/applied-by-ai-classification-reason/AppliedByAiClassificationReason.d.ts +6 -0
- package/es/src/features/classification/applied-by-ai-classification-reason/__tests__/AppliedByAiClassificationReason.test.d.ts +1 -0
- package/es/src/features/classification/applied-by-ai-classification-reason/messages.d.ts +13 -0
- package/es/src/features/classification/types.d.ts +6 -0
- package/i18n/bn-IN.js +4 -2
- package/i18n/bn-IN.properties +2 -2
- package/i18n/da-DK.js +4 -2
- package/i18n/da-DK.properties +2 -2
- package/i18n/de-DE.js +4 -2
- package/i18n/de-DE.properties +2 -2
- package/i18n/en-AU.js +2 -0
- package/i18n/en-CA.js +2 -0
- package/i18n/en-GB.js +2 -0
- package/i18n/en-US.js +2 -0
- package/i18n/en-US.properties +4 -0
- package/i18n/en-x-pseudo.js +2 -0
- package/i18n/es-419.js +4 -2
- package/i18n/es-419.properties +2 -2
- package/i18n/es-ES.js +4 -2
- package/i18n/es-ES.properties +2 -2
- package/i18n/fi-FI.js +4 -2
- package/i18n/fi-FI.properties +2 -2
- package/i18n/fr-CA.js +4 -2
- package/i18n/fr-CA.properties +2 -2
- package/i18n/fr-FR.js +4 -2
- package/i18n/fr-FR.properties +2 -2
- package/i18n/hi-IN.js +4 -2
- package/i18n/hi-IN.properties +2 -2
- package/i18n/it-IT.js +4 -2
- package/i18n/it-IT.properties +2 -2
- package/i18n/ja-JP.js +2 -0
- package/i18n/ko-KR.js +4 -2
- package/i18n/ko-KR.properties +2 -2
- package/i18n/nb-NO.js +4 -2
- package/i18n/nb-NO.properties +2 -2
- package/i18n/nl-NL.js +4 -2
- package/i18n/nl-NL.properties +2 -2
- package/i18n/pl-PL.js +4 -2
- package/i18n/pl-PL.properties +2 -2
- package/i18n/pt-BR.js +4 -2
- package/i18n/pt-BR.properties +2 -2
- package/i18n/ru-RU.js +4 -2
- package/i18n/ru-RU.properties +2 -2
- package/i18n/sv-SE.js +4 -2
- package/i18n/sv-SE.properties +2 -2
- package/i18n/tr-TR.js +4 -2
- package/i18n/tr-TR.properties +2 -2
- package/i18n/zh-CN.js +4 -2
- package/i18n/zh-CN.properties +2 -2
- package/i18n/zh-TW.js +4 -2
- package/i18n/zh-TW.properties +2 -2
- package/package.json +1 -1
- package/src/elements/common/__tests__/withBlueprintModernization.test.tsx +91 -0
- package/src/elements/common/content-answers/ContentAnswersModal.tsx +1 -0
- package/src/elements/common/content-answers/__tests__/ContentAnswersModal.test.tsx +1 -2
- package/src/elements/common/withBlueprintModernization.tsx +24 -0
- package/src/elements/content-explorer/ContentExplorer.tsx +4 -1
- package/src/elements/content-explorer/stories/tests/ContentExplorer-visual.stories.js +6 -0
- package/src/elements/content-picker/ContentPicker.js +4 -1
- package/src/elements/content-picker/stories/tests/ContentPicker-visual.stories.js +6 -0
- package/src/elements/content-preview/ContentPreview.js +3 -0
- package/src/elements/content-preview/stories/tests/ContentPreview-visual.stories.js +7 -1
- package/src/elements/content-sharing/ContentSharing.js +4 -1
- package/src/elements/content-sidebar/ContentSidebar.js +3 -0
- package/src/elements/content-sidebar/stories/tests/ContentSidebar-visual.stories.tsx +6 -0
- package/src/elements/content-uploader/ContentUploader.tsx +3 -1
- package/src/elements/content-uploader/stories/tests/ContentUploader-visual.stories.js +6 -0
- package/src/features/classification/applied-by-ai-classification-reason/AppliedByAiClassificationReason.scss +29 -0
- package/src/features/classification/applied-by-ai-classification-reason/AppliedByAiClassificationReason.tsx +55 -0
- package/src/features/classification/applied-by-ai-classification-reason/__tests__/AppliedByAiClassificationReason.test.tsx +105 -0
- package/src/features/classification/applied-by-ai-classification-reason/messages.ts +18 -0
- package/src/features/classification/types.ts +7 -0
package/i18n/ko-KR.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "취소",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "코멘트 작성",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "게시",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "타임스탬프가 있는 코멘트",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "코멘트 작성",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "원본 표시",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "해결됨",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "더 보기",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "정보",
|
|
485
485
|
"boxui.classification.add": "추가",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "분류",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "진한 파란색",
|
|
488
490
|
"boxui.classification.classificationGreen": "녹색",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "바로 가기 전용",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "보기 및 다운로드",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "보기 전용",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "일괄 작업",
|
|
917
919
|
"boxui.subHeader.metadata": "메타데이터",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "필수 필드입니다. HH:MM A 형식으로 시간을 입력하십시오.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "올바르지 않은 시간 형식입니다. HH:MM A 형식으로 시간을 입력하십시오.",
|
package/i18n/ko-KR.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = 코멘트 작성
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = 게시
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = 타임스탬프가 있는 코멘트
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = 코멘트 작성
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = 보기 및 다운로드
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = 보기 전용
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = 일괄 작업
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = 메타데이터
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/nb-NO.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "Avbryt",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Skriv en kommentar",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Legg inn",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Kommentar med tidsstempel",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Skriv en kommentar",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Vis opprinnelig",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Løst",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Mer",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Informasjon",
|
|
485
485
|
"boxui.classification.add": "Legg til",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Klassifisering",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Mørkeblå",
|
|
488
490
|
"boxui.classification.classificationGreen": "Grønn",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Bare snarvei",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Vise og laste ned",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Bare vis",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Samlehandlinger",
|
|
917
919
|
"boxui.subHeader.metadata": "Metadata",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Obligatorisk felt. Oppgi klokkeslettet i formatet TT.MM.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Ugyldig tidsformat. Oppgi klokkeslettet i formatet HH:MM A.",
|
package/i18n/nb-NO.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Skriv en kommentar
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Legg inn
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Kommentar med tidsstempel
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Skriv en kommentar
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Vise og laste ned
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Bare vis
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Samlehandlinger
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Metadata
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/nl-NL.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "Annuleren",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Een opmerking schrijven",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Plaatsen",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Opmerking met tijdstempel",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Een opmerking schrijven",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Origineel tonen",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Opgelost",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Meer",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Info",
|
|
485
485
|
"boxui.classification.add": "Toevoegen",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Classificatie",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Donkerblauw",
|
|
488
490
|
"boxui.classification.classificationGreen": "Groen",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Alleen snelkoppeling",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Bekijken en downloaden",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Alleen bekijken",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Bulkacties",
|
|
917
919
|
"boxui.subHeader.metadata": "Metadata",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Vereist veld. Voer een tijd in de notatie UU:MM in.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Ongeldige tijdnotatie. Voer een tijd in de notatie UU:MM in.",
|
package/i18n/nl-NL.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Een opmerking schrijve
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Plaatsen
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Opmerking met tijdstempel
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Een opmerking schrijven
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Bekijken en downloaden
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Alleen bekijken
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Bulkacties
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Metadata
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/pl-PL.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "Anuluj",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Napisz komentarz",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Opublikuj",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Komentarz ze znacznikiem czasu",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Napisz komentarz",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Pokaż oryginalny",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Rozwiązany",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Więcej",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Informacje",
|
|
485
485
|
"boxui.classification.add": "Dodaj",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Klasyfikacja",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Ciemnoniebieski",
|
|
488
490
|
"boxui.classification.classificationGreen": "Zielony",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Tylko skrót",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Przeglądanie i pobieranie",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Tylko przeglądanie",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Działania zbiorcze",
|
|
917
919
|
"boxui.subHeader.metadata": "Metadane",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Pole wymagane. Wprowadź godzinę w formacie GG:MM.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Nieprawidłowy format godziny. Wprowadź godzinę w formacie GG:MM.",
|
package/i18n/pl-PL.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Napisz komentarz
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Opublikuj
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Komentarz ze znacznikiem czasu
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Napisz komentarz
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Przeglądanie i pobieranie
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Tylko przeglądanie
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Działania zbiorcze
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Metadane
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/pt-BR.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "Cancelar",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Escrever um comentário",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Publicar",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Comentário com registro de horário",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Escrever um comentário",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Mostrar original",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Solucionado",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Mais",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Informações",
|
|
485
485
|
"boxui.classification.add": "Adicionar",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Classificação",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Azul escuro",
|
|
488
490
|
"boxui.classification.classificationGreen": "Verde",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Apenas atalho",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Visualização e download",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Apenas visualização",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Ações em lote",
|
|
917
919
|
"boxui.subHeader.metadata": "Metadados",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Campo obrigatório. Informe uma hora no formato HH:MM AM/PM.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Formato de hora inválido. Informe uma hora no formato HH:MM A.",
|
package/i18n/pt-BR.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Escrever um comentári
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Publicar
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Comentário com registro de horário
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Escrever um comentário
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Visualização e download
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Apenas visualização
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Ações em lote
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Metadados
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/ru-RU.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "Отмена",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Оставьте комментарий",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Отправить",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Комментарий с меткой времени",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Оставьте комментарий",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Показать оригинал",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Решено",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Дополнительно",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Информация",
|
|
485
485
|
"boxui.classification.add": "Добавить",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Классификация",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Темно-синий",
|
|
488
490
|
"boxui.classification.classificationGreen": "Зеленый",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Только ярлык",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Просмотр и скачивание",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Только просмотр",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Массовые действия",
|
|
917
919
|
"boxui.subHeader.metadata": "Метаданные",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Обязательное поле. Введите время в 12-часовом формате ЧЧ:ММ.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Неверный формат времени. Введите время в 12-часовом формате ЧЧ:ММ.",
|
package/i18n/ru-RU.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Оставьте ко
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Отправить
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Комментарий с меткой времени
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Оставьте комментарий
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Просмотр и скачивание
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Только просмотр
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Массовые действия
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Метаданные
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/sv-SE.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "Avbryt",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Skriv en kommentar",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Publicera",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Kommentar med tidsstämpel",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Skriv en kommentar",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Visa original",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Löst",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Mer",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Info",
|
|
485
485
|
"boxui.classification.add": "Lägg till",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Klassificering",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Mörkblått",
|
|
488
490
|
"boxui.classification.classificationGreen": "Grön",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Endast genväg",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Visa och hämta",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Endast visning",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Massåtgärder",
|
|
917
919
|
"boxui.subHeader.metadata": "Metadata",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Obligatoriskt fält. Ange en tid i formatet TT:MM.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Ogiltigt tidsformat. Ange en tid i formatet TT:MM.",
|
package/i18n/sv-SE.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Skriv en kommentar
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Publicera
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Kommentar med tidsstämpel
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Skriv en kommentar
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Visa och hämta
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Endast visning
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Massåtgärder
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Metadata
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/tr-TR.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "İptal",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "Bir yorum yazın",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "Gönder",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "Zaman damgasıyla yorum yapın",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "Bir yorum yazın",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "Orijinali Göster",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Çözüldü",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "Daha fazla",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "Bilgi",
|
|
485
485
|
"boxui.classification.add": "Ekle",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "Sınıflandırma",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "Koyu Mavi",
|
|
488
490
|
"boxui.classification.classificationGreen": "Yeşil",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "Yalnızca Kısayol",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "Görüntüleme ve İndirme",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "Yalnızca Görüntüleme",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "Toplu işlemler",
|
|
917
919
|
"boxui.subHeader.metadata": "Meta veri",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "Gerekli alan. Saati SS.DD biçiminde girin.",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "Geçersiz saat biçimi. Saati SS.DD biçiminde girin.",
|
package/i18n/tr-TR.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = Bir yorum yazın
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = Gönder
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = Zaman damgasıyla yorum yapın
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = Bir yorum yazın
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = Görüntüleme ve İndirme
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = Yalnızca Görüntüleme
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = Toplu işlemler
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = Meta veri
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/zh-CN.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "取消",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "留下评论",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "发布",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "带时间戳的评论",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "留下评论",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "显示原始评论",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "Resolved",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "更多",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "信息",
|
|
485
485
|
"boxui.classification.add": "添加",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "分类",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "深蓝色",
|
|
488
490
|
"boxui.classification.classificationGreen": "绿色",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "仅快捷键",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "查看和下载",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "仅查看",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "批量操作",
|
|
917
919
|
"boxui.subHeader.metadata": "元数据",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "必填字段。请以“上午小时:分钟”格式输入时间。",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "时间格式无效。请以“上午小时:分钟”格式输入时间。",
|
package/i18n/zh-CN.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = 留下评论
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = 发布
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = 带时间戳的评论
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = 留下评论
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = 查看和下载
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = 仅查看
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = 批量操作
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = 元数据
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/i18n/zh-TW.js
CHANGED
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"be.contentSidebar.activityFeed.commentForm.commentCancel": "取消",
|
|
110
110
|
"be.contentSidebar.activityFeed.commentForm.commentLabel": "撰寫留言",
|
|
111
111
|
"be.contentSidebar.activityFeed.commentForm.commentPost": "張貼",
|
|
112
|
-
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "
|
|
112
|
+
"be.contentSidebar.activityFeed.commentForm.commentTimestampLabel": "帶時間戳的留言",
|
|
113
113
|
"be.contentSidebar.activityFeed.commentForm.commentWrite": "撰寫留言",
|
|
114
114
|
"be.contentSidebar.activityFeed.commmon.showOriginalMessage": "顯示原始留言",
|
|
115
115
|
"be.contentSidebar.activityFeed.common.activityStatusResolved": "已解決",
|
|
@@ -483,6 +483,8 @@ export default {
|
|
|
483
483
|
"boxui.categorySelector.label.more": "更多",
|
|
484
484
|
"boxui.checkboxTooltip.iconInfoText": "資訊",
|
|
485
485
|
"boxui.classification.add": "新增",
|
|
486
|
+
"boxui.classification.appliedByBoxAi": "Box AI",
|
|
487
|
+
"boxui.classification.appliedByBoxAiOnDate": "Box AI on {modifiedAt}",
|
|
486
488
|
"boxui.classification.classification": "分類",
|
|
487
489
|
"boxui.classification.classificationDarkBlue": "深藍色",
|
|
488
490
|
"boxui.classification.classificationGreen": "綠色",
|
|
@@ -913,7 +915,7 @@ export default {
|
|
|
913
915
|
"boxui.shareMenu.shortcutOnly": "僅捷徑",
|
|
914
916
|
"boxui.shareMenu.viewAndDownload": "檢視與下載",
|
|
915
917
|
"boxui.shareMenu.viewOnly": "僅檢視",
|
|
916
|
-
"boxui.subHeader.bulkItemActionMenuAriaLabel": "
|
|
918
|
+
"boxui.subHeader.bulkItemActionMenuAriaLabel": "大量動作",
|
|
917
919
|
"boxui.subHeader.metadata": "中繼資料",
|
|
918
920
|
"boxui.timeInput.emptyTimeError": "必填欄位。請以「上午 時時:分分」的格式輸入時間。",
|
|
919
921
|
"boxui.timeInput.invalidTimeError": "無效的時間格式。請以「上午 時時:分分」的格式輸入時間。",
|
package/i18n/zh-TW.properties
CHANGED
|
@@ -219,7 +219,7 @@ be.contentSidebar.activityFeed.commentForm.commentLabel = 撰寫留言
|
|
|
219
219
|
# Text for post button
|
|
220
220
|
be.contentSidebar.activityFeed.commentForm.commentPost = 張貼
|
|
221
221
|
# Label for toggle to add video timestamp to comment
|
|
222
|
-
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel =
|
|
222
|
+
be.contentSidebar.activityFeed.commentForm.commentTimestampLabel = 帶時間戳的留言
|
|
223
223
|
# Placeholder for comment input
|
|
224
224
|
be.contentSidebar.activityFeed.commentForm.commentWrite = 撰寫留言
|
|
225
225
|
# Show original button for showing original comment
|
|
@@ -1827,7 +1827,7 @@ boxui.shareMenu.viewAndDownload = 檢視與下載
|
|
|
1827
1827
|
# Description of permissions granted to users who have access to the shared link
|
|
1828
1828
|
boxui.shareMenu.viewOnly = 僅檢視
|
|
1829
1829
|
# Aria-label for the dropdown menu that shows actions for selected items
|
|
1830
|
-
boxui.subHeader.bulkItemActionMenuAriaLabel =
|
|
1830
|
+
boxui.subHeader.bulkItemActionMenuAriaLabel = 大量動作
|
|
1831
1831
|
# Text for metadata button that will open the metadata side panel
|
|
1832
1832
|
boxui.subHeader.metadata = 中繼資料
|
|
1833
1833
|
# Error message for empty time formats. "HH:MM A" should be localized.
|
package/package.json
CHANGED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BlueprintModernizationContext } from '@box/blueprint-web';
|
|
3
|
+
import { render } from '../../../test-utils/testing-library';
|
|
4
|
+
import { withBlueprintModernization } from '../withBlueprintModernization';
|
|
5
|
+
|
|
6
|
+
// Mock the Blueprint Web package with simple components
|
|
7
|
+
jest.mock('@box/blueprint-web', () => {
|
|
8
|
+
const ReactMock = jest.requireActual('react');
|
|
9
|
+
const mockContext = ReactMock.createContext({ enableModernizedComponents: false });
|
|
10
|
+
|
|
11
|
+
return {
|
|
12
|
+
BlueprintModernizationContext: mockContext,
|
|
13
|
+
BlueprintModernizationProvider: ({ children, enableModernizedComponents }) =>
|
|
14
|
+
ReactMock.createElement(
|
|
15
|
+
'div',
|
|
16
|
+
{
|
|
17
|
+
'data-testid': 'blueprint-provider',
|
|
18
|
+
'data-enabled': String(enableModernizedComponents),
|
|
19
|
+
},
|
|
20
|
+
children,
|
|
21
|
+
),
|
|
22
|
+
TooltipProvider: ({ children }) =>
|
|
23
|
+
ReactMock.createElement('div', { 'data-testid': 'tooltip-provider' }, children),
|
|
24
|
+
BlueprintModernizationContextValue: {},
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
type TestComponentProps = {
|
|
29
|
+
value?: string;
|
|
30
|
+
enableModernizedComponents?: boolean;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
describe('src/elements/common/withBlueprintModernization', () => {
|
|
34
|
+
const TestComponent = ({ value }: TestComponentProps) => (
|
|
35
|
+
<div data-testid="test-component">{`Test ${value || 'default'}`}</div>
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
const WrappedComponent = withBlueprintModernization(TestComponent);
|
|
39
|
+
|
|
40
|
+
const renderComponent = (props?: TestComponentProps) => render(<WrappedComponent {...props} />);
|
|
41
|
+
|
|
42
|
+
test('should wrap component with BlueprintModernizationProvider', () => {
|
|
43
|
+
const { getByTestId } = renderComponent();
|
|
44
|
+
|
|
45
|
+
expect(getByTestId('test-component')).toBeInTheDocument();
|
|
46
|
+
expect(getByTestId('test-component')).toHaveTextContent('Test default');
|
|
47
|
+
expect(getByTestId('blueprint-provider')).toBeInTheDocument();
|
|
48
|
+
expect(getByTestId('blueprint-provider')).toHaveAttribute('data-enabled', 'false');
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
test('should pass props to wrapped component', () => {
|
|
52
|
+
const { getByTestId } = renderComponent({ value: 'test-value' });
|
|
53
|
+
|
|
54
|
+
expect(getByTestId('test-component')).toBeInTheDocument();
|
|
55
|
+
expect(getByTestId('test-component')).toHaveTextContent('Test test-value');
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
test('should handle enableModernizedComponents prop', () => {
|
|
59
|
+
const { getByTestId } = renderComponent({
|
|
60
|
+
value: 'modernized',
|
|
61
|
+
enableModernizedComponents: true,
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
expect(getByTestId('test-component')).toBeInTheDocument();
|
|
65
|
+
expect(getByTestId('test-component')).toHaveTextContent('Test modernized');
|
|
66
|
+
expect(getByTestId('blueprint-provider')).toBeInTheDocument();
|
|
67
|
+
expect(getByTestId('blueprint-provider')).toHaveAttribute('data-enabled', 'true');
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
test('should not wrap component when upstream BlueprintModernizationProvider exists', () => {
|
|
71
|
+
// Create a parent component with existing BlueprintModernizationContext
|
|
72
|
+
const ParentWithContext = ({ children }) => (
|
|
73
|
+
<BlueprintModernizationContext.Provider value={{ enableModernizedComponents: true }}>
|
|
74
|
+
{children}
|
|
75
|
+
</BlueprintModernizationContext.Provider>
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
const { getByTestId, queryByTestId } = render(
|
|
79
|
+
<ParentWithContext>
|
|
80
|
+
<WrappedComponent value="with-context" enableModernizedComponents={false} />
|
|
81
|
+
</ParentWithContext>,
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
// Component should render
|
|
85
|
+
expect(getByTestId('test-component')).toBeInTheDocument();
|
|
86
|
+
expect(getByTestId('test-component')).toHaveTextContent('Test with-context');
|
|
87
|
+
|
|
88
|
+
// HOC should NOT add its own BlueprintModernizationProvider since upstream context exists
|
|
89
|
+
expect(queryByTestId('blueprint-provider')).not.toBeInTheDocument();
|
|
90
|
+
});
|
|
91
|
+
});
|
|
@@ -180,6 +180,7 @@ const ContentAnswersModal = ({
|
|
|
180
180
|
questions={questions}
|
|
181
181
|
retryQuestion={handleRetry}
|
|
182
182
|
setAnswerFeedback={noop}
|
|
183
|
+
shouldShowLandingPage={questions.length === 0}
|
|
183
184
|
submitQuestion={handleAsk}
|
|
184
185
|
suggestedQuestions={suggestedQuestions || localizedQuestions}
|
|
185
186
|
warningNotice={spreadsheetNotice}
|
|
@@ -151,8 +151,7 @@ describe('elements/common/content-answers/ContentAnswersModal', () => {
|
|
|
151
151
|
);
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
|
|
155
|
-
describe.skip('should render suggested questions', () => {
|
|
154
|
+
describe('should render suggested questions', () => {
|
|
156
155
|
test('renders suggested questions when provided', () => {
|
|
157
156
|
const suggestedQuestions = [{ id: '1', label: 'Suggested Question 1', prompt: 'Prompt 1' }];
|
|
158
157
|
renderComponent(mockApi, { suggestedQuestions });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
BlueprintModernizationContext,
|
|
4
|
+
BlueprintModernizationContextValue,
|
|
5
|
+
BlueprintModernizationProvider,
|
|
6
|
+
} from '@box/blueprint-web';
|
|
7
|
+
|
|
8
|
+
export function withBlueprintModernization<P>(
|
|
9
|
+
Component: React.ComponentType<P & BlueprintModernizationContextValue>,
|
|
10
|
+
): React.FC<(P & BlueprintModernizationContextValue) | P> {
|
|
11
|
+
return function WithBlueprintModernization(props: P & BlueprintModernizationContextValue) {
|
|
12
|
+
const context = useContext(BlueprintModernizationContext);
|
|
13
|
+
// no context found from the parent component, so we need to provide our own
|
|
14
|
+
if (!context.enableModernizedComponents) {
|
|
15
|
+
return (
|
|
16
|
+
<BlueprintModernizationProvider enableModernizedComponents={!!props.enableModernizedComponents}>
|
|
17
|
+
<Component {...props} />
|
|
18
|
+
</BlueprintModernizationProvider>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
// context found, so load the component with the existing context
|
|
22
|
+
return <Component {...props} />;
|
|
23
|
+
};
|
|
24
|
+
}
|