mapa-frontend-i18n 1.3.5 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +264 -0
- package/fesm2022/mapa-frontend-i18n.mjs +374 -7
- package/fesm2022/mapa-frontend-i18n.mjs.map +1 -1
- package/index.d.ts +92 -2
- package/mapa-frontend-i18n-2.1.0.tgz +0 -0
- package/package.json +1 -1
- package/mapa-frontend-i18n-1.3.5.tgz +0 -0
|
@@ -14094,6 +14094,10 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14094
14094
|
"report.groupedPanel.timeline.subtitle": "Ações e pareceres filtrados por agrupamento",
|
|
14095
14095
|
"report.groupedPanel.timeline.title": "Timeline de Pareceres e Ações",
|
|
14096
14096
|
"report.result.availableEvaluations.subtitle": "Selecione qual avaliação você quer visualizar",
|
|
14097
|
+
"report.result.availableEvaluations.newSubtitle": "Selecione uma opção por categoria para definir os resultados exibidos.",
|
|
14098
|
+
"report.result.availableEvaluations.tabLabel": "Avaliações",
|
|
14099
|
+
"report.result.availableEvaluations.appliedAt": "Aplicada em",
|
|
14100
|
+
"report.result.availableEvaluations.availableResult": "resultado disponível",
|
|
14097
14101
|
"report.result.availableEvaluations.remove": "Remover avaliação {$name}",
|
|
14098
14102
|
"report.result.availableEvaluations.title": "Avaliações disponíveis",
|
|
14099
14103
|
"report.result.benchmark.description": "Compare escalas e acompanhe referências de benchmarking em um mesmo painel de consulta.",
|
|
@@ -14102,6 +14106,7 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14102
14106
|
"report.result.candidate.ageLabel": "IDADE",
|
|
14103
14107
|
"report.result.candidate.birthDateLabel": "DATA DE NASCIMENTO",
|
|
14104
14108
|
"report.result.candidate.cityLabel": "CIDADE DE RESIDÊNCIA",
|
|
14109
|
+
"report.result.candidate.fullNameLabel": "Nome completo",
|
|
14105
14110
|
"report.result.candidate.cpfLabel": "CPF",
|
|
14106
14111
|
"report.result.candidate.emailLabel": "E-MAIL",
|
|
14107
14112
|
"report.result.candidate.evaluatedLabel": "AVALIADO",
|
|
@@ -14234,8 +14239,17 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14234
14239
|
"report.result.conclusion.crp.label": "CRP",
|
|
14235
14240
|
"report.result.conclusion.crp.placeholder": "Número CRP",
|
|
14236
14241
|
"report.result.conclusion.editButton": "Editar conclusão",
|
|
14237
|
-
"report.result.conclusion.editingDescription": "
|
|
14238
|
-
"report.result.conclusion.
|
|
14242
|
+
"report.result.conclusion.editingDescription": "Atualize o parecer profissional registrado para este contexto.",
|
|
14243
|
+
"report.result.conclusion.addingDescription": "Registre um parecer claro para complementar a leitura.",
|
|
14244
|
+
"report.result.conclusion.addDialogTitle": "Adicionar conclusão",
|
|
14245
|
+
"report.result.conclusion.editDialogTitle": "Editar conclusão",
|
|
14246
|
+
"report.result.conclusion.invitationKind": "Convite",
|
|
14247
|
+
"report.result.conclusion.evaluationKind": "Avaliação",
|
|
14248
|
+
"report.result.conclusion.registered": "Parecer registrado",
|
|
14249
|
+
"report.result.conclusion.notRegistered": "Ainda não há parecer registrado",
|
|
14250
|
+
"report.result.conclusion.emptyDescription": "Registre um parecer para complementar a leitura deste resultado.",
|
|
14251
|
+
"report.result.conclusions.title": "Conclusões",
|
|
14252
|
+
"report.result.conclusions.subtitle": "Um único espaço para consultar e registrar todos os pareceres do convite e das avaliações.",
|
|
14239
14253
|
"report.result.conclusion.responsible.label": "Responsável",
|
|
14240
14254
|
"report.result.conclusion.responsible.placeholder": "Nome do responsável",
|
|
14241
14255
|
"report.result.conclusion.resultType.label": "Resultado",
|
|
@@ -14244,6 +14258,7 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14244
14258
|
"report.result.conclusion.text.label": "Conclusão",
|
|
14245
14259
|
"report.result.conclusion.text.placeholder": "Inserir conclusão",
|
|
14246
14260
|
"report.result.conclusion.title": "Conclusão",
|
|
14261
|
+
"report.result.invitationConclusion.title": "Conclusão do convite",
|
|
14247
14262
|
"report.result.conclusion.toast.errorMessage": 'Não foi possível salvar a "Conclusão"',
|
|
14248
14263
|
"report.result.conclusion.toast.errorTitle": "Falha!",
|
|
14249
14264
|
"report.result.conclusion.toast.fillAllFields": "Preencha todos os campos",
|
|
@@ -14290,6 +14305,24 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14290
14305
|
"report.result.indicators.view.detailedList": "Lista detalhada",
|
|
14291
14306
|
"report.result.instrument.notInformed": "Sem instrumento",
|
|
14292
14307
|
"report.result.navbar.exportButton": "Exportar relatório",
|
|
14308
|
+
"report.result.navbar.ariaLabel": "Resumo e navegação do relatório",
|
|
14309
|
+
"report.result.navbar.dateLabel": "Data",
|
|
14310
|
+
"report.result.navbar.durationLabel": "Duração",
|
|
14311
|
+
"report.result.navbar.evaluationsLabel": "Avaliações",
|
|
14312
|
+
"report.result.navbar.selectedLabel": "selecionadas",
|
|
14313
|
+
"report.result.navbar.invitationLabel": "Convite",
|
|
14314
|
+
"report.result.navbar.completed": "Concluído",
|
|
14315
|
+
"report.result.navbar.inProgress": "Em andamento",
|
|
14316
|
+
"report.result.navbar.parameterizationLabel": "Parametrização",
|
|
14317
|
+
"report.result.navbar.ready": "Relatório pronto para análise",
|
|
14318
|
+
"report.result.navbar.navigationAriaLabel": "Navegação do relatório",
|
|
14319
|
+
"report.result.navbar.navigationTitle": "Navegação do relatório",
|
|
14320
|
+
"report.result.navbar.navigationToggle": "Ver seções",
|
|
14321
|
+
"report.result.navbar.group.summary": "Resumo",
|
|
14322
|
+
"report.result.navbar.group.configuration": "Configuração",
|
|
14323
|
+
"report.result.navbar.group.results": "Resultados",
|
|
14324
|
+
"report.result.navbar.group.socioemotional": "Socioemocional",
|
|
14325
|
+
"report.result.navbar.anchor.summary": "Resumo do avaliado",
|
|
14293
14326
|
"report.result.navbar.multipleSelected": "{$INTERPOLATION} avaliações selecionadas",
|
|
14294
14327
|
"report.result.navbar.navigateBy": "Navegar por:",
|
|
14295
14328
|
"report.result.navbar.singleSelected": "1 avaliação selecionada",
|
|
@@ -14307,6 +14340,8 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14307
14340
|
"report.result.psychosocial.globalAverage": "Média global",
|
|
14308
14341
|
"report.result.psychosocial.title": "Análise individual psicossocial",
|
|
14309
14342
|
"report.result.socioemotional.title": "Análise socioemocional",
|
|
14343
|
+
"report.result.socioemotional.skillsAnchor": "Habilidades socioemocionais",
|
|
14344
|
+
"report.result.socioemotional.vulnerabilityAnchor": "Vulnerabilidade social",
|
|
14310
14345
|
"report.result.structuralPocTag": "POC estrutural",
|
|
14311
14346
|
"report.filters.close": "Fechar filtros",
|
|
14312
14347
|
"report.filters.open": "Filtros",
|
|
@@ -14404,6 +14439,27 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14404
14439
|
"shared.psychosocialScaleCard.factorsLabel": "Fatores psicossociais",
|
|
14405
14440
|
"shared.scaleCard.conceptLabel": "Conceito:",
|
|
14406
14441
|
"shared.scaleWidget.title": "Escalas",
|
|
14442
|
+
"report.group.results.requestMissing": "Não foi possível identificar os dados necessários para carregar o relatório.",
|
|
14443
|
+
"report.result.captionDirection.description": "Consulte como interpretar a direção dos resultados.",
|
|
14444
|
+
"report.result.accessDenied.subtitle": "Você não possui permissão para visualizar este relatório.",
|
|
14445
|
+
"report.result.accessDenied.title": "Acesso negado",
|
|
14446
|
+
"report.result.financialPending.subtitle": "Os créditos da conta estão esgotados. Realize uma nova compra para liberar este resultado.",
|
|
14447
|
+
"report.result.interpretation.title": "Como interpretar este resultado",
|
|
14448
|
+
"report.result.notFound.subtitle": "Verifique o endereço informado ou tente novamente.",
|
|
14449
|
+
"report.result.notFound.title": "Avaliação não encontrada",
|
|
14450
|
+
"report.result.parameterization.collapse": "Recolher todos",
|
|
14451
|
+
"report.result.parameterization.description": "Analise o resultado parametrizado em diferentes níveis de detalhamento.",
|
|
14452
|
+
"report.result.parameterization.expand": "Expandir todos",
|
|
14453
|
+
"report.result.parameterization.loading": "Carregando parametrização...",
|
|
14454
|
+
"report.result.parameterization.retry": "Tentar novamente",
|
|
14455
|
+
"report.result.parameterization.title": "Parametrização",
|
|
14456
|
+
"report.result.reliability.low": "Baixa confiabilidade",
|
|
14457
|
+
"shared.availableParameterizations.subtitle": "Selecione a referência que será aplicada aos resultados.",
|
|
14458
|
+
"shared.availableParameterizations.title": "Parametrizações disponíveis",
|
|
14459
|
+
"shared.result.contraindicated": "Contraindicado",
|
|
14460
|
+
"shared.result.indicated": "Indicado",
|
|
14461
|
+
"shared.result.indicatedWithObservations": "Indicado com observações",
|
|
14462
|
+
"shared.result.indicatedWithRestrictions": "Indicado com restrições",
|
|
14407
14463
|
"shared.socioemotionalArc.lessIntense": "Menos Intensamente",
|
|
14408
14464
|
"shared.socioemotionalArc.moreIntense": "Mais Intensamente",
|
|
14409
14465
|
"shared.socioemotionalCard.conceptLabel": "Conceito",
|
|
@@ -14411,6 +14467,27 @@ const PT_RUNTIME_TRANSLATIONS = {
|
|
|
14411
14467
|
"shared.exportOption.exportButton": "Exportar",
|
|
14412
14468
|
};
|
|
14413
14469
|
const EN_OVERRIDES = {
|
|
14470
|
+
"report.group.results.requestMissing": "The data required to load the report could not be identified.",
|
|
14471
|
+
"report.result.captionDirection.description": "See how to interpret the direction of the results.",
|
|
14472
|
+
"report.result.accessDenied.subtitle": "You do not have permission to view this report.",
|
|
14473
|
+
"report.result.accessDenied.title": "Access denied",
|
|
14474
|
+
"report.result.financialPending.subtitle": "The account has no credits left. Purchase more credits to unlock this result.",
|
|
14475
|
+
"report.result.interpretation.title": "How to interpret this result",
|
|
14476
|
+
"report.result.notFound.subtitle": "Check the provided address or try again.",
|
|
14477
|
+
"report.result.notFound.title": "Evaluation not found",
|
|
14478
|
+
"report.result.parameterization.collapse": "Collapse all",
|
|
14479
|
+
"report.result.parameterization.description": "Review the parameterized result at different levels of detail.",
|
|
14480
|
+
"report.result.parameterization.expand": "Expand all",
|
|
14481
|
+
"report.result.parameterization.loading": "Loading parameterization...",
|
|
14482
|
+
"report.result.parameterization.retry": "Try again",
|
|
14483
|
+
"report.result.parameterization.title": "Parameterization",
|
|
14484
|
+
"report.result.reliability.low": "Low reliability",
|
|
14485
|
+
"shared.availableParameterizations.subtitle": "Select the reference to apply to the results.",
|
|
14486
|
+
"shared.availableParameterizations.title": "Available parameterizations",
|
|
14487
|
+
"shared.result.contraindicated": "Contraindicated",
|
|
14488
|
+
"shared.result.indicated": "Indicated",
|
|
14489
|
+
"shared.result.indicatedWithObservations": "Indicated with observations",
|
|
14490
|
+
"shared.result.indicatedWithRestrictions": "Indicated with restrictions",
|
|
14414
14491
|
"home.results.title": "Results",
|
|
14415
14492
|
"home.results.subtitle": "Browse available reports and quickly find the result you need.",
|
|
14416
14493
|
"home.results.clearFilters": "Clear filters",
|
|
@@ -14473,8 +14550,13 @@ const EN_OVERRIDES = {
|
|
|
14473
14550
|
"report.groupedPanel.timeline.subtitle": "Actions and notes filtered by grouping",
|
|
14474
14551
|
"report.groupedPanel.timeline.title": "Timeline of notes and actions",
|
|
14475
14552
|
"report.result.availableEvaluations.subtitle": "Select which evaluation you want to view",
|
|
14553
|
+
"report.result.availableEvaluations.newSubtitle": "Select one option per category to define the displayed results.",
|
|
14554
|
+
"report.result.availableEvaluations.tabLabel": "Evaluations",
|
|
14555
|
+
"report.result.availableEvaluations.appliedAt": "Applied on",
|
|
14556
|
+
"report.result.availableEvaluations.availableResult": "result available",
|
|
14476
14557
|
"report.result.benchmark.description": "Compare scales and track benchmarking references in a single panel.",
|
|
14477
14558
|
"report.result.candidate.cityLabel": "CITY OF RESIDENCE",
|
|
14559
|
+
"report.result.candidate.fullNameLabel": "Full name",
|
|
14478
14560
|
"report.result.captionIndicators.scaleColorsTitle": "Meaning of color scales",
|
|
14479
14561
|
"report.result.captionParameterization.referenceTableTitle": "Reference table for competency percentage",
|
|
14480
14562
|
"report.result.captionPsychosocial.colorScalesDescription": "See how intensity ranges are interpreted for positive and negative directions.",
|
|
@@ -14482,8 +14564,18 @@ const EN_OVERRIDES = {
|
|
|
14482
14564
|
"report.result.captionSocioemotional.colorScaleTitle": "Meaning of color scales",
|
|
14483
14565
|
"report.result.captionSocioemotional.panelTitle": "Socio-emotional scales legend",
|
|
14484
14566
|
"report.result.conclusion.editButton": "Edit conclusion",
|
|
14485
|
-
"report.result.conclusion.editingDescription": "
|
|
14486
|
-
"report.result.conclusion.
|
|
14567
|
+
"report.result.conclusion.editingDescription": "Update the professional assessment recorded for this context.",
|
|
14568
|
+
"report.result.conclusion.addingDescription": "Record a clear assessment to complement the reading.",
|
|
14569
|
+
"report.result.conclusion.addDialogTitle": "Add conclusion",
|
|
14570
|
+
"report.result.conclusion.editDialogTitle": "Edit conclusion",
|
|
14571
|
+
"report.result.conclusion.invitationKind": "Invitation",
|
|
14572
|
+
"report.result.conclusion.evaluationKind": "Evaluation",
|
|
14573
|
+
"report.result.conclusion.registered": "Assessment recorded",
|
|
14574
|
+
"report.result.conclusion.notRegistered": "No assessment has been recorded yet",
|
|
14575
|
+
"report.result.conclusion.emptyDescription": "Record an assessment to complement the reading of this result.",
|
|
14576
|
+
"report.result.conclusions.title": "Conclusions",
|
|
14577
|
+
"report.result.conclusions.subtitle": "A single place to review and record all invitation and evaluation assessments.",
|
|
14578
|
+
"report.result.invitationConclusion.title": "Invitation conclusion",
|
|
14487
14579
|
"report.result.conclusion.responsible.placeholder": "Responsible's name",
|
|
14488
14580
|
"report.result.conclusion.saveButton": "Save conclusion",
|
|
14489
14581
|
"report.result.conclusion.viewDescription": "Consolidate the final result interpretation with professional data and the recorded note.",
|
|
@@ -14505,6 +14597,26 @@ const EN_OVERRIDES = {
|
|
|
14505
14597
|
"report.groupedPanel.riskFilters.company.searchPlaceholder": "Search company",
|
|
14506
14598
|
"report.result.individual.eyebrow": "Individual report",
|
|
14507
14599
|
"report.result.navbar.exportButton": "Export report",
|
|
14600
|
+
"report.result.navbar.ariaLabel": "Report summary and navigation",
|
|
14601
|
+
"report.result.navbar.dateLabel": "Date",
|
|
14602
|
+
"report.result.navbar.durationLabel": "Duration",
|
|
14603
|
+
"report.result.navbar.evaluationsLabel": "Evaluations",
|
|
14604
|
+
"report.result.navbar.selectedLabel": "selected",
|
|
14605
|
+
"report.result.navbar.invitationLabel": "Invitation",
|
|
14606
|
+
"report.result.navbar.completed": "Completed",
|
|
14607
|
+
"report.result.navbar.inProgress": "In progress",
|
|
14608
|
+
"report.result.navbar.parameterizationLabel": "Parameterization",
|
|
14609
|
+
"report.result.navbar.ready": "Report ready for analysis",
|
|
14610
|
+
"report.result.navbar.navigationAriaLabel": "Report navigation",
|
|
14611
|
+
"report.result.navbar.navigationTitle": "Report navigation",
|
|
14612
|
+
"report.result.navbar.navigationToggle": "View sections",
|
|
14613
|
+
"report.result.navbar.group.summary": "Summary",
|
|
14614
|
+
"report.result.navbar.group.configuration": "Configuration",
|
|
14615
|
+
"report.result.navbar.group.results": "Results",
|
|
14616
|
+
"report.result.navbar.group.socioemotional": "Socio-emotional",
|
|
14617
|
+
"report.result.navbar.anchor.summary": "Evaluated person summary",
|
|
14618
|
+
"report.result.socioemotional.skillsAnchor": "Socio-emotional skills",
|
|
14619
|
+
"report.result.socioemotional.vulnerabilityAnchor": "Social vulnerability",
|
|
14508
14620
|
"shared.exportOption.title": "Generate individual report",
|
|
14509
14621
|
"shared.filtersSidenav.instrument.searchPlaceholder": "Search instrument...",
|
|
14510
14622
|
"shared.exportOption.exportButton": "Export",
|
|
@@ -14590,6 +14702,27 @@ const EN_OVERRIDES = {
|
|
|
14590
14702
|
"report.result.captionIndicators.negative.inferior.description": "Negative result significantly below expected",
|
|
14591
14703
|
};
|
|
14592
14704
|
const ES_OVERRIDES = {
|
|
14705
|
+
"report.group.results.requestMissing": "No fue posible identificar los datos necesarios para cargar el reporte.",
|
|
14706
|
+
"report.result.captionDirection.description": "Consulte cómo interpretar la dirección de los resultados.",
|
|
14707
|
+
"report.result.accessDenied.subtitle": "No tiene permiso para visualizar este reporte.",
|
|
14708
|
+
"report.result.accessDenied.title": "Acceso denegado",
|
|
14709
|
+
"report.result.financialPending.subtitle": "Los créditos de la cuenta están agotados. Realice una nueva compra para liberar este resultado.",
|
|
14710
|
+
"report.result.interpretation.title": "Cómo interpretar este resultado",
|
|
14711
|
+
"report.result.notFound.subtitle": "Verifique la dirección informada o inténtelo nuevamente.",
|
|
14712
|
+
"report.result.notFound.title": "Evaluación no encontrada",
|
|
14713
|
+
"report.result.parameterization.collapse": "Contraer todos",
|
|
14714
|
+
"report.result.parameterization.description": "Analice el resultado parametrizado en diferentes niveles de detalle.",
|
|
14715
|
+
"report.result.parameterization.expand": "Expandir todos",
|
|
14716
|
+
"report.result.parameterization.loading": "Cargando parametrización...",
|
|
14717
|
+
"report.result.parameterization.retry": "Intentar nuevamente",
|
|
14718
|
+
"report.result.parameterization.title": "Parametrización",
|
|
14719
|
+
"report.result.reliability.low": "Baja confiabilidad",
|
|
14720
|
+
"shared.availableParameterizations.subtitle": "Seleccione la referencia que se aplicará a los resultados.",
|
|
14721
|
+
"shared.availableParameterizations.title": "Parametrizaciones disponibles",
|
|
14722
|
+
"shared.result.contraindicated": "Contraindicado",
|
|
14723
|
+
"shared.result.indicated": "Indicado",
|
|
14724
|
+
"shared.result.indicatedWithObservations": "Indicado con observaciones",
|
|
14725
|
+
"shared.result.indicatedWithRestrictions": "Indicado con restricciones",
|
|
14593
14726
|
"home.results.title": "Resultados",
|
|
14594
14727
|
"home.results.subtitle": "Consulte los reportes disponibles y encuentre rapidamente el resultado que necesita.",
|
|
14595
14728
|
"home.results.clearFilters": "Limpiar filtros",
|
|
@@ -14635,12 +14768,48 @@ const ES_OVERRIDES = {
|
|
|
14635
14768
|
"report.groupedPanel.riskFilters.position.notFound": "Cargo no encontrado",
|
|
14636
14769
|
"report.groupedPanel.riskFilters.unit.notFound": "Unidad no encontrada",
|
|
14637
14770
|
"report.result.availableEvaluations.subtitle": "Seleccione qué evaluación desea visualizar",
|
|
14771
|
+
"report.result.candidate.fullNameLabel": "Nombre completo",
|
|
14772
|
+
"report.result.availableEvaluations.newSubtitle": "Seleccione una opción por categoría para definir los resultados mostrados.",
|
|
14773
|
+
"report.result.availableEvaluations.tabLabel": "Evaluaciones",
|
|
14774
|
+
"report.result.availableEvaluations.appliedAt": "Aplicada el",
|
|
14775
|
+
"report.result.availableEvaluations.availableResult": "resultado disponible",
|
|
14638
14776
|
"report.result.captionPsychosocial.colorScalesDescription": "Consulte cómo se interpretan los rangos de intensidad para direcciones positivas y negativas.",
|
|
14639
14777
|
"report.result.conclusion.cancelButton": "Cancelar",
|
|
14640
14778
|
"report.result.conclusion.crp.placeholder": "Número de CRP",
|
|
14641
14779
|
"report.result.conclusion.editButton": "Editar conclusión",
|
|
14642
|
-
"report.result.conclusion.editingDescription": "
|
|
14643
|
-
"report.result.conclusion.
|
|
14780
|
+
"report.result.conclusion.editingDescription": "Actualice el dictamen profesional registrado para este contexto.",
|
|
14781
|
+
"report.result.conclusion.addingDescription": "Registre un dictamen claro para complementar la lectura.",
|
|
14782
|
+
"report.result.conclusion.addDialogTitle": "Agregar conclusión",
|
|
14783
|
+
"report.result.conclusion.editDialogTitle": "Editar conclusión",
|
|
14784
|
+
"report.result.conclusion.invitationKind": "Invitación",
|
|
14785
|
+
"report.result.conclusion.evaluationKind": "Evaluación",
|
|
14786
|
+
"report.result.conclusion.registered": "Dictamen registrado",
|
|
14787
|
+
"report.result.conclusion.notRegistered": "Aún no hay un dictamen registrado",
|
|
14788
|
+
"report.result.conclusion.emptyDescription": "Registre un dictamen para complementar la lectura de este resultado.",
|
|
14789
|
+
"report.result.conclusions.title": "Conclusiones",
|
|
14790
|
+
"report.result.conclusions.subtitle": "Un único espacio para consultar y registrar todos los dictámenes de la invitación y de las evaluaciones.",
|
|
14791
|
+
"report.result.invitationConclusion.title": "Conclusión de la invitación",
|
|
14792
|
+
"report.result.navbar.exportButton": "Exportar reporte",
|
|
14793
|
+
"report.result.navbar.ariaLabel": "Resumen y navegación del reporte",
|
|
14794
|
+
"report.result.navbar.dateLabel": "Fecha",
|
|
14795
|
+
"report.result.navbar.durationLabel": "Duración",
|
|
14796
|
+
"report.result.navbar.evaluationsLabel": "Evaluaciones",
|
|
14797
|
+
"report.result.navbar.selectedLabel": "seleccionadas",
|
|
14798
|
+
"report.result.navbar.invitationLabel": "Invitación",
|
|
14799
|
+
"report.result.navbar.completed": "Completada",
|
|
14800
|
+
"report.result.navbar.inProgress": "En curso",
|
|
14801
|
+
"report.result.navbar.parameterizationLabel": "Parametrización",
|
|
14802
|
+
"report.result.navbar.ready": "Reporte listo para análisis",
|
|
14803
|
+
"report.result.navbar.navigationAriaLabel": "Navegación del reporte",
|
|
14804
|
+
"report.result.navbar.navigationTitle": "Navegación del reporte",
|
|
14805
|
+
"report.result.navbar.navigationToggle": "Ver secciones",
|
|
14806
|
+
"report.result.navbar.group.summary": "Resumen",
|
|
14807
|
+
"report.result.navbar.group.configuration": "Configuración",
|
|
14808
|
+
"report.result.navbar.group.results": "Resultados",
|
|
14809
|
+
"report.result.navbar.group.socioemotional": "Socioemocional",
|
|
14810
|
+
"report.result.navbar.anchor.summary": "Resumen de la persona evaluada",
|
|
14811
|
+
"report.result.socioemotional.skillsAnchor": "Habilidades socioemocionales",
|
|
14812
|
+
"report.result.socioemotional.vulnerabilityAnchor": "Vulnerabilidad social",
|
|
14644
14813
|
"report.result.conclusion.saveButton": "Guardar conclusión",
|
|
14645
14814
|
"report.result.conclusion.toast.fillAllFields": "Complete todos los campos",
|
|
14646
14815
|
"report.result.conclusion.toast.invalidPayload": "Complete todos los campos",
|
|
@@ -15329,6 +15498,125 @@ function getAppLanguageOption(language) {
|
|
|
15329
15498
|
?? APP_LANGUAGE_OPTIONS[0];
|
|
15330
15499
|
}
|
|
15331
15500
|
|
|
15501
|
+
const CACHE_KEY_PREFIX = "i18n.cache.";
|
|
15502
|
+
const DEFAULT_TIMEOUT_MS = 5000;
|
|
15503
|
+
function getCacheKey(language) {
|
|
15504
|
+
return `${CACHE_KEY_PREFIX}${language}`;
|
|
15505
|
+
}
|
|
15506
|
+
function buildUrl(baseUrl, language, version) {
|
|
15507
|
+
const normalized = baseUrl.replace(/\/+$/, "");
|
|
15508
|
+
const url = `${normalized}/${language}.json`;
|
|
15509
|
+
return version ? `${url}?v=${encodeURIComponent(version)}` : url;
|
|
15510
|
+
}
|
|
15511
|
+
/** True only for a plain object whose every value is a string. */
|
|
15512
|
+
function isFlatTranslations(value) {
|
|
15513
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
15514
|
+
return false;
|
|
15515
|
+
}
|
|
15516
|
+
return Object.values(value).every((entry) => typeof entry === "string");
|
|
15517
|
+
}
|
|
15518
|
+
function resolveFetch(options) {
|
|
15519
|
+
if (options.fetchImpl) {
|
|
15520
|
+
return options.fetchImpl;
|
|
15521
|
+
}
|
|
15522
|
+
return typeof fetch === "undefined" ? undefined : fetch;
|
|
15523
|
+
}
|
|
15524
|
+
function withTimeout(timeoutMs) {
|
|
15525
|
+
if (typeof AbortController === "undefined") {
|
|
15526
|
+
return { signal: undefined, done: () => undefined };
|
|
15527
|
+
}
|
|
15528
|
+
const controller = new AbortController();
|
|
15529
|
+
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
15530
|
+
return { signal: controller.signal, done: () => clearTimeout(timer) };
|
|
15531
|
+
}
|
|
15532
|
+
/**
|
|
15533
|
+
* Reads the cached translations for a language from localStorage. Returns
|
|
15534
|
+
* `null` when there is no cache, it is unreadable, or its shape is invalid.
|
|
15535
|
+
* Safe to call during SSR (returns `null` when localStorage is unavailable).
|
|
15536
|
+
*/
|
|
15537
|
+
function readCachedTranslations(language) {
|
|
15538
|
+
if (typeof localStorage === "undefined") {
|
|
15539
|
+
return null;
|
|
15540
|
+
}
|
|
15541
|
+
try {
|
|
15542
|
+
const raw = localStorage.getItem(getCacheKey(language));
|
|
15543
|
+
if (!raw) {
|
|
15544
|
+
return null;
|
|
15545
|
+
}
|
|
15546
|
+
const parsed = JSON.parse(raw);
|
|
15547
|
+
if (!isFlatTranslations(parsed.data)) {
|
|
15548
|
+
return null;
|
|
15549
|
+
}
|
|
15550
|
+
return {
|
|
15551
|
+
version: typeof parsed.version === "string" ? parsed.version : null,
|
|
15552
|
+
data: parsed.data,
|
|
15553
|
+
};
|
|
15554
|
+
}
|
|
15555
|
+
catch {
|
|
15556
|
+
return null;
|
|
15557
|
+
}
|
|
15558
|
+
}
|
|
15559
|
+
function writeCachedTranslations(language, payload) {
|
|
15560
|
+
if (typeof localStorage === "undefined") {
|
|
15561
|
+
return;
|
|
15562
|
+
}
|
|
15563
|
+
try {
|
|
15564
|
+
localStorage.setItem(getCacheKey(language), JSON.stringify(payload));
|
|
15565
|
+
}
|
|
15566
|
+
catch {
|
|
15567
|
+
// Quota exceeded or storage disabled: ignore, the in-memory result still applies.
|
|
15568
|
+
}
|
|
15569
|
+
}
|
|
15570
|
+
/**
|
|
15571
|
+
* Fetches the remote translations for a language, updating the localStorage
|
|
15572
|
+
* cache.
|
|
15573
|
+
*
|
|
15574
|
+
* Uses a plain GET (no custom request headers) on purpose: this keeps it a
|
|
15575
|
+
* "simple" CORS request, so the only server requirement is an
|
|
15576
|
+
* `Access-Control-Allow-Origin` header — no OPTIONS preflight. Freshness is
|
|
15577
|
+
* delegated to the HTTP layer via `cache: "no-cache"`, which makes the browser
|
|
15578
|
+
* revalidate against the CDN's `ETag`/`Last-Modified` transparently (a 304 is
|
|
15579
|
+
* resolved by the browser and surfaces here as a normal 200).
|
|
15580
|
+
*
|
|
15581
|
+
* Resolution order on failure: cached data (if any), otherwise `null` so the
|
|
15582
|
+
* caller can fall back to the embedded catalogs. Never throws.
|
|
15583
|
+
*/
|
|
15584
|
+
async function loadRemoteTranslations(language, options) {
|
|
15585
|
+
const fetchImpl = resolveFetch(options);
|
|
15586
|
+
if (!fetchImpl || !options.baseUrl) {
|
|
15587
|
+
return null;
|
|
15588
|
+
}
|
|
15589
|
+
const cached = readCachedTranslations(language);
|
|
15590
|
+
const url = buildUrl(options.baseUrl, language, options.version);
|
|
15591
|
+
const { signal, done } = withTimeout(options.timeoutMs ?? DEFAULT_TIMEOUT_MS);
|
|
15592
|
+
try {
|
|
15593
|
+
const response = await fetchImpl(url, {
|
|
15594
|
+
cache: "no-cache",
|
|
15595
|
+
signal,
|
|
15596
|
+
});
|
|
15597
|
+
if (!response.ok) {
|
|
15598
|
+
throw new Error(`Failed to load translations: HTTP ${response.status}`);
|
|
15599
|
+
}
|
|
15600
|
+
const data = await response.json();
|
|
15601
|
+
if (!isFlatTranslations(data)) {
|
|
15602
|
+
throw new Error("Remote translations payload is not a flat string map");
|
|
15603
|
+
}
|
|
15604
|
+
writeCachedTranslations(language, {
|
|
15605
|
+
version: options.version ?? null,
|
|
15606
|
+
fetchedAt: Date.now(),
|
|
15607
|
+
data,
|
|
15608
|
+
});
|
|
15609
|
+
return data;
|
|
15610
|
+
}
|
|
15611
|
+
catch (error) {
|
|
15612
|
+
options.onError?.(error);
|
|
15613
|
+
return cached?.data ?? null;
|
|
15614
|
+
}
|
|
15615
|
+
finally {
|
|
15616
|
+
done();
|
|
15617
|
+
}
|
|
15618
|
+
}
|
|
15619
|
+
|
|
15332
15620
|
function getStoredAppLanguage() {
|
|
15333
15621
|
if (typeof window === "undefined") {
|
|
15334
15622
|
return DEFAULT_APP_LANGUAGE;
|
|
@@ -15365,6 +15653,64 @@ function initializeAppLanguage(options = {}) {
|
|
|
15365
15653
|
}
|
|
15366
15654
|
return language;
|
|
15367
15655
|
}
|
|
15656
|
+
/**
|
|
15657
|
+
* Merges the embedded (build-time) catalog for a language with an optional
|
|
15658
|
+
* remote map and hands the result to `@angular/localize`. The remote entries
|
|
15659
|
+
* override the embedded ones, while any key missing remotely still resolves
|
|
15660
|
+
* from the embedded fallback — so partial remote files are safe.
|
|
15661
|
+
*/
|
|
15662
|
+
function applyTranslations(language, remote) {
|
|
15663
|
+
const merged = {
|
|
15664
|
+
...(ANGULAR_RUNTIME_TRANSLATIONS[language] ?? {}),
|
|
15665
|
+
...(remote ?? {}),
|
|
15666
|
+
};
|
|
15667
|
+
if (Object.keys(merged).length > 0) {
|
|
15668
|
+
loadTranslations(merged);
|
|
15669
|
+
}
|
|
15670
|
+
}
|
|
15671
|
+
/**
|
|
15672
|
+
* Initializes translations by loading them from the remote (AWS) JSON files,
|
|
15673
|
+
* with the embedded catalogs as a fallback. MUST be awaited before the host
|
|
15674
|
+
* application bootstraps, because `$localize` resolves messages at evaluation
|
|
15675
|
+
* time from the global map populated here.
|
|
15676
|
+
*
|
|
15677
|
+
* Behaviour:
|
|
15678
|
+
* - With a local cache: applies the cached copy immediately (instant boot) and
|
|
15679
|
+
* revalidates in the background; an updated copy takes effect on the next reload.
|
|
15680
|
+
* - Without a cache: awaits the remote fetch and, on any failure, falls back to
|
|
15681
|
+
* the embedded catalogs (never the raw keys).
|
|
15682
|
+
*/
|
|
15683
|
+
async function initializeAppLanguageAsync(options) {
|
|
15684
|
+
const language = getStoredAppLanguage();
|
|
15685
|
+
if (options.clearExistingTranslations) {
|
|
15686
|
+
clearTranslations();
|
|
15687
|
+
}
|
|
15688
|
+
applyDocumentLanguage(language);
|
|
15689
|
+
const cached = readCachedTranslations(language);
|
|
15690
|
+
if (cached) {
|
|
15691
|
+
applyTranslations(language, cached.data);
|
|
15692
|
+
// Fire-and-forget revalidation; the refreshed cache applies on next reload.
|
|
15693
|
+
void loadRemoteTranslations(language, options).catch(() => undefined);
|
|
15694
|
+
return language;
|
|
15695
|
+
}
|
|
15696
|
+
const remote = await loadRemoteTranslations(language, options);
|
|
15697
|
+
applyTranslations(language, remote);
|
|
15698
|
+
return language;
|
|
15699
|
+
}
|
|
15700
|
+
/**
|
|
15701
|
+
* Initializes translations from data the caller already fetched. Intended for
|
|
15702
|
+
* micro-frontend setups where a host fetches the remote translations once and
|
|
15703
|
+
* shares them with each MFE, avoiding one network request per MFE. The data is
|
|
15704
|
+
* merged over the embedded fallback, like {@link initializeAppLanguageAsync}.
|
|
15705
|
+
*/
|
|
15706
|
+
function initializeAppLanguageFromData(language, remote, options = {}) {
|
|
15707
|
+
if (options.clearExistingTranslations) {
|
|
15708
|
+
clearTranslations();
|
|
15709
|
+
}
|
|
15710
|
+
applyDocumentLanguage(language);
|
|
15711
|
+
applyTranslations(language, remote);
|
|
15712
|
+
return language;
|
|
15713
|
+
}
|
|
15368
15714
|
|
|
15369
15715
|
const PAGINATOR_COPY_BY_LANGUAGE = {
|
|
15370
15716
|
"pt-BR": {
|
|
@@ -15461,6 +15807,7 @@ function getPaginatorNavigationLabels(language) {
|
|
|
15461
15807
|
const MAPA_UI_TEXTS_PT_BR = {
|
|
15462
15808
|
common: {
|
|
15463
15809
|
selectAll: "Selecionar todos",
|
|
15810
|
+
retry: "Tentar novamente",
|
|
15464
15811
|
},
|
|
15465
15812
|
filters: {
|
|
15466
15813
|
clear: "Limpar filtros",
|
|
@@ -15497,6 +15844,12 @@ const MAPA_UI_TEXTS_PT_BR = {
|
|
|
15497
15844
|
table: {
|
|
15498
15845
|
emptyTitle: "Não foram encontrados resultados",
|
|
15499
15846
|
emptySubtitle: "",
|
|
15847
|
+
loading: "Carregando resultados",
|
|
15848
|
+
errorTitle: "Não foi possível carregar os resultados.",
|
|
15849
|
+
selectAllVisible: "Selecionar todos os itens desta página",
|
|
15850
|
+
selectionColumn: "Seleção",
|
|
15851
|
+
selectRow: "Selecionar item",
|
|
15852
|
+
selectNamedRow: (item) => `Selecionar ${item}`,
|
|
15500
15853
|
},
|
|
15501
15854
|
validation: {
|
|
15502
15855
|
cnpj: "CNPJ inválido",
|
|
@@ -15513,6 +15866,7 @@ const MAPA_UI_TEXTS_PT_BR = {
|
|
|
15513
15866
|
const MAPA_UI_TEXTS_ES = {
|
|
15514
15867
|
common: {
|
|
15515
15868
|
selectAll: "Seleccionar todo",
|
|
15869
|
+
retry: "Intentar de nuevo",
|
|
15516
15870
|
},
|
|
15517
15871
|
filters: {
|
|
15518
15872
|
clear: "Limpiar filtros",
|
|
@@ -15549,6 +15903,12 @@ const MAPA_UI_TEXTS_ES = {
|
|
|
15549
15903
|
table: {
|
|
15550
15904
|
emptyTitle: "No se encontraron resultados",
|
|
15551
15905
|
emptySubtitle: "",
|
|
15906
|
+
loading: "Cargando resultados",
|
|
15907
|
+
errorTitle: "No fue posible cargar los resultados.",
|
|
15908
|
+
selectAllVisible: "Seleccionar todos los elementos de esta página",
|
|
15909
|
+
selectionColumn: "Selección",
|
|
15910
|
+
selectRow: "Seleccionar elemento",
|
|
15911
|
+
selectNamedRow: (item) => `Seleccionar ${item}`,
|
|
15552
15912
|
},
|
|
15553
15913
|
validation: {
|
|
15554
15914
|
cnpj: "CNPJ inválido",
|
|
@@ -15565,6 +15925,7 @@ const MAPA_UI_TEXTS_ES = {
|
|
|
15565
15925
|
const MAPA_UI_TEXTS_EN = {
|
|
15566
15926
|
common: {
|
|
15567
15927
|
selectAll: "Select all",
|
|
15928
|
+
retry: "Try again",
|
|
15568
15929
|
},
|
|
15569
15930
|
filters: {
|
|
15570
15931
|
clear: "Clear filters",
|
|
@@ -15601,6 +15962,12 @@ const MAPA_UI_TEXTS_EN = {
|
|
|
15601
15962
|
table: {
|
|
15602
15963
|
emptyTitle: "No results found",
|
|
15603
15964
|
emptySubtitle: "",
|
|
15965
|
+
loading: "Loading results",
|
|
15966
|
+
errorTitle: "The results could not be loaded.",
|
|
15967
|
+
selectAllVisible: "Select all items on this page",
|
|
15968
|
+
selectionColumn: "Selection",
|
|
15969
|
+
selectRow: "Select item",
|
|
15970
|
+
selectNamedRow: (item) => `Select ${item}`,
|
|
15604
15971
|
},
|
|
15605
15972
|
validation: {
|
|
15606
15973
|
cnpj: "Invalid CNPJ",
|
|
@@ -15629,5 +15996,5 @@ function getMapaUiTexts(language) {
|
|
|
15629
15996
|
* Generated bundle index. Do not edit.
|
|
15630
15997
|
*/
|
|
15631
15998
|
|
|
15632
|
-
export { ANGULAR_RUNTIME_TRANSLATIONS, APP_LANGUAGE_OPTIONS, APP_LANGUAGE_STORAGE_KEY, DEFAULT_APP_LANGUAGE, MAPA_UI_TEXTS_PT_BR, MA_TRANSLATIONS, MCA_TRANSLATIONS, MENU_TRANSLATIONS, MF_TRANSLATIONS, MGA_TRANSLATIONS, MGC_TRANSLATIONS, MO_TRANSLATIONS, MP_TRANSLATIONS, MV_TRANSLATIONS, applyDocumentLanguage, applyPaginatorIntl, formatPaginatorRange, formatPaginatorShowingRange, getAngularLocale, getAppLanguageOption, getIntlLocale, getMapaUiTexts, getPaginatorNavigationLabels, getStoredAppLanguage, initializeAppLanguage, isAppLanguage, persistAppLanguage, resolveAppLanguage };
|
|
15999
|
+
export { ANGULAR_RUNTIME_TRANSLATIONS, APP_LANGUAGE_OPTIONS, APP_LANGUAGE_STORAGE_KEY, DEFAULT_APP_LANGUAGE, MAPA_UI_TEXTS_PT_BR, MA_TRANSLATIONS, MCA_TRANSLATIONS, MENU_TRANSLATIONS, MF_TRANSLATIONS, MGA_TRANSLATIONS, MGC_TRANSLATIONS, MO_TRANSLATIONS, MP_TRANSLATIONS, MV_TRANSLATIONS, applyDocumentLanguage, applyPaginatorIntl, formatPaginatorRange, formatPaginatorShowingRange, getAngularLocale, getAppLanguageOption, getIntlLocale, getMapaUiTexts, getPaginatorNavigationLabels, getStoredAppLanguage, initializeAppLanguage, initializeAppLanguageAsync, initializeAppLanguageFromData, isAppLanguage, loadRemoteTranslations, persistAppLanguage, readCachedTranslations, resolveAppLanguage };
|
|
15633
16000
|
//# sourceMappingURL=mapa-frontend-i18n.mjs.map
|