Compare commits

...

11 Commits

Author SHA1 Message Date
KawaiiBunga 1d02e7a1dc Merge branch 'dev' into 'dev'
Replace more frontend text

See merge request suyu-emu/suyu!70
2024-03-08 07:49:51 +00:00
cass_058 c445fa1e3e Fix build 2024-03-08 07:49:32 +00:00
KawaiiBunga 56309ef84e Merge branch suyu:dev into dev 2024-03-08 01:01:38 +00:00
KawaiiBunga b34ef0e7d6 Merge branch suyu:dev into dev 2024-03-07 22:44:02 +00:00
KawaiiBunga 2a5fe1719d Get rid of header to fix build error 2024-03-07 19:02:58 +00:00
Kawaii d07e6bb681 Merge branch 'dev' of https://gitlab.com/suyu-emu/suyu into dev 2024-03-07 12:34:32 -06:00
Kawaii b034086f38 Update to latest branch 2024-03-07 12:30:15 -06:00
Kawaii 5a09e29c1c Update links 2024-03-07 02:50:38 -06:00
KawaiiBunga 995c42039c Merge branch suyu:dev into dev 2024-03-07 07:40:36 +00:00
KawaiiBunga 0d40138fc4 gitlabs -> gitlab 2024-03-07 07:40:29 +00:00
Kawaii 2b304bb3c5 Replace more frontend text 2024-03-06 22:48:59 -06:00
5 changed files with 48 additions and 62 deletions

View File

@ -340,6 +340,9 @@ endif()
if (ENABLE_WEB_SERVICE) if (ENABLE_WEB_SERVICE)
find_package(cpp-jwt 1.4 CONFIG) find_package(cpp-jwt 1.4 CONFIG)
endif()
if (ENABLE_WEB_SERVICE OR USE_DISCORD_PRESENCE)
find_package(httplib 0.12 MODULE COMPONENTS OpenSSL) find_package(httplib 0.12 MODULE COMPONENTS OpenSSL)
endif() endif()

View File

@ -119,7 +119,7 @@ endif()
add_subdirectory(sirit) add_subdirectory(sirit)
# httplib # httplib
if (ENABLE_WEB_SERVICE AND NOT TARGET httplib::httplib) if (ENABLE_WEB_SERVICE OR USE_DISCORD_PRESENCE AND NOT TARGET httplib::httplib)
set(HTTPLIB_REQUIRE_OPENSSL ON) set(HTTPLIB_REQUIRE_OPENSSL ON)
add_subdirectory(cpp-httplib) add_subdirectory(cpp-httplib)
endif() endif()

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--Modified by KawaiiBunga on <2024/03/07>-->
<ui version="4.0"> <ui version="4.0">
<class>AboutDialog</class> <class>AboutDialog</class>
<widget class="QDialog" name="AboutDialog"> <widget class="QDialog" name="AboutDialog">
@ -11,7 +12,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>About yuzu</string> <string>About suyu</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
@ -69,7 +70,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:28pt;&quot;&gt;Suyu&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:28pt;&quot;&gt;suyu&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -99,9 +100,9 @@
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt; &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt;&quot;&gt;Suyu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt;&quot;&gt;suyu is a continuation of an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt;&quot;&gt;This software should not be used to play games you have not legally obtained.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt;&quot;&gt;This software should not be used to play games you have not legally obtained. No support will be provided if you have not legally obtained your game dumps.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
@ -127,7 +128,7 @@ p, li { white-space: pre-wrap; }
<item> <item>
<widget class="QLabel" name="labelLinks"> <widget class="QLabel" name="labelLinks">
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://gitlab.com/suyu-emu/suyu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Website&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://discord.com/invite/2gQRBp44KT&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Discord&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://gitlab.com/suyu-emu/suyu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Source Code&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://gitlab.com/suyu-emu/suyu/-/graphs/master&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributors&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://gitlab.com/suyu-emu/suyu/-/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://suyu.dev/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Website&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://gitlab.com/suyu-emu/suyu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Source Code&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://gitlab.com/suyu-emu/suyu/-/project_members&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributors&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://gitlab.com/suyu-emu/suyu/-/blob/dev/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>
@ -143,7 +144,7 @@ p, li { white-space: pre-wrap; }
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:7pt;&quot;&gt;&amp;quot;Nintendo Switch&amp;quot; is a trademark of Nintendo. Suyu is not affiliated with Nintendo in any way.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:7pt;&quot;&gt;&amp;quot;Nintendo Switch&amp;quot; is a trademark of Nintendo. suyu is not affiliated with Nintendo in any way.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -164,6 +165,7 @@ p, li { white-space: pre-wrap; }
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="../../dist/qt_themes_default/default/default.qrc"/>
<include location="../../dist/qt_themes/default/default.qrc"/> <include location="../../dist/qt_themes/default/default.qrc"/>
</resources> </resources>
<connections> <connections>
@ -172,32 +174,12 @@ p, li { white-space: pre-wrap; }
<signal>accepted()</signal> <signal>accepted()</signal>
<receiver>AboutDialog</receiver> <receiver>AboutDialog</receiver>
<slot>accept()</slot> <slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection> </connection>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>
<signal>rejected()</signal> <signal>rejected()</signal>
<receiver>AboutDialog</receiver> <receiver>AboutDialog</receiver>
<slot>reject()</slot> <slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection> </connection>
</connections> </connections>
</ui> </ui>

