Merge branch 'develop' of gitlab.t-win.kr:ifheone/shoptime into develop
This commit is contained in:
@@ -6,6 +6,7 @@ import { Marquee } from "@enact/sandstone/Marquee";
|
||||
import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator";
|
||||
import Spottable from "@enact/spotlight/Spottable";
|
||||
|
||||
import { $L } from "../../utils/helperMethods";
|
||||
import css from "./THeader.module.less";
|
||||
|
||||
const Container = SpotlightContainerDecorator(
|
||||
@@ -29,7 +30,7 @@ export default function THeader({
|
||||
const convertedTitle = useMemo(() => {
|
||||
if (title) {
|
||||
const cleanedTitle = title.replace(/(\r\n|\n)/g, "");
|
||||
return marqueeDisabled ? title : cleanedTitle;
|
||||
return $L(marqueeDisabled ? title : cleanedTitle);
|
||||
}
|
||||
}, [marqueeDisabled, title]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user