diff --git a/api/src/processing/services/youtube.js b/api/src/processing/services/youtube.js index cf83fbd0..46f72a5b 100644 --- a/api/src/processing/services/youtube.js +++ b/api/src/processing/services/youtube.js @@ -243,11 +243,13 @@ export default async function(o) { } if (basicInfo?.short_description?.startsWith("Provided to YouTube by")) { - let descItems = basicInfo.short_description.split("\n\n"); - fileMetadata.album = descItems[2]; - fileMetadata.copyright = descItems[3]; - if (descItems[4].startsWith("Released on:")) { - fileMetadata.date = descItems[4].replace("Released on: ", '').trim() + let descItems = basicInfo.short_description.split("\n\n", 5); + if (descItems.length === 5) { + fileMetadata.album = descItems[2]; + fileMetadata.copyright = descItems[3]; + if (descItems[4].startsWith("Released on:")) { + fileMetadata.date = descItems[4].replace("Released on: ", '').trim(); + } } } diff --git a/web/i18n/en/about.json b/web/i18n/en/about.json index b441512e..ca65523e 100644 --- a/web/i18n/en/about.json +++ b/web/i18n/en/about.json @@ -26,5 +26,6 @@ "heading.plausible": "anonymous traffic analytics", "heading.cloudflare": "web privacy & security", "heading.responsibility": "user responsibilities", - "heading.abuse": "reporting abuse" + "heading.abuse": "reporting abuse", + "heading.motivation": "motivation" } diff --git a/web/i18n/en/about/general.md b/web/i18n/en/about/general.md index 333e119e..8f9a13fd 100644 --- a/web/i18n/en/about/general.md +++ b/web/i18n/en/about/general.md @@ -5,15 +5,27 @@ import SectionHeading from "$components/misc/SectionHeading.svelte"; -
+
-cobalt lets you save anything from your favorite websites: video, audio, photos or gifs — cobalt can do it all! +cobalt helps you save anything from your favorite websites: video, audio, photos or gifs. just paste the link and you're ready to rock! -no ads, trackers, or paywalls, no nonsense. just a convenient web app that works everywhere. +no ads, trackers, paywalls, or other nonsense. just a convenient web app that works anywhere and whenever you need it. +
+ +
+ + +cobalt was created for public benefit, to protect people from ads and malware pushed by alternatives. +we believe that the best software is safe, open, and accessible. + +it's possible thanks to our long-standing infrastructure partner, [royalehosting.net]({partners.royalehosting})!
@@ -44,9 +56,6 @@ cobalt is extremely efficient and a processing server can run on basically any h main processing instances are hosted on several dedicated servers in several countries, to reduce latency and distribute the traffic. - -we constantly improve our infrastructure along with our long-standing partner, [royalehosting.net]({partners.royalehosting})! -you're in good hands, and will get what you need within seconds.
diff --git a/web/i18n/en/donate.json b/web/i18n/en/donate.json index bf99eb80..db298e71 100644 --- a/web/i18n/en/donate.json +++ b/web/i18n/en/donate.json @@ -6,10 +6,10 @@ "body.keep_going": "you can help us stay motivated & keep creating safe alternatives to abusive tools by sharing cobalt with a friend or donating.", "card.once": "one-time donation", - "card.monthly": "monthly donation", + "card.recurring": "recurring donation", "card.custom": "custom amount (from $2)", - "card.processor": "processed by {{value}}", + "card.processor": "via {{value}}", "card.option.5": "cup of coffee", "card.option.10": "full size pizza", diff --git a/web/src/components/donate/DonateBanner.svelte b/web/src/components/donate/DonateBanner.svelte index 91d24203..0b2f1fb1 100644 --- a/web/src/components/donate/DonateBanner.svelte +++ b/web/src/components/donate/DonateBanner.svelte @@ -114,7 +114,7 @@ flex-direction: column; justify-content: center; color: white; - padding: 48px; + padding: 47px; padding-right: 0; gap: 14px; white-space: pre-wrap; diff --git a/web/src/components/donate/DonateCardContainer.svelte b/web/src/components/donate/DonateCardContainer.svelte index db4f6cab..026c133b 100644 --- a/web/src/components/donate/DonateCardContainer.svelte +++ b/web/src/components/donate/DonateCardContainer.svelte @@ -9,7 +9,7 @@ diff --git a/web/src/components/donate/DonateOptionsCard.svelte b/web/src/components/donate/DonateOptionsCard.svelte index 4a162519..2cb29a1c 100644 --- a/web/src/components/donate/DonateOptionsCard.svelte +++ b/web/src/components/donate/DonateOptionsCard.svelte @@ -1,5 +1,8 @@ @@ -84,12 +113,13 @@
+ -
- {#each Object.entries(PRESET_DONATION_AMOUNTS) as [ amount, component ]} - - - - {/each} + + +
{#if customInputValue || customInput?.validity.badInput} $ {/if} + e.key === "Enter" && sendCustom()} />
+
- diff --git a/web/src/components/donate/DonateShareCard.svelte b/web/src/components/donate/DonateShareCard.svelte index 3225c7ad..e73f834a 100644 --- a/web/src/components/donate/DonateShareCard.svelte +++ b/web/src/components/donate/DonateShareCard.svelte @@ -111,8 +111,9 @@