[PlayerPanel] TabContents Loading text

This commit is contained in:
고동영
2024-05-28 15:43:47 +09:00
parent 3a7d481436
commit 17238c8b0b
5 changed files with 11 additions and 6 deletions

View File

@@ -148,10 +148,12 @@
"An unknown error has occured.": "An unknown error has occured.",
"LIVE CHANNEL": "LIVE CHANNEL",
"FEATURED SHOWS": "FEATURED SHOWS",
"Loading Product Details. Please Wait...": "Loading Product Details. Please Wait...",
"Details. Please Wait...": "Details. Please Wait...",
"SORRY, NO RESULTS MATCHING YOUR SEARCH": "SORRY, NO RESULTS MATCHING YOUR SEARCH",
"Hot Picks": "Hot Picks",
"Shows": "Shows",
"Show": "Show",
"Product": "Product",
"Items": "Items",
"Theme Menu": "Theme Menu",
"Your coupon download is complete.": "Your coupon download is complete.",

View File

@@ -8,6 +8,7 @@ import defaultImage from "../../../../../assets/images/img-thumb-empty-144@3x.pn
import { updatePanel } from "../../../../actions/panelActions";
import TVirtualGridList from "../../../../components/TVirtualGridList/TVirtualGridList";
import { panel_names } from "../../../../utils/Config";
import { $L } from "../../../../utils/helperMethods";
import PlayerItemCard, { TYPES } from "../../PlayerItemCard/PlayerItemCard";
import css from "./LiveChannelContents.module.less";
import PlayerTabLoading from "./PlayerTabLoading";
@@ -82,7 +83,7 @@ export default function FeaturedShowContents({
noScrollByWheel={false}
/>
) : (
<PlayerTabLoading />
<PlayerTabLoading textType={$L("Show")} />
)}
</div>
</>

View File

@@ -78,7 +78,7 @@ export default function LiveChannelContents({
noScrollByWheel={false}
/>
) : (
<PlayerTabLoading />
<PlayerTabLoading textType={$L("Show")} />
)}
</div>
</>

View File

@@ -4,11 +4,13 @@ import loading from "../../../../../assets/images/img-contents-loading@3x.png";
import { $L } from "../../../../utils/helperMethods";
import css from "./PlayerTabLoading.module.less";
export default function PlayerTabLoading() {
export default function PlayerTabLoading(textType) {
return (
<div className={css.loadingContainer}>
<img src={loading} alt="" />
<div>{$L("Loading Product Details. Please Wait...")}</div>
<div>
{$L("Loading") + " " + textType + " " + "Details. Please Wait..."}
</div>
</div>
);
}

View File

@@ -116,7 +116,7 @@ export default function ShopNowContents({
noScrollByWheel={false}
/>
) : (
<PlayerTabLoading />
<PlayerTabLoading textType={$L("Product")} />
)}
</Container>
</>