Skip to content

Commit

Permalink
add localization
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaszheng committed Aug 16, 2024
1 parent 3de43bc commit 9e8324a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/tradingView/useTradingView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ export const useTradingView = ({
}
if (buySellMarksToggleRef) {
buySellMarksToggleRef.current = tvWidgetRef.current.createButton();
buySellMarksToggleRef.current.innerHTML = `<span>Buys/Sells</span> <div class="toggle"></div>`;
buySellMarksToggleRef.current.innerHTML = `<span>${stringGetter({ key: STRING_KEYS.BUYS_SELLS_TOGGLE })}</span> <div class="toggle"></div>`;
buySellMarksToggleRef.current.setAttribute(
'title',
'Display historic buys and sells'
stringGetter({ key: STRING_KEYS.BUYS_SELLS_TOGGLE_TOOLTIP })
);
}
}
Expand Down

0 comments on commit 9e8324a

Please sign in to comment.