chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
@@ -28,9 +28,9 @@ export function AttendeeDetailView() {
|
||||
if (attendeeFailed || !attendee) {
|
||||
return (
|
||||
<div className="animate-fade-in rounded-2xl bg-danger-soft p-6">
|
||||
{/* El título lleva el rojo (a 18px ya cuenta como texto grande y llega a
|
||||
los 3:1) y el cuerpo usa `text-primary`: en `danger-soft` el rojo no
|
||||
pasa los 4.5:1 que necesita un `text-sm`. */}
|
||||
{/* The title carries the red (at 18px it already counts as large text and
|
||||
reaches 3:1) and the body uses `text-primary`: on `danger-soft` the red
|
||||
does not pass the 4.5:1 a `text-sm` needs. */}
|
||||
<h1 className="text-lg font-bold text-danger">Miembro no encontrado</h1>
|
||||
<p className="mt-2 text-sm text-primary">
|
||||
No se pudo cargar la información de este miembro.
|
||||
@@ -75,9 +75,9 @@ export function AttendeeDetailView() {
|
||||
<AttendeeContactActions />
|
||||
</div>
|
||||
|
||||
{/* Orden por frecuencia de uso. Sumar Pagos es insertar un bloque más
|
||||
arriba de Asistencia; cada sección lleva su propio aire, así que el
|
||||
layout no se toca. */}
|
||||
{/* Ordered by how often they are used. Adding Pagos means inserting one
|
||||
more block above Asistencia; each section brings its own spacing, so
|
||||
the layout does not need to change. */}
|
||||
<div className="mt-5">
|
||||
<AttendeeAttendanceSection />
|
||||
<AttendeeContactSection />
|
||||
|
||||
Reference in New Issue
Block a user