diff --git a/eslint.config.mjs b/eslint.config.mjs index b797e8de72..fd3d15df9e 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -66,8 +66,7 @@ export default [{ BoxVisualTestUtils: true, shallow: true, mount: true, - }, - parser: babelParser + } }, }, { files: ["**/*.ts", "**/*.tsx"], diff --git a/i18n/en-US.properties b/i18n/en-US.properties index 3eb96c6258..abd12e4696 100644 --- a/i18n/en-US.properties +++ b/i18n/en-US.properties @@ -34,12 +34,6 @@ be.activitySidebarFilter.status.tasks = Tasks be.add = Add # Text to display when app is disabled by applied access policy be.additionalTab.blockedByShieldAccessPolicy = Use of this app is blocked due to a security policy. -# Error message when an annotation deletion fails -be.annotationThread.errorDeleteAnnotation = There was an error deleting this item. -# Error message when an annotation update fails -be.annotationThread.errorEditAnnotation = This annotation could not be modified. -# Error message when an annotation fetch fails -be.annotattionThread.errorFetchAnnotation = The annotation could not be fetched. # Error message when an app activity deletion fails be.api.appActivityDeleteErrorMessage = There was an error deleting this item. # Error message when a comment creation fails due to a conflict @@ -442,10 +436,6 @@ be.expand = Expand be.externalFolder = External Folder # Label for face skill section in the preview sidebar be.faceSkill = Faces -# Call-to-action text describing what to do to navigate to specified feedback form -be.feedbackCtaText = Click to provide feedback -# Accessible text used to describe the form used for feedback -be.feedbackFormDescription = Beta Feedback Form # Icon title for a Box item of type file be.file = File # File access stats error message @@ -500,22 +490,6 @@ be.loadingState = Please wait while the items load... be.logo = Logo # Indicator on the footer that max items have been selected. be.max = max -# Title for all categories -be.messageCenter.all = All -# Title for Box education category -be.messageCenter.boxEducation = Box Education -# Displayed when there was an error fetching posts -be.messageCenter.errorFetchingPosts = Sorry, we are having trouble showing posts at the moment. It may help to refresh the page. -# Title for product category -be.messageCenter.events = Events -# Displayed when there are no posts to display -be.messageCenter.noPosts = There are no posts for this category at the moment. -# Error message for preview not loading an image -be.messageCenter.previewError = Sorry, we're having trouble showing this image. -# Title for product category -be.messageCenter.product = Product -# Title for the message center modal -be.messageCenter.title = What's New # Message shown when there are no items for provided metadata query. be.metadataState = There are no items in this folder. # Text for modified date with modified prefix. @@ -870,10 +844,6 @@ boxui.badges.upgrade = UPGRADE boxui.base.nextMonth = Next Month # Previous month button for a date picker calendar boxui.base.previousMonth = Previous Month -# Aria label for describing "breadcrumb" -boxui.breadcrumb.breadcrumbLabel = Breadcrumb -# Button label for the "more" dropdown menu -boxui.categorySelector.label.more = More # Icon to display more information on the checkbox boxui.checkboxTooltip.iconInfoText = Info # Button to add classification on an item @@ -920,10 +890,6 @@ boxui.collaboratorAvatars.collaborators.externalCollabTooltipText = {email} is f boxui.collaboratorAvatars.manageAllLinkText = Manage All # Text to display in collaborator list if there are more items boxui.collaboratorAvatars.viewAdditionalPeopleText = View additional people -# Aria label for toggle button that expands/collapses sidebar (expanded state) -boxui.collapsiblesidebar.collapseBtnLabel = Collapse -# Aria label for toggle button that expands/collapses sidebar (collapsed state) -boxui.collapsiblesidebar.expandBtnLabel = Expand # Content Answers submit input button text boxui.contentAnswers.ask = Ask # Content Answers submit input button disabled tooltip text when answer is generating @@ -956,54 +922,6 @@ boxui.contentAnswers.welcomeAskQuestionText = Ask questions about {name} boxui.contentAnswers.welcomeClearChatText = This chat will be cleared when you close this document # Content Answers welcome message title boxui.contentAnswers.welcomeMessageTitle = Welcome to Box AI -# Aria label for the folder breadcrumb -boxui.contentExplorer.breadcrumb = Breadcrumb -# Text shown on button used to close the content explorer -boxui.contentExplorer.cancel = Cancel -# Text shown on button used to choose an item -boxui.contentExplorer.choose = Choose -# Aria label for button to navigate back to the previous folder -boxui.contentExplorer.clickToGoBack = Click to go back -# Aria label for folder tree button to navigate back to previous folders -boxui.contentExplorer.clickToViewPath = Click to view path -# Text shown on button used to copy an item to a different folder -boxui.contentExplorer.copy = Copy -# Text shown in the list when the folder being viewed is empty -boxui.contentExplorer.emptyFolder = There are no subfolders in this folder. -# Text shown in the list when there are no search results -boxui.contentExplorer.emptySearch = Sorry, we couldn't find what you're looking for. -# Tooltip message for the folder tree breadcrumb button -boxui.contentExplorer.filepath = File path -# Text shown for the current folder and its number of items next to the folder tree breadcrumbs -boxui.contentExplorer.folderTreeBreadcrumbsText = {folderName} ({totalItems}) -# Label text shown next to the Include Subfolders toggle -boxui.contentExplorer.includeSubfolders = Include Subfolders -# Text shown on button used to move an item to a different folder -boxui.contentExplorer.move = Move -# Text shown as the header for a column of item names in the list -boxui.contentExplorer.name = Name -# Text shown on button used to create a new folder -boxui.contentExplorer.newFolder = New Folder -# Text shown to indicate the number of folders selected -boxui.contentExplorer.numFoldersSelected = {numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } -# Text shown to indicate the number of items selected with Include Subfolders feature -boxui.contentExplorer.numItemsSelected = {numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } -# Text shown to indicate the number of items selected -boxui.contentExplorer.numSelected = {numSelected} Selected -# Results label for number of items on list when it's just 1 -boxui.contentExplorer.result = {itemsCount} result -# Results label for number of items on list -boxui.contentExplorer.results = {itemsCount} results -# Placeholder text shown in the search input -boxui.contentExplorer.searchPlaceholder = Search -# Text shown in the breadcrumbs when showing search results -boxui.contentExplorer.searchResults = Search Results -# Select All label for select all items check box -boxui.contentExplorer.selectAll = Select All -# Label for radio input to select an item from the item list, {name} is the item name -boxui.contentExplorer.selectItem = Select {name} -# Text shown when hovering over a disabled new folder button because the user lacks permissions to create a folder -boxui.contentexplorer.newFolder.forbidden = You do not have permission to create a folder here. # Cancel button text boxui.core.cancel = Cancel # Close button text @@ -1016,42 +934,12 @@ boxui.core.copy = Copy boxui.core.done = Done # Displays the navigation step index to the user of where they are in the guide. e.g. 1 of 4 boxui.core.guidetooltip.navigation = {currentStepIndex} of {totalNumSteps} -# Label for "Alt" key -boxui.core.hotkeys.altKey = Alt -# Label for "Control" key -boxui.core.hotkeys.ctrlKey = Ctrl -# Label for "Enter" key -boxui.core.hotkeys.enterKey = Enter -# Label for "Esc" key -boxui.core.hotkeys.escKey = Esc -# Title for keyboard shortcut help modal -boxui.core.hotkeys.hotkeyModalTitle = Keyboard Shortcuts -# Describes a hotkey sequence, e.g. "shift+g then shift+a". {key1} is the first key ("shift+g" in our example) and {key2} is the second ("shift+a" in our example). -boxui.core.hotkeys.hotkeySequence = {key1} then {key2} -# Label for "Shift" key -boxui.core.hotkeys.shiftKey = Shift -# Label for "Spacebar" key -boxui.core.hotkeys.spacebarKey = Spacebar # Okay button text boxui.core.okay = Okay # Optional text for labels boxui.core.optional = optional # Save button text boxui.core.save = Save -# Description for keyboard shortcut to deselect all items in the file list -boxui.core.selection.deselectAllDescription = Deselect all items -# Description for keyboard shortcut to select next item in the file list -boxui.core.selection.downDescription = Select next item -# Description for keyboard shortcut to select all items in the file list -boxui.core.selection.selectAllDescription = Select all items -# Description for keyboard shortcut to add next item to current selection in the file list -boxui.core.selection.shiftDownDescription = Add next item to current selection -# Description for keyboard shortcut to add previous item to current selection in the file list -boxui.core.selection.shiftUpDescription = Add previous item to current selection -# Description for keyboard shortcut to select previous item in the file list -boxui.core.selection.shiftXDescription = Select current item -# Description for keyboard shortcut to select previous item in the file list -boxui.core.selection.upDescription = Select previous item # Send button text boxui.core.send = Send # Button for opening date picker @@ -1074,18 +962,6 @@ boxui.draftjs.mentionSelector.startMention = Mention someone to notify them boxui.draftjs.mentionSelector.usersFound = {usersCount, plural, one {one user found} other {{usersCount} users found}} # Icon showing a sad Box cloud boxui.errorMask.iconSadCloudText = Sad Box Cloud -# Text to show when root folder is external -boxui.features.VirtualizedTableRenderers.allFiles = All Files -# The user is an anonymous user -boxui.features.VirtualizedTableRenderers.anonymousUser = Anonymous User -# Text to show when a file is external -boxui.features.VirtualizedTableRenderers.externalFile = External File -# Text to show when a folder is external -boxui.features.VirtualizedTableRenderers.externalFolder = External Folder -# Text to show on "modified by" table cell. Note that "lastModified" will contain additional localized text. Example: 2 days ago by John Smith -boxui.features.VirtualizedTableRenderers.lastModifiedBy = {lastModified} by {user} -# The user is unknown in the database. -boxui.features.VirtualizedTableRenderers.unknownUser = Unknown User # Warning message in the sidebar that this bookmark will be automatically deleted on a certain date, {expiration} is the date boxui.itemDetails.bookmarkExpiration = This bookmark will be deleted on {expiration}. # Label for created date under item properties in the sidebar @@ -1228,108 +1104,8 @@ boxui.metadataInstanceFields.invalidMetadataFieldType = Invalid metadata field t boxui.modalDialog.backModalText = Back # Button to close modal boxui.modalDialog.closeModalText = Close Modal -# Text shown on button to close the modal used to create a new folder -boxui.newFolderModal.cancel = Cancel -# Text shown on button to create a new folder -boxui.newFolderModal.create = Create -# Label text shown on top of the folder name input when creating a new folder -boxui.newFolderModal.folderName.label = Folder Name -# Placeholder text shown in the folder name input when creating a new folder -boxui.newFolderModal.folderName.placeholder = My New Folder -# Title shown in the modal used to create a new folder. "parentFolderName" should not be translated -boxui.newFolderModal.title = Create a New Folder in "{parentFolderName}" # Button to clear notification boxui.notification.clearNotification = Clear Notification -# Description for when someone last viewed a document less than a minute ago -boxui.presence.accessedInTheLastMinute = Viewed less than a minute ago -# Description for someone who is currently viewing or editing a document -boxui.presence.activeNow = Active now -# Description for when someone last commented on a document less than a minute ago -boxui.presence.commentedIntheLastMinute = Commented less than a minute ago -# Text on button to get shared link for the item -boxui.presence.getLinkButton = Get Link -# Text on button to invite collaborators to this item -boxui.presence.inviteButton = Invite People -# Description for when someone last edited a document less than a minute ago -boxui.presence.modifiedIntheLastMinute = Edited less than a minute ago -# Text for link at footer of the Recent Activity panel -boxui.presence.previewPresenceFlyoutAccessStatsLink = See all activity -# Text on button embedded within tooltip that is visible on page load -boxui.presence.previewPresenceFlyoutActivityCTA = View Recent Activity -# Tooltip text visible on page load, to prompt the user to press a button to view activity -boxui.presence.previewPresenceFlyoutCopy = Quickly see who has commented on, edited, or viewed this file. -# Description for when someone last previewed a document less than a minute ago -boxui.presence.previewedIntheLastMinute = Previewed less than a minute ago -# Header on presence dropdown list that represents recent activity on the item -boxui.presence.recentActivity = Recent Activity -# Description for when someone last viewed a document, {timeAgo} is a relative time like 2 months ago -boxui.presence.timeSinceLastAccessed = Viewed {timeAgo} -# Description for when someone last commented on a document, {timeAgo} is a relative time like 2 months ago -boxui.presence.timeSinceLastCommented = Commented {timeAgo} -# Description for when someone last edited a document, {timeAgo} is a relative time like 2 months ago -boxui.presence.timeSinceLastModified = Edited {timeAgo} -# Description for when someone last previewed a document, {timeAgo} is a relative time like 2 months ago -boxui.presence.timeSinceLastPreviewed = Previewed {timeAgo} -# Description of the button to toggle the presence overlay with recent activity -boxui.presence.toggleButtonLabel = Recent Activity -# Text on the add filter button, on click generates another filter row -boxui.queryBar.addFilterButtonText = + Add Filter -# Text on the apply filter button, on click applies the filters -boxui.queryBar.applyFiltersButtonText = Apply -# Text on the columns button, on click opens a menu which allows users to choose which columns to render -boxui.queryBar.columnsButtonText = Columns -# Text on the columns button, if one or more columns have been hidden then it will display this text -boxui.queryBar.columnsHiddenButtonText = {count, plural, one {1 Column Hidden} other {{count} Columns Hidden}} -# Text on the connector dropdown, on click should open a dropdown showing either AND or OR -boxui.queryBar.connectorAndText = AND -# Text on the connector dropdown, on click should open a dropdown showing either AND or OR -boxui.queryBar.connectorOrText = OR -# Text on the label, the first condition will show WHERE -boxui.queryBar.connectorWhereText = WHERE -# Text on the filters button, on click opens a menu which allows users to filter through the files -boxui.queryBar.filtersButtonText = Modify Filters -# Header text shown in template dropdown -boxui.queryBar.metadataViewTemplateListHeaderTitle = METADATA TEMPLATES -# Text on the filters button, will display a number in front of the filters text indicating how many filters are applied -boxui.queryBar.multipleFiltersButtonText = {number} Filters -# Text on the filters dropdown that is displayed when no filters have been inserted -boxui.queryBar.noFiltersAppliedText = No Filters Applied -# Text on the templates button when templates have been loaded and there are no templates in the enterprise -boxui.queryBar.noTemplatesText = No Templates Available -# Placeholder text on the value button, on click should open a dropdown -boxui.queryBar.selectValuePlaceholderText = Select value -# Text on the templates button, on click opens a menu which allows users to select a metadata templates -boxui.queryBar.templatesButtonText = Select Metadata -# Text on the templates button when templates are still being loaded -boxui.queryBar.templatesLoadingButtonText = Template Name -# Text displayed on the Tooltip for an input field -boxui.queryBar.tooltipEnterValueError = Please Enter a Value -# Text displayed on the Tooltip for an input field of type float -boxui.queryBar.tooltipInvalidFloatError = Please Enter a Decimal Number -# Text displayed on the Tooltip for an input field of type number -boxui.queryBar.tooltipInvalidNumberError = Please Enter an Integer -# Text displayed on the Tooltip for a date field -boxui.queryBar.tooltipSelectDateError = Please Select a Date -# Text displayed on the Tooltip for a value field -boxui.queryBar.tooltipSelectValueError = Please Select a Value -# Icon title for a Box item of type bookmark or web-link -boxui.quickSearch.bookmark = Bookmark -# Icon title for a Box item of type folder that has collaborators -boxui.quickSearch.collaboratedFolder = Collaborated Folder -# Icon title for a Box item of type folder that has collaborators outside of the user's enterprise -boxui.quickSearch.externalFolder = External Folder -# Icon title for a Box item of type file -boxui.quickSearch.file = File -# Title for a parent folder icon next to the name of the parent folder for a quick search result item -boxui.quickSearch.parentFolder = Parent Folder -# Icon title for a Box item of type folder that is private and has no collaborators -boxui.quickSearch.personalFolder = Personal Folder -# Text for a quick search result describing the date when the user last updated the item -boxui.quickSearch.updatedText = {date, date, medium} by {user} -# Statement describing when and who last updated a quick search result item, capitalize if appropriate -boxui.quickSearch.updatedTextToday = Today by {user} -# Statement describing when and who last updated a quick search result item, capitalize if appropriate -boxui.quickSearch.updatedTextYesterday = Yesterday by {user} # The time that an event occurred boxui.readableTime.eventTime = {time, date, medium} # The time that an event occurred at a given date with the year included @@ -1348,34 +1124,6 @@ boxui.searchForm.clearButtonTitle = Clear boxui.searchForm.searchButtonTitle = Search # Label for a search input boxui.searchForm.searchLabel = Search query -# Instructional message displayed on the embed widget security drag-drop game for screen readers -boxui.securityCloudGame.accessibilityInstructions = For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target. -# Message for the screen reader to tell when user drop the cloud. -boxui.securityCloudGame.cloudDropped = Cloud object dropped. -# Message for the screen reader to tell when user grab the cloud. -boxui.securityCloudGame.cloudGrabbed = Cloud object grabbed. -# White cloud title. -boxui.securityCloudGame.cloudObject = Cloud object -# Message for the screen reader to tell the current position of the cloud. -boxui.securityCloudGame.currentPosition = Current position: Row {row}, Column {column}. -# Instructional message displayed on the embed widget security drag-drop game -boxui.securityCloudGame.instructions = For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop. -# Message for the screen reader to tell when the cloud hits the bottom edge of game board. -boxui.securityCloudGame.reachBottomEdge = Reached bottom edge of grid. -# Message for the screen reader to tell when the cloud hits the left edge of game board. -boxui.securityCloudGame.reachLeftEdge = Reached left edge of grid. -# Message for the screen reader to tell when the cloud hits the right edge of game board. -boxui.securityCloudGame.reachRightEdge = Reached right edge of grid. -# Message for the screen reader to tell when the cloud hits the top edge of game board. -boxui.securityCloudGame.reachTopEdge = Reached top edge of grid. -# Success message shown when a user successfully drags the cloud into position. -boxui.securityCloudGame.success = Success! -# Target dark cloud title. -boxui.securityCloudGame.target = Target -# Message for the screen reader to tell when the white cloud overlaps with the target cloud. -boxui.securityCloudGame.targetInRange = Target in range, you can drop the cloud object. -# Message for the screen reader to tell the position of the target. -boxui.securityCloudGame.targetPosition = Target position: Row {row}, Column {column}. # Name list of all applications download restriction applied to classification boxui.securityControls.allAppNames = All applications: {appsList} # Bullet point that summarizes application download restriction applied to classification @@ -1470,148 +1218,16 @@ boxui.securityControls.webDownloadExternalOwnersEditors = Download restricted on boxui.securityControls.webDownloadOwners = Download restricted on web, except Owners/Co-Owners. # Bullet point that summarizes web download restrictions applied to classification, when restriction applies to managed users except Owners/Co-Owners/Editors boxui.securityControls.webDownloadOwnersEditors = Download restricted on web, except Owners/Co-Owners/Editors. -# Alt text for info icon -boxui.select.moreInfo = More Info # text shown on the Clear All option in the options list boxui.selectField.clearAll = Clear All # Text shown in the select field dropdown when there are no options that match the search field input boxui.selectField.noResults = No Results # Placeholder text shown in the search input boxui.selectField.searchPlaceholder = Search -# Title for "Access Type" menu, in all capital letters -boxui.share.accessType = ACCESS TYPE -# Label for a shared link permission level -boxui.share.canEdit = Can edit -# Label for a shared link permission level -boxui.share.canView = Can view -# Text for Co-owner permission level in permissions table -boxui.share.coownerLevelText = Co-owner -# Text for permissions table Delete column -boxui.share.deleteTableHeaderText = Delete -# Text for permissions table Download column -boxui.share.downloadTableHeaderText = Download -# Text for permissions table Edit column -boxui.share.editTableHeaderText = Edit -# Text for Editor permission level in permissions table -boxui.share.editorLevelText = Editor -# Field label for shared link recipient list (title-case) -boxui.share.emailSharedLink = Email Shared Link -# Error message when user tries to send shared link as email without entering any recipients -boxui.share.enterAtLeastOneEmail = Enter at least one valid email -# Text for permissions table Get Link column -boxui.share.getLinkTableHeaderText = Get Link -# Label for a Group contact type -boxui.share.groupLabel = Group -# Text on button to cancel and close the invite collaborators modal. -boxui.share.inviteCollaboratorsModalCancelButton = Cancel -# Text on button to send invitations to collaborators for an item -boxui.share.inviteCollaboratorsModalSendInvites = Send Invites -# Title of the Invite Collaborators Modal. {itemName} is the name of the file / folder being shared -boxui.share.inviteCollaboratorsModalTitle = Invite to {itemName} -# Label of the field where a user designates who to invite to collaborate on an item -boxui.share.inviteFieldLabel = Invite -# Label to invite editors to a file in the invite collab modal -boxui.share.inviteFileEditorsLabel = Invite people to become editors of this file. -# Label of the field where a user designates which permissions a collaborator will have on an item -boxui.share.inviteePermissionsFieldLabel = Invitee Permissions -# Tooltip text a user can use to learn more about collaborator permission options -boxui.share.inviteePermissionsLearnMore = Learn More -# Label for "Message" text box to email the shared link (title-case) -boxui.share.message = Message # Placeholder text for message section boxui.share.messageSelectorPlaceholder = Add a message -# Text for permissions table Owner column -boxui.share.ownerTableHeaderText = Owner -# Description of a company shared link for a file with view and download permissions -boxui.share.peopleInCompanyCanDownloadFile = Anyone in your company with the link can view and download this file. -# Description of a company shared link for a folder with view and download permissions -boxui.share.peopleInCompanyCanDownloadFolder = Anyone in your company with the link can view this folder and download its contents. -# Description of a company shared link for a file with edit permissions (implies view and download permissions as well) -boxui.share.peopleInCompanyCanEditFile = Anyone in your company with the link can edit and download this file. -# Description of a company shared link for a file with view permissions -boxui.share.peopleInCompanyCanViewFile = Anyone in your company with the link can view this file. -# Description of a company shared link for a folder with view permissions -boxui.share.peopleInCompanyCanViewFolder = Anyone in your company with the link can view this folder. -# This string describes the access level of a file or folder, or who can see the item. {enterpriseName} is the company name -boxui.share.peopleInEnterprise = People in {enterpriseName} -# Description of a collaborator-only shared link for a file with no permissions -boxui.share.peopleInItemCanAccessFile = Any collaborator on the file with the link can access this file. -# Description of a collaborator-only shared link for a folder with no permissions -boxui.share.peopleInItemCanAccessFolder = Any collaborator on the folder with the link can access this folder. -# Description of a collaborator-only shared link for a file with download permissions -boxui.share.peopleInItemCanDownloadFile = Any collaborator on this file with the link can download this file. -# Description of a collaborator-only shared link for a folder with download permissions -boxui.share.peopleInItemCanDownloadFolder = Any collaborator on this folder with the link can download this folder. -# Description of a collaborator-only shared link for a file with edit permissions (implies view and download permissions as well) -boxui.share.peopleInItemCanEditFile = Any collaborator on this file with the link can edit this file and download its contents. -# Description of a collaborator-only shared link for a file with view and download permissions -boxui.share.peopleInItemCanPreviewAndDownloadFile = Any collaborator on this file with the link can view this file and download its contents. -# Description of a collaborator-only shared link for a folder with view and download permissions -boxui.share.peopleInItemCanPreviewAndDownloadFolder = Any collaborator on this folder with the link can view this folder and download its contents. -# Description of a collaborator-only shared link for a file with view permissions -boxui.share.peopleInItemCanPreviewFile = Any collaborator on this file with the link can view this file. -# Description of a collaborator-only shared link for a folder with view permissions -boxui.share.peopleInItemCanPreviewFolder = Any collaborator on this folder with the link can view this folder. -# Description of a specific company shared link for a file with view and download permissions. {company} is the company name -boxui.share.peopleInSpecifiedCompanyCanDownloadFile = Anyone in {company} with the link can view and download this file. -# Description of a specific company shared link for a folder with view and download permissions. {company} is the company name -boxui.share.peopleInSpecifiedCompanyCanDownloadFolder = Anyone in {company} with the link can view this folder and download its contents. -# Description of a specific company shared link for a file with edit permissions (implies view and download permissions as well). {company} is the company name -boxui.share.peopleInSpecifiedCompanyCanEditFile = Anyone in {company} with the link can edit and download this file. -# Description of an specific company shared link for a file with view permissions. {company} is the company name -boxui.share.peopleInSpecifiedCompanyCanViewFile = Anyone in {company} with the link can view this file. -# Description of an specific company shared link for a folder with view permissions. {company} is the company name -boxui.share.peopleInSpecifiedCompanyCanViewFolder = Anyone in {company} with the link can view this folder. -# Label for "People in this file" option -boxui.share.peopleInThisFile = People in this file -# Label for "People in this folder" option -boxui.share.peopleInThisFolder = People in this folder -# Label for "People in your company" option -boxui.share.peopleInYourCompany = People in your company -# Description of an open shared link for a file with view and download permissions -boxui.share.peopleWithLinkCanDownloadFile = Anyone with the link can view and download this file. -# Description of an open shared link for a folder with view and download permissions -boxui.share.peopleWithLinkCanDownloadFolder = Anyone with the link can view this folder and download its contents. -# Description of an open shared link for a file with edit permissions (implies view and download permissions as well) -boxui.share.peopleWithLinkCanEditFile = Anyone with the link can edit and download this file. -# Description of an open shared link for a file with view permissions -boxui.share.peopleWithLinkCanViewFile = Anyone with the link can view this file. -# Description of an open shared link for a folder with view permissions -boxui.share.peopleWithLinkCanViewFolder = Anyone with the link can view this folder. -# Label for "People with the link" option -boxui.share.peopleWithTheLink = People with the link -# Text for permissions table Permission Levels column -boxui.share.permissionLevelsTableHeaderText = Permission Levels -# Label for optional personal message to include when inviting collaborators to an item -boxui.share.personalMessageLabel = Personal Message # Placeholder text for the pill selector boxui.share.pillSelectorPlaceholder = Add names or email addresses -# Text for permissions table Preview column -boxui.share.previewTableHeaderText = Preview -# Text for Previewer permission level in permissions table -boxui.share.previewerLevelText = Previewer -# Text for Previewer Uploader permission level in permissions table -boxui.share.previewerUploaderLevelText = Previewer Uploader -# Text on a badge encouraging users to refer a friend to sign up for Box -boxui.share.referAFriendBadgeText = REFER -# Text on a link to the "Reward Center", where users can refer a friend to sign up for Box -boxui.share.referAFriendRewardCenterLinkText = Click Here -# Text encouraging users to refer a friend to sign up for Box -boxui.share.referAFriendText = Want a free month of Box? Refer your friend! -# Label for option to remove shared link -boxui.share.removeLink = Remove Link -# Description for confirmation modal to remove a shared link -boxui.share.removeLinkConfirmationDescription = This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue? -# Label for confirmation modal to remove a shared link (title-case) -boxui.share.removeLinkConfirmationTitle = Remove Shared Link -# Accessible label for button that loads share settings popup -boxui.share.settingsButtonLabel = Open shared link settings popup -# Tooltip describing when this shared link will expire. {expiration, date, long} is the formatted date -boxui.share.sharedLinkExpirationTooltip = This link will expire on {expiration, date, long} -# Label for field to copy shared link URL (title-case) -boxui.share.sharedLinkLabel = Shared Link -# Title for shared link modal (title-case) -boxui.share.sharedLinkModalTitle = Shared Link for {itemName} # Text to show when the access level of people in company and user can view only boxui.share.sharedLinkSettings.accessLevel.inCompanyView = This content is available to anyone within your company with the link, and can be viewed. # Text to show when the access level of people in company and user can view and download @@ -1662,42 +1278,8 @@ boxui.share.sharedLinkSettings.vanityNamePlaceholder = Enter a custom path (12 o boxui.share.sharedLinkSettings.vanityURLWarning = Custom URLs should not be used when sharing sensitive content. # Accessible label for shared link input field boxui.share.sharedLinkURLLabel = URL -# Label for link to upgrade to get more access controls for inviting collaborators to an item -boxui.share.upgradeGetMoreAccessControls = Get More Access Controls -# Text for permissions table Upload column -boxui.share.uploadTableHeaderText = Upload -# Text for Uploader permission level in permissions table -boxui.share.uploaderLevelText = Uploader # Text label for custom URL section boxui.share.vanityURLEnableText = Publish content broadly with a custom, non-private URL -# Text for Viewer permission level in permissions table -boxui.share.viewerLevelText = Viewer -# Text for Viewer Uploader permission level in permissions table -boxui.share.viewerUploaderLevelText = Viewer Uploader -# Description of permissions granted to users who have access to the shared link -boxui.shareMenu.downloadOnly = Download Only -# Description of permissions granted when inviting a collab to this item -boxui.shareMenu.editAndComment = Edit and Comment -# Label for menu option to get shared link for item (title-case) -boxui.shareMenu.getSharedLink = Get Shared Link -# Label for disabled menu option when user does not have permission to get shared link for item -boxui.shareMenu.insufficientPermissionsMenuOption = Insufficient sharing permissions. Please contact the folder owner. -# Tooltip to show when user does not have permission to invite collaborators to item -boxui.shareMenu.insufficientPermissionsTooltip = You have insufficient permissions to invite collaborators. -# Label for menu option to invite collaborators to item -boxui.shareMenu.inviteCollabs = Invite Collaborators -# Tooltip to show when only owners and co-owners are allowed to invite collaborators to item -boxui.shareMenu.ownerCoownerOnlyTooltip = You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators. -# Description of permissions granted to users who have access to the shared link -boxui.shareMenu.shortcutOnly = Shortcut Only -# Description of permissions granted to users who have access to the shared link -boxui.shareMenu.viewAndDownload = View and Download -# Description of permissions granted to users who have access to the shared link -boxui.shareMenu.viewOnly = View Only -# Error message for empty time formats. "HH:MM A" should be localized. -boxui.timeInput.emptyTimeError = Required field. Enter a time in the format HH:MM A. -# Error message for invalid time formats. "HH:MM A" should be localized. -boxui.timeInput.invalidTimeError = Invalid time format. Enter a time in the format HH:MM A. # Used in a dialog box that urges the user to upgrade. This is substituted into the middle of the sentence in the string with id boxui.unifiedShare.levelOfCollabAccess boxui.unifiedShare.collabAccess = collaborator access # Text to display for a group of users who have accepted an invitation to collaborate diff --git a/package.json b/package.json index ecd9718ed6..efbdf72a01 100644 --- a/package.json +++ b/package.json @@ -240,11 +240,11 @@ "flow-typed": "^2.6.2", "form-serialize": "^0.7.2", "formik": "^2.0.3", - "husky": "^3.1.0", + "husky": "^4.0.10", "ilib-tree-node": "^1.2.0", "immutable": "^3.7.4", "intl": "^1.2.5", - "intl-messageformat": "^2.2.0", + "intl-messageformat": "^7.8.4", "intl-messageformat-parser": "^3.6.4", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index d4a878d0db..cfc9f3ac21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13148,6 +13148,11 @@ compare-func@^1.3.1: array-ify "^1.0.0" dot-prop "^3.0.0" +compare-versions@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" + integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== + component-emitter@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" @@ -17466,6 +17471,13 @@ find-versions@^3.0.0: array-uniq "^2.0.0" semver-regex "^2.0.0" +find-versions@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-4.0.0.tgz#3c57e573bf97769b8cb8df16934b627915da4965" + integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ== + dependencies: + semver-regex "^3.1.2" + findup@^0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/findup/-/findup-0.1.5.tgz#8ad929a3393bac627957a7e5de4623b06b0e2ceb" @@ -19563,22 +19575,21 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-3.1.0.tgz#5faad520ab860582ed94f0c1a77f0f04c90b57c0" - integrity sha512-FJkPoHHB+6s4a+jwPqBudBDvYZsoQW5/HBuMSehC8qDiCe50kpcxeqFoDSlow+9I6wg47YxBoT3WxaURlrDIIQ== +husky@^4.0.10: + version "4.3.8" + resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d" + integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow== dependencies: - chalk "^2.4.2" + chalk "^4.0.0" ci-info "^2.0.0" - cosmiconfig "^5.2.1" - execa "^1.0.0" - get-stdin "^7.0.0" + compare-versions "^3.6.0" + cosmiconfig "^7.0.0" + find-versions "^4.0.0" opencollective-postinstall "^2.0.2" - pkg-dir "^4.2.0" + pkg-dir "^5.0.0" please-upgrade-node "^3.2.0" - read-pkg "^5.2.0" - run-node "^1.0.0" slash "^3.0.0" + which-pm-runs "^1.0.0" hyperdyperid@^1.2.0: version "1.2.0" @@ -20022,10 +20033,10 @@ interpret@^3.1.1: resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4" integrity sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ== -intl-messageformat-parser@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-1.4.0.tgz#b43d45a97468cadbe44331d74bb1e8dea44fc075" - integrity sha512-/XkqFHKezO6UcF4Av2/Lzfrez18R0jyw7kRFhSeB/YRakdrgSc9QfFZUwNJI9swMwMoNPygK1ArC5wdFSjPw+A== +intl-format-cache@^4.2.21: + version "4.3.1" + resolved "https://registry.yarnpkg.com/intl-format-cache/-/intl-format-cache-4.3.1.tgz#484d31a9872161e6c02139349b259a6229ade377" + integrity sha512-OEUYNA7D06agqPOYhbTkl0T8HA3QKSuwWh1HiClEnpd9vw7N+3XsQt5iZ0GUEchp5CW1fQk/tary+NsbF3yQ1Q== intl-messageformat-parser@^3.6.4: version "3.6.4" @@ -20044,12 +20055,13 @@ intl-messageformat@10.3.5: "@formatjs/icu-messageformat-parser" "2.4.0" tslib "^2.4.0" -intl-messageformat@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-2.2.0.tgz#345bcd46de630b7683330c2e52177ff5eab484fc" - integrity sha512-I+tSvHnXqJYjDfNmY95tpFMj30yoakC6OXAo+wu/wTMy6tA/4Fd4mvV7Uzs4cqK/Ap29sHhwjcY+78a8eifcXw== +intl-messageformat@^7.8.4: + version "7.8.4" + resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-7.8.4.tgz#c29146a06b9cd26662978a4d95fff2b133e3642f" + integrity sha512-yS0cLESCKCYjseCOGXuV4pxJm/buTfyCJ1nzQjryHmSehlptbZbn9fnlk1I9peLopZGGbjj46yHHiTAEZ1qOTA== dependencies: - intl-messageformat-parser "1.4.0" + intl-format-cache "^4.2.21" + intl-messageformat-parser "^3.6.4" intl@^1.2.5: version "1.2.5" @@ -29660,11 +29672,6 @@ run-async@^2.4.0: resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== -run-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/run-node/-/run-node-1.0.0.tgz#46b50b946a2aa2d4947ae1d886e9856fd9cabe5e" - integrity sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A== - run-parallel@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" @@ -30077,6 +30084,11 @@ semver-regex@^2.0.0: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== +semver-regex@^3.1.2: + version "3.1.4" + resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.4.tgz#13053c0d4aa11d070a2f2872b6b1e3ae1e1971b4" + integrity sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA== + "semver@2 || 3 || 4 || 5": version "5.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" @@ -34047,6 +34059,11 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= +which-pm-runs@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.1.0.tgz#35ccf7b1a0fce87bd8b92a478c9d045785d3bf35" + integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA== + which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2: version "1.1.13" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36"