Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cases] Edit labels for file attachments #156026

Merged
merged 7 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ export const BULK_ACTIONS = i18n.translate('xpack.cases.caseTable.bulkActions',
});

export const EXTERNAL_INCIDENT = i18n.translate('xpack.cases.caseTable.snIncident', {
defaultMessage: 'External Incident',
defaultMessage: 'External incident',
});

export const SEVERITY = i18n.translate('xpack.cases.caseTable.severity', {
defaultMessage: 'Severity',
});

export const INCIDENT_MANAGEMENT_SYSTEM = i18n.translate('xpack.cases.caseTable.incidentSystem', {
defaultMessage: 'Incident Management System',
defaultMessage: 'Incident management system',
});

export const SEARCH_PLACEHOLDER = i18n.translate('xpack.cases.caseTable.searchPlaceholder', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe('useCasesColumns ', () => {
"sortable": true,
},
Object {
"name": "External Incident",
"name": "External incident",
"render": [Function],
"width": undefined,
},
Expand Down Expand Up @@ -232,7 +232,7 @@ describe('useCasesColumns ', () => {
"sortable": true,
},
Object {
"name": "External Incident",
"name": "External incident",
"render": [Function],
"width": undefined,
},
Expand Down Expand Up @@ -316,7 +316,7 @@ describe('useCasesColumns ', () => {
"sortable": true,
},
Object {
"name": "External Incident",
"name": "External incident",
"render": [Function],
"width": undefined,
},
Expand Down Expand Up @@ -395,7 +395,7 @@ describe('useCasesColumns ', () => {
"sortable": true,
},
Object {
"name": "External Incident",
"name": "External incident",
"render": [Function],
"width": undefined,
},
Expand Down Expand Up @@ -479,7 +479,7 @@ describe('useCasesColumns ', () => {
"sortable": true,
},
Object {
"name": "External Incident",
"name": "External incident",
"render": [Function],
"width": undefined,
},
Expand Down Expand Up @@ -638,7 +638,7 @@ describe('useCasesColumns ', () => {
"sortable": true,
},
Object {
"name": "External Incident",
"name": "External incident",
"render": [Function],
"width": undefined,
},
Expand Down
8 changes: 4 additions & 4 deletions x-pack/plugins/cases/public/components/files/translations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ export const ACTIONS = i18n.translate('xpack.cases.caseView.files.actions', {
});

export const ADD_FILE = i18n.translate('xpack.cases.caseView.files.addFile', {
defaultMessage: 'Add File',
defaultMessage: 'Add file',
});

export const CLOSE_MODAL = i18n.translate('xpack.cases.caseView.files.closeModal', {
defaultMessage: 'Close',
});

export const DATE_ADDED = i18n.translate('xpack.cases.caseView.files.dateAdded', {
defaultMessage: 'Date Added',
defaultMessage: 'Date added',
});

export const DELETE_FILE = i18n.translate('xpack.cases.caseView.files.deleteFile', {
defaultMessage: 'Delete File',
defaultMessage: 'Delete file',
});

export const DOWNLOAD_FILE = i18n.translate('xpack.cases.caseView.files.downloadFile', {
defaultMessage: 'Download File',
defaultMessage: 'Download file',
});

export const FILES_TABLE = i18n.translate('xpack.cases.caseView.files.filesTable', {
Expand Down