From 978fb34b36dce55b187ab67736198bb040a937cc Mon Sep 17 00:00:00 2001 From: Jared0714 <81500902+semaj14@users.noreply.github.com> Date: Fri, 11 Aug 2023 19:05:19 -0700 Subject: [PATCH] v1.0.4 Full French & Italian menu support --- .../Menu/PluginMenuHome.cpp | 2 +- .../Menu/PluginMenuTools.cpp | 4 ++-- Library/lib/libctrpf.a | Bin 1609670 -> 1609670 bytes Sources/Helpers/Helpers.cpp | 2 +- Sources/Main.cpp | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuHome.cpp b/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuHome.cpp index 7b4b2e0..23ca6de 100644 --- a/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuHome.cpp +++ b/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuHome.cpp @@ -447,7 +447,7 @@ namespace CTRPluginFramework { // Draw version if on default page if (folder->name == pluginName) - Renderer::DrawString("Version: 1.0.3b", 158, posY2, Color::Gray); + Renderer::DrawString("Version: 1.0.4", 158, posY2, Color::Gray); else Renderer::DrawString("Multi-Pokemon Framework", 132, posY2, Color::Gray); diff --git a/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuTools.cpp b/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuTools.cpp index 16ca08e..0dd0089 100644 --- a/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuTools.cpp +++ b/Library/Sources/CTRPluginFrameworkImpl/Menu/PluginMenuTools.cpp @@ -647,8 +647,8 @@ namespace CTRPluginFramework { static Clock clock; static bool timesup = true; - static const char version[] = "Version: 1.0.3b"; - static const char compiled[] = "Compiled: July 1, 2023"; + static const char version[] = "Version: 1.0.4"; + static const char compiled[] = "Compiled: August 11, 2023"; const char *info[3] = {SystemModel().c_str(), InternetAccess().c_str(), CurrentTime().c_str()}; { diff --git a/Library/lib/libctrpf.a b/Library/lib/libctrpf.a index 8f79f0aec08b28994d10ba73f406b9a4c7b910d2..7fb437b985f19a09908e13fc89476883808a8602 100644 GIT binary patch delta 449 zcmX>$Kk3-~qzO_SmWCDvre-FljY_Rbj9ZnM`0SuUMrP9kM4836``a2yRr#Gx- zk=XvmgXse+Ow3~Xf=4Xk+kg8pJ>-Lm85=;<{fT8d!O9A@V*12aT$0-#B{MxzhAA=v zSs=FkQ9IKmCYYEBNTYcB5W(HywAZ7((HXvpPVh$kY1Y)l3m%F$b55x4CPfu9G zD&GFtmj{S>ftYXmXJ39nZJ4|z#52m3{1Z5&Oc;Dib4oIG1M;&|bMx~Q+=>!&Q_J&< zvKh9YZRAg7o*tvh$+z91m7gtQde90%k@l#&{M)1M3TUyiLxXF2e+8?=_Qj6`R$C}I zmZp~$mnaw->L?f)7#TB!r4|)u=I2={80s15nJ_SJ&yyBBz$3`dz`(%B(9Q6T3&;Qh zsqOX}g30}iQqvhjn1rWq+b$@;xM6z#4ngth_dx9Z?eDh>0$Kk3-~qzO_S78XWkMrM}AjY_Rbj9ZnM`0SHaIElfxG^Zp}Hy}SdH8(#` z!L2AUH?=&!D0}2p>y^KEx%|jfH|&X-=hrp^k!)fsrvoSZYymW`3TPf}x&)9?%v>28Qi<(t-zg1O*rvfV^&o zZ(KkI5QuNL*APtZXB3~#7{VkxecN_H0oJt^3=9Gg{yiX{ac}$k?Seoo1jNEXECR%$ NKrFWX{dV!|*8#cBmo5MR diff --git a/Sources/Helpers/Helpers.cpp b/Sources/Helpers/Helpers.cpp index 768bdfb..bc2e155 100644 --- a/Sources/Helpers/Helpers.cpp +++ b/Sources/Helpers/Helpers.cpp @@ -39,7 +39,7 @@ namespace CTRPluginFramework { return false; } - Lang currLang = Lang::ITA; + Lang currLang = Lang::ENG; void LangFile(Lang lang) { File file(path + "/Lang.txt"); diff --git a/Sources/Main.cpp b/Sources/Main.cpp index 37d7884..934a813 100644 --- a/Sources/Main.cpp +++ b/Sources/Main.cpp @@ -73,8 +73,8 @@ namespace CTRPluginFramework { } int main(void) { - PluginMenu* menu = new PluginMenu("Multi-Pokémon Framework", 1, 0, 0, language("Multi-Pokémon Framework is a plugin developed by semaj14 that uses the CTRPluginFramework library by The Pixellizer Group.\n\nThis plugin is a work in progress as well as a learning exercise.\n\nFor more info, visit the official GitHub page.", - "Multi-Pokémon Framework est un plugin développé par semaj14 qui utilise la base de données CTRPluginFramework de The Pixellizer Group.\n\nCe plugin est un travail en cours ainsi qu'un exercice d'apprentissage.\n\nPour plus d'informations, visitez la page GitHub officielle.", + PluginMenu* menu = new PluginMenu("Multi-Pokémon Framework", 1, 0, 0, language("Multi-Pokémon Framework is a plugin developed by semaj14 that uses the CTRPluginFramework library by The Pixellizer Group.\n\nThis plugin is a work in progress as well as a learning exercise.\n\nFor more info, visit the official GitHub page.", + "Multi-Pokémon Framework est un plugin développé par semaj14 qui utilise la base de données CTRPluginFramework de The Pixellizer Group.\n\nCe plugin est un travail en cours ainsi qu'un exercice d'apprentissage.\n\nPour plus d'informations, visitez la page GitHub officielle.", "Multi-Pokémon Framework è un plugin sviluppato da semaj14 che utilizza la libreria CTRPluginFramework di The Pixellizer Group.\n\nQuesto plugin è un lavoro in corso e un esercizio di apprendimento. \n\nPer ulteriori informazioni, visitare la pagina GitHub ufficiale.")); menu->ShowWelcomeMessage(false); menu->SynchronizeWithFrame(true);