From cff15de4fcb6be4930defd43a6ec92dd44cfc8bf Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 20 Nov 2023 05:48:02 +0200 Subject: [PATCH] Translate custom format score for history actions --- frontend/src/Movie/History/MovieHistoryModalContent.js | 2 +- frontend/src/Store/Actions/historyActions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Movie/History/MovieHistoryModalContent.js b/frontend/src/Movie/History/MovieHistoryModalContent.js index d1d1ee5100..a19fd4aa61 100644 --- a/frontend/src/Movie/History/MovieHistoryModalContent.js +++ b/frontend/src/Movie/History/MovieHistoryModalContent.js @@ -44,7 +44,7 @@ const columns = [ name: 'customFormatScore', label: React.createElement(Icon, { name: icons.SCORE, - title: 'Custom format score' + title: () => translate('CustomFormatScore') }), isSortable: true, isVisible: true diff --git a/frontend/src/Store/Actions/historyActions.js b/frontend/src/Store/Actions/historyActions.js index a3babe53bd..b0a5c316e4 100644 --- a/frontend/src/Store/Actions/historyActions.js +++ b/frontend/src/Store/Actions/historyActions.js @@ -91,7 +91,7 @@ export const defaultState = { columnLabel: () => translate('CustomFormatScore'), label: React.createElement(Icon, { name: icons.SCORE, - title: 'Custom format score' + title: () => translate('CustomFormatScore') }), isVisible: false },