diff --git a/src/languages/en.ts b/src/languages/en.ts index 6987c4f51c00..f52848589663 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -1510,7 +1510,6 @@ export default { reopened: 'reopened task', error: 'You do not have the permission to do the requested action.', }, - createdTask: ({title}: {title: string}) => `Created a task: ${title}`, markAsDone: 'Mark as done', markAsIncomplete: 'Mark as incomplete', assigneeError: 'There was an error assigning this task, please try another assignee.', diff --git a/src/languages/es.ts b/src/languages/es.ts index db47f2d3901a..8610f41308e1 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -1541,7 +1541,6 @@ export default { reopened: 'tarea reabrir', error: 'No tiene permiso para realizar la acción solicitada.', }, - createdTask: ({title}: {title: string}) => `Creó una tarea: ${title}`, markAsDone: 'Marcar como completada', markAsIncomplete: 'Marcar como incompleta', assigneeError: 'Hubo un error al asignar esta tarea, inténtalo con otro usuario.', diff --git a/src/libs/actions/Task.js b/src/libs/actions/Task.js index 68e1e2a24d63..c34537ff9f72 100644 --- a/src/libs/actions/Task.js +++ b/src/libs/actions/Task.js @@ -904,7 +904,7 @@ function clearEditTaskErrors(reportID) { function getTaskReportActionMessage(actionName, reportID, isCreateTaskAction) { const report = ReportUtils.getReport(reportID); if (isCreateTaskAction) { - return Localize.translateLocal('task.createdTask', {title: report.reportName}); + return `Created a task: ${report.reportName}`; } let taskStatusText = ''; switch (actionName) {