From 5e37dce4e32c5b76ee6c637e0509d124f242c8b5 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:01:33 -0500 Subject: [PATCH] Download to "NUSGet Downloads" instead of "NUSGet" I edited existing translations accordingly, since the folder name was quoted and is the same regardless of your system language, so I figured I could safely change it to "NUSGet Downloads" without damaging the translation. --- NUSGet.py | 8 ++--- resources/translations/nusget_de.ts | 30 +++++++++++++++-- resources/translations/nusget_es.ts | 2 +- resources/translations/nusget_fr.ts | 2 +- resources/translations/nusget_it.ts | 17 ++++++++-- resources/translations/nusget_ko.ts | 28 ++++++++++++++-- resources/translations/nusget_nb.ts | 50 +++++++++++++++++++++-------- resources/translations/nusget_no.ts | 50 +++++++++++++++++++++-------- resources/translations/nusget_ro.ts | 26 +++++++++++++-- 9 files changed, 169 insertions(+), 44 deletions(-) diff --git a/NUSGet.py b/NUSGet.py index 33dcc45..b8db8bb 100644 --- a/NUSGet.py +++ b/NUSGet.py @@ -93,7 +93,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): "Titles marked with a checkmark are free and have a ticket available, and can" " be decrypted and/or packed into a WAD or TAD. Titles with an X do not have " "a ticket, and only their encrypted contents can be saved.\n\nTitles will be " - "downloaded to a folder named \"NUSGet\" inside your downloads folder.") + "downloaded to a folder named \"NUSGet Downloads\" inside your downloads folder.") .format(nusget_version=nusget_version, libwiipy_version=libwiipy_version, libtwlpy_version=libtwlpy_version)) self.ui.log_text_browser.setText(self.log_text) @@ -488,9 +488,9 @@ if __name__ == "__main__": else: location = pathlib.Path(os.path.expanduser('~')).joinpath('Downloads') # Build the path by combining the path to the Downloads photo with "NUSGet". - out_folder = location.joinpath("NUSGet") - # Create the "NUSGet" directory if it doesn't exist. In the future, this will be user-customizable, but this works - # for now, and avoids the issues from when it used to use a directory next to the binary (mostly on macOS). + out_folder = location.joinpath("NUSGet Downloads") + # Create the "NUSGet Downloads" directory if it doesn't exist. In the future, this will be user-customizable, but + # this works for now, and avoids using a directory next to the binary (mostly an issue on macOS/Linux). if not out_folder.is_dir(): out_folder.mkdir() diff --git a/resources/translations/nusget_de.ts b/resources/translations/nusget_de.ts index d59be5a..56f094b 100644 --- a/resources/translations/nusget_de.ts +++ b/resources/translations/nusget_de.ts @@ -4,7 +4,6 @@ MainWindow - NUSGet v{nusget_version} Developed by NinjaCheetah Powered by libWiiPy {libwiipy_version} @@ -17,7 +16,7 @@ Titles marked with a checkmark are free and have a ticket available, and can be Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. "Downloads" in German copies of Windows and macOS isn't translated Specified that the tickets for titles with a checkmark are publicly available, for clarity in the translation - NUSGet v{nusget_version} + NUSGet v{nusget_version} Entwickelt von NinjaCheetah Nutzt libWiiPy {libwiipy_version} Unterstützung für DSi bereitgestelt durch libTWLPy {libtwlpy_version} @@ -27,6 +26,31 @@ Wähle einen Titel aus der Liste auf der linken Seite oder gebe eine Title-ID ei Titel, welche mit einem Häkchen markiert sind, sind frei verfügbar und haben ein öffentliches Ticket, und können daher entschlüsselt und/oder in eine WAD/TAD verpackt werden. Titel mit einem Kreuz haben kein öffentlich verfügbares Ticket und können nicht entschlüsselt oder verpackt werden. Titel werden in einem "NUSGet" Ordner innerhalb des Downloads-Ordners gespeichert. + + + + NUSGet v{nusget_version} +Developed by NinjaCheetah +Powered by libWiiPy {libwiipy_version} +DSi support provided by libTWLPy {libtwlpy_version} + +Select a title from the list on the left, or enter a Title ID to begin. + +Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. + +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. + "Downloads" in German copies of Windows and macOS isn't translated +Specified that the tickets for titles with a checkmark are publicly available, for clarity in the translation + NUSGet v{nusget_version} +Entwickelt von NinjaCheetah +Nutzt libWiiPy {libwiipy_version} +Unterstützung für DSi bereitgestelt durch libTWLPy {libtwlpy_version} + +Wähle einen Titel aus der Liste auf der linken Seite oder gebe eine Title-ID ein, um zu beginnen. + +Titel, welche mit einem Häkchen markiert sind, sind frei verfügbar und haben ein öffentliches Ticket, und können daher entschlüsselt und/oder in eine WAD/TAD verpackt werden. Titel mit einem Kreuz haben kein öffentlich verfügbares Ticket und können nicht entschlüsselt oder verpackt werden. + +Titel werden in einem "NUSGet Downloads" Ordner innerhalb des Downloads-Ordners gespeichert. @@ -36,7 +60,7 @@ Titel werden in einem "NUSGet" Ordner innerhalb des Downloads-Ordners There's a newer version of NUSGet available! - Eine neuere Version von NUSGet ist verfügbar. + Eine neuere Version von NUSGet ist verfügbar. diff --git a/resources/translations/nusget_es.ts b/resources/translations/nusget_es.ts index 9ca14ee..2156c50 100644 --- a/resources/translations/nusget_es.ts +++ b/resources/translations/nusget_es.ts @@ -140,7 +140,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. -Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. diff --git a/resources/translations/nusget_fr.ts b/resources/translations/nusget_fr.ts index e4cfaff..d3a0bed 100644 --- a/resources/translations/nusget_fr.ts +++ b/resources/translations/nusget_fr.ts @@ -14,7 +14,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. -Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. diff --git a/resources/translations/nusget_it.ts b/resources/translations/nusget_it.ts index 5f71204..2bbddb2 100644 --- a/resources/translations/nusget_it.ts +++ b/resources/translations/nusget_it.ts @@ -143,6 +143,20 @@ p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + NUSGet v{nusget_version} +Developed by NinjaCheetah +Powered by libWiiPy {libwiipy_version} +DSi support provided by libTWLPy {libtwlpy_version} + +Select a title from the list on the left, or enter a Title ID to begin. + +Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. + +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. + + No Output Selected @@ -310,7 +324,6 @@ p, li { white-space: pre-wrap; } Impossibile aprire lo script. - NUSGet v{nusget_version} Developed by NinjaCheetah Powered by libWiiPy {libwiipy_version} @@ -321,7 +334,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. - NUSGet v{nusget_version} + NUSGet v{nusget_version} Sviluppato da NinjaCheetah Funzionante con libWiiPy {libwiipy_version} diff --git a/resources/translations/nusget_ko.ts b/resources/translations/nusget_ko.ts index c003e3f..3cf2145 100644 --- a/resources/translations/nusget_ko.ts +++ b/resources/translations/nusget_ko.ts @@ -142,6 +142,29 @@ p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + NUSGet v{nusget_version} +Developed by NinjaCheetah +Powered by libWiiPy {libwiipy_version} +DSi support provided by libTWLPy {libtwlpy_version} + +Select a title from the list on the left, or enter a Title ID to begin. + +Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. + +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. + NUSGet v{nusget_version} +개발자 : NinjaCheetah +libWiiPy {libwiipy_version}에서 제공 +DSi 지원 : libTWLPy {libtwlpy_version}에서 제공 + +왼쪽 목록에서 타이틀을 선택하거나 타이틀 ID를 입력하여 시작하세요. + +체크 표시가 있는 타이틀은 무료이며 티켓을 사용할 수 있으며, WAD 또는 TAD에 복호화 및/또는 패킹할 수 있습니다. X가 있는 타이틀은 티켓이 없으며 암호화된 콘텐츠만 저장할 수 있습니다. + +타이틀은 다운로드 폴더 내의 "NUSGet Downloads"이라는 폴더에 다운로드됩니다. @@ -310,7 +333,6 @@ p, li { white-space: pre-wrap; } 스크립트를 열 수 없습니다. - NUSGet v{nusget_version} Developed by NinjaCheetah Powered by libWiiPy {libwiipy_version} @@ -321,7 +343,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. - NUSGet v{nusget_version} + NUSGet v{nusget_version} 개발자 : NinjaCheetah libWiiPy {libwiipy_version}에서 제공 DSi 지원 : libTWLPy {libtwlpy_version}에서 제공 @@ -372,7 +394,7 @@ NUSBet의 새로운 버전이 나왔습니다! You're running the latest release of NUSGet. -NUSBet의 최신 릴리스를 실행하고 있습니다. +NUSGet의 최신 릴리스를 실행하고 있습니다. diff --git a/resources/translations/nusget_nb.ts b/resources/translations/nusget_nb.ts index 97a40f0..d8da6f9 100644 --- a/resources/translations/nusget_nb.ts +++ b/resources/translations/nusget_nb.ts @@ -144,7 +144,6 @@ p, li { white-space: pre-wrap; } <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - NUSGet v{nusget_version} Developed by NinjaCheetah Powered by libWiiPy {libwiipy_version} @@ -155,7 +154,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. - NUSGet v{nusget_version} + NUSGet v{nusget_version} Utviklet av NinjaCheetah Drevet av libWiiPy {libwiipy_version} DSi støtte levert av libTWLPy {libtwlpy_version} @@ -165,6 +164,29 @@ Velg en tittel fra listen til venstre, eller skriv inn en Tittel ID for å begyn Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypteres og/eller pakkes inn i en WAD eller TAD. Titler med en X ikke har en billett, og bare det krypterte innholdet kan lagres. Titler er lastes ned til en mappe med navnet "NUSGet" i nedlastingsmappen din. + + + + NUSGet v{nusget_version} +Developed by NinjaCheetah +Powered by libWiiPy {libwiipy_version} +DSi support provided by libTWLPy {libtwlpy_version} + +Select a title from the list on the left, or enter a Title ID to begin. + +Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. + +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. + NUSGet v{nusget_version} +Utviklet av NinjaCheetah +Drevet av libWiiPy {libwiipy_version} +DSi støtte levert av libTWLPy {libtwlpy_version} + +Velg en tittel fra listen til venstre, eller skriv inn en Tittel ID for å begynne. + +Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypteres og/eller pakkes inn i en WAD eller TAD. Titler med en X ikke har en billett, og bare det krypterte innholdet kan lagres. + +Titler er lastes ned til en mappe med navnet "NUSGet Downloads" i nedlastingsmappen din. @@ -257,62 +279,62 @@ Titler er lastes ned til en mappe med navnet "NUSGet" i nedlastingsmap Prøv igjen. Hvis dette problemet vedvarer, åpne et nytt issue på GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod. - + Script Issues Occurred Skriptfeil Oppstod - + Some issues occurred while running the download script. Noen feil oppstod under kjøring av nedlastingsskriptet. - + Check the log for more details about what issues were encountered. Sjekk loggen for mer informasjon om feilene som har oppstått. - + 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. Følgende titler kunne ikke lastes ned på grunn av en feil. Sjekk at Tittel IDen og versjon som er oppført i skriptet er gyldige. - + You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded. Du aktiverte "Opprett dekryptert innhold" eller "Pakk installerbart archive", men følgende titler i skriptet har ikke tilgjengelige billetter. Hvis aktivert, ble kryptert innhold fortsatt lastet ned. - + Script Download Failed Skriptnedlasting Mislyktes - + Open NUS Script Åpne NUS Skript - + NUS Scripts (*.nus *.json) NUS Skript (*.nus *.json) - + An error occurred while parsing the script file! Det oppstod en feil under parsing av skriptfilen! - + Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again. - + An error occurred while parsing Title IDs! Det oppstod en feil under parsing av Tittel IDer! - + The title at index {script_data.index(title)} does not have a Title ID! Tittelen ved indeks {script_data.index(title)} har ikke en Tittel ID! diff --git a/resources/translations/nusget_no.ts b/resources/translations/nusget_no.ts index 97a40f0..d8da6f9 100644 --- a/resources/translations/nusget_no.ts +++ b/resources/translations/nusget_no.ts @@ -144,7 +144,6 @@ p, li { white-space: pre-wrap; } <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - NUSGet v{nusget_version} Developed by NinjaCheetah Powered by libWiiPy {libwiipy_version} @@ -155,7 +154,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. - NUSGet v{nusget_version} + NUSGet v{nusget_version} Utviklet av NinjaCheetah Drevet av libWiiPy {libwiipy_version} DSi støtte levert av libTWLPy {libtwlpy_version} @@ -165,6 +164,29 @@ Velg en tittel fra listen til venstre, eller skriv inn en Tittel ID for å begyn Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypteres og/eller pakkes inn i en WAD eller TAD. Titler med en X ikke har en billett, og bare det krypterte innholdet kan lagres. Titler er lastes ned til en mappe med navnet "NUSGet" i nedlastingsmappen din. + + + + NUSGet v{nusget_version} +Developed by NinjaCheetah +Powered by libWiiPy {libwiipy_version} +DSi support provided by libTWLPy {libtwlpy_version} + +Select a title from the list on the left, or enter a Title ID to begin. + +Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. + +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. + NUSGet v{nusget_version} +Utviklet av NinjaCheetah +Drevet av libWiiPy {libwiipy_version} +DSi støtte levert av libTWLPy {libtwlpy_version} + +Velg en tittel fra listen til venstre, eller skriv inn en Tittel ID for å begynne. + +Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypteres og/eller pakkes inn i en WAD eller TAD. Titler med en X ikke har en billett, og bare det krypterte innholdet kan lagres. + +Titler er lastes ned til en mappe med navnet "NUSGet Downloads" i nedlastingsmappen din. @@ -257,62 +279,62 @@ Titler er lastes ned til en mappe med navnet "NUSGet" i nedlastingsmap Prøv igjen. Hvis dette problemet vedvarer, åpne et nytt issue på GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod. - + Script Issues Occurred Skriptfeil Oppstod - + Some issues occurred while running the download script. Noen feil oppstod under kjøring av nedlastingsskriptet. - + Check the log for more details about what issues were encountered. Sjekk loggen for mer informasjon om feilene som har oppstått. - + 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. Følgende titler kunne ikke lastes ned på grunn av en feil. Sjekk at Tittel IDen og versjon som er oppført i skriptet er gyldige. - + You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded. Du aktiverte "Opprett dekryptert innhold" eller "Pakk installerbart archive", men følgende titler i skriptet har ikke tilgjengelige billetter. Hvis aktivert, ble kryptert innhold fortsatt lastet ned. - + Script Download Failed Skriptnedlasting Mislyktes - + Open NUS Script Åpne NUS Skript - + NUS Scripts (*.nus *.json) NUS Skript (*.nus *.json) - + An error occurred while parsing the script file! Det oppstod en feil under parsing av skriptfilen! - + Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again. - + An error occurred while parsing Title IDs! Det oppstod en feil under parsing av Tittel IDer! - + The title at index {script_data.index(title)} does not have a Title ID! Tittelen ved indeks {script_data.index(title)} har ikke en Tittel ID! diff --git a/resources/translations/nusget_ro.ts b/resources/translations/nusget_ro.ts index 66c34dd..9a42caf 100644 --- a/resources/translations/nusget_ro.ts +++ b/resources/translations/nusget_ro.ts @@ -3,6 +3,28 @@ MainWindow + + NUSGet v{nusget_version} +Developed by NinjaCheetah +Powered by libWiiPy {libwiipy_version} +DSi support provided by libTWLPy {libtwlpy_version} + +Select a title from the list on the left, or enter a Title ID to begin. + +Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. + +Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. + NUSGet v{nusget_version} +Dezvoltat de NinjaCheetah +Operat de libWiiPy {libwiipy_version} +Suport pentru DSi oferit de libTWLPy {libtwlpy_version} + +Selectează un titlu din lista din stânga, sau introdu un Title ID pentru a începe. + +Titlurile marcate cu bifă sunt gratuite și au un tichet disponibil și pot fi decriptate și/sau incluse într-un WAD sau TAD. Titlurile cu un X nu au tichet, și pot fi salvate doar în formă encriptată. + +Titlurile vor fi descărcate într-un folder numit „NUSGet” în fișierul dvs. de download. + NUSGet v{nusget_version} @@ -14,7 +36,7 @@ Select a title from the list on the left, or enter a Title ID to begin. Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved. -Titles will be downloaded to a folder named "NUSGet" inside your downloads folder. +Titles will be downloaded to a folder named "NUSGet Downloads" inside your downloads folder. NUSGet v{nusget_version} Dezvoltat de NinjaCheetah Operat de libWiiPy {libwiipy_version} @@ -24,7 +46,7 @@ Selectează un titlu din lista din stânga, sau introdu un Title ID pentru a în Titlurile marcate cu bifă sunt gratuite și au un tichet disponibil și pot fi decriptate și/sau incluse într-un WAD sau TAD. Titlurile cu un X nu au tichet, și pot fi salvate doar în formă encriptată. -Titlurile vor fi descărcate într-un folder numit „NUSGet” în fișierul dvs. de download. +Titlurile vor fi descărcate într-un folder numit „NUSGet Downloads” în fișierul dvs. de download.