best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
web/translations: handle error contexts
wukkoc0284fac13e8
diff --git a/web/src/components/save/buttons/DownloadButton.svelte b/web/src/components/save/buttons/DownloadButton.svelteindex 60173fb0..a75f7823 100644--- a/web/src/components/save/buttons/DownloadButton.svelte+++ b/web/src/components/save/buttons/DownloadButton.svelte@@ -77,7 +77,7 @@return createDialog({...defaultErrorPopup,- bodyText: $t(response.error.code),+ bodyText: $t(response.error.code, response?.error?.context),});}diff --git a/web/src/lib/i18n/translations.ts b/web/src/lib/i18n/translations.tsindex 21ed9abf..24dc3057 100644--- a/web/src/lib/i18n/translations.ts+++ b/web/src/lib/i18n/translations.ts@@ -25,6 +25,8 @@ const defaultLocale = 'en';const config: Config<{value?: string;formats?: string;+ limit?: number;+ service?: string;}> = {fallbackLocale: defaultLocale,translations: Object.keys(parsedLocfiles).reduce((obj, lang) => {