View File

@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: 2014 Citra Emulator Project & 2024 suyu Emulator Project // SPDX-FileCopyrightText: 2014 Citra Emulator Project & 2024 suyu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
// Modified by palfaiate on <2024/03/07> // Modified by KawaiiBunga on <2024/03/07>
#include <cinttypes> #include <cinttypes>
#include <clocale> #include <clocale>
@ -201,8 +201,8 @@ void GMainWindow::ShowTelemetryCallout() {
UISettings::values.callout_flags = UISettings::values.callout_flags =
UISettings::values.callout_flags.GetValue() | static_cast<uint32_t>(CalloutFlag::Telemetry); UISettings::values.callout_flags.GetValue() | static_cast<uint32_t>(CalloutFlag::Telemetry);
const QString telemetry_message = const QString telemetry_message =
tr("<a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous " tr("<a href='https://suyu.dev'>Anonymous "
"data is collected</a> to help improve yuzu. " "data is collected</a> to help improve suyu. "
"<br/><br/>Would you like to share your usage data with us?"); "<br/><br/>Would you like to share your usage data with us?");
if (!question(this, tr("Telemetry"), telemetry_message)) { if (!question(this, tr("Telemetry"), telemetry_message)) {
Settings::values.enable_telemetry = false; Settings::values.enable_telemetry = false;
@ -436,7 +436,7 @@ GMainWindow::GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulk
QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"),
tr("Vulkan initialization failed during boot.<br><br>Click <a " tr("Vulkan initialization failed during boot.<br><br>Click <a "
"href='https://yuzu-emu.org/wiki/faq/" "href='https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/FAQ"
"#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>" "#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>"
"here for instructions to fix the issue</a>.")); "here for instructions to fix the issue</a>."));
@ -458,7 +458,7 @@ GMainWindow::GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulk
// Set a screensaver inhibition reason string. Currently passed to DBus by SDL and visible to // Set a screensaver inhibition reason string. Currently passed to DBus by SDL and visible to
// the user through their desktop environment. // the user through their desktop environment.
//: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the //: TRANSLATORS: This string is shown to the user to explain why suyu needs to prevent the
//: computer from sleeping //: computer from sleeping
QByteArray wakelock_reason = tr("Running a game").toUtf8(); QByteArray wakelock_reason = tr("Running a game").toUtf8();
SDL_SetHint(SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME, wakelock_reason.data()); SDL_SetHint(SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME, wakelock_reason.data());
@ -1804,8 +1804,8 @@ bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletPa
tr("You are using the deconstructed ROM directory format for this game, which is an " tr("You are using the deconstructed ROM directory format for this game, which is an "
"outdated format that has been superseded by others such as NCA, NAX, XCI, or " "outdated format that has been superseded by others such as NCA, NAX, XCI, or "
"NSP. Deconstructed ROM directories lack icons, metadata, and update " "NSP. Deconstructed ROM directories lack icons, metadata, and update "
"support.<br><br>For an explanation of the various Switch formats yuzu supports, <a " "support.<br><br>For an explanation of the various Switch formats suyu supports, <a "
"href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our " "href='https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/Overview-of-Switch-Game-Formats'>check out our "
"wiki</a>. This message will not be shown again.")); "wiki</a>. This message will not be shown again."));
} }
@ -1819,11 +1819,11 @@ bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletPa
case Core::SystemResultStatus::ErrorVideoCore: case Core::SystemResultStatus::ErrorVideoCore:
QMessageBox::critical( QMessageBox::critical(
this, tr("An error occurred initializing the video core."), this, tr("An error occurred initializing the video core."),
tr("yuzu has encountered an error while running the video core. " tr("suyu has encountered an error while running the video core. "
"This is usually caused by outdated GPU drivers, including integrated ones. " "This is usually caused by outdated GPU drivers, including integrated ones. "
"Please see the log for more details. " "Please see the log for more details. "
"For more information on accessing the log, please see the following page: " "For more information on accessing the log, please see the following page: "
"<a href='https://yuzu-emu.org/help/reference/log-files/'>" "<a href='https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/Quickstart'>"
"How to Upload the Log File</a>. ")); "How to Upload the Log File</a>. "));
break; break;
default: default:
@ -1837,9 +1837,9 @@ bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletPa
tr("Error while loading ROM! %1", "%1 signifies a numeric error code.") tr("Error while loading ROM! %1", "%1 signifies a numeric error code.")
.arg(QString::fromStdString(error_code)); .arg(QString::fromStdString(error_code));
const auto description = const auto description =
tr("%1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the " tr("%1<br>Please follow <a href='https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/Quickstart'>the "
"yuzu quickstart guide</a> to redump your files.<br>You can refer " "suyu quickstart guide</a> to redump your files.<br>You can refer "
"to the yuzu wiki</a> or the yuzu Discord</a> for help.", "to the suyu wiki</a> or the suyu Discord</a> for help.",
"%1 signifies an error string.") "%1 signifies an error string.")
.arg(QString::fromStdString( .arg(QString::fromStdString(
GetResultStatusString(static_cast<Loader::ResultStatus>(error_id)))); GetResultStatusString(static_cast<Loader::ResultStatus>(error_id))));
@ -1914,7 +1914,7 @@ void GMainWindow::ConfigureFilesystemProvider(const std::string& filepath) {
void GMainWindow::BootGame(const QString& filename, Service::AM::FrontendAppletParameters params, void GMainWindow::BootGame(const QString& filename, Service::AM::FrontendAppletParameters params,
StartGameType type) { StartGameType type) {
LOG_INFO(Frontend, "yuzu starting..."); LOG_INFO(Frontend, "suyu starting...");
if (params.program_id == 0 || if (params.program_id == 0 ||
params.program_id > static_cast<u64>(Service::AM::AppletProgramId::MaxProgramId)) { params.program_id > static_cast<u64>(Service::AM::AppletProgramId::MaxProgramId)) {
@ -2654,7 +2654,7 @@ void GMainWindow::OnGameListNavigateToGamedbEntry(u64 program_id,
directory = it->second.second; directory = it->second.second;
} }
QDesktopServices::openUrl(QUrl(QStringLiteral("https://yuzu-emu.org/game/") + directory)); QDesktopServices::openUrl(QUrl(QStringLiteral("https://suyu.dev/game/") + directory));
} }
bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path, bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path,
@ -2792,7 +2792,7 @@ bool GMainWindow::CreateShortcutMessagesGUI(QWidget* parent, int imsg, const QSt
bool GMainWindow::MakeShortcutIcoPath(const u64 program_id, const std::string_view game_file_name, bool GMainWindow::MakeShortcutIcoPath(const u64 program_id, const std::string_view game_file_name,
std::filesystem::path& out_icon_path) { std::filesystem::path& out_icon_path) {
// Get path to Yuzu icons directory & icon extension // Get path to suyu icons directory & icon extension
std::string ico_extension = "png"; std::string ico_extension = "png";
#if defined(_WIN32) #if defined(_WIN32)
out_icon_path = Common::FS::GetSuyuPath(Common::FS::SuyuPath::IconsDir); out_icon_path = Common::FS::GetSuyuPath(Common::FS::SuyuPath::IconsDir);
@ -2819,7 +2819,7 @@ bool GMainWindow::MakeShortcutIcoPath(const u64 program_id, const std::string_vi
void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& game_path, void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& game_path,
GameListShortcutTarget target) { GameListShortcutTarget target) {
// Get path to yuzu executable // Get path to suyu executable
const QStringList args = QApplication::arguments(); const QStringList args = QApplication::arguments();
std::filesystem::path yuzu_command = args[0].toStdString(); std::filesystem::path yuzu_command = args[0].toStdString();
// If relative path, make it an absolute path // If relative path, make it an absolute path
@ -2900,7 +2900,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
this, GMainWindow::CREATE_SHORTCUT_MSGBOX_FULLSCREEN_YES, qt_game_title)) { this, GMainWindow::CREATE_SHORTCUT_MSGBOX_FULLSCREEN_YES, qt_game_title)) {
arguments = "-f " + arguments; arguments = "-f " + arguments;
} }
const std::string comment = fmt::format("Start {:s} with the yuzu Emulator", game_title); const std::string comment = fmt::format("Start {:s} with the suyu Emulator", game_title);
const std::string categories = "Game;Emulator;Qt;"; const std::string categories = "Game;Emulator;Qt;";
const std::string keywords = "Switch;Nintendo;"; const std::string keywords = "Switch;Nintendo;";
@ -3370,9 +3370,9 @@ void GMainWindow::OnMenuReportCompatibility() {
compatdb.exec(); compatdb.exec();
} else { } else {
QMessageBox::critical( QMessageBox::critical(
this, tr("Missing yuzu Account"), this, tr("Missing suyu Account"),
tr("In order to submit a game compatibility test case, you must link your yuzu " tr("In order to submit a game compatibility test case, you must link your suyu "
"account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration " "account.<br><br/>To link your suyu account, go to Emulation &gt; Configuration "
"&gt; " "&gt; "
"Web.")); "Web."));
} }
@ -3392,15 +3392,15 @@ void GMainWindow::OpenURL(const QUrl& url) {
} }
void GMainWindow::OnOpenModsPage() { void GMainWindow::OnOpenModsPage() {
OpenURL(QUrl(QStringLiteral("https://github.com/yuzu-emu/yuzu/wiki/Switch-Mods"))); OpenURL(QUrl(QStringLiteral("https://suyu.dev")));
} }
void GMainWindow::OnOpenQuickstartGuide() { void GMainWindow::OnOpenQuickstartGuide() {
OpenURL(QUrl(QStringLiteral("https://yuzu-emu.org/help/quickstart/"))); OpenURL(QUrl(QStringLiteral("https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/Quickstart")));
} }
void GMainWindow::OnOpenFAQ() { void GMainWindow::OnOpenFAQ() {
OpenURL(QUrl(QStringLiteral("https://yuzu-emu.org/wiki/faq/"))); OpenURL(QUrl(QStringLiteral("https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/FAQ")));
} }
void GMainWindow::ToggleFullscreen() { void GMainWindow::ToggleFullscreen() {
@ -3976,7 +3976,7 @@ void GMainWindow::OnInstallFirmware() {
if (!ContentManager::AreKeysPresent()) { if (!ContentManager::AreKeysPresent()) {
QMessageBox::information( QMessageBox::information(
this, tr("Keys not installed"), this, tr("Keys not installed"),
tr("Install decryption keys and restart yuzu before attempting to install firmware.")); tr("Install decryption keys and restart suyu before attempting to install firmware."));
return; return;
} }
@ -4066,7 +4066,7 @@ void GMainWindow::OnInstallFirmware() {
QMessageBox::warning( QMessageBox::warning(
this, tr("Firmware install failed"), this, tr("Firmware install failed"),
tr("Firmware installation cancelled, firmware may be in bad state, " tr("Firmware installation cancelled, firmware may be in bad state, "
"restart yuzu or re-install firmware.")); "restart suyu or re-install firmware."));
return; return;
} }
} }
@ -4602,7 +4602,7 @@ void GMainWindow::OnCheckFirmwareDecryption() {
QMessageBox::warning( QMessageBox::warning(
this, tr("Derivation Components Missing"), this, tr("Derivation Components Missing"),
tr("Encryption keys are missing. " tr("Encryption keys are missing. "
"<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu " "<br>Please follow <a href='https://gitlab.com/suyu-emu/suyu/-/wikis/wiki/Quickstart'>the suyu "
"quickstart guide</a> to get all your keys, firmware and " "quickstart guide</a> to get all your keys, firmware and "
"games.")); "games."));
} }
@ -4657,8 +4657,8 @@ bool GMainWindow::ConfirmClose() {
UISettings::values.confirm_before_stopping.GetValue() == ConfirmStop::Ask_Based_On_Game) { UISettings::values.confirm_before_stopping.GetValue() == ConfirmStop::Ask_Based_On_Game) {
return true; return true;
} }
const auto text = tr("Are you sure you want to close yuzu?"); const auto text = tr("Are you sure you want to close suyu?");
return question(this, tr("yuzu"), text); return question(this, tr("suyu"), text);
} }
void GMainWindow::closeEvent(QCloseEvent* event) { void GMainWindow::closeEvent(QCloseEvent* event) {
@ -4738,7 +4738,7 @@ bool GMainWindow::ConfirmChangeGame() {
// Use custom question to link controller navigation // Use custom question to link controller navigation
return question( return question(
this, tr("yuzu"), this, tr("suyu"),
tr("Are you sure you want to stop the emulation? Any unsaved progress will be lost."), tr("Are you sure you want to stop the emulation? Any unsaved progress will be lost."),
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes); QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
} }
@ -4747,10 +4747,10 @@ bool GMainWindow::ConfirmForceLockedExit() {
if (emu_thread == nullptr) { if (emu_thread == nullptr) {
return true; return true;
} }
const auto text = tr("The currently running application has requested yuzu to not exit.\n\n" const auto text = tr("The currently running application has requested suyu to not exit.\n\n"
"Would you like to bypass this and exit anyway?"); "Would you like to bypass this and exit anyway?");
return question(this, tr("yuzu"), text); return question(this, tr("suyu"), text);
} }
void GMainWindow::RequestGameExit() { void GMainWindow::RequestGameExit() {
@ -5027,8 +5027,8 @@ int main(int argc, char* argv[]) {
Common::ConfigureNvidiaEnvironmentFlags(); Common::ConfigureNvidiaEnvironmentFlags();
// Init settings params // Init settings params
QCoreApplication::setOrganizationName(QStringLiteral("yuzu team")); QCoreApplication::setOrganizationName(QStringLiteral("suyu team"));
QCoreApplication::setApplicationName(QStringLiteral("yuzu")); QCoreApplication::setApplicationName(QStringLiteral("suyu"));
#ifdef _WIN32 #ifdef _WIN32
// Increases the maximum open file limit to 8192 // Increases the maximum open file limit to 8192

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Modified by KawaiiBunga on <2024/03/07> -->
<ui version="4.0"> <ui version="4.0">
<class>MainWindow</class> <class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow"> <widget class="QMainWindow" name="MainWindow">
@ -376,7 +377,7 @@
</action> </action>
<action name="action_Open_yuzu_Folder"> <action name="action_Open_yuzu_Folder">
<property name="text"> <property name="text">
<string>Open &amp;yuzu Folder</string> <string>Open &amp;suyu Folder</string>
</property> </property>
</action> </action>
<action name="action_Capture_Screenshot"> <action name="action_Capture_Screenshot">