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",
|
||||
"Latest From @lbry": "Latest From @lbry",
|
||||
"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%",
|
||||
"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?",
|
||||
|
|
|
@ -172,8 +172,9 @@ function HomePage(props: Props) {
|
|||
clonedCard.querySelector('.claim__menu-button').remove();
|
||||
|
||||
// $FlowFixMe
|
||||
clonedCard.querySelector('.truncated-text').innerHTML =
|
||||
'Hate these? Login to Odysee for an ad free experience';
|
||||
clonedCard.querySelector('.truncated-text').innerHTML = __(
|
||||
'Hate these? Login to Odysee for an ad free experience'
|
||||
);
|
||||
|
||||
// $FlowFixMe
|
||||
clonedCard.querySelector('.claim-tile__info').remove();
|
||||
|
@ -206,12 +207,12 @@ function HomePage(props: Props) {
|
|||
// $FlowFixMe
|
||||
const imageWidth = window.getComputedStyle(lastCard.querySelector('.media__thumb')).width;
|
||||
|
||||
var styles = `#av-container, #AVcontent, #aniBox {
|
||||
const styles = `#av-container, #AVcontent, #aniBox {
|
||||
height: ${imageHeight} !important;
|
||||
width: ${imageWidth} !important;
|
||||
}`;
|
||||
|
||||
var styleSheet = document.createElement('style');
|
||||
const styleSheet = document.createElement('style');
|
||||
styleSheet.type = 'text/css';
|
||||
styleSheet.innerText = styles;
|
||||
// $FlowFixMe
|
||||
|
|
Loading…
Reference in a new issue