From cce7d21792e53ce92be83b29a4fb5c06044a88cc Mon Sep 17 00:00:00 2001 From: flb Date: Thu, 24 Sep 2020 00:12:46 +0200 Subject: [PATCH] Fixed typos --- include/tools_tab.hpp | 1 - source/JC_page.cpp | 2 +- source/about_tab.cpp | 2 +- source/app_page.cpp | 2 +- source/changelog_page.cpp | 2 +- source/download_payload_page.cpp | 2 +- source/list_download_tab.cpp | 10 +++++----- source/tools_tab.cpp | 3 --- 8 files changed, 10 insertions(+), 14 deletions(-) diff --git a/include/tools_tab.hpp b/include/tools_tab.hpp index 50b3764..5661071 100644 --- a/include/tools_tab.hpp +++ b/include/tools_tab.hpp @@ -14,7 +14,6 @@ class ToolsTab : public brls::List { private: - brls::Label* label; brls::ListItem* deleteCheats; brls::ListItem* viewCheats; brls::ListItem* JCcolor; diff --git a/source/JC_page.cpp b/source/JC_page.cpp index 12d8369..2d25fa8 100644 --- a/source/JC_page.cpp +++ b/source/JC_page.cpp @@ -5,7 +5,7 @@ JCPage::JCPage() : AppletFrame(true, true) this->setTitle("Joy-Con color swapper"); list = new brls::List(); std::string labelText = "You can change the internal color of your Joy-Cons. Make sure they're docked.\n"\ - "Color profiles are stored in '" + std::string(COLOR_PROFILES_PATH) + "'. Go to http://bit.ly/JC-color "\ + "Color profiles are stored in '" + std::string(COLOR_PROFILES_PATH) + "'. Go to 'http://bit.ly/JC-color' "\ "to generate your own custom profiles."; label = new brls::Label(brls::LabelStyle::DESCRIPTION, labelText, true); list->addView(label); diff --git a/source/about_tab.cpp b/source/about_tab.cpp index 7442db2..106a3d7 100644 --- a/source/about_tab.cpp +++ b/source/about_tab.cpp @@ -27,7 +27,7 @@ AboutTab::AboutTab() brls::LabelStyle::SMALL, "\uE016 Aside from cheat codes that are mirrored from the main Gbatemp thread, "\ "HamletDuFromage isn't hosting anything. All credits go to respective owners\n"\ - "\uE016 Links are refreshed every three hours. If a link remains broken after 3 hours have passed, please open a Github issue\n", + "\uE016 Links are refreshed every three hours. If a link remains broken after 3 hours have passed, please open a Github issue.\n", true ); this->addView(links); diff --git a/source/app_page.cpp b/source/app_page.cpp index b12ed06..9132322 100644 --- a/source/app_page.cpp +++ b/source/app_page.cpp @@ -7,7 +7,7 @@ AppPage::AppPage() : AppletFrame(true, true) list = new brls::List(); label = new brls::Label( brls::LabelStyle::DESCRIPTION, - "The following titles have had cheats downloaded for last time you used the app. Please note despite having been "\ + "The following titles have recieved cheat code updates the last time you used the app. Please note that despite having been "\ "downloaded for a game, cheats may not match its current update.", true ); diff --git a/source/changelog_page.cpp b/source/changelog_page.cpp index 4be6388..aff9203 100644 --- a/source/changelog_page.cpp +++ b/source/changelog_page.cpp @@ -20,7 +20,7 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true) changes.push_back("\uE016 Fixed progress bar sometimes being stuck when extracting."); verTitles.push_back("v1.1.0"); - changes.push_back("\uE016 Added an option to download payloads to /bootloader/payloads.\n"\ + changes.push_back("\uE016 Added an option to download payloads to '/bootloader/payloads'.\n"\ "\uE016 Cleaned up some stuff, made .ini overwriting cleaner.\n"); verTitles.push_back("v1.1.1"); diff --git a/source/download_payload_page.cpp b/source/download_payload_page.cpp index 7c6c0e8..43e8443 100644 --- a/source/download_payload_page.cpp +++ b/source/download_payload_page.cpp @@ -6,7 +6,7 @@ DownloadPayloadPage::DownloadPayloadPage() : AppletFrame(true, true) list = new brls::List(); label = new brls::Label( brls::LabelStyle::DESCRIPTION, - "Select a payload to download to " + std::string(BOOTLOADER_PL_PATH) + ".", + "Select a payload to download to '" + std::string(BOOTLOADER_PL_PATH) + "'.", true ); list->addView(label); diff --git a/source/list_download_tab.cpp b/source/list_download_tab.cpp index 4f1bbb7..02eb8af 100644 --- a/source/list_download_tab.cpp +++ b/source/list_download_tab.cpp @@ -5,8 +5,8 @@ ListDownloadTab::ListDownloadTab(archiveType type) : { std::tuple, std::vector> links; std::string operation = "Getting "; - std::string firmwareText("\uE016 Here are firmware dumps from \"https://darthsternie.net/switch-firmwares/\". "\ - "Once downloaded, it will be extracted in \"/firmware\". You can then install the update through Daybreak or ChoiDuJour.\n"\ + std::string firmwareText("\uE016 Firmware dumps from 'https://darthsternie.net/switch-firmwares/'. "\ + "Once downloaded, it will be extracted in '/firmware'. You can then install the update through Daybreak or ChoiDuJour.\n"\ "\uE016 Current FW: " ); SetSysFirmwareVersion ver; @@ -36,7 +36,7 @@ ListDownloadTab::ListDownloadTab(archiveType type) : links = fetchLinks(CFW_URL); operation += "CFW"; this->description->setText( - "\uE016 Here is a list of the main Switch CFWs. If you want to use Atmosphere + Hekate, download Atmosphere and then Hekate." + "\uE016 Main Switch CFWs. If you want to use Atmosphere with Hekate, download Atmosphere, then Hekate." ); break; case cheats: @@ -57,7 +57,7 @@ ListDownloadTab::ListDownloadTab(archiveType type) : } operation += "cheats"; this->description->setText( - "\uE016 This will downloaded a daily updated archive of cheat code from gbatemp.net. "\ + "\uE016 This will download a daily updated archive of cheat codes from 'gbatemp.net'. "\ "Cheat codes for games you don't have installed won't be extracted to your SD card. "\ "Title IDs listed in '" + std::string(CHEATS_EXCLUDE) + "' won't recieve cheat updates." ); @@ -98,7 +98,7 @@ ListDownloadTab::ListDownloadTab(archiveType type) : notFound = new brls::Label( brls::LabelStyle::DESCRIPTION, "Could not find a download link, make sure the Switch has access to the internet.\n"\ - "If this problem persists, please open an issue on Github", + "If this problem persists, please open an issue on Github.", true ); notFound->setHorizontalAlign(NVG_ALIGN_CENTER); diff --git a/source/tools_tab.cpp b/source/tools_tab.cpp index 4a1b35e..a06f9ba 100644 --- a/source/tools_tab.cpp +++ b/source/tools_tab.cpp @@ -2,9 +2,6 @@ ToolsTab::ToolsTab() : brls::List() { - this->label = new brls::Label(brls::LabelStyle::DESCRIPTION, "\uE016 Miscellaneous tools", true); - this->addView(label); - viewCheats = new brls::ListItem("View installed cheats"); viewCheats->getClickEvent()->subscribe([&](brls::View* view){ brls::Application::pushView(new AppPage());