diff --git a/app/views/goals/_pending_pledge_banner.html.erb b/app/views/goals/_pending_pledge_banner.html.erb index b47baae3f..1e93a246f 100644 --- a/app/views/goals/_pending_pledge_banner.html.erb +++ b/app/views/goals/_pending_pledge_banner.html.erb @@ -7,6 +7,7 @@ %> <%= render DS::Alert.new(variant: "warning", title: title, live: :polite) do %>

<%= t(body_key) %>

+

<%= t("goals.show.pending_pledge.pledged_at", time_ago: time_ago_in_words(pledge.created_at)) %>

<%= render DS::Button.new( text: t("goals.show.pending_pledge.extend"), diff --git a/config/locales/views/goals/en.yml b/config/locales/views/goals/en.yml index 053830525..ef2db243c 100644 --- a/config/locales/views/goals/en.yml +++ b/config/locales/views/goals/en.yml @@ -113,6 +113,7 @@ en: other: "Pending: %{amount} into %{account} ยท %{count} days left" body_transfer: Auto-confirms when Sure spots a matching deposit on the next sync. body_manual: Confirms on your next manual balance edit. + pledged_at: "Pledged %{time_ago} ago" extend: Extend 7 days cancel: Cancel confirm_cancel_title: Cancel this pledge? @@ -218,11 +219,11 @@ en: footer_reached: Goal reached footer_catch_up: "Save %{amount}/mo to catch up" footer_no_deadline: Open - footer_no_pledges: No pledges yet - footer_last_today: Last saved today + footer_no_pledges: No matched pledges yet + footer_last_today: Last pledge matched today footer_last_days: - one: Last saved 1 day ago - other: "Last saved %{count} days ago" + one: Last pledge matched 1 day ago + other: "Last pledge matched %{count} days ago" form_stepper: cancel: Cancel continue: Continue