[랜돔유닛] 다국어 추가
This commit is contained in:
@@ -220,5 +220,6 @@
|
||||
"Removed from My Favorites List": "Aus meiner Favoritenliste entfernt",
|
||||
"Watch Live show now?": "(need for transfer) Watch Live show now?",
|
||||
"If you do not wish to agree to these terms, please proceed to the LG Account.": "(need for transfer) If you do not wish to agree to these terms, please proceed to the LG Account.",
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "(need for transfer) If you do not wish to agree to these terms, please proceed to the following link."
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "(need for transfer) If you do not wish to agree to these terms, please proceed to the following link.",
|
||||
"Click the screen to see more products!": "Klicken Sie auf den Bildschirm, um weitere Produkte zu sehen!"
|
||||
}
|
||||
|
||||
@@ -220,5 +220,6 @@
|
||||
"Removed from My Favorites List": "Removed from My Favorites List",
|
||||
"Watch Live show now?": "Watch Live show now?",
|
||||
"If you do not wish to agree to these terms, please proceed to the LG Account.": "If you do not wish to agree to these terms, please proceed to the LG Account.",
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "If you do not wish to agree to these terms, please proceed to the following link."
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "If you do not wish to agree to these terms, please proceed to the following link.",
|
||||
"Click the screen to see more products!": "Click the screen to see more products!"
|
||||
}
|
||||
|
||||
@@ -220,5 +220,6 @@
|
||||
"Removed from My Favorites List": "Removed from My Favorites List",
|
||||
"Watch Live show now?": "Watch Live show now?",
|
||||
"If you do not wish to agree to these terms, please proceed to the LG Account.": "If you do not wish to agree to these terms, please proceed to the LG Account.",
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "If you do not wish to agree to these terms, please proceed to the following link."
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "If you do not wish to agree to these terms, please proceed to the following link.",
|
||||
"Click the screen to see more products!": "Click the screen to see more products!"
|
||||
}
|
||||
|
||||
@@ -220,5 +220,6 @@
|
||||
"Removed from My Favorites List": "Удалено из Списка Избранного",
|
||||
"Watch Live show now?": "(need for transfer) Watch Live show now?",
|
||||
"If you do not wish to agree to these terms, please proceed to the LG Account.": "(need for transfer) If you do not wish to agree to these terms, please proceed to the LG Account.",
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "(need for transfer) If you do not wish to agree to these terms, please proceed to the following link."
|
||||
"If you do not wish to agree to these terms, please proceed to the following link.": "(need for transfer) If you do not wish to agree to these terms, please proceed to the following link.",
|
||||
"Click the screen to see more products!": "Нажмите на экран, чтобы увидеть больше товаров!"
|
||||
}
|
||||
|
||||
@@ -4,47 +4,32 @@ import React, {
|
||||
useMemo,
|
||||
useRef,
|
||||
useState,
|
||||
} from 'react';
|
||||
} from "react";
|
||||
|
||||
import classNames from 'classnames';
|
||||
import {
|
||||
useDispatch,
|
||||
useSelector,
|
||||
} from 'react-redux';
|
||||
import classNames from "classnames";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
|
||||
import SpotlightContainerDecorator
|
||||
from '@enact/spotlight/SpotlightContainerDecorator';
|
||||
import Spottable from '@enact/spotlight/Spottable';
|
||||
import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator";
|
||||
import Spottable from "@enact/spotlight/Spottable";
|
||||
|
||||
import btnPlay from '../../../../assets/images/btn/btn-play-thumb-nor.png';
|
||||
import defaultLogoImg
|
||||
from '../../../../assets/images/ic-tab-partners-default@3x.png';
|
||||
import emptyHorImage
|
||||
from '../../../../assets/images/img-home-banner-empty-hor.png';
|
||||
import emptyVerImage
|
||||
from '../../../../assets/images/img-home-banner-empty-ver.png';
|
||||
import defaultImageItem
|
||||
from '../../../../assets/images/img-thumb-empty-product@3x.png';
|
||||
import liveShow from '../../../../assets/images/tag-liveshow.png';
|
||||
import btnPlay from "../../../../assets/images/btn/btn-play-thumb-nor.png";
|
||||
import defaultLogoImg from "../../../../assets/images/ic-tab-partners-default@3x.png";
|
||||
import emptyHorImage from "../../../../assets/images/img-home-banner-empty-hor.png";
|
||||
import emptyVerImage from "../../../../assets/images/img-home-banner-empty-ver.png";
|
||||
import defaultImageItem from "../../../../assets/images/img-thumb-empty-product@3x.png";
|
||||
import liveShow from "../../../../assets/images/tag-liveshow.png";
|
||||
//import { sendBroadCast } from "../../../actions/commonActions";
|
||||
import { pushPanel } from '../../../actions/panelActions';
|
||||
import { pushPanel } from "../../../actions/panelActions";
|
||||
import {
|
||||
finishVideoPreview,
|
||||
startVideoPlayer,
|
||||
} from '../../../actions/playActions';
|
||||
import CustomImage from '../../../components/CustomImage/CustomImage';
|
||||
import useLogService from '../../../hooks/useLogService';
|
||||
import usePriceInfo from '../../../hooks/usePriceInfo';
|
||||
import {
|
||||
LOG_MENU,
|
||||
LOG_TP_NO,
|
||||
panel_names,
|
||||
} from '../../../utils/Config';
|
||||
import {
|
||||
$L,
|
||||
formatGMTString,
|
||||
} from '../../../utils/helperMethods';
|
||||
import css from './RandomUnit.module.less';
|
||||
} from "../../../actions/playActions";
|
||||
import CustomImage from "../../../components/CustomImage/CustomImage";
|
||||
import useLogService from "../../../hooks/useLogService";
|
||||
import usePriceInfo from "../../../hooks/usePriceInfo";
|
||||
import { LOG_MENU, LOG_TP_NO, panel_names } from "../../../utils/Config";
|
||||
import { $L, formatGMTString } from "../../../utils/helperMethods";
|
||||
import css from "./RandomUnit.module.less";
|
||||
|
||||
const SpottableComponent = Spottable("div");
|
||||
|
||||
@@ -363,17 +348,17 @@ export default function RandomUnit({
|
||||
1000
|
||||
);
|
||||
}
|
||||
if(!isFocused){
|
||||
if (!isFocused) {
|
||||
setVideoError(false);
|
||||
dispatch(finishVideoPreview());
|
||||
}
|
||||
return () => {
|
||||
clearTimeout(timerRef.current);
|
||||
}
|
||||
};
|
||||
}, [isFocused]);
|
||||
|
||||
useEffect(() => {
|
||||
if (isFocused && broadcast?.type === "videoError"){
|
||||
if (isFocused && broadcast?.type === "videoError") {
|
||||
clearTimeout(timerRef.current);
|
||||
setVideoError(true);
|
||||
dispatch(finishVideoPreview());
|
||||
@@ -459,7 +444,7 @@ export default function RandomUnit({
|
||||
/>
|
||||
)}
|
||||
<p className={css.errorText}>
|
||||
Click the screen to see more products!
|
||||
{$L("Click the screen to see more products!")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user