mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-20 11:22:25 +02:00
* feat(tracker): field-prefixed search, inline filter chips and zero-hit empty state Adds SearchInputAdvanced (field:value prefixes routed to Elasticsearch query_string), match highlighting, inline filter chips with overflow popover, a reusable zero-hit empty state in view-resources, and search-scope/highlight view options for List and Kanban. Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> * refactor(tracker-search): address review follow-ups on search/filter rework Shared, non-storage-specific field list, test-folder conventions, locale coverage, single regex source and an owner-token gate for the result count. - core: add shared `fullTextSearchFields` constant next to FullTextSearchContext as the single source of truth for the full-text fields exposed to `field:value` targeting. The client encoder derives ES_NATIVE_FIELDS from it and the elastic adapter derives KNOWN_FIELD_RE from it, replacing the two "KEEP IN SYNC" copies. Per-field boost weights stay a local adapter detail. - tests: move the five co-located tests into each package's existing test folder convention (ui `__test__`, view-resources `__tests__`) and fix the relative imports. - i18n: translate the new tracker search/filter strings in the remaining locales (zh, ja, ko, cs, es, fr, it, pt, pt-br, tr), reusing each file's existing terminology; ICU placeholders left unchanged. - encoder: hoist the reserved-character class into one constant and build two RegExp instances from it (non-global for `.test()`, global for `.replace()`) to avoid the shared-lastIndex trap. - view-resources: guard `resultIssueCountStore` writes with an owner-token gate so a superseded viewlet can no longer clobber the active viewlet's count; List/KanbanView claim and release, IssuesView resets through the current owner. Assumes a single active IssuesView surface. - view-resources: make result-count reporting opt-in via a new `reportResultCount` prop on List (default true). Embedded, non-primary List instances (sub-issues / related issues in the issue edit panel, routed through SubIssueList) pass false and never claim the owner token, so opening and closing an issue can no longer strand the primary Issues viewlet with a dead token — the zero-hit SearchEmptyState card renders again afterwards. Add a regression test covering the opted-out embedded consumer. - elastic: escape every regex metacharacter (not just `.`) when building KNOWN_FIELD_RE from `fullTextSearchFields`, so a future field name carrying another metacharacter cannot silently corrupt the alternation. Behaviour for the current fields is unchanged. Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> * refactor(tracker-search): centralize regex escaping and lock down result-count store - Share escapeRegExp from @hcengineering/core so the client encoder and the server elastic adapter escape the fulltext field list identically, not just dots on the client. - Export resultIssueCountStore as a read-only Readable; the owner-token gate functions (setResultCount / resetResultCount / releaseResultCountOwner) are now the only write path. 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> Co-authored-by: Artyom Savchenko <armisav@gmail.com>
294 lines
13 KiB
JSON
294 lines
13 KiB
JSON
{
|
|
"string": {
|
|
"TrackerApplication": "Seguimento",
|
|
"Projects": "Os teus projetos",
|
|
"More": "Mais",
|
|
"Default": "Padrão",
|
|
"MakeDefault": "Tornar padrão",
|
|
"Delete": "Apagar",
|
|
"Open": "Abrir",
|
|
"Members": "Membros",
|
|
"Inbox": "Caixa de entrada",
|
|
"MyIssues": "Os meus problemas",
|
|
"ViewIssue": "Ver problema",
|
|
"IssueCreated": "Problema criado",
|
|
"Issues": "Problemas",
|
|
"Views": "Vistas",
|
|
"Active": "Ativo",
|
|
"AllIssues": "Todos os problemas",
|
|
"ActiveIssues": "Problemas ativos",
|
|
"BacklogIssues": "Atraso",
|
|
"Backlog": "Atraso",
|
|
"Board": "Quadro",
|
|
"Components": "Componentes",
|
|
"AllComponents": "Todos",
|
|
"BacklogComponents": "Atraso",
|
|
"ActiveComponents": "Ativo",
|
|
"ClosedComponents": "Fechado",
|
|
"NewComponent": "Novo componente",
|
|
"CreateComponent": "Criar componente",
|
|
"ComponentNamePlaceholder": "Nome do componente",
|
|
"ComponentDescriptionPlaceholder": "Descrição (opcional)",
|
|
"ComponentLead": "Líder",
|
|
"ComponentMembers": "Membros",
|
|
"StartDate": "Data de início",
|
|
"TargetDate": "Data alvo",
|
|
"Planned": "Planeado",
|
|
"InProgress": "Em progresso",
|
|
"Paused": "Pausado",
|
|
"Completed": "Concluído",
|
|
"Canceled": "Cancelado",
|
|
"CreateProject": "Criar projeto",
|
|
"NewProject": "Novo projeto",
|
|
"ProjectTitle": "Título do projeto",
|
|
"ProjectTitlePlaceholder": "Novo projeto",
|
|
"UsedInIssueIDs": "Usado em IDs de problemas",
|
|
"Identifier": "Identificador",
|
|
"Import": "Importar",
|
|
"ProjectIdentifier": "Identificador do projeto",
|
|
"IdentifierExists": "O identificador do projeto já existe",
|
|
"ProjectIdentifierPlaceholder": "PROJ",
|
|
"ChooseIcon": "Escolher ícone",
|
|
"AddIssue": "Adicionar problema",
|
|
"NewIssue": "Novo problema",
|
|
"NewIssuePlaceholder": "Novo",
|
|
"ResumeDraft": "Retomar rascunho",
|
|
"SaveIssue": "Criar problema",
|
|
"SetPriority": "Definir prioridade\u2026",
|
|
"SetStatus": "Definir estado\u2026",
|
|
"SelectIssue": "Selecionar problema",
|
|
"Priority": "Prioridade",
|
|
"NoPriority": "Sem prioridade",
|
|
"Urgent": "Urgente",
|
|
"High": "Alta",
|
|
"Medium": "Média",
|
|
"Low": "Baixa",
|
|
"Unassigned": "Não atribuído",
|
|
"Back": "Voltar",
|
|
"List": "Lista",
|
|
"NumberLabels": "{count, plural, =0 {sem etiquetas} =1 {1 etiqueta} other {# etiquetas}}",
|
|
"CategoryBacklog": "Atraso",
|
|
"CategoryUnstarted": "Não iniciado",
|
|
"CategoryStarted": "Iniciado",
|
|
"CategoryCompleted": "Concluído",
|
|
"CategoryCanceled": "Cancelado",
|
|
"Title": "Título",
|
|
"Name": "Nome",
|
|
"Description": "Descrição",
|
|
"Status": "Estado",
|
|
"Number": "Número",
|
|
"Assignee": "Atribuído a",
|
|
"AssignTo": "Atribuir a...",
|
|
"AssignedTo": "Atribuído a {value}",
|
|
"Parent": "Problema superior",
|
|
"SetParent": "Definir problema superior\u2026",
|
|
"ChangeParent": "Alterar problema superior\u2026",
|
|
"RemoveParent": "Remover problema superior",
|
|
"OpenParent": "Abrir problema superior",
|
|
"SubIssues": "Sub-problemas",
|
|
"SubIssuesList": "Sub-problemas ({subIssues})",
|
|
"OpenSubIssues": "Abrir sub-problemas",
|
|
"AddSubIssues": "Adicionar sub-problema",
|
|
"BlockedBy": "Bloqueado por",
|
|
"RelatedTo": "Relacionado com",
|
|
"Comments": "Comentários",
|
|
"Attachments": "Anexos",
|
|
"Labels": "Etiquetas",
|
|
"Component": "Componente",
|
|
"Space": "",
|
|
"SetDueDate": "Definir data de vencimento\u2026",
|
|
"ChangeDueDate": "Alterar data de vencimento",
|
|
"ModificationDate": "Atualizado {value}",
|
|
"Project": "Projeto",
|
|
"Issue": "Tarefa",
|
|
"SubIssue": "Sub-Tarefa",
|
|
"Document": "",
|
|
"DocumentIcon": "",
|
|
"DocumentColor": "",
|
|
"Rank": "Classificação",
|
|
"TypeIssuePriority": "Prioridade da Tarefa",
|
|
"IssueTitlePlaceholder": "Título da Tarefa",
|
|
"SubIssueTitlePlaceholder": "Título da Sub-Tarefa",
|
|
"IssueDescriptionPlaceholder": "Adicionar descrição...",
|
|
"SubIssueDescriptionPlaceholder": "Adicionar Descrição da Sub-Tarefa",
|
|
"AddIssueTooltip": "Adicionar Tarefa...",
|
|
"NewIssueDialogClose": "Deseja fechar este diálogo?",
|
|
"NewIssueDialogCloseNote": "Todas as alterações serão perdidas",
|
|
"RemoveComponentDialogClose": "Eliminar o componente?",
|
|
"RemoveComponentDialogCloseNote": "Tem a certeza de que deseja eliminar este componente? Esta operação não pode ser desfeita",
|
|
"Grouping": "Agrupamento",
|
|
"Ordering": "Ordenação",
|
|
"CompletedIssues": "Tarefas Concluídas",
|
|
"NoGrouping": "Sem agrupamento",
|
|
"NoAssignee": "Sem atribuição",
|
|
"LastUpdated": "Última atualização",
|
|
"DueDate": "Data de vencimento",
|
|
"IssueStartDate": "Data de início",
|
|
"GanttDependency": "Dependency",
|
|
"GanttLag": "Lag",
|
|
"Manual": "Manual",
|
|
"All": "Todos",
|
|
"PastWeek": "Semana passada",
|
|
"PastMonth": "Mês passado",
|
|
"CopyIssueUrl": "Copiar URL da questão para a área de transferência",
|
|
"CopyIssueId": "Copiar ID da questão para a área de transferência",
|
|
"CopyIssueBranch": "Copiar nome do branch Git para a área de transferência",
|
|
"CopyIssueTitle": "Copiar título da questão para a área de transferência",
|
|
"AssetLabel": "Ativo",
|
|
"AddToComponent": "Adicionar ao componente...",
|
|
"MoveToComponent": "Mover para o componente...",
|
|
"NoComponent": "Sem componente",
|
|
"ComponentLeadTitle": "Responsável pelo componente",
|
|
"ComponentMembersTitle": "Membros do componente",
|
|
"ComponentLeadSearchPlaceholder": "Definir responsável pelo componente...",
|
|
"ComponentMembersSearchPlaceholder": "Alterar membros do componente...",
|
|
"MoveToProject": "Mover para o projeto",
|
|
"Duplicate": "Duplicar",
|
|
"GotoIssues": "Ir para as questões",
|
|
"GotoActive": "Ir para as questões ativas",
|
|
"GotoBacklog": "Ir para a lista de espera",
|
|
"GotoComponents": "Ir para os componentes",
|
|
"GotoMyIssues": "Ir para as minhas questões",
|
|
"GotoTrackerApplication": "Alternar para a Aplicação de Acompanhamento",
|
|
"CreatedOne": "Criado",
|
|
"MoveIssues": "Mover questões",
|
|
"MoveIssuesDescription": "Selecione o projeto para mover as questões",
|
|
"ManageAttributes": "Gerir atributos",
|
|
"KeepOriginalAttributes": "Manter atributos originais",
|
|
"KeepOriginalAttributesTooltip": "Os estados e componentes originais da questão serão mantidos no novo projeto",
|
|
"SelectReplacement": "Os seguintes itens não estão disponíveis no novo projeto. Selecione uma substituição.",
|
|
"MissingItem": "ITEM EM FALTA",
|
|
"Replacement": "SUBSTITUIÇÃO",
|
|
"Original": "ORIGINAL",
|
|
"OriginalDescription": "Os itens desta secção serão criados no novo projeto",
|
|
"Relations": "Relações",
|
|
"RemoveRelation": "Remover relação...",
|
|
"AddBlockedBy": "Marcar como bloqueado por...",
|
|
"AddIsBlocking": "Marcar como bloqueador...",
|
|
"AddRelatedIssue": "Referenciar outra questão...",
|
|
"RelatedIssue": "Questão relacionada {id} - {title}",
|
|
"BlockedIssue": "Questão bloqueada {id} - {title}",
|
|
"BlockingIssue": "Questão bloqueadora {id} - {title}",
|
|
"BlockedBySearchPlaceholder": "Procurar questão para marcar como bloqueada por...",
|
|
"IsBlockingSearchPlaceholder": "Procurar questão para marcar como bloqueadora...",
|
|
"RelatedIssueSearchPlaceholder": "Procurar questão para referenciar...",
|
|
"Blocks": "Bloqueia",
|
|
"Related": "Relacionado",
|
|
"RelatedIssues": "Questões relacionadas",
|
|
"EditIssue": "Editar {title}",
|
|
"EditWorkflowStatuses": "Editar estados de tarefa",
|
|
"EditProject": "Editar projeto",
|
|
"DeleteProject": "Apagar projeto",
|
|
"ArchiveProjectName": "Arquivar projeto {name}?",
|
|
"ArchiveProjectConfirm": "Deseja arquivar este projeto?",
|
|
"DeleteProjectConfirm": "Deseja apagar este projeto e todas as tarefas?",
|
|
"ProjectHasIssues": "Existem tarefas neste projeto, tem a certeza de que deseja arquivar?",
|
|
"ManageWorkflowStatuses": "Gerir tipos de projeto",
|
|
"AddWorkflowStatus": "Adicionar estado de tarefa",
|
|
"EditWorkflowStatus": "Editar estado de tarefa",
|
|
"DeleteWorkflowStatus": "Apagar estado de tarefa",
|
|
"DeleteWorkflowStatusConfirm": "Deseja apagar o estado \"{status}\"?",
|
|
"DeleteWorkflowStatusErrorDescription": "O estado \"{status}\" tem {count, plural, =1 {1 tarefa} other {# tarefas}} atribuída. Por favor, selecione um estado para mover",
|
|
"Save": "Guardar",
|
|
"IncludeItemsThatMatch": "Incluir itens que coincidam",
|
|
"AnyFilter": "qualquer filtro",
|
|
"AllFilters": "todos os filtros",
|
|
"NoDescription": "Sem descrição",
|
|
"SearchIssue": "Procurar tarefa...",
|
|
"StatusHistory": "Histórico de estado",
|
|
"NewSubIssue": "Adicionar sub-tarefa...",
|
|
"AddLabel": "Adicionar etiqueta",
|
|
"DeleteIssue": "Apagar {issueCount, plural, =1 {tarefa} other {# tarefas}}",
|
|
"DeleteIssueConfirm": "Deseja apagar {issueCount, plural, =1 {tarefa} other {tarefas}}{subIssueCount, plural, =0 {?} =1 { e sub-tarefa?} other { e sub-tarefas?}}",
|
|
"Milestone": "Objetivo",
|
|
"NoMilestone": "Sem objetivo",
|
|
"MoveToMilestone": "Selecionar Objetivo",
|
|
"Milestones": "Objetivos",
|
|
"AllMilestones": "Todos",
|
|
"PlannedMilestones": "Planeados",
|
|
"ActiveMilestones": "Ativos",
|
|
"ClosedMilestones": "Concluídos",
|
|
"AddToMilestone": "Adicionar ao Objetivo",
|
|
"MilestoneNamePlaceholder": "Nome do objetivo",
|
|
"NewMilestone": "Novo Objetivo",
|
|
"CreateMilestone": "Criar",
|
|
"MoveAndDeleteMilestone": "Mover tarefas para {newMilestone} e Apagar {deleteMilestone}",
|
|
"MoveAndDeleteMilestoneConfirm": "Deseja apagar o objetivo e mover tarefas para outro objetivo?",
|
|
"Estimation": "Estimativa",
|
|
"ReportedTime": "Tempo gasto",
|
|
"RemainingTime": "Tempo restante",
|
|
"TimeSpendReports": "Relatórios de tempo gasto",
|
|
"TimeSpendReport": "Tempo",
|
|
"TimeSpendReportAdd": "Adicionar relatório de tempo",
|
|
"TimeSpendReportDate": "Data",
|
|
"TimeSpendReportValue": "Tempo gasto",
|
|
"TimeSpendReportValueTooltip": "Tempo gasto em horas",
|
|
"TimeSpendReportDescription": "Descrição",
|
|
"TimeSpendDays": "{value}d",
|
|
"TimeSpendHours": "{value}h",
|
|
"TimeSpendMinutes": "{value}m",
|
|
"ChildEstimation": "Estimativa de sub-tarefas",
|
|
"ChildReportedTime": "Tempo de sub-tarefas",
|
|
"CapacityValue": "de {value}d",
|
|
"NewRelatedIssue": "Nova tarefa relacionada",
|
|
"RelatedIssuesNotFound": "Tarefas relacionadas não encontradas",
|
|
"AddedReference": "Referência adicionada",
|
|
"AddedAsBlocked": "Marcado como bloqueado",
|
|
"AddedAsBlocking": "Marcado como bloqueador",
|
|
"IssueTemplate": "Modelo",
|
|
"IssueTemplates": "Modelos",
|
|
"NewProcess": "Novo Modelo",
|
|
"SaveProcess": "Guardar Modelo",
|
|
"NoIssueTemplate": "Sem Modelo",
|
|
"TemplateReplace": "Deseja aplicar o novo modelo?",
|
|
"TemplateReplaceConfirm": "Todos os campos serão sobrescritos pelos valores do novo modelo",
|
|
"Apply": "Aplicar",
|
|
"CurrentWorkDay": "Dia de trabalho atual",
|
|
"PreviousWorkDay": "Dia de trabalho anterior",
|
|
"TimeReportDayTypeLabel": "Selecione o tipo de dia do relatório de tempo",
|
|
"DefaultAssignee": "Responsável padrão para problemas",
|
|
"SevenHoursLength": "Sete Horas",
|
|
"EightHoursLength": "Oito Horas",
|
|
"HourLabel": "h",
|
|
"MinuteLabel": "m",
|
|
"Saved": "Guardado...",
|
|
"CreatedIssue": "Problema criado",
|
|
"CreatedSubIssue": "Sub-problema criado",
|
|
"ChangeStatus": "Alterar estado",
|
|
"ConfigLabel": "Rastreador",
|
|
"ConfigDescription": "Extensão para gerir itens de trabalho e fazer todas as tarefas necessárias.",
|
|
"NoStatusFound": "Nenhum estado correspondente encontrado",
|
|
"CreateMissingStatus": "Criar estado em falta",
|
|
"UnsetParent": "O problema pai será desassociado",
|
|
"AllProjects": "Todos os projetos",
|
|
"IssueNotificationTitle": "{issueTitle}",
|
|
"IssueNotificationBody": "Atualizado por {senderName}",
|
|
"IssueNotificationChanged": "{senderName} alterou {property}",
|
|
"IssueNotificationChangedProperty": "{senderName} alterou {property} para \"{newValue}\"",
|
|
"IssueNotificationMessage": "{senderName}: {message}",
|
|
"PreviousAssigned": "Anteriormente atribuído",
|
|
"IssueAssignedToYou": "Atribuído a si",
|
|
"RelatedIssueTargetDescription": "Projeto alvo de problemas relacionados para Classe ou Espaço",
|
|
"MapRelatedIssues": "Configurar projetos padrão de problemas relacionados",
|
|
"DefaultIssueStatus": "Estado padrão do problema",
|
|
"IssueStatus": "Estado",
|
|
"Extensions": "Extensions",
|
|
"UnsetParentIssue": "Desmarcar problema pai",
|
|
"ForbidCreateProjectPermission": "Proibir criação de projeto",
|
|
"ForbidCreateProjectPermissionDescription": "Proíbe os usuários de criar novos projetos",
|
|
"AllowCreatingIssues": "Permitir criar problemas",
|
|
"ModeSelectorDisabledByFilter": "O estado é controlado por um filtro ativo. Remova o filtro de estado para usar este atalho.",
|
|
"ShowQuickModeSelector": "Filtro rápido: Todos / Ativos / Atraso",
|
|
"SearchScopeLabel": "Procurar em…",
|
|
"SearchScopeTitle": "Apenas título",
|
|
"SearchScopeTitleDescription": "Título + descrição",
|
|
"SearchScopeAll": "Título + descrição + comentários",
|
|
"SearchHighlight": "Realçar correspondências da procura",
|
|
"SearchEmptyTitle": "Nenhum problema encontrado para \"{query}\"",
|
|
"SearchEmptyActiveFilters": "Filtros ativos: {filters}",
|
|
"SearchEmptyClearFilters": "Procurar sem filtros",
|
|
"SearchEmptyAllProjects": "Procurar em todos os projetos"
|
|
},
|
|
"status": {}
|
|
}
|