i18n ads
This commit is contained in:
parent
6fb2e02e3a
commit
beeec64271
2 changed files with 7 additions and 5 deletions
|
@ -1084,7 +1084,8 @@
|
||||||
"Trending For Your Tags": "Trending For Your Tags",
|
"Trending For Your Tags": "Trending For Your Tags",
|
||||||
"Latest From @lbry": "Latest From @lbry",
|
"Latest From @lbry": "Latest From @lbry",
|
||||||
"Latest From @lbrycast": "Latest From @lbrycast",
|
"Latest From @lbrycast": "Latest From @lbrycast",
|
||||||
"Hate these? %log_in_to_domain% or %download_the_app% for an ad free experience.": "Hate these? %log_in_to_domain% or %download_the_app% for an ad free experience.",
|
"Hate these? %log_in_to_domain% for an ad free experience.": "Hate these? %log_in_to_domain% for an ad free experience.",
|
||||||
|
"Hate these? Login to Odysee for an ad free experience": "Hate these? Login to Odysee for an ad free experience",
|
||||||
"Log in to %domain%": "Log in to %domain%",
|
"Log in to %domain%": "Log in to %domain%",
|
||||||
"odysee collects usage information for itself only (%more_information%).": "odysee collects usage information for itself only (%more_information%).",
|
"odysee collects usage information for itself only (%more_information%).": "odysee collects usage information for itself only (%more_information%).",
|
||||||
"odysee collects usage information for itself only (%more_information%). Want control over this and more?": "odysee collects usage information for itself only (%more_information%). Want control over this and more?",
|
"odysee collects usage information for itself only (%more_information%). Want control over this and more?": "odysee collects usage information for itself only (%more_information%). Want control over this and more?",
|
||||||
|
|
|
@ -172,8 +172,9 @@ function HomePage(props: Props) {
|
||||||
clonedCard.querySelector('.claim__menu-button').remove();
|
clonedCard.querySelector('.claim__menu-button').remove();
|
||||||
|
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
clonedCard.querySelector('.truncated-text').innerHTML =
|
clonedCard.querySelector('.truncated-text').innerHTML = __(
|
||||||
'Hate these? Login to Odysee for an ad free experience';
|
'Hate these? Login to Odysee for an ad free experience'
|
||||||
|
);
|
||||||
|
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
clonedCard.querySelector('.claim-tile__info').remove();
|
clonedCard.querySelector('.claim-tile__info').remove();
|
||||||
|
@ -206,12 +207,12 @@ function HomePage(props: Props) {
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
const imageWidth = window.getComputedStyle(lastCard.querySelector('.media__thumb')).width;
|
const imageWidth = window.getComputedStyle(lastCard.querySelector('.media__thumb')).width;
|
||||||
|
|
||||||
var styles = `#av-container, #AVcontent, #aniBox {
|
const styles = `#av-container, #AVcontent, #aniBox {
|
||||||
height: ${imageHeight} !important;
|
height: ${imageHeight} !important;
|
||||||
width: ${imageWidth} !important;
|
width: ${imageWidth} !important;
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
var styleSheet = document.createElement('style');
|
const styleSheet = document.createElement('style');
|
||||||
styleSheet.type = 'text/css';
|
styleSheet.type = 'text/css';
|
||||||
styleSheet.innerText = styles;
|
styleSheet.innerText = styles;
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
|
|
Loading…
Reference in a new issue