1
0

Update translations

This commit is contained in:
ami 2025-01-24 17:01:56 -05:00
parent 247a411262
commit 3fc33dd3db
No known key found for this signature in database

View File

@ -73,29 +73,29 @@ export default class NotificationModel extends AbstractModel<INotification> 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 = ''
}
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 = ''
}
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 ''