From fc351e4c3f3ce38427c2ece1d325230c53b219f1 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 11 Oct 2023 12:39:31 -0400 Subject: [PATCH] Fixed optimization table translations --- .../components/data-tables/optimization/helper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/components/data-tables/optimization/helper.js b/app/javascript/components/data-tables/optimization/helper.js index d429861e656..f116af10573 100644 --- a/app/javascript/components/data-tables/optimization/helper.js +++ b/app/javascript/components/data-tables/optimization/helper.js @@ -5,12 +5,12 @@ const convertHeader = (headerItems) => headerItems.map((item) => ({ key: item[0] /** Attributes needed for a button. */ const buttonData = (item) => ({ - alt: 'Queue Report', + alt: __('Queue Report'), disabled: false, is_button: true, onclick: `miqQueueReport(${item.id});`, - text: 'Queue Report', - title: 'Queue Report', + text: __('Queue Report'), + title: __('Queue Report'), }); /** Function to generate the values of the attribute cell for an item in rows. */