diff --git a/app/views/goals/_color_picker.html.erb b/app/views/goals/_color_picker.html.erb index 1d8fdb684..35d3d9481 100644 --- a/app/views/goals/_color_picker.html.erb +++ b/app/views/goals/_color_picker.html.erb @@ -1,11 +1,12 @@ <%# locals: (form:, colors:) %> - - - - <%= t("goals.form_stepper.step1.fields.color") %> - <%= icon("chevron-down", size: "sm") %> + + + <%= icon "chevron-right", size: "sm", class: "group-open:rotate-90 transition-transform" %> + + <%= t("goals.form_stepper.step1.fields.color") %> - + + <% colors.each do |c| %> <%= form.radio_button :color, c, class: "sr-only peer" %> diff --git a/config/locales/views/goals/en.yml b/config/locales/views/goals/en.yml index dae35c843..db513601e 100644 --- a/config/locales/views/goals/en.yml +++ b/config/locales/views/goals/en.yml @@ -124,8 +124,8 @@ en: aria_label: "Projection chart for %{name}" catch_up: title: "Save %{amount}/mo to stay on track" - body_with_date: "You're saving %{avg}/mo today — %{delta}/mo short of the pace to finish by %{date}." - body: "You're saving %{avg}/mo today — %{delta}/mo short of the required pace." + body_with_date: "Your current pace is %{avg}/mo. You need an extra %{delta}/mo to finish by %{date}." + body: "Your current pace is %{avg}/mo. You need an extra %{delta}/mo to hit the required rate." cta: "Add %{amount}" confirm_complete_title: Mark this goal complete? confirm_complete_body: It leaves the Ongoing list. You can still archive or restore it later.