diff --git a/themes/bootstrap3/templates/_ui/components/confirm-button.phtml b/themes/bootstrap3/templates/_ui/components/confirm-button.phtml index 50e97e3337e..299a1dc633b 100644 --- a/themes/bootstrap3/templates/_ui/components/confirm-button.phtml +++ b/themes/bootstrap3/templates/_ui/components/confirm-button.phtml @@ -48,7 +48,7 @@ $confirmAttrs['id'] = $id; } if ($title = $this->confirmTitle) { - $confirmAttrs['title'] = $title; + $confirmAttrs['title'] = $this->translate($title); } if ($class = $this->confirmClass) { $confirmAttrs['class'] .= " $class"; @@ -68,7 +68,7 @@ $cancelAttrs['id'] = $id; } if ($title = $this->cancelTitle) { - $cancelAttrs['title'] = $title; + $cancelAttrs['title'] = $this->translate($title); } if ($class = $this->cancelClass) { $cancelAttrs['class'] .= " $class"; diff --git a/themes/bootstrap3/templates/checkouts/history.phtml b/themes/bootstrap3/templates/checkouts/history.phtml index 9f2227268bf..e39eafcd2f1 100644 --- a/themes/bootstrap3/templates/checkouts/history.phtml +++ b/themes/bootstrap3/templates/checkouts/history.phtml @@ -52,7 +52,7 @@ 'buttonLabel' => 'loan_history_purge_selected', 'header' => 'loan_history_confirm_purge_selected', 'confirmId' => 'confirm_purge_selected_yes', - 'confirmTitle' => 'bookbag_confirm_empty', + 'confirmTitle' => 'loan_history_confirm_purge_selected', 'cancelClass' => 'confirm_purge_no', ] ) @@ -69,7 +69,7 @@ 'buttonLabel' => 'loan_history_purge_all', 'header' => 'loan_history_confirm_purge_all', 'confirmId' => 'confirm_purge_all_yes', - 'confirmTitle' => 'bookbag_confirm_empty', + 'confirmTitle' => 'loan_history_confirm_purge_all', 'cancelClass' => 'confirm_purge_no', ] ) diff --git a/themes/bootstrap3/templates/holds/list.phtml b/themes/bootstrap3/templates/holds/list.phtml index 4f72b8e963d..462db21bec5 100644 --- a/themes/bootstrap3/templates/holds/list.phtml +++ b/themes/bootstrap3/templates/holds/list.phtml @@ -57,7 +57,7 @@ 'buttonLabel' => 'hold_cancel_all', 'header' => 'confirm_hold_cancel_all_text', 'confirmId' => 'confirm_cancel_all_yes', - 'confirmTitle' => 'bookbag_confirm_empty', + 'confirmTitle' => 'confirm_hold_cancel_all_text', 'cancelClass' => 'confirm_cancel_no', 'ignoreLightbox' => true, ] diff --git a/themes/bootstrap5/templates/_ui/components/confirm-button.phtml b/themes/bootstrap5/templates/_ui/components/confirm-button.phtml index 40345b75757..e3daf7c0a33 100644 --- a/themes/bootstrap5/templates/_ui/components/confirm-button.phtml +++ b/themes/bootstrap5/templates/_ui/components/confirm-button.phtml @@ -48,7 +48,7 @@ $confirmAttrs['id'] = $id; } if ($title = $this->confirmTitle) { - $confirmAttrs['title'] = $title; + $confirmAttrs['title'] = $this->translate($title); } if ($class = $this->confirmClass) { $confirmAttrs['class'] .= " $class"; @@ -68,7 +68,7 @@ $cancelAttrs['id'] = $id; } if ($title = $this->cancelTitle) { - $cancelAttrs['title'] = $title; + $cancelAttrs['title'] = $this->translate($title); } if ($class = $this->cancelClass) { $cancelAttrs['class'] .= " $class"; diff --git a/themes/bootstrap5/templates/checkouts/history.phtml b/themes/bootstrap5/templates/checkouts/history.phtml index 9f2227268bf..e39eafcd2f1 100644 --- a/themes/bootstrap5/templates/checkouts/history.phtml +++ b/themes/bootstrap5/templates/checkouts/history.phtml @@ -52,7 +52,7 @@ 'buttonLabel' => 'loan_history_purge_selected', 'header' => 'loan_history_confirm_purge_selected', 'confirmId' => 'confirm_purge_selected_yes', - 'confirmTitle' => 'bookbag_confirm_empty', + 'confirmTitle' => 'loan_history_confirm_purge_selected', 'cancelClass' => 'confirm_purge_no', ] ) @@ -69,7 +69,7 @@ 'buttonLabel' => 'loan_history_purge_all', 'header' => 'loan_history_confirm_purge_all', 'confirmId' => 'confirm_purge_all_yes', - 'confirmTitle' => 'bookbag_confirm_empty', + 'confirmTitle' => 'loan_history_confirm_purge_all', 'cancelClass' => 'confirm_purge_no', ] ) diff --git a/themes/bootstrap5/templates/holds/list.phtml b/themes/bootstrap5/templates/holds/list.phtml index 4f72b8e963d..462db21bec5 100644 --- a/themes/bootstrap5/templates/holds/list.phtml +++ b/themes/bootstrap5/templates/holds/list.phtml @@ -57,7 +57,7 @@ 'buttonLabel' => 'hold_cancel_all', 'header' => 'confirm_hold_cancel_all_text', 'confirmId' => 'confirm_cancel_all_yes', - 'confirmTitle' => 'bookbag_confirm_empty', + 'confirmTitle' => 'confirm_hold_cancel_all_text', 'cancelClass' => 'confirm_cancel_no', 'ignoreLightbox' => true, ]