Skip to content

Commit

Permalink
chore(lint): disable valid-jsdoc
Browse files Browse the repository at this point in the history
- there are 538 warnings for this
- do we still need --max-warnings=0
  or are we happy with the error/warning ratio now?
  • Loading branch information
alexkrolick committed Feb 27, 2019
1 parent 07e181f commit 2206d78
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
'react/no-access-state-in-setstate': 'off', // fixme
'react/no-array-index-key': 'off', // fixme
'react/no-this-in-sfc': 'off',
'valid-jsdoc': 1,
'valid-jsdoc': 0, // not required but toggle this to check validity
},
globals: {
shallow: true,
Expand Down
212 changes: 212 additions & 0 deletions i18n/en-US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,18 @@ be.tasks.addTaskForm.submit = Add Task
be.tasks.addTaskForm.title = Add Task
# Approve option for an approval task
be.tasks.feed.approveAction = Approve
# Label for an approved task
be.tasks.feed.approvedLabel = Task Approved
# Completion option for a general task
be.tasks.feed.completeAction = Mark as Complete
# Label for a completed task
be.tasks.feed.completedLabel = Task Complete
# Label for an incomplete task
be.tasks.feed.incompleteLabel = Awaiting Assignees
# Reject option for an approval task
be.tasks.feed.rejectAction = Reject
# Label for a rejected task
be.tasks.feed.rejectedLabel = Task Rejected
# Tasks for approval
be.tasksForApproval = Tasks
# Shown instead of todays date.
Expand Down Expand Up @@ -508,12 +518,42 @@ boxui.core.copied = Copied
boxui.core.copy = Copy
# Done button text
boxui.core.done = Done
# 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
Expand Down Expand Up @@ -656,8 +696,34 @@ boxui.metadataInstanceEditor.templatesNoResults = No Results
boxui.metadataInstanceEditor.templatesServerHasNoTemplates = Zero templates
# Overall title of metadata
boxui.metadataInstanceEditor.templatesTitle = Templates
# Header text shown in metadata view for when the user has too many results within some range
boxui.metadataView.needRefiningHeaderText = Too many results
# Subtitle text shown in metadata view for when the user has too many results within some range
boxui.metadataView.needRefiningSubtitleText = Please use filters to refine your results.
# Header text shown in metadata view for when there are no results for the current query
boxui.metadataView.noResultsForQueryHeaderText = No results
# Subtitle text shown in metadata view for when there are no results for the current query
boxui.metadataView.noResultsForQuerySubtitleText = You do not have access to any files that match your query. Please use filters to modify your query.
# Header text shown in metadata view for when there are no results for the current template
boxui.metadataView.noResultsForTemplateHeaderText = No results
# Subtitle text shown in metadata view for when there are no results for the current template
boxui.metadataView.noResultsForTemplateSubtitleText = You do not have access to any files that match this template.
# Header text shown in metadata view for when the user has too many results past an upper limit
boxui.metadataView.tooManyResultsHeaderText = Over {upperFileLimit} files match this template
# Subtitle text shown in metadata view for when the user has too many results past an upper limit
boxui.metadataView.tooManyResultsSubtitleText = Result sets of this size are not currently supported in Box.
# 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
Expand Down Expand Up @@ -756,8 +822,116 @@ 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
boxui.securityCloudGame.instructions = For security purposes, please drag the white cloud into the dark cloud.
# Success message shown when a user successfully drags the cloud into position.
boxui.securityCloudGame.success = Success!
# 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
# Label for text input to enter email addresses to send Shared Link to
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
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
Expand Down Expand Up @@ -998,3 +1172,41 @@ boxui.validation.requiredError = Required Field
boxui.validation.tooLongError = Input cannot exceed {max} characters
# Error message for when an input value is too short. {min} is the minimum length
boxui.validation.tooShortError = Input must be at least {min} characters
# Badge text indicating version is the current version (must be lower case)
boxui.versionHistoryModal.current = current
# Label given to the current badge for screen readers
boxui.versionHistoryModal.currentVersionLabel = This is the current version of the file
# Description of a version that has been deleted
boxui.versionHistoryModal.deletedByInfo = Removed on {deleted, date, full} by {deleterUserName}.
# Description of a version that will be permanently deleted
boxui.versionHistoryModal.deletedPermanentlyByInfo = Removed on {deleted, date, full} by {deleterUserName}. Per your company settings, this version will be removed permanently on {deletedPermanentlyBy, date, full}.
# Button text for downloading a version
boxui.versionHistoryModal.download = Download
# Button text for restoring a version as current
boxui.versionHistoryModal.makeCurrent = Make Current
# Button text for removing/deleting a version
boxui.versionHistoryModal.remove = Remove
# Button text for restoring a version
boxui.versionHistoryModal.restore = Restore
# Description of a version that has been restored
boxui.versionHistoryModal.restoredByInfo = Restored on {restored, date, full} by {restorerUserName}.
# Description of a version that has been restored from a now unavailable previous version.
boxui.versionHistoryModal.restoredFromPreviousVersionInfo = Restored on {restored, date, full} from a previous version by {restorerUserName}.
# Description of a version that has been restored. {versionNumber} is the version number of the original file version restored.
boxui.versionHistoryModal.restoredFromVersionInfo = Restored on {restored, date, full} from V{versionNumber} by {restorerUserName}.
# Text displayed when a version is retained and will be deleted on a certain date
boxui.versionHistoryModal.retainedAndDeletedOn = Will be deleted {dispositionDate, date, full} by retention policy.
# Text displayed when a version is retained indefinitely
boxui.versionHistoryModal.retainedIndefinitely = Retained indefinitely by retention policy.
# Text displayed when a version is retained until a certain date
boxui.versionHistoryModal.retainedUntil = Retained until {dispositionDate, date, full} by retention policy.
# Title of the version history modal
boxui.versionHistoryModal.title = Version History
# Description of a version that has been uploaded
boxui.versionHistoryModal.uploadedInfo = Uploaded on {uploaded, date, full} at {uploaded, time, short} by {uploaderUserName}.
# Text displayed instead of button actions
boxui.versionHistoryModal.versionLimitExceeded = You can restore the most recent {versionLimit} versions of any file.
# Badge text showing current version number
boxui.versionHistoryModal.versionNumberBadge = V{versionNumber}
# Label given to the version badge for screen readers
boxui.versionHistoryModal.versionNumberLabel = Version number {versionNumber}
Loading

0 comments on commit 2206d78

Please sign in to comment.