From c3064c75f9cc3251679551492921c8368510252f Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 10 Aug 2026 16:33:01 -0400 Subject: [PATCH] Update appointment duration and estimated hours labels for localization --- app/views/customer_appointments/show.html.erb | 4 ++-- config/locales/en.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/customer_appointments/show.html.erb b/app/views/customer_appointments/show.html.erb index c1af6ff..d739644 100644 --- a/app/views/customer_appointments/show.html.erb +++ b/app/views/customer_appointments/show.html.erb @@ -94,11 +94,11 @@
<%= l(:label_duration, default: 'Duration') %>:
-
<%= @appointment.duration %> <%= l(:label_day_plural, default: 'days') %>
+
<%= @appointment.duration %> <%= l(:label_days) %>
<%= l(:field_estimated_hours) %>:
-
<%= @appointment.estimated_hours %>
+
<%= @appointment.estimated_hours %> <%= l(:label_hours) %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 6c303ca..d1a9c20 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -22,6 +22,7 @@ en: label_appointment: Appointment label_customer_appointment: Customer Appointment label_customer_calendar: Customer Calendar + label_days: Days label_duration: Duration label_end_date: End Date label_estimated_hours: Estimated Time