Skip to content

Commit

Permalink
Update to 0.05.3 : see changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas20114552 authored Oct 19, 2023
2 parents 2b7fea1 + e14abba commit ca2c129
Show file tree
Hide file tree
Showing 6 changed files with 778 additions and 293 deletions.
17 changes: 17 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.05.3 : 21.09.2023

By: [@Niklas20114552](https://github.com/Niklas20114552)

Added:

- Translations for German and English:
- Errorpages and the Homepage aren't translated yet.
- Navigating to ```brapy:settings``` will open the Settings
- Open Folder-Button in Downloadslist
- Remaining Time is now calculated in Downloadslist
- A Warning is now being displayed, when downloading file and the destination file exists already

Fixed:

- Tabs will only load in Debugmode

## 0.05.2 : 21.09.2023

By: [@Niklas20114552](https://github.com/Niklas20114552)
Expand Down
8 changes: 7 additions & 1 deletion extraerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<p id="url"></p>
<p id="subtitle"></p>
<p id="more"></p>
<button onclick="brapy_reload();">Neu laden</button>
<button id="reload-button" onclick="brapy_reload();">Neu laden</button>
</div>
<script>
var urlParam = function(name, w){
Expand All @@ -80,6 +80,12 @@
document.getElementById('title').innerHTML = "Sicherheitsfehler";
document.getElementById('subtitle').innerHTML = 'In der URL wurde der Benutzername "' + username + '" angegeben. Dies könnte ein Versuch sein, sie zu täuschen, um Anmeldedaten zu stehlen.';
document.getElementById('more').innerHTML = 'Falls sie dennoch fortfahren möchten, ändern sie bitte den Eintrag "[Security] : allow_usernames_in_url" in "~/.config/brapy/brapy.ini" und starten sie anschließend Brapy neu.';
} else if (code == "b02") {
document.getElementById('url').innerHTML = url + ' konnte nicht geladen werden.';
document.getElementById('title').innerHTML = "";
document.getElementById('subtitle').innerHTML = 'ERR_INVALID_URL';
document.getElementById('more').innerHTML = '';
document.getElementById('reload-button').remove();
}
</script>

Expand Down
164 changes: 164 additions & 0 deletions lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"custom_tab": {
"brapy:settings": {
"name": "Einstellungen",
"subtitle": "Einstellungen",
"apply_button": "Änderungen anwenden",
"title1": "Allgemein",
"title2": "Sicherheit",
"title3": "Adblocker",
"title4": "Features",
"adblockl1": "Whiteliste: (Jede URL in eine neue Zeile)",
"adblockl2": "Blackliste: (Jede URL in eine neue Zeile)",
"featl1": "Dieses Land verwenden:",
"featl1p": "Land autom. ermitteln",
"confirmq": "Schließen mit STRL+Q bestätigen",
"userinurl": "Benutzernamen in URLs erlauben",
"dnt": "DoNotTrack aktiviert",
"https": "HTTPS erzwingen",
"safebrowsing": "Google Safe Browsing verwenden",
"enadblock": "Adblocker aktiviert",
"openyoutube": "Youtube auf Invidious umleiten"
}
},
"webview_tab": {
"adress_barp": "Adresse eingeben",
"search_barp": "Mit DuckDuckGo suchen"
},
"malware_ahead": {
"visit_page": "Webseite besuchen",
"cancel_load": "Laden Abbrechen",
"show_details": "Details...",
"malware" : {
"wtitle": "Malware auf folgender Website!",
"title": "Malware auf nachfolgender Website",
"text1a": "Zurzeit auf",
"text1b": "befindliche Hacker könnten versuchen,",
"text2": "gefährliche Programme auf deinem Computer zu installieren, um Daten wie Fotos,",
"text3": "Passwörter, Nachrichten und Kreditkartendaten zu stehlen oder zu löschen.",
"detail1a": "Google Safe Browsing hat kürzlich Malware auf ",
"detail1b": " gefunden.",
"detail2": "Websites, die in der Regel sicher sind, können gelegentlich mit Malware infiziert sein."
},
"phishing": {
"wtitle": "Bei der Aufgerufenen Seite besteht Phishing-Verdacht!",
"title": "Bei der Aufgerufenen Seite besteht Phishing-Verdacht!",
"text1a": "Hacker könnten auf",
"text1b": "etwa versuchen, Sie zur Installation von Software",
"text2": "oder zur Herausgabe von Daten, wie Passwörtern, Telefonnummern oder Kreditkartendetails",
"text3": "zu Bewegen.",
"detail1a": "Google Safe Browsing hat kürzlich Phishing-Methoden auf ",
"detail1b": " gefunden.",
"detail2": "Phsihing Seiten tun so, als ob sie andere Seiten seien, um sie zu täuschen."
}
},
"adblock_menu": {
"text1e": "Der Adblocker ist aktiviert.",
"text1d": "Der Adblocker ist deaktiviert.",
"current_url": "Aktuelle URL: ",
"view_source": "Dies ist die Ansicht eines Quelltext und wird nicht blockiert",
"browser_file": "Dies ist eine Browserseite und wird nicht blockiert",
"local_file": "Diese Seite ist eine Lokaldatei und wird nicht blockiert",
"blocked": "Diese Seite wurde durch die Adliste blockiert",
"blacklist_blocked": "Diese Seite wurde durch die Blacklist blockiert",
"blocked_whitelist": "Diese Seite steht auf der Adliste, wurde aber gewhitelisted",
"not_blocked": "Diese Seite steht nicht auf der Adliste",
"close_button": "Schließen",
"settings_button": "Einstellungen"
},
"units": {
"sec": "Sekunden",
"min": "Minuten",
"sec1": "Sekunde",
"min1": "Minute"
},
"show_downloads": {
"no_downloads": "Keine aktive Downloads in der Sitzung",
"1_download": "1 Download",
"multi_download": " Downloads",
"cancel_download": "Download Abbrechen",
"copy_download": "Downloadaddresse kopieren",
"open_download": "Zielordner öffnen",
"pause_download": "Download pausieren",
"waiting_download": "Warte auf Beginn...",
"paused_download": "Pausiert",
"done_download": "Fertig",
"cancelled_download": "Download abgebrochen",
"failed_download": "Download fehlgschlagen"
},
"general": {
"yes": "Yes",
"no": "No",
"okay": "Okay",
"cancel": "Cancel",
"of": "von",
"to": "nach"
},
"pending_downloads": {
"title": "Laufende Downloads",
"1_pending": "Es läuft noch 1 Download.",
"1_warning": "Dieser wird abgebrochen, wenn sie Brapy beenden.",
"m_pending_a": "Es laufen noch ",
"m_pending_b": " Downloads.",
"m_warning": "Diese werden abgebrochen, wenn sie Brapy beenden.",
"still_continue": "Möchten sie trotzdem fortfahren?",
"theses_running": "Folgende Downloads laufen noch:",
"deez": "nuts"
},
"context_menu": {
"back": "Zurück",
"forward": "Vor",
"reload": "Neu Laden",
"home": "Startseite"
},
"settings": {
"country_notice": "Hinweis zu Konfiguration",
"country_not1": "Deine Region konnte nicht ermittelt werden.",
"country_fallback": "Es wird nun der US Server als Fallback verwendet.",
"invidious_notavailable": "Ein Invidious Server für deine Region ist leider nicht verfügbar.",
"invidious_turnedoff": "Die Weiterleitung von Youtube auf einen Invidious Server wird temporär deaktiviert.",
"country_detected1": "Deine Aktuelle Region wurde als ",
"country_detected2": " erkannt.",
"invidious_settings": "Sie können einen bestimmten Server in den Einstellungen einstellen.",
"country_available": "Die verfügbaren Server sind:",
"country_list": "DE, FR, CL, US, RO, LU, FI, SE, SG, ES, IN, NL, JP, LT",
"creating_adlist": "Adliste wird erstellt...",
"creating_adlist2": "Die Adliste für den Adblocker wird erstellt..."
},
"upgrade": {
"done": "Upgrade abgeschlossen",
"confirm": "Upgrade bestätigen",
"cancelled": "Upgrade abgebrochen",
"continue1": "Möchten sie mit den Upgrade auf ",
"continue2": " fortfahren?",
"failed1a": "Das Upgrade kann nicht fortfahren, da ",
"failed1b": " durch eine Paketverwaltung installiert wurde.",
"failed2a": "Bitte verwenden sie die Paketverwaltung um ",
"failed2b": " zu aktualisieren oder kompilieren sie das Paket selber."
},
"tabs_loading": {
"error_while": "Fehler beim Laden",
"couldnt_restore": "Die Vorherige Sitzung konnte nicht wiederhergestellt werden:"
},
"ctrlq_close": {
"confirm_close": "Schließen bestätigen",
"really_quit": "Möchten sie Brapy wirklich beenden?"
},
"adress_bar": {
"view-source": "Seitenquelltext von ",
"error-url": "Fehler beim Laden der Webseite",
"error-file": "Fehler beim Laden der Datei"
},
"download_dialog": {
"title": "Datei Herunterladen...",
"name": "Name: ",
"browse": "Auswählen...",
"save": "Speichern",
"file_conflict": "Dateikonflikt",
"already_exists": "Die Datei existiert bereits.",
"may_overwrite": "Wenn sie fortfahren wird diese Datei überschrieben.",
"still_continue": "Möchten sie wirklich fortfahren?",
"save_file": "Datei Speichern...",
"all_files": "Alle Dateien"
}
}
164 changes: 164 additions & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"custom_tab": {
"brapy:settings": {
"name": "Settings",
"subtitle": "Settings",
"apply_button": "Apply changes",
"title1": "General",
"title2": "Security",
"title3": "Adblocker",
"title4": "Features",
"adblockl1": "Whiteliste: (Each URL in a new line)",
"adblockl2": "Blackliste: (Each URL in a new line)",
"featl1": "Use this Country:",
"featl1p": "Detect Country automaticly",
"confirmq": "Confirm close with CTRL+Q",
"userinurl": "Allow Usernames in URLs",
"dnt": "Enable DoNotTrack",
"https": "Enforce HTTPS",
"safebrowsing": "Use Google Safe Browsing",
"enadblock": "Enable Adblocker",
"openyoutube": "Redirect Youtube to Invidious"
}
},
"webview_tab": {
"adress_barp": "Enter Address",
"search_barp": "Search with DuckDuckGo"
},
"malware_ahead": {
"visit_page": "Visit Website",
"cancel_load": "Cancel Loading",
"show_details": "Details...",
"malware" : {
"wtitle": "The Site ahead contains malware",
"title": "The Site ahead contains malware!",
"text1a": "Attackers currently on",
"text1b": "might attempt to install dangerous programs on",
"text2": "your computer that steal or delete your information (for example, photos, passwords,",
"text3": "messages, and credit cards).",
"detail1a": "Google Safe Browsing has recently found malware on ",
"detail1b": ".",
"detail2": "Websites that are generally safe can occasionally be infected with malware."
},
"phishing": {
"wtitle": "Phishing attack ahead",
"title": "Phishing attack ahead!",
"text1a": "Attackers on",
"text1b": "might trick you to steal",
"text2": "your information (for example passwords,",
"text3": "messages, or credit cards).",
"detail1a": "Google Safe Browsing recently detected phishing on ",
"detail1b": ".",
"detail2": "Phishing sites pretend to be other websites to trick you."
}
},
"adblock_menu": {
"text1e": "The Adblocker is enabled.",
"text1d": "The Adblocker is disabled.",
"current_url": "Current URL: ",
"view_source": "This is a Source-Code view and won't be blocked",
"browser_file": "This is a Browser-Site and won't be blocked",
"local_file": "This is a local file and won't be blocked",
"blocked": "This Site was blocked through the Adliste",
"blacklist_blocked": "This Site was blocked through the Blacklist",
"blocked_whitelist": "This Site is on the Adlist, but was whitelisted",
"not_blocked": "This Site is not on the Adlist",
"close_button": "Close",
"settings_button": "Settings"
},
"units": {
"sec": "Seconds",
"min": "Minutes",
"sec1": "Second",
"min1": "Minute"
},
"show_downloads": {
"no_downloads": "No active Downloads in this Session",
"1_download": "1 Download",
"multi_download": " Downloads",
"cancel_download": "Cancel Download",
"copy_download": "Copy Downloadadress",
"open_download": "Open Destination",
"pause_download": "Pause Download",
"waiting_download": "Waiting to start...",
"paused_download": "Paused",
"done_download": "Done",
"cancelled_download": "Download cancelled",
"failed_download": "Download failed"
},
"general": {
"yes": "Yes",
"no": "No",
"okay": "Okay",
"cancel": "Cancel",
"of": "von",
"to": "nach"
},
"pending_downloads": {
"title": "Running Downloads",
"1_pending": "One Download is still running.",
"1_warning": "This will be canceled if you exit Brapy.",
"m_pending_a": "",
"m_pending_b": " Downloads are still running.",
"m_warning": "These will be canceled when they exit Brapy.",
"still_continue": "Do you still want to continue?",
"theses_running": "These Downloads are still running:",
"deez": "nuts :-)"
},
"context_menu": {
"back": "Back",
"forward": "Forward",
"reload": "Reload",
"home": "Home"
},
"settings": {
"country_notice": "Note on configuration",
"country_not1": "Your region could not be determined.",
"country_fallback": "The US server is now used as a fallback.",
"invidious_notavailable": "Unfortunately, an Invidious server is not available for your region.",
"invidious_turnedoff": "The redirection of YouTube to an Invidious server will be temporarily deactivated.",
"country_detected1": "Your current region was recognized as ",
"country_detected2": ".",
"invidious_settings": "You can set a specific server in the settings.",
"country_available": "The available servers are:",
"country_list": "DE, FR, CL, US, RO, LU, FI, SE, SG, ES, IN, NL, JP, LT",
"creating_adlist": "Adlist is being created...",
"creating_adlist2": "The adlist for the adblocker is being created..."
},
"upgrade": {
"done": "Upgrade done",
"confirm": "Confirm Upgrade",
"cancelled": "Upgrade cancelled",
"continue1": "Do you want to continue with the upgrade to ",
"continue2": "?",
"failed1a": "The Upgrade cant continue, because ",
"failed1b": " was installed trough an packagemanager.",
"failed2a": "Please use the packagemanager to update ",
"failed2b": " or compile the package yourself."
},
"tabs_loading": {
"error_while": "Error while Loading",
"couldnt_restore": "The previous session could not be restored:"
},
"ctrlq_close": {
"confirm_close": "Confirm Close",
"really_quit": "Do you really want to close Brapy?"
},
"adress_bar": {
"view-source": "Source Code of ",
"error_url": "Error while Loading the Website",
"error_file": "Error while Loading the File"
},
"download_dialog": {
"title": "Download File...",
"name": "Name: ",
"browse": "Browse...",
"save": "Save",
"file_conflict": "Fileconflict",
"already_exists": "The File already exists.",
"may_overwrite": "If you continue, this file will be overwritten.",
"still_continue": "Dou you really want to continue?",
"save_file": "Save File...",
"all_files": "All Files"
}
}
Loading

0 comments on commit ca2c129

Please sign in to comment.