Files
huly-platform/plugins/tracker-assets/lang/es.json
T
63e28dc964 feat(tracker): Gantt chart for the issue tracker (#10992)
* feat(tracker): Gantt chart for the issue tracker

Builds on the merged search/filter rework (#10998). Introduces @hcengineering/gantt, a dependency-free scheduling/zoom/drag/viewport engine package (with a neutral GanttDependency contract), and wires the tracker-specific adapter, Svelte UI, model schema, dependency-shift notifications and sanity coverage in tracker-resources.

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

* fix(tracker): source Gantt holidays from HR and scope confirm-gate per view

Follow-up to review feedback on #10992:

- Confirm-gate: the module-global flag is replaced by a createConfirmGate()
  factory - one instance per mounted GanttView, so two Gantt views mounted at
  once in the same JS context no longer block each other's pointer input. A
  two-instance independence test guards the regression.

- Sidebar sorting: the stale deadline cast is dropped and issue.deadline is
  read directly (the field was added to the Issue model in this PR).

- HR holidays: the per-project WorkingDaysConfig.holidays field duplicated the
  workspace-wide hr.class.PublicHoliday concept and could drift from the real
  HR calendar. It is removed. WorkingDaysConfig now carries only the weekday
  mask and an optional holidayDepartment. The tracker adapter resolves holidays
  for the selected department plus all ancestors up to hr.ids.Head, matching
  HR's existing inheritance semantics (hr-resources ScheduleView). A missing or
  invalid reference falls back to company-wide (root) holidays; unrelated
  departments are never included. The ancestor walk is cycle/missing-parent
  safe.

  A small WorkingDaysEditor in the existing project create/edit dialog lets
  users with the existing project permission enable the mode, choose weekdays,
  and select an HR department (default: Company-wide). It persists through the
  existing project create/update transaction paths (createDoc on create,
  client.update on edit) and uses $unset when the mode is disabled. At least
  one working day must stay active.

  Calendar loading is explicit via a CalendarStateMachine: project-scoped drag,
  resize, cascade, keyboard-shift and auto-schedule mutations stay disabled
  until both the project config and the holiday data have loaded. A monotonic
  generation ticket (bumped synchronously on project switch) is re-checked
  immediately before every calendar-dependent date commit, so work started in
  one project can never persist after a switch to another. The all-projects
  view has no single project calendar, so calendar-dependent edits are
  read-only there; display, selection, the context menu and the manual
  date-picker (which does no calendar arithmetic and takes no mutation ticket)
  stay available.

  This depends on the lightweight @hcengineering/hr model package, but not on
  hr-resources; the tracker adapter uses hr.class.* and hr.ids.Head at runtime,
  and actual HR model presence is checked through the hierarchy - without the
  HR model, holidays resolve to an empty set. The @hcengineering/gantt engine
  package stays domain-neutral (no @hcengineering imports, no runtime deps).

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

* fix(gantt): measure FS gap-preservation floor in working days

The finish-to-start gap-preservation floor in the cascade scheduler mixed
two time measures: the FS snap anchor is working-calendar aware, but the
floor added a raw calendar-millisecond start-side delta. With an active
working calendar the two diverge, so dragging a predecessor over a weekend
over-shifted the successor across non-working days (a Fri->Mon body drag is
3 calendar days but only 1 working day, and could even land a successor on
a Saturday).

Measure the floor on the DUE side in working days instead: translate the
predecessor's shift via the new workingDayDelta helper and advance the
floor base with addWorkingDays over the calendar. A day-granular resize
gate (utcMidnight comparison, not a raw === 0 test) arms the floor only on
a start-DAY move, so a pure due-resize stays a pure snap even when the
stored issue carries a time-of-day on the cascade-commit path. The floor
base is normalized via utcMidnight(targetAnchor). The legacy path
(cfg === undefined) stays byte-identical to today's raw-ms floor. A
left-resize in working-days mode now correctly no-ops the floor (the due,
and thus the FS gap, did not move) instead of shifting on the raw start
delta.

Engine: add workingDayDelta (signed, half-open from-exclusive/to-inclusive
working-day step count) and export the previously-private utcMidnight from
packages/gantt/src/working-days.ts. The engine stays domain-neutral (no
@hcengineering imports, empty dependencies).

Adds engine and adapter test coverage: workingDayDelta cases and the full
FS floor matrix (right-resize no-push, weekend-spanner body drag, floor
wins over snap, holiday in the floor path, floor-dominant multi-hop chain,
negative delta, legacy no-cfg, SS pure-snap, raw time-of-day right-resize,
direct left-resize).

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

---------

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>
Co-authored-by: Michael Uray <michaeluray@users.noreply.github.com>
2026-08-27 20:24:38 +07:00

313 lines
14 KiB
JSON

{
"string": {
"TrackerApplication": "Seguimiento",
"Projects": "Tus proyectos",
"More": "Más",
"Default": "Por defecto",
"MakeDefault": "Establecer como por defecto",
"Delete": "Eliminar",
"Open": "Abrir",
"Members": "Miembros",
"Inbox": "Bandeja de entrada",
"MyIssues": "Mis tareas",
"ViewIssue": "Ver tarea",
"IssueCreated": "Tarea creada",
"Issues": "Tareas",
"Views": "Vistas",
"Active": "Activo",
"AllIssues": "Todas las tareas",
"ActiveIssues": "Tareas activas",
"BacklogIssues": "Atrasadas",
"Backlog": "Atrasadas",
"Board": "Tablero",
"Components": "Componentes",
"AllComponents": "Todos",
"BacklogComponents": "Atrasados",
"ActiveComponents": "Activos",
"ClosedComponents": "Cerrados",
"NewComponent": "Nuevo componente",
"CreateComponent": "Crear componente",
"ComponentNamePlaceholder": "Nombre del componente",
"ComponentDescriptionPlaceholder": "Descripción (opcional)",
"ComponentLead": "Responsable del componente",
"ComponentMembers": "Miembros del componente",
"StartDate": "Fecha de inicio",
"TargetDate": "Fecha objetivo",
"Planned": "Planificado",
"InProgress": "En progreso",
"Paused": "Pausado",
"Completed": "Completado",
"Canceled": "Cancelado",
"CreateProject": "Crear proyecto",
"NewProject": "Nuevo proyecto",
"ProjectTitle": "Título del proyecto",
"ProjectTitlePlaceholder": "Nuevo proyecto",
"UsedInIssueIDs": "Utilizado en IDs de tareas",
"Identifier": "Identificador",
"Import": "Importar",
"ProjectIdentifier": "Identificador del proyecto",
"IdentifierExists": "El identificador del proyecto ya existe",
"ProjectIdentifierPlaceholder": "PROJ",
"ChooseIcon": "Seleccionar icono",
"AddIssue": "Añadir tarea",
"NewIssue": "Nueva tarea",
"NewIssuePlaceholder": "Nueva",
"ResumeDraft": "Continuar borrador",
"SaveIssue": "Crear tarea",
"SetPriority": "Establecer prioridad\u2026",
"SetStatus": "Establecer estado\u2026",
"SelectIssue": "Seleccionar tarea",
"Priority": "Prioridad",
"NoPriority": "Sin prioridad",
"Urgent": "Urgente",
"High": "Alta",
"Medium": "Media",
"Low": "Baja",
"Unassigned": "Sin asignar",
"Back": "Atrás",
"List": "Lista",
"NumberLabels": "{count, plural, =0 {sin etiquetas} =1 {1 etiqueta} other {# etiquetas}}",
"CategoryBacklog": "Atraso",
"CategoryUnstarted": "Por Iniciar",
"CategoryStarted": "Iniciado",
"CategoryCompleted": "Completado",
"CategoryCanceled": "Cancelado",
"Title": "Título",
"Name": "Nombre",
"Description": "Descripción",
"Status": "Estado",
"Number": "Número",
"Assignee": "Asignado a",
"AssignTo": "Asignar a...",
"AssignedTo": "Asignado a {value}",
"Parent": "Tarea principal",
"SetParent": "Establecer tarea principal...",
"ChangeParent": "Cambiar tarea principal...",
"RemoveParent": "Eliminar tarea principal",
"OpenParent": "Abrir tarea principal",
"SubIssues": "Subtareas",
"SubIssuesList": "Subtareas ({subIssues})",
"OpenSubIssues": "Abrir subtareas",
"AddSubIssues": "Añadir subtarea",
"BlockedBy": "Bloqueado por",
"RelatedTo": "Relacionado con",
"Comments": "Comentarios",
"Attachments": "Adjuntos",
"Labels": "Etiquetas",
"Component": "Componente",
"Space": "",
"SetDueDate": "Establecer fecha de vencimiento...",
"ChangeDueDate": "Cambiar fecha de vencimiento...",
"ModificationDate": "Actualizado {value}",
"Project": "Proyecto",
"Issue": "Tarea",
"SubIssue": "Subtarea",
"Document": "",
"DocumentIcon": "",
"DocumentColor": "",
"Rank": "Posición",
"TypeIssuePriority": "Prioridad de la tarea",
"IssueTitlePlaceholder": "Título de la tarea",
"SubIssueTitlePlaceholder": "Título de la subtarea",
"IssueDescriptionPlaceholder": "Añadir descripción...",
"SubIssueDescriptionPlaceholder": "Añadir descripción de la subtarea",
"AddIssueTooltip": "Añadir tarea...",
"NewIssueDialogClose": "¿Quieres cerrar este diálogo?",
"NewIssueDialogCloseNote": "Se perderán todos los cambios",
"RemoveComponentDialogClose": "¿Eliminar el componente?",
"RemoveComponentDialogCloseNote": "¿Estás seguro de que quieres eliminar este componente? Esta operación no se puede deshacer",
"Grouping": "Agrupación",
"Ordering": "Ordenación",
"CompletedIssues": "Tareas completadas",
"NoGrouping": "Sin agrupación",
"NoAssignee": "Sin asignar",
"LastUpdated": "Última actualización",
"DueDate": "Fecha de vencimiento",
"IssueStartDate": "Fecha de inicio",
"GanttDependency": "Dependency",
"GanttLag": "Lag",
"Manual": "Manual",
"All": "Todos",
"PastWeek": "Semana pasada",
"PastMonth": "Mes pasado",
"CopyIssueUrl": "Copiar URL de la tarea al portapapeles",
"CopyIssueId": "Copiar ID de la tarea al portapapeles",
"CopyIssueBranch": "Copiar nombre de la rama Git al portapapeles",
"CopyIssueTitle": "Copiar título de la tarea al portapapeles",
"AssetLabel": "Activo",
"AddToComponent": "Añadir al componente...",
"MoveToComponent": "Mover al componente...",
"NoComponent": "Sin componente",
"ComponentLeadTitle": "Responsable del componente",
"ComponentMembersTitle": "Miembros del componente",
"ComponentLeadSearchPlaceholder": "Establecer responsable del componente...",
"ComponentMembersSearchPlaceholder": "Cambiar miembros del componente...",
"MoveToProject": "Mover al proyecto",
"Duplicate": "Duplicar",
"GotoIssues": "Ir a tareas",
"GotoActive": "Ir a tareas activas",
"GotoBacklog": "Ir al backlog",
"GotoComponents": "Ir a componentes",
"GotoMyIssues": "Ir a mis tareas",
"GotoTrackerApplication": "Cambiar a la aplicación de seguimiento",
"CreatedOne": "Creada",
"MoveIssues": "Mover tareas",
"MoveIssuesDescription": "Selecciona el proyecto al que deseas mover las tareas",
"ManageAttributes": "Gestionar atributos",
"KeepOriginalAttributes": "Mantener atributos originales",
"KeepOriginalAttributesTooltip": "Se mantendrán los estados y componentes originales en el nuevo proyecto",
"SelectReplacement": "Los siguientes elementos no están disponibles en el nuevo proyecto. Seleccione un reemplazo.",
"MissingItem": "SIN ELEMENTO",
"Replacement": "REEMPLAZO",
"Original": "ORIGINAL",
"OriginalDescription": "Los elementos de esta sección se crearán en el nuevo proyecto",
"Relations": "Relaciones",
"RemoveRelation": "Eliminar relación...",
"AddBlockedBy": "Marcar como bloqueado por...",
"AddIsBlocking": "Marcar como bloqueador...",
"AddRelatedIssue": "Referenciar otro problema...",
"RelatedIssue": "Problema relacionado {id} - {title}",
"BlockedIssue": "Problema bloqueado {id} - {title}",
"BlockingIssue": "Problema bloqueador {id} - {title}",
"BlockedBySearchPlaceholder": "Buscar problema para marcar como bloqueado por...",
"IsBlockingSearchPlaceholder": "Buscar problema para marcar como bloqueador...",
"RelatedIssueSearchPlaceholder": "Buscar problema para referenciar...",
"Blocks": "Bloquea",
"Related": "Relacionado",
"RelatedIssues": "Problemas relacionados",
"EditIssue": "Editar {title}",
"EditWorkflowStatuses": "Editar estados de problema",
"EditProject": "Editar proyecto",
"DeleteProject": "Eliminar proyecto",
"ArchiveProjectName": "¿Archivar proyecto {name}?",
"ArchiveProjectConfirm": "¿Desea archivar este proyecto?",
"DeleteProjectConfirm": "¿Desea eliminar este proyecto y todos los problemas?",
"ProjectHasIssues": "Hay problemas existentes en este proyecto, ¿está seguro de que desea archivarlos?",
"ManageWorkflowStatuses": "Administrar tipos de proyecto",
"AddWorkflowStatus": "Agregar estado de problema",
"EditWorkflowStatus": "Editar estado de problema",
"DeleteWorkflowStatus": "Eliminar estado de problema",
"DeleteWorkflowStatusConfirm": "¿Desea eliminar el estado \"{status}\"?",
"DeleteWorkflowStatusErrorDescription": "El estado \"{status}\" tiene {count, plural, =1 {1 problema} other {# problemas}} asignados. Por favor seleccione un estado al que moverlos",
"Save": "Guardar",
"IncludeItemsThatMatch": "Incluir elementos que coincidan",
"AnyFilter": "cualquier filtro",
"AllFilters": "todos los filtros",
"NoDescription": "Sin descripción",
"SearchIssue": "Buscar tarea...",
"StatusHistory": "Historial de estado",
"NewSubIssue": "Agregar subproblema...",
"AddLabel": "Agregar etiqueta",
"DeleteIssue": "Eliminar {issueCount, plural, =1 {problema} other {# problemas}}",
"DeleteIssueConfirm": "¿Desea eliminar {issueCount, plural, =1 {problema} other {problemas}}{subIssueCount, plural, =0 {?} =1 { y subproblema?} other { y subproblemas?}}",
"Milestone": "Hitos",
"NoMilestone": "Sin hito",
"MoveToMilestone": "Seleccionar hito",
"Milestones": "Hitos",
"AllMilestones": "Todos",
"PlannedMilestones": "Planificados",
"ActiveMilestones": "Activos",
"ClosedMilestones": "Completados",
"AddToMilestone": "Agregar a hito",
"MilestoneNamePlaceholder": "Nombre del hito",
"NewMilestone": "Nuevo hito",
"CreateMilestone": "Crear",
"MoveAndDeleteMilestone": "Mover problemas a {newMilestone} y eliminar {deleteMilestone}",
"MoveAndDeleteMilestoneConfirm": "¿Desea eliminar el hito y mover los problemas a otro hito?",
"Estimation": "Estimación",
"ReportedTime": "Tiempo empleado",
"RemainingTime": "Tiempo restante",
"TimeSpendReports": "Informes de tiempo empleado",
"TimeSpendReport": "Tiempo",
"TimeSpendReportAdd": "Agregar informe de tiempo",
"TimeSpendReportDate": "Fecha",
"TimeSpendReportValue": "Tiempo empleado",
"TimeSpendReportValueTooltip": "Tiempo empleado en horas",
"TimeSpendReportDescription": "Descripción",
"TimeSpendDays": "{value}d",
"TimeSpendHours": "{value}h",
"TimeSpendMinutes": "{value}m",
"ChildEstimation": "Estimación de subtemas",
"ChildReportedTime": "Tiempo de subtemas",
"CapacityValue": "de {value}d",
"NewRelatedIssue": "Nuevo problema relacionado",
"RelatedIssuesNotFound": "Problemas relacionados no encontrados",
"AddedReference": "Referencia añadida",
"AddedAsBlocked": "Marcado como bloqueado",
"AddedAsBlocking": "Marcado como bloqueante",
"IssueTemplate": "Plantilla",
"IssueTemplates": "Plantillas",
"NewProcess": "Nueva plantilla",
"SaveProcess": "Guardar plantilla",
"NoIssueTemplate": "Sin plantilla",
"TemplateReplace": "¿Desea aplicar la nueva plantilla?",
"TemplateReplaceConfirm": "Todos los campos serán sobrescritos por los valores de la nueva plantilla",
"Apply": "Aplicar",
"CurrentWorkDay": "Día laboral actual",
"PreviousWorkDay": "Día laboral anterior",
"TimeReportDayTypeLabel": "Seleccionar tipo de día para reporte de tiempo",
"DefaultAssignee": "Asignado por defecto para problemas",
"SevenHoursLength": "Siete horas",
"EightHoursLength": "Ocho horas",
"HourLabel": "h",
"MinuteLabel": "m",
"Saved": "Guardado...",
"CreatedIssue": "Problema creado",
"CreatedSubIssue": "Sub-problema creado",
"ChangeStatus": "Cambiar estado",
"ConfigLabel": "Rastreador",
"ConfigDescription": "Extensión para gestionar elementos de trabajo y realizar todas las tareas realizadas.",
"NoStatusFound": "No se encontró ningún estado coincidente",
"CreateMissingStatus": "Crear estado faltante",
"UnsetParent": "El problema padre será desmarcado",
"AllProjects": "Todos los proyectos",
"IssueNotificationTitle": "{issueTitle}",
"IssueNotificationBody": "Actualizado por {senderName}",
"IssueNotificationChanged": "{senderName} cambió {property}",
"IssueNotificationChangedProperty": "{senderName} cambió {property} a \"{newValue}\"",
"IssueNotificationMessage": "{senderName}: {message}",
"PreviousAssigned": "Anteriormente asignado",
"IssueAssignedToYou": "Asignado a ti",
"RelatedIssueTargetDescription": "Proyecto de destino de problema relacionado para Clase o Espacio",
"MapRelatedIssues": "Configurar proyectos predeterminados de problemas relacionados",
"DefaultIssueStatus": "Estado de problema predeterminado",
"IssueStatus": "Estado",
"Extensions": "Extensions",
"UnsetParentIssue": "Unset parent issue",
"ForbidCreateProjectPermission": "Prohibir crear proyecto",
"ForbidCreateProjectPermissionDescription": "Prohíbe a los usuarios crear nuevos proyectos",
"AllowCreatingIssues": "Permitir crear incidencias",
"Day": "Day",
"Week": "Week",
"Month": "Month",
"Quarter": "Quarter",
"Gantt": "Gantt",
"GanttShowIssueCode": "Show issue code",
"GanttShowTitle": "Show title",
"GanttShowStatus": "Show status",
"GanttToday": "Today",
"GanttJumpToStart": "Jump to start",
"GanttJumpToEnd": "Jump to end",
"GanttJumpToDate": "Jump to date",
"GanttPreviousPeriod": "Previous period",
"GanttNextPeriod": "Next period",
"GanttScrollLeftToBar": "Scroll left to bar",
"GanttScrollRightToBar": "Scroll right to bar",
"GanttExpand": "Expand",
"GanttCollapse": "Collapse",
"GanttCornerNoOpInSwimlane": "No effect in group-by mode",
"ModeSelectorDisabledByFilter": "El estado está controlado por un filtro activo. Elimina el filtro de estado para usar este atajo.",
"ShowQuickModeSelector": "Filtro rápido: Todos / Activos / Atrasados",
"SearchScopeLabel": "Buscar en…",
"SearchScopeTitle": "Solo título",
"SearchScopeTitleDescription": "Título + descripción",
"SearchScopeAll": "Título + descripción + comentarios",
"SearchHighlight": "Resaltar coincidencias de búsqueda",
"SearchEmptyTitle": "No se encontraron tareas para \"{query}\"",
"SearchEmptyActiveFilters": "Filtros activos: {filters}",
"SearchEmptyClearFilters": "Buscar sin filtros",
"SearchEmptyAllProjects": "Buscar en todos los proyectos"
},
"status": {}
}