diff --git a/frontend/src/models/notification.ts b/frontend/src/models/notification.ts index e8a1960b3..0d4735503 100644 --- a/frontend/src/models/notification.ts +++ b/frontend/src/models/notification.ts @@ -73,29 +73,29 @@ export default class NotificationModel extends AbstractModel impl switch (this.name) { case NOTIFICATION_NAMES.TASK_COMMENT: - return `commented on ${this.notification.task.getTextIdentifier()}` + return `comentó en ${this.notification.task.getTextIdentifier()}` case NOTIFICATION_NAMES.TASK_ASSIGNED: who = `${getDisplayName(this.notification.assignee)}` if (user !== null && user.id === this.notification.assignee.id) { - who = 'you' + who = 'tú' } - return `assigned ${who} to ${this.notification.task.getTextIdentifier()}` + return `asignó ${who} a ${this.notification.task.getTextIdentifier()}` case NOTIFICATION_NAMES.TASK_DELETED: - return `deleted ${this.notification.task.getTextIdentifier()}` + return `eliminó ${this.notification.task.getTextIdentifier()}` case NOTIFICATION_NAMES.PROJECT_CREATED: - return `created ${this.notification.project.title}` + return `creó ${this.notification.project.title}` case NOTIFICATION_NAMES.TEAM_MEMBER_ADDED: who = `${getDisplayName(this.notification.member)}` if (user !== null && user.id === this.notification.member.id) { - who = 'you' + who = 'tú' } - return `added ${who} to the ${this.notification.team.name} team` + return `te añadió ${who} a el equipo ${this.notification.team.name}` case NOTIFICATION_NAMES.TASK_REMINDER: - return `Reminder for ${this.notification.task.getTextIdentifier()} ${this.notification.task.title} (${this.notification.project.title})` + return `Recordatorio para ${this.notification.task.getTextIdentifier()} ${this.notification.task.title} (${this.notification.project.title})` } return ''