[PlayerPanel] TabContents Loading text
This commit is contained in:
@@ -148,10 +148,12 @@
|
|||||||
"An unknown error has occured.": "An unknown error has occured.",
|
"An unknown error has occured.": "An unknown error has occured.",
|
||||||
"LIVE CHANNEL": "LIVE CHANNEL",
|
"LIVE CHANNEL": "LIVE CHANNEL",
|
||||||
"FEATURED SHOWS": "FEATURED SHOWS",
|
"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",
|
"SORRY, NO RESULTS MATCHING YOUR SEARCH": "SORRY, NO RESULTS MATCHING YOUR SEARCH",
|
||||||
"Hot Picks": "Hot Picks",
|
"Hot Picks": "Hot Picks",
|
||||||
"Shows": "Shows",
|
"Shows": "Shows",
|
||||||
|
"Show": "Show",
|
||||||
|
"Product": "Product",
|
||||||
"Items": "Items",
|
"Items": "Items",
|
||||||
"Theme Menu": "Theme Menu",
|
"Theme Menu": "Theme Menu",
|
||||||
"Your coupon download is complete.": "Your coupon download is complete.",
|
"Your coupon download is complete.": "Your coupon download is complete.",
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import defaultImage from "../../../../../assets/images/img-thumb-empty-144@3x.pn
|
|||||||
import { updatePanel } from "../../../../actions/panelActions";
|
import { updatePanel } from "../../../../actions/panelActions";
|
||||||
import TVirtualGridList from "../../../../components/TVirtualGridList/TVirtualGridList";
|
import TVirtualGridList from "../../../../components/TVirtualGridList/TVirtualGridList";
|
||||||
import { panel_names } from "../../../../utils/Config";
|
import { panel_names } from "../../../../utils/Config";
|
||||||
|
import { $L } from "../../../../utils/helperMethods";
|
||||||
import PlayerItemCard, { TYPES } from "../../PlayerItemCard/PlayerItemCard";
|
import PlayerItemCard, { TYPES } from "../../PlayerItemCard/PlayerItemCard";
|
||||||
import css from "./LiveChannelContents.module.less";
|
import css from "./LiveChannelContents.module.less";
|
||||||
import PlayerTabLoading from "./PlayerTabLoading";
|
import PlayerTabLoading from "./PlayerTabLoading";
|
||||||
@@ -82,7 +83,7 @@ export default function FeaturedShowContents({
|
|||||||
noScrollByWheel={false}
|
noScrollByWheel={false}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<PlayerTabLoading />
|
<PlayerTabLoading textType={$L("Show")} />
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export default function LiveChannelContents({
|
|||||||
noScrollByWheel={false}
|
noScrollByWheel={false}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<PlayerTabLoading />
|
<PlayerTabLoading textType={$L("Show")} />
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -4,11 +4,13 @@ import loading from "../../../../../assets/images/img-contents-loading@3x.png";
|
|||||||
import { $L } from "../../../../utils/helperMethods";
|
import { $L } from "../../../../utils/helperMethods";
|
||||||
import css from "./PlayerTabLoading.module.less";
|
import css from "./PlayerTabLoading.module.less";
|
||||||
|
|
||||||
export default function PlayerTabLoading() {
|
export default function PlayerTabLoading(textType) {
|
||||||
return (
|
return (
|
||||||
<div className={css.loadingContainer}>
|
<div className={css.loadingContainer}>
|
||||||
<img src={loading} alt="" />
|
<img src={loading} alt="" />
|
||||||
<div>{$L("Loading Product Details. Please Wait...")}</div>
|
<div>
|
||||||
|
{$L("Loading") + " " + textType + " " + "Details. Please Wait..."}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ export default function ShopNowContents({
|
|||||||
noScrollByWheel={false}
|
noScrollByWheel={false}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<PlayerTabLoading />
|
<PlayerTabLoading textType={$L("Product")} />
|
||||||
)}
|
)}
|
||||||
</Container>
|
</Container>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user