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:
@@ -10,15 +10,15 @@ export function AttendeeContactActions() {
|
||||
const phone = attendee?.phone
|
||||
if (!phone) return null
|
||||
|
||||
// Los links van con los dígitos crudos: wa.me y tel: no entienden formatos.
|
||||
// The links use the raw digits: wa.me and tel: do not understand formats.
|
||||
const digits = phone.replace(/\D/g, '')
|
||||
const label = formatPhoneDisplay(phone) ?? phone
|
||||
|
||||
return (
|
||||
<div className="flex gap-2.5">
|
||||
{/* Los íconos van con `accent-fg` y no con `accent`: el azul de `accent` es
|
||||
el mismo en los dos temas y sobre `primary-soft` oscuro queda en 2.2:1.
|
||||
`accent-fg` da 6.2:1 en claro y 7.1:1 en oscuro. */}
|
||||
{/* The icons go with `accent-fg` and not with `accent`: the `accent` blue is
|
||||
the same in both themes and on dark `primary-soft` it sits at 2.2:1.
|
||||
`accent-fg` gives 6.2:1 in light and 7.1:1 in dark. */}
|
||||
<a
|
||||
href={`https://wa.me/${digits}`}
|
||||
target="_blank"
|
||||
|
||||
Reference in New Issue
Block a user