Skip to content

Commit

Permalink
german translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Aug 24, 2023
1 parent ca8eb54 commit b753559
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chrome/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h2 id="openVideoSettings" i18n>SharedPageTitle</h2>
<span class="slider round"></span>
</label>
</div>
<div class="line" style="width: 400px"><i18n>gotoIndividual</i18n><a href="settings.html" target="_blank" style="color: white" i18n>extendedSettings</a></div>
<div class="line" style="width: 350px"><i18n>gotoIndividual</i18n><a href="settings.html" target="_blank" style="color: white" i18n>extendedSettings</a></div>
</div>
</div>
<div class="categoryPrime">
Expand Down
16 changes: 16 additions & 0 deletions firefox/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,21 @@
},
"noWrap": {
"message": "unset"
},

"WatchCreditsSwitch": {
"message": "Credits ansehen:"
},
"WatchCreditsSwitchDescription": {
"message": "Sich immer den Abspann jeder Serie ansehen"
},
"gotoIndividual": {
"message": "Für die individuellen Streaming-Dienst Einstellungen gehen Sie auf die "
},
"extendedSettings": {
"message": "erweiterte Einstellungen"
},
"conflictingTitle": {
"message": "Alle widersprüchlichen Funktionen"
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,8 @@
},
"extendedSettings": {
"message": "extended Settings"
},
"conflictingTitle": {
"message": "All conflicting Features"
}
}
2 changes: 1 addition & 1 deletion firefox/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h2 id="openVideoSettings" i18n>SharedPageTitle</h2>
<span class="slider round"></span>
</label>
</div>
<div class="line" style="width: 400px"><i18n>gotoIndividual</i18n><a href="settings.html" target="_blank" style="color: white" i18n>extendedSettings</a></div>
<div class="line" style="width: 350px"><i18n>gotoIndividual</i18n><a href="settings.html" target="_blank" style="color: white" i18n>extendedSettings</a></div>
</div>
</div>
<div class="categoryPrime">
Expand Down
11 changes: 11 additions & 0 deletions firefox/popup/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,17 @@ <h1 i18n>defaultPageTitle</h1>
</label>
</div>
<p class="description" i18n>DefaultPaidContentDescription</p>

<h1 i18n>conflictingTitle</h1>
<hr />
<div class="line flex">
<p i18n>WatchCreditsSwitch</p>
<label class="switch">
<input type="checkbox" id="VideoWatchCredits" />
<span class="slider round"></span>
</label>
</div>
<p class="description" i18n>WatchCreditsSwitchDescription</p>
</div>
<div class="categoryVideo" id="VideoSettings" style="background-color: unset">
<div class="flex flex-between" style="padding: 5px 5px">
Expand Down
6 changes: 4 additions & 2 deletions firefox/popup/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ function setCheckboxesToSettings() {
if (button) button.checked = settings?.Amazon.skipIntro && settings?.Netflix.skipIntro && settings?.Disney.skipIntro;
button = document.querySelector("#VideoCredits");
if (button) button.checked = settings?.Amazon.skipCredits && settings?.Netflix.skipCredits && settings?.Disney.skipCredits;
button = document.querySelector("#VideoWatchCredits");
if (button) button.checked = settings?.Amazon.watchCredits && settings?.Netflix.watchCredits && settings?.Disney.watchCredits;
button = document.querySelectorAll("#VideoWatchCredits");
for (const b of button) {
b.checked = settings?.Amazon.watchCredits && settings?.Netflix.watchCredits && settings?.Disney.watchCredits;
}
button = document.querySelector("#VideoAds");
if (button) button.checked = settings?.Amazon.blockFreevee && settings?.Netflix.NetflixAds;
button = document.querySelector("#VideoSpeedSlider");
Expand Down

0 comments on commit b753559

Please sign in to comment.