Skip to content

Docs sidebar heading uses an inline locale ternary instead of the dictionary #54

Description

@DataDave-Dev

🇪🇸 Español

El encabezado del sidebar es lang === "es" ? "Documentación" : "Documentation" — un ternario inline que evita el diccionario central y no escala a un tercer locale.

Archivo: src/components/docs/DocsSidebar.tsx:14

Solución sugerida: Agregar una clave docsHeading a los diccionarios y leerla con getDictionary(lang).


🇬🇧 English

The sidebar heading is lang === "es" ? "Documentación" : "Documentation" — an inline ternary that bypasses the central dictionary and won't scale to a third locale.

File: src/components/docs/DocsSidebar.tsx:14

Suggested fix: Add a docsHeading key to the dictionaries and read it via getDictionary(lang).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersi18nInternationalization / translations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions