mirror of https://github.com/FreeTubeApp/FreeTube
Fix issue with translation files not compiling during build.
This commit is contained in:
parent
e2e6fc6e9e
commit
6a6e5457d4
|
@ -7,3 +7,5 @@ subscriptions\.db
|
|||
*.db
|
||||
|
||||
electron-packager/win32-x64/FreeTube-win32-x64/
|
||||
|
||||
dist/
|
||||
|
|
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"File": "File",
|
||||
"Quit": "Quit",
|
||||
"Edit": "Edit",
|
||||
"Undo": "Undo",
|
||||
"Redo": "Redo",
|
||||
"Cut": "Cut",
|
||||
"Copy": "Copy",
|
||||
"Paste": "Paste",
|
||||
"Delete": "Delete",
|
||||
"Select all": "Select all",
|
||||
"View": "View",
|
||||
"Reload": "Reload",
|
||||
"Force Reload": "Force Reload",
|
||||
"Toggle Developer Tools": "Toggle Developer Tools",
|
||||
"Actual size": "Actual size",
|
||||
"Zoom in": "Zoom in",
|
||||
"Zoom out": "Zoom out",
|
||||
"Toggle fullscreen": "Toggle fullscreen",
|
||||
"Window": "Window",
|
||||
"Minimize": "Minimize",
|
||||
"Close": "Close",
|
||||
"FreeTube": "FreeTube",
|
||||
"Subscriptions": "Subscriptions",
|
||||
"Featured": "Featured",
|
||||
"Most Popular": "Most Popular",
|
||||
"Saved": "Saved",
|
||||
"Playlists": "Playlists",
|
||||
"History": "History",
|
||||
"Settings": "Settings",
|
||||
"About": "About",
|
||||
"Search / Go to URL": "Search / Go to URL",
|
||||
"Search Results": "Search Results",
|
||||
"Subscriber": "Subscriber",
|
||||
"Subscriber": "Subscribers",
|
||||
"Video": "Video",
|
||||
"Videos": "Videos",
|
||||
"View Full Playlist": "View Full Playlist",
|
||||
"Live Now": "Live Now",
|
||||
"Fetch more results": "Fetch more results",
|
||||
"Fetching results. Please wait": "Fetching results. Please wait",
|
||||
"Latest Subscriptions": "Latest Subscriptions",
|
||||
"Save Video": "Save Video",
|
||||
"Remove Saved Video": "Remove Saved Video",
|
||||
"Open in YouTube": "Open in YouTube",
|
||||
"Copy YouTube Link": "Copy YouTube Link",
|
||||
"Open in HookTube": "Open in HookTube",
|
||||
"Copy HookTube Link": "Copy HookTube Link",
|
||||
"URL has been copied to the clipboard": "URL has been copied to the clipboard",
|
||||
"Found valid URL for 480p, but returned a 404. Video type might be available in the future.": "Found valid URL for 480p, but returned a 404. Video type might be available in the future.",
|
||||
"Save": "Save",
|
||||
"Mini Player": "Mini Player",
|
||||
"View": "View",
|
||||
"Views": "Views",
|
||||
"Subscribe": "Subscribe",
|
||||
"Unsubscribe": "Unsubscribe",
|
||||
"Published on": "Published on",
|
||||
"Jan": "Jan",
|
||||
"Feb": "Feb",
|
||||
"Mar": "Mar",
|
||||
"Apr": "Apr",
|
||||
"May": "May",
|
||||
"Jun": "Jun",
|
||||
"Jul": "Jul",
|
||||
"Aug": "Aug",
|
||||
"Sep": "Sep",
|
||||
"Oct": "Oct",
|
||||
"Nov": "Nov",
|
||||
"Dec": "Dec",
|
||||
"Show Comments": "Show Comments",
|
||||
"Max of 100": "Max of 100",
|
||||
"Recommendations": "Recommendations",
|
||||
"Latest Subscriptions": "Latest Subscriptions",
|
||||
"Getting Subscriptions. Please wait...": "Getting Subscriptions. Please wait...",
|
||||
"Your Subscription list is currently empty. Start adding subscriptions to see them here.": "Your Subscription list is currently empty. Start adding subscriptions to see them here.",
|
||||
"Saved Videos": "Saved Videos",
|
||||
"Watch History": "Watch History",
|
||||
"API Key": "API Key",
|
||||
"Set API Key: Leave blank to use default": "Set API Key: Leave blank to use default",
|
||||
"Use Dark Theme": "Use Dark Theme",
|
||||
"Import Subscriptions": "Import Subscriptions",
|
||||
"Export Subscriptions": "Export Subscriptions",
|
||||
"Clear History": "Clear History",
|
||||
"Are you sure you want to delete your history?": "Are you sure you want to delete your history?",
|
||||
"Clear Saved Videos": "Clear Saved Videos",
|
||||
"Are you sure you want to remove all saved videos?": "Are you sure you want to remove all saved videos?",
|
||||
"Clear Subscriptions": "Clear Subscriptions",
|
||||
"Are you sure you want to remove all subscriptions?": "Are you sure you want to remove all subscriptions?",
|
||||
"Save Settings": "Save Settings",
|
||||
"Yes": "Yes",
|
||||
"No": "No",
|
||||
"Beta": "Beta",
|
||||
"This software is FOSS and released under the GNU Public License v3+.": "This software is FOSS and released under the GNU Public License v3+.",
|
||||
"Found a bug? Want to suggest a feature? Want to help out? Check out our GitHub page. Pull requests are welcome.": "Found a bug? Want to suggest a feature? Want to help out? Check out our GitHub page. Pull requests are welcome."
|
||||
}
|
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"File": "Bestand",
|
||||
"Quit": "Afluiten",
|
||||
"Edit": "Bewerken",
|
||||
"Undo": "Ongedaan maken",
|
||||
"Redo": "Opnieuw",
|
||||
"Cut": "Knippen",
|
||||
"Copy": "Kopiëren",
|
||||
"Paste": "Plakken",
|
||||
"Delete": "Verwijderen",
|
||||
"Select all": "Alles selecteren",
|
||||
"View": "Weergave",
|
||||
"Reload": "Herladen",
|
||||
"Force Reload": "Herladen forceren",
|
||||
"Toggle Developer Tools": "Hulpprogramma's voor ontwikkelaars",
|
||||
"Actual size": "Daadwerkelijke grootte",
|
||||
"Zoom in": "Zoom in",
|
||||
"Zoom out": "Zoom uit",
|
||||
"Toggle fullscreen": "Volledig scherm",
|
||||
"Window": "Venster",
|
||||
"Minimize": "Minimaliseren",
|
||||
"Close": "Sluiten",
|
||||
"FreeTube": "FreeTube",
|
||||
"Subscriptions": "Abonnementen",
|
||||
"Featured": "Uitgelicht",
|
||||
"Most Popular": "Populair",
|
||||
"Saved": "Opgeslagen",
|
||||
"Playlists": "Afspeellijsten",
|
||||
"History": "Geschiedenis",
|
||||
"Settings": "Instellingen",
|
||||
"About": "Over",
|
||||
"Search / Go to URL": "Zoeken / Ga naar URL",
|
||||
"Search Results": "Zoekresultaten",
|
||||
"Subscriber": "Abonnee",
|
||||
"Subscriber": "Abonnees",
|
||||
"Video": "Video",
|
||||
"Videos": "Videos",
|
||||
"View Full Playlist": "Volledige afspeellijst weergeven",
|
||||
"Live Now": "Nu Live",
|
||||
"Fetch more results": "Meer resultaten ophalen",
|
||||
"Fetching results. Please wait": "Resultaten ophalen. Een ogenblik geduld",
|
||||
"Latest Subscriptions": "Laatste abonnementen",
|
||||
"Save Video": "Video opslaan",
|
||||
"Remove Saved Video": "Opgeslagen video verwijderen",
|
||||
"Open in YouTube": "Open in YouTube",
|
||||
"Copy YouTube Link": "Kopieer YouTube Link",
|
||||
"Open in HookTube": "Open in HookTube",
|
||||
"Copy HookTube Link": "Kopieer HookTube Link",
|
||||
"URL has been copied to the clipboard": "URL is naar het klembord gekopieerd",
|
||||
"Found valid URL for 480p, but returned a 404. Video type might be available in the future.": "Geldige URL voor 480p gevonden, echter een 404 foutmelding ontvangen. Video is wellicht in de toekomst beschikbaar.",
|
||||
"Save": "Opslaan",
|
||||
"Mini Player": "Mini Speler",
|
||||
"View": "Weergave",
|
||||
"Views": "Weergaven",
|
||||
"Subscribe": "Abboneren",
|
||||
"Unsubscribe": "Afmelden",
|
||||
"Published on": "Gepubliceerd op",
|
||||
"Jan": "Jan",
|
||||
"Feb": "Feb",
|
||||
"Mar": "Maa",
|
||||
"Apr": "Apr",
|
||||
"May": "Mei",
|
||||
"Jun": "Jun",
|
||||
"Jul": "Jul",
|
||||
"Aug": "Aug",
|
||||
"Sep": "Sep",
|
||||
"Oct": "Okt",
|
||||
"Nov": "Nov",
|
||||
"Dec": "Dec",
|
||||
"Show Comments": "Commentaren weergeven",
|
||||
"Max of 100": "Maximaal 100",
|
||||
"Recommendations": "Aanbevelingen",
|
||||
"Latest Subscriptions": "Laatste abonnementen",
|
||||
"Getting Subscriptions. Please wait...": "Abonnementen worden opgehaald. Een ogenblik geduld...",
|
||||
"Your Subscription list is currently empty. Start adding subscriptions to see them here.": "Deze lijst is momenteel leeg. Voeg abonnementen toe om ze hier terug te zien.",
|
||||
"Saved Videos": "Opgeslagen Videos",
|
||||
"Watch History": "Geschiedenis",
|
||||
"API Key": "API Sleutel",
|
||||
"Set API Key: Leave blank to use default": "API sleutel instellen: Laat leeg om standaard te gebruiken",
|
||||
"Use Dark Theme": "Donker thema gebruiken",
|
||||
"Import Subscriptions": "Importeer Abonnementen",
|
||||
"Export Subscriptions": "Exporteer Abonnementen",
|
||||
"Clear History": "Geschiedenis wissen",
|
||||
"Are you sure you want to delete your history?": "Weet u zeker dat u de geschiedenis wilt wissen?",
|
||||
"Clear Saved Videos": "Opgeslagen videos verwijderen",
|
||||
"Are you sure you want to remove all saved videos?": "Weet u zeker dat u alle opgeslagen videos wilt verwijderen?",
|
||||
"Clear Subscriptions": "Abonnementen verwijderen",
|
||||
"Are you sure you want to remove all subscriptions?": "Weet u zeker dat u alle abonnementen wilt verwijderen?",
|
||||
"Save Settings": "Instellingen opslaan",
|
||||
"Yes": "Ja",
|
||||
"No": "Nee",
|
||||
"Beta": "Beta",
|
||||
"This software is FOSS and released under the GNU Public License v3+.": "Deze software is FOSS en gepubliceerd onder de GNU Public License v3+.",
|
||||
"Found a bug? Want to suggest a feature? Want to help out? Check out our GitHub page. Pull requests are welcome.": "Een bug gevonden? Graag iets toegevoegd zien? Wilt u helpen bij de ontwikkeling? Check de GitHub pagina. Pull requests zijn welkom."
|
||||
}
|
|
@ -5,7 +5,7 @@
|
|||
"description": "An Open Source YouTube app focused on privacy.",
|
||||
"main": "src/js/init.js",
|
||||
"scripts": {
|
||||
"start": "electron-forge start",
|
||||
"start": "electron .",
|
||||
"package": "electron-forge package",
|
||||
"make": "electron-forge make",
|
||||
"publish": "electron-forge publish",
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -51,11 +51,11 @@ function addSavedVideo(videoId){
|
|||
/**
|
||||
* Removes a video from the user's saved video database.
|
||||
*
|
||||
* @param {string} {videoId} - The video ID of the video that will be removed.
|
||||
* @param {string} videoId - The video ID of the video that will be removed.
|
||||
*
|
||||
* @return {Void}
|
||||
*/
|
||||
function removeSavedVideo(videoId: string){
|
||||
function removeSavedVideo(videoId, string){
|
||||
savedVidsDb.remove({
|
||||
videoId: videoId
|
||||
}, {}, (err, numRemoved) => {
|
||||
|
|
Loading…
Reference in New Issue