mirror of
https://github.com/hax4dazy/TinWoo.git
synced 2025-02-09 19:25:05 +01:00
remove the gay references
This commit is contained in:
parent
0a3e741092
commit
d1f1b5ec8e
@ -19,7 +19,7 @@ namespace inst::config {
|
||||
extern bool deletePrompt;
|
||||
extern bool autoUpdate;
|
||||
extern bool usbAck;
|
||||
extern bool gayMode;
|
||||
extern bool useTheme;
|
||||
extern bool useSound;
|
||||
extern bool fixticket;
|
||||
extern bool listoveride;
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "Aktiviere \"Boost-Modus\" während der Installation",
|
||||
"ask_delete": "Frage ob installierte Titel gelöscht werden sollen",
|
||||
"auto_update": "Suche automatisch nach Updates für TinWoo",
|
||||
"gay_option": "Design verwenden",
|
||||
"theme_option": "Design verwenden",
|
||||
"useSound": "Nutzen von Benachrichtungstönen während Installation",
|
||||
"fixticket": "Wandeln Sie temporäre Tickets in permanente Tickets um",
|
||||
"listoveride": "Deaktivieren Sie die URL-Listenwarnung und die Dateibeschränkung",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "Enable \"boost mode\" during installations",
|
||||
"ask_delete": "Ask to delete original files after installation",
|
||||
"auto_update": "Check for updates to TinWoo Installer automatically",
|
||||
"gay_option": "Use Theme",
|
||||
"theme_option": "Use Theme",
|
||||
"useSound": "Use sound notifications during installs",
|
||||
"fixticket": "Convert temporary tickets to permanent",
|
||||
"listoveride": "Disable URL list warning and file limit",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "Habilitar \"modo empuje\" durante las instalaciones",
|
||||
"ask_delete": "Solicitar eliminar los archivos originales después de la instalación",
|
||||
"auto_update": "Busca actualizaciones para TinWoo Installer automáticamente",
|
||||
"gay_option": "Usar tema",
|
||||
"theme_option": "Usar tema",
|
||||
"useSound": "Usar notificaciones de sonido durante las instalaciones",
|
||||
"fixticket": "Convertir tiquetes temporales en permanentes",
|
||||
"listoveride": "Deshabilitar advertencia de limite de elementos en el listado de un URL",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "Activer le \"boost mode\" pendant l'installation",
|
||||
"ask_delete": "Demande de suppression des fichiers originaux après l'installation",
|
||||
"auto_update": "Vérifier les mises à jour de l'installateur TinWoo automatiquement",
|
||||
"gay_option": "Utiliser le thème",
|
||||
"theme_option": "Utiliser le thème",
|
||||
"useSound": "Utiliser les notifications sonores lors des installations",
|
||||
"fixticket": "Convertir des billets temporaires en billets permanents",
|
||||
"listoveride": "Désactiver l'avertissement de liste d'URL et la limite de fichiers",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "Abilita la \"boost mode\" durante le installazioni",
|
||||
"ask_delete": "Chiedi di cancellare i file originale dopo l'installazione",
|
||||
"auto_update": "Controlla aggiornamenti di TinWoo Installer automaticamente",
|
||||
"gay_option": "Usa tema",
|
||||
"theme_option": "Usa tema",
|
||||
"useSound": "Utilizza notifiche sonore durante le installazioni",
|
||||
"fixticket": "Converti i biglietti temporanei in permanenti",
|
||||
"listoveride": "Disabilita l'avviso dell'elenco degli URL e il limite dei file",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "インストール中に「ブーストモード」を有効にする",
|
||||
"ask_delete": "インストール後に元のファイルを削除する",
|
||||
"auto_update": "TinWooのアップデートを自動的に確認する",
|
||||
"gay_option": "テーマを使用する",
|
||||
"theme_option": "テーマを使用する",
|
||||
"useSound": "インストール時にサウンドで通知する",
|
||||
"fixticket": "一時的なチケットを永続的なチケットに変換する",
|
||||
"listoveride": "URL リストの警告とファイル制限を無効にする",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "Включить \"boost-режим\" во время установки",
|
||||
"ask_delete": "Спрашивать разрешения удалить исходные файлы после установки",
|
||||
"auto_update": "Автоматически проверять наличие обновлений",
|
||||
"gay_option": "Использовать тему",
|
||||
"theme_option": "Использовать тему",
|
||||
"useSound": "Используйте звуковые уведомления во время установки",
|
||||
"fixticket": "Превратить временные билеты в постоянные",
|
||||
"listoveride": "Отключить предупреждение списка URL-адресов и ограничение количества файлов",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"boost_mode": "在進行安裝時啟用\"超頻\"模式",
|
||||
"ask_delete": "在安裝完成後,詢問是否刪除原始檔案",
|
||||
"auto_update": "自動檢查Tinwoo Installer的更新版本",
|
||||
"gay_option": "套用主題",
|
||||
"theme_option": "套用主題",
|
||||
"useSound": "在安裝過程中使用音效提醒進度",
|
||||
"fixticket": "將臨時門票轉換為永久門票",
|
||||
"listoveride": "禁用 URL 列表警告和文件限制",
|
||||
|
@ -20,7 +20,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
this->botRect = Rectangle::New(0, 659, 1280, 61, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if
|
||||
(std::filesystem::exists(inst::config::appDir + "/images/Hd.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Hd.png"));
|
||||
else
|
||||
|
@ -30,7 +30,7 @@ namespace inst::ui {
|
||||
this->SetBackgroundColor(COLOR("#000000FF"));
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Install.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Install.png"));
|
||||
else this->titleImage = Image::New(0, 0, "romfs:/images/Install.png");
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Background.png")) this->SetBackgroundImage(inst::config::appDir + "/images/Background.png");
|
||||
|
@ -155,7 +155,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
this->botRect = Rectangle::New(0, 659, 1280, 61, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Main.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Main.png"));
|
||||
else
|
||||
this->titleImage = Image::New(0, 0, "romfs:/images/Main.png");
|
||||
@ -190,7 +190,7 @@ namespace inst::ui {
|
||||
this->exitMenuItem = pu::ui::elm::MenuItem::New("main.menu.exit"_lang);
|
||||
this->exitMenuItem->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->exitMenuItem->SetIcon("romfs:/images/icons/exit-run.png");
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Main.png")) this->awooImage = Image::New(0, 0, inst::config::appDir + "/images/Main.png");
|
||||
else this->awooImage = Image::New(0, 0, "romfs:/images/Main.png");
|
||||
}
|
||||
@ -214,7 +214,7 @@ namespace inst::ui {
|
||||
}
|
||||
this->Add(this->awooImage);
|
||||
this->Add(this->eggImage);
|
||||
this->awooImage->SetVisible(!inst::config::gayMode);
|
||||
this->awooImage->SetVisible(!inst::config::useTheme);
|
||||
this->Add(this->optionMenu);
|
||||
this->AddRenderCallback(mainMenuThread);
|
||||
}
|
||||
@ -314,7 +314,7 @@ namespace inst::ui {
|
||||
|
||||
if (Up & HidNpadButton_A) {
|
||||
this->eggImage->SetVisible(false);
|
||||
if (!inst::config::gayMode) this->awooImage->SetVisible(true);
|
||||
if (!inst::config::useTheme) this->awooImage->SetVisible(true);
|
||||
}
|
||||
|
||||
if (Down & HidNpadButton_Y) {
|
||||
|
@ -26,7 +26,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
this->botRect = Rectangle::New(0, 659, 1280, 61, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Net.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Net.png"));
|
||||
else this->titleImage = Image::New(0, 0, "romfs:/images/Net.png");
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Background.png")) this->SetBackgroundImage(inst::config::appDir + "/images/Background.png");
|
||||
|
@ -28,7 +28,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
this->botRect = Rectangle::New(0, 659, 1280, 61, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Settings.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Settings.png"));
|
||||
else this->titleImage = Image::New(0, 0, "romfs:/images/Settings.png");
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Background.png")) this->SetBackgroundImage(inst::config::appDir + "/images/Background.png");
|
||||
@ -116,15 +116,15 @@ namespace inst::ui {
|
||||
void thememessage() {
|
||||
int ourResult = inst::ui::mainApp->CreateShowDialog("main.theme.title"_lang, "main.theme.desc"_lang, { "common.no"_lang, "common.yes"_lang }, true, "romfs:/images/icons/theme.png");
|
||||
if (ourResult != 0) {
|
||||
if (!inst::config::gayMode) {
|
||||
inst::config::gayMode = true;
|
||||
if (!inst::config::useTheme) {
|
||||
inst::config::useTheme = true;
|
||||
mainApp->FadeOut();
|
||||
mainApp->Close();
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (inst::config::gayMode) {
|
||||
inst::config::gayMode = false;
|
||||
if (inst::config::useTheme) {
|
||||
inst::config::useTheme = false;
|
||||
mainApp->FadeOut();
|
||||
mainApp->Close();
|
||||
}
|
||||
@ -159,10 +159,10 @@ namespace inst::ui {
|
||||
autoUpdateOption->SetIcon(this->getMenuOptionIcon(inst::config::autoUpdate));
|
||||
this->menu->AddItem(autoUpdateOption);
|
||||
|
||||
auto gayModeOption = pu::ui::elm::MenuItem::New("options.menu_items.gay_option"_lang);
|
||||
gayModeOption->SetColor(COLOR("#FFFFFFFF"));
|
||||
gayModeOption->SetIcon(this->getMenuOptionIcon(inst::config::gayMode));
|
||||
this->menu->AddItem(gayModeOption);
|
||||
auto useThemeOption = pu::ui::elm::MenuItem::New("options.menu_items.theme_option"_lang);
|
||||
useThemeOption->SetColor(COLOR("#FFFFFFFF"));
|
||||
useThemeOption->SetIcon(this->getMenuOptionIcon(inst::config::useTheme));
|
||||
this->menu->AddItem(useThemeOption);
|
||||
|
||||
auto useSoundOption = pu::ui::elm::MenuItem::New("options.menu_items.useSound"_lang);
|
||||
useSoundOption->SetColor(COLOR("#FFFFFFFF"));
|
||||
@ -285,7 +285,7 @@ namespace inst::ui {
|
||||
this->menu->SetSelectedIndex(index);
|
||||
break;
|
||||
case 5:
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
mainApp->mainPage->awooImage->SetVisible(true);
|
||||
}
|
||||
else {
|
||||
|
@ -22,7 +22,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
this->botRect = Rectangle::New(0, 659, 1280, 61, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Sd.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Sd.png"));
|
||||
else this->titleImage = Image::New(0, 0, "romfs:/images/Sd.png");
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Background.png")) this->SetBackgroundImage(inst::config::appDir + "/images/Background.png");
|
||||
|
@ -18,7 +18,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#000000FF"));
|
||||
this->botRect = Rectangle::New(0, 659, 1280, 61, COLOR("#000000FF"));
|
||||
|
||||
if (inst::config::gayMode) {
|
||||
if (inst::config::useTheme) {
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Usb.png")) this->titleImage = Image::New(0, 0, (inst::config::appDir + "/images/Usb.png"));
|
||||
else this->titleImage = Image::New(0, 0, "romfs:/images/Usb.png");
|
||||
if (std::filesystem::exists(inst::config::appDir + "/images/Background.png")) this->SetBackgroundImage(inst::config::appDir + "/images/Background.png");
|
||||
|
@ -14,7 +14,7 @@ namespace inst::config {
|
||||
bool deletePrompt;
|
||||
bool ignoreReqVers;
|
||||
bool overClock;
|
||||
bool gayMode;
|
||||
bool useTheme;
|
||||
bool useSound;
|
||||
bool usbAck;
|
||||
bool validateNCAs;
|
||||
@ -27,7 +27,7 @@ namespace inst::config {
|
||||
{"autoUpdate", autoUpdate},
|
||||
{"deletePrompt", deletePrompt},
|
||||
{"gAuthKey", gAuthKey},
|
||||
{"gayMode", gayMode},
|
||||
{"useTheme", useTheme},
|
||||
{"useSound", useSound},
|
||||
{"ignoreReqVers", ignoreReqVers},
|
||||
{"languageSetting", languageSetting},
|
||||
@ -56,7 +56,7 @@ namespace inst::config {
|
||||
httpkeyboard = j["httpkeyboard"].get<bool>();
|
||||
deletePrompt = j["deletePrompt"].get<bool>();
|
||||
gAuthKey = j["gAuthKey"].get<std::string>();
|
||||
gayMode = j["gayMode"].get<bool>();
|
||||
useTheme = j["useTheme"].get<bool>();
|
||||
useSound = j["useSound"].get<bool>();
|
||||
ignoreReqVers = j["ignoreReqVers"].get<bool>();
|
||||
languageSetting = j["languageSetting"].get<int>();
|
||||
@ -76,7 +76,7 @@ namespace inst::config {
|
||||
httplastUrl = "http://";
|
||||
autoUpdate = true;
|
||||
deletePrompt = true;
|
||||
gayMode = false;
|
||||
useTheme = false;
|
||||
useSound = true;
|
||||
fixticket = true;
|
||||
listoveride = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user