Select browser to use cookies from ℹ️
@@ -126,7 +125,6 @@
Preferences
-
diff --git a/package.json b/package.json
index ab6162c..acdff38 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"yt-dlp-wrap-plus": "^2.3.18"
},
"name": "ytdownloader",
- "version": "3.16.0",
+ "version": "3.16.1",
"main": "main.js",
"scripts": {
"start": "electron .",
diff --git a/src/translate_preferences.js b/src/translate_preferences.js
index 0519a66..6e8baa9 100644
--- a/src/translate_preferences.js
+++ b/src/translate_preferences.js
@@ -1,3 +1,5 @@
+const { shell } = require("electron");
+
function getId(id) {
return document.getElementById(id);
}
@@ -37,3 +39,12 @@ getId("trayTxt").textContent = i18n.__("Close app to system tray");
getId("autoUpdateTxt").textContent = i18n.__("Disable auto updates");
getId("showMoreFormatsTxt").textContent = i18n.__("Show more format options");
getId("preferredVideoCodecTxt").textContent = i18n.__("Preferred video codec");
+
+if (process.env.FLATPAK_ID) {
+ getId("flatpakTxt").textContent = i18n.__(
+ "You need to give the app permission to access home directory to use this. You can do it with Flatseal by enabling the permission with text 'filesystem=home'"
+ );
+ getId("flatpakTxt").addEventListener("click", () => {
+ shell.openExternal("https://flathub.org/apps/com.github.tchx84.Flatseal")
+ })
+}
diff --git a/translations/en.json b/translations/en.json
index 9b95651..7c274f6 100644
--- a/translations/en.json
+++ b/translations/en.json
@@ -23,90 +23,91 @@
"Source Code is available ": "Source Code is available ",
"here": "here",
"Processing": "Processing",
- "Some error has occurred. Check your network and use correct URL":"Some error has occurred. Check your network and use correct URL",
+ "Some error has occurred. Check your network and use correct URL": "Some error has occurred. Check your network and use correct URL",
"Failed to download necessary files. Please check your network and try again": "Failed to download necessary files. Please check your network and try again",
- "Try again":"Try again",
- "Unknown size":"Unknown size",
- "MB":"MB",
- "Unknown quality":"Unknown quality",
- "Downloading...":"Downloading...",
- "Some error has occurred. Hover to see details":"Some error has occurred. Hover to see details",
- "File saved successfully":"File saved successfully",
- "File saved. Click to Open":"File saved. Click to Open",
- "Preparing...":"Preparing...",
- "Progress":"Progress",
- "Speed":"Speed",
- "Quality":"Quality",
- "Restart app":"Restart app",
- "Subtitles":"Subtitles",
- "Download subtitles if available":"Download subtitles if available",
- "Download auto generated subtitles":"Download auto generated subtitles",
- "Extract Audio from Video":"Extract Audio from Video",
- "Extract":"Extract",
- "Downloading necessary files":"Downloading necessary files",
- "low":"low",
- "medium":"medium",
- "ytDownloader lets you download videos and audios from hundreds of sites like Youtube, Facebook, Instagram, Tiktok, Twitter and so on":"ytDownloader lets you download videos and audios from hundreds of sites like Youtube, Facebook, Instagram, Tiktok, Twitter and so on",
+ "Try again": "Try again",
+ "Unknown size": "Unknown size",
+ "MB": "MB",
+ "Unknown quality": "Unknown quality",
+ "Downloading...": "Downloading...",
+ "Some error has occurred. Hover to see details": "Some error has occurred. Hover to see details",
+ "File saved successfully": "File saved successfully",
+ "File saved. Click to Open": "File saved. Click to Open",
+ "Preparing...": "Preparing...",
+ "Progress": "Progress",
+ "Speed": "Speed",
+ "Quality": "Quality",
+ "Restart app": "Restart app",
+ "Subtitles": "Subtitles",
+ "Download subtitles if available": "Download subtitles if available",
+ "Download auto generated subtitles": "Download auto generated subtitles",
+ "Extract Audio from Video": "Extract Audio from Video",
+ "Extract": "Extract",
+ "Downloading necessary files": "Downloading necessary files",
+ "low": "low",
+ "medium": "medium",
+ "ytDownloader lets you download videos and audios from hundreds of sites like Youtube, Facebook, Instagram, Tiktok, Twitter and so on": "ytDownloader lets you download videos and audios from hundreds of sites like Youtube, Facebook, Instagram, Tiktok, Twitter and so on",
"Click to paste video link from clipboard [Ctrl + V]": "Click to paste video link from clipboard [Ctrl + V]",
"Click to paste playlist link from clipboard [Ctrl + V]": "Click to paste playlist link from clipboard [Ctrl + V]",
"Link:": "Link:",
"Downloading playlist:": "Downloading playlist:",
- "Download playlist":"Download playlist",
- "Playlist downloaded":"Playlist downloaded",
- "This option lets you download restricted content. You will get errors if cookies are not there":"This option lets you download restricted content. You will get errors if cookies are not there",
- "Select browser to use cookies from":"Select browser to use cookies from",
- "None":"None",
- "A new version is available, do you want to download it?":"A new version is available, do you want to download it?",
- "A new version is available, do you want to update?":"A new version is available, do you want to update?",
- "Update":"Update",
- "No":"No",
- "Install and restart now?":"Install and restart now?",
- "Restart":"Restart",
- "Later":"Later",
- "Extract Audio":"Extract Audio",
- "Select Video Format ":"Select Video Format ",
- "Select Audio Format ":"Select Audio Format ",
- "Maximum number of active downloads":"Maximum number of active downloads",
+ "Download playlist": "Download playlist",
+ "Playlist downloaded": "Playlist downloaded",
+ "This option lets you download restricted content. You will get errors if cookies are not there": "This option lets you download restricted content. You will get errors if cookies are not there",
+ "Select browser to use cookies from": "Select browser to use cookies from",
+ "None": "None",
+ "A new version is available, do you want to download it?": "A new version is available, do you want to download it?",
+ "A new version is available, do you want to update?": "A new version is available, do you want to update?",
+ "Update": "Update",
+ "No": "No",
+ "Install and restart now?": "Install and restart now?",
+ "Restart": "Restart",
+ "Later": "Later",
+ "Extract Audio": "Extract Audio",
+ "Select Video Format ": "Select Video Format ",
+ "Select Audio Format ": "Select Audio Format ",
+ "Maximum number of active downloads": "Maximum number of active downloads",
"Preferred video quality": "Preferred video quality",
"Preferred audio format": "Preferred audio format",
"Best": "Best",
- "File saved.":"File saved.",
- "Open download folder":"Open download folder",
- "Path:":"Path:",
- "Select config file":"Select config file",
- "Use configuration file":"Use configuration file",
- "Filename format for playlists":"Filename format for playlists",
- "Folder name format for playlists":"Folder name format for playlists",
- "Reset to default":"Reset to default",
- "Playlist range":"Playlist range",
+ "File saved.": "File saved.",
+ "Open download folder": "Open download folder",
+ "Path:": "Path:",
+ "Select config file": "Select config file",
+ "Use configuration file": "Use configuration file",
+ "Filename format for playlists": "Filename format for playlists",
+ "Folder name format for playlists": "Folder name format for playlists",
+ "Reset to default": "Reset to default",
+ "Playlist range": "Playlist range",
"Thumbnail": "Thumbnail",
- "Link added":"Link added",
- "Download thumbnails":"Download thumbnails",
+ "Link added": "Link added",
+ "Download thumbnails": "Download thumbnails",
"Save video links to a file": "Save video links to a file",
- "Close app to system tray":"Close app to system tray",
- "Use config file":"Use config file",
- "Open app":"Open app",
- "Paste video link":"Paste video link",
- "Quit":"Quit",
- "Error Details":"Error Details",
- "Click to copy":"Click to copy",
- "Copied text":"Copied text",
- "Normal":"Normal",
- "Good":"Good",
- "Bad":"Bad",
- "Worst":"Worst",
- "Select Quality":"Select Quality",
- "Disable auto updates":"Disable auto updates",
- "ultralow":"ultralow",
- "Close app when download finishes":"Close app when download finishes",
- "Auto":"Auto",
- "Theme":"Theme",
- "Light":"Light",
- "Dark":"Dark",
- "Frappé":"Frappé",
- "One Dark":"One Dark",
- "Matrix":"Matrix",
+ "Close app to system tray": "Close app to system tray",
+ "Use config file": "Use config file",
+ "Open app": "Open app",
+ "Paste video link": "Paste video link",
+ "Quit": "Quit",
+ "Error Details": "Error Details",
+ "Click to copy": "Click to copy",
+ "Copied text": "Copied text",
+ "Normal": "Normal",
+ "Good": "Good",
+ "Bad": "Bad",
+ "Worst": "Worst",
+ "Select Quality": "Select Quality",
+ "Disable auto updates": "Disable auto updates",
+ "ultralow": "ultralow",
+ "Close app when download finishes": "Close app when download finishes",
+ "Auto": "Auto",
+ "Theme": "Theme",
+ "Light": "Light",
+ "Dark": "Dark",
+ "Frappé": "Frappé",
+ "One Dark": "One Dark",
+ "Matrix": "Matrix",
"Solarized Dark": "Solarized Dark",
"Preferred video codec": "Preferred video codec",
- "Show more format options": "Show more format options"
+ "Show more format options": "Show more format options",
+ "You need to give the app permission to access home directory to use this. You can do it with Flatseal by enabling the permission with text 'filesystem=home'": "You need to give the app permission to access home directory to use this. You can do it with Flatseal by enabling the permission with text 'filesystem=home'"
}