Release availability advisories are persisted and rendered as English sentences (Updates tab, de viewers)

Cerrado
#6,540 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #6547 de @rbuergi — fusionado

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
csharp, json

Línea de trabajo

Read src/MeshWeaver.PluginCatalog/ReleaseAvailability.cs, PublishedBundleCatalogue.cs, and memex/Memex.Portal.Shared/SelfUpdate/ReleaseAvailabilityService.cs, then trace how UpdatePolicySettingsTab renders content.Advisories and how strings.{en,de}.json is used. The issue proposes persisting structured reasons and localizing them at render time, while keeping English log messages; decide how the proposal fits the existing string workflow and verify German viewers see localized advisories. An open linked pull request (#6547) indicates work is already underway.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug sev:M

What

Package availability reasons (src/MeshWeaver.PluginCatalog/ReleaseAvailability.cs, PublishedBundleCatalogue.cs, memex/Memex.Portal.Shared/SelfUpdate/ReleaseAvailabilityService.cs) are built as English sentences, persisted as such on Admin/UpdatePolicy (Advisories), and rendered verbatim on the Updates tab (UpdatePolicySettingsTab appends content.Advisories). A German viewer reads them in English. AGENTS.md: platform-owned text follows the VIEWER, so this is a hard-coded UI string.

Shape of a fix (not established, a proposal)

Persist a structured reason (a code from an open string-constant vocabulary, plus its arguments: package, module, identity, target) beside or instead of the sentence, and localize at render time through strings.{en,de}.json. The log line can keep the English sentence.

Evidence / scope

Raised in review of Systemorph/MeshWeaver#6531 (thread on ReleaseAvailability.cs), which only rewords these sentences; the English-only persistence predates that PR. Not measured on a running portal with a de viewer — the rendering path was read in source only.

Refs #6531

Lenguaje dominante
C#
Estrellas
12
Forks
5
Merge medio
5 h 15 min
PR fusionados (30 d)
980

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Systemorph/MeshWeaver

Todos los issues de Systemorph/MeshWeaver

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.