1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-17 18:26:17 +02:00

added i18-n extracted text

This commit is contained in:
Bharat Kalluri 2021-03-24 07:15:45 +05:30
parent ade3309915
commit 563f0ceef4
2 changed files with 4 additions and 2 deletions

View File

@ -115,7 +115,9 @@
"ViewHeader.delete-template": "Delete",
"ViewHeader.edit-template": "Edit",
"ViewHeader.empty-card": "Empty card",
"ViewHeader.export-complete": "Export complete!",
"ViewHeader.export-csv": "Export to CSV",
"ViewHeader.export-failed": "Export failed!",
"ViewHeader.filter": "Filter",
"ViewHeader.group-by": "Group by: {property}",
"ViewHeader.new": "New",

View File

@ -73,13 +73,13 @@ class ViewHeader extends React.Component<Props, State> {
try {
CsvExporter.exportTableCsv(boardTree)
const exportCompleteMessage = intl.formatMessage({
id: 'ViewHeader.exportComplete',
id: 'ViewHeader.export-complete',
defaultMessage: 'Export complete!',
})
sendFlashMessage({content: exportCompleteMessage, severity: 'normal'})
} catch (e) {
const exportFailedMessage = intl.formatMessage({
id: 'ViewHeader.exportFailed',
id: 'ViewHeader.export-failed',
defaultMessage: 'Export failed!',
})
sendFlashMessage({content: exportFailedMessage, severity: 'high'})