From 35e303d54b56a3bbfc6aa41439b126b5b35dcdb3 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 21 Jan 2026 20:49:54 -0500 Subject: [PATCH] Migrated hard coded strings to locales --- app/views/invoices/_list.html.erb | 4 ++-- config/locales/en.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/invoices/_list.html.erb b/app/views/invoices/_list.html.erb index 2332277..6b58174 100644 --- a/app/views/invoices/_list.html.erb +++ b/app/views/invoices/_list.html.erb @@ -4,7 +4,7 @@
<%= check_box_tag "select-all-invoices", "1", false, id: "select-all-invoices" %> - <%= label_tag "select-all-invoices", "Select All Invioces" %> + <%= label_tag "select-all-invoices", t(:label_select_all) %>

@@ -16,7 +16,7 @@ <% end %> - <%= form.submit "Bulk PDF" %> + <%= form.submit t(:button_bulk_pdf) %> <% end %> <% else %> diff --git a/config/locales/en.yml b/config/locales/en.yml index c8762ff..27c7b65 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -94,3 +94,5 @@ en: label_create_estimate: "Create Estimate" label_syncing: "Syncing Quickbooks" label_sandbox: "Sandbox" + button_bulk_pdf: "Bulk PDF" + label_select_all: "Select All" \ No newline at end of file