Added support for disabling auto-updates via a new config file

This commit is contained in:
2025-04-21 23:27:36 -04:00
parent 1e0fda7407
commit bcb86bc4b0
12 changed files with 488 additions and 305 deletions

View File

@@ -28,7 +28,7 @@ Titel, welche mit einem Häkchen markiert sind, sind frei verfügbar und haben e
Titel werden in einem &quot;NUSGet&quot; Ordner innerhalb des Downloads-Ordners gespeichert.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="98"/>
<location filename="../../NUSGet.py" line="101"/>
<source>NUSGet v{nusget_version}
Developed by NinjaCheetah
Powered by libWiiPy {libwiipy_version}
@@ -53,173 +53,173 @@ Titel, welche mit einem Häkchen markiert sind, sind frei verfügbar und haben e
Titel werden in einem &quot;NUSGet Downloads&quot; Ordner innerhalb des Downloads-Ordners gespeichert.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="192"/>
<location filename="../../NUSGet.py" line="203"/>
<source>NUSGet Update Available</source>
<translation>NUSGet-Update verfügbar</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="193"/>
<location filename="../../NUSGet.py" line="204"/>
<source>There&apos;s a newer version of NUSGet available!</source>
<translation>Eine neuere Version von NUSGet ist verfügbar.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<location filename="../../NUSGet.py" line="296"/>
<source>No Output Selected</source>
<translatorcomment>Changed from &quot;output&quot; to &quot;packaging&quot; for clarity</translatorcomment>
<translation>Keine Verpackmethode ausgewählt</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<location filename="../../NUSGet.py" line="297"/>
<source>You have not selected any format to output the data in!</source>
<translation>Es wurde keine Methode zum Verpacken der Inhalte ausgewählt.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<location filename="../../NUSGet.py" line="299"/>
<source>Please select at least one option for how you would like the download to be saved.</source>
<translatorcomment>Explicitly mentions options for clarity</translatorcomment>
<translation>Es muss mindestens &quot;verschlüsselte Inhalte speichern&quot;, &quot;entschlüsselte Inhalte speichern (*.app)&quot; oder &quot;Installierbar verpacken (WAD/TAD)&quot; ausgewählt worden sein.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="318"/>
<location filename="../../NUSGet.py" line="328"/>
<source>Invalid Title ID</source>
<translation>Fehlerhafte Title-ID</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="319"/>
<location filename="../../NUSGet.py" line="329"/>
<source>The Title ID you have entered is not in a valid format!</source>
<translation>Die eingegebene Title-ID ist nicht korrekt.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="321"/>
<location filename="../../NUSGet.py" line="331"/>
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
<translation>Die Title-ID muss mindestens 16 alphanumerische Zeichen enthalten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="323"/>
<location filename="../../NUSGet.py" line="333"/>
<source>Title ID/Version Not Found</source>
<translation>Title-ID/Version nicht gefunden</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="324"/>
<location filename="../../NUSGet.py" line="334"/>
<source>No title with the provided Title ID or version could be found!</source>
<translatorcomment>The title was moved into the body, and the title was made less of a mouthful, for ease of translation</translatorcomment>
<translation>Es konnte kein Titel mit der gegebenen Title-ID oder Version gefunden werden.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="326"/>
<location filename="../../NUSGet.py" line="336"/>
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
<translation>Die Title-ID könnte möglicherweise fehlerhaft sein.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="328"/>
<location filename="../../NUSGet.py" line="338"/>
<source>Content Decryption Failed</source>
<translation>Entschlüsselung fehlgeschlagen</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="329"/>
<location filename="../../NUSGet.py" line="339"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
<translation>Die Inhalte des Titels konnten nicht korrekt entschlüsselt werden.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="332"/>
<location filename="../../NUSGet.py" line="342"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source>
<translation>Die gespeicherte TMD oder das Ticket könnten möglicherweise fehlerhaft sein. &quot;Lokale Dateien nutzen&quot; kann deaktiviert werden, um diese erneut herunterzuladen.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="335"/>
<location filename="../../NUSGet.py" line="345"/>
<source>Ticket Not Available</source>
<translation>Ticket nicht verfügbar</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="336"/>
<location filename="../../NUSGet.py" line="346"/>
<source>No Ticket is Available for the Requested Title!</source>
<translation>Es konnte kein Ticket für den geforderten Titel gefunden werden.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="339"/>
<location filename="../../NUSGet.py" line="349"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
<translation>Das Ticket zum Entschlüsseln konnte nicht heruntergeladen werden, jedoch ist &quot;Installierbar verpacken&quot; bzw. &quot;Entschlüsselte Inhalte speichern&quot; aktiv. Diese Optionen erfordern ein Ticket, daher wurden nur verschlüsselte Inhalte gespeichert.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="341"/>
<location filename="../../NUSGet.py" line="351"/>
<source>Unknown Error</source>
<translation>Unbekannter Fehler</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="342"/>
<location filename="../../NUSGet.py" line="352"/>
<source>An Unknown Error has Occurred!</source>
<translation>Ein unbekannter Fehler ist aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="344"/>
<location filename="../../NUSGet.py" line="354"/>
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
<translation>Versuchen Sie es erneut. Sofern das Problem bestehen bleibt, können Sie ein Issue auf GitHub öffnen, um den Fehler zu berichten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="363"/>
<location filename="../../NUSGet.py" line="373"/>
<source>Script Issues Occurred</source>
<translation>Script-Fehler</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<location filename="../../NUSGet.py" line="374"/>
<source>Some issues occurred while running the download script.</source>
<translation>Ein Fehler ist im Script aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<location filename="../../NUSGet.py" line="376"/>
<source>Check the log for more details about what issues were encountered.</source>
<translatorcomment>To keep the indirectness of other text, this was changed to &quot;Error details have been written to the log.&quot;</translatorcomment>
<translation>Fehlerdetails wurden in den Log geschrieben.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<location filename="../../NUSGet.py" line="383"/>
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
<translation>Die angezeigten Titel konnten wegen einem Fehler nicht heruntergeladen werden. Die Title-ID oder Version im Script könnte wohlmöglich fehlerhaft sein.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="383"/>
<location filename="../../NUSGet.py" line="393"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>&quot;Entschlüsselte Inhalte speichern&quot; bzw. &quot;Installierbar verpacken&quot; ist aktiv, jedoch fehlen Tickets für die angezeigten Titel. Sofern aktiv werden die verschlüsselten Inhalte trotzdem heruntergeladen.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="402"/>
<location filename="../../NUSGet.py" line="412"/>
<source>Script Download Failed</source>
<translation>Script-Herunterladen fehlgeschlagen</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<location filename="../../NUSGet.py" line="413"/>
<source>Open NUS Script</source>
<translatorcomment>Translating the file type is pointless, since it&apos;s not an actual &quot;script&quot;</translatorcomment>
<translation>NUS-Script öffnen</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<location filename="../../NUSGet.py" line="414"/>
<source>NUS Scripts (*.nus *.json)</source>
<translatorcomment>&quot;Scripts&quot; isn&apos;t the correct way to pluralize a word, and &quot;Scripte&quot; would misalign with referring to them as &quot;Script&quot;, so we just keep it as-is (it sounds plural enough anyway!)</translatorcomment>
<translation>NUS-Script (*.nus *.json)</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<location filename="../../NUSGet.py" line="424"/>
<source>An error occurred while parsing the script file!</source>
<translation>Ein Fehler ist während des Parsen des Script aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<location filename="../../NUSGet.py" line="425"/>
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>Ein Fehler wurde in Linie {e.lineno}, Spalte {e.colno} gefunden. Das Script muss korrigiert werden.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="424"/>
<location filename="../../NUSGet.py" line="434"/>
<source>An error occurred while parsing Title IDs!</source>
<translation>Ein Fehler ist während des Parsen der Title-IDs aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<location filename="../../NUSGet.py" line="435"/>
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>Der Titel an Stelle {script_data.index(title)} hat keine Title-ID.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="52"/>
<location filename="../../modules/core.py" line="54"/>
<source>
Could not check for updates.</source>
@@ -228,7 +228,7 @@ Could not check for updates.</source>
Konnte nicht nach Updates suchen.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="60"/>
<location filename="../../modules/core.py" line="62"/>
<source>
There&apos;s a newer version of NUSGet available!</source>
@@ -237,7 +237,7 @@ There&apos;s a newer version of NUSGet available!</source>
Eine neuere Version von NUSGet ist verfügbar.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="62"/>
<location filename="../../modules/core.py" line="64"/>
<source>
You&apos;re running the latest release of NUSGet.</source>
@@ -363,7 +363,17 @@ Die neuste Version von NUSGet ist bereits aktiv.</translation>
<translation>Titel mit dem Common-Key der Wii neu verschlüsseln</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
<location filename="../../qt/ui/MainMenu.ui" line="587"/>
<source>App Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="609"/>
<source>Check for updates on startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="663"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }