feat: Add localization for hourly rate and enhance geofence notifications
- Added localization for hourly rate in English and Spanish. - Updated background geofence service to use localized notification titles and bodies. - Enhanced ClockInBloc to compute time window flags for check-in/check-out availability. - Updated ClockInState and ClockInEvent to include check-in/check-out availability flags and messages. - Refactored ClockInActionSection to display availability messages based on computed flags. - Ensured compliance with design system for user-facing strings and notification messages.
This commit is contained in:
@@ -862,6 +862,7 @@
|
||||
"great_work": "Great work today",
|
||||
"no_shifts_today": "No confirmed shifts for today",
|
||||
"accept_shift_cta": "Accept a shift to clock in",
|
||||
"per_hr": "\\$$amount/hr",
|
||||
"soon": "soon",
|
||||
"checked_in_at_label": "Checked in at",
|
||||
"not_in_range": "You must be within $distance m to clock in.",
|
||||
|
||||
@@ -857,6 +857,7 @@
|
||||
"great_work": "Buen trabajo hoy",
|
||||
"no_shifts_today": "No hay turnos confirmados para hoy",
|
||||
"accept_shift_cta": "Acepte un turno para registrar su entrada",
|
||||
"per_hr": "\\$$amount/hr",
|
||||
"soon": "pronto",
|
||||
"checked_in_at_label": "Entrada registrada a las",
|
||||
"nfc_dialog": {
|
||||
|
||||
Reference in New Issue
Block a user