diff options
author | rtk0c <[email protected]> | 2021-03-29 13:47:55 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-03-29 13:47:55 -0700 |
commit | 6032ae108064650324b2c45352e1baa5b36961cc (patch) | |
tree | 79ebd1df933ca9c3d8de4a5a537fffeadf7a6c9b /core/src/Utils | |
parent | 2d7e772909571676dd4266337d43086bd2927e93 (diff) |
Project tab
Diffstat (limited to 'core/src/Utils')
-rw-r--r-- | core/src/Utils/I18n.cpp | 4 | ||||
-rw-r--r-- | core/src/Utils/I18n.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/Utils/I18n.cpp b/core/src/Utils/I18n.cpp index f5a6a49..50edf67 100644 --- a/core/src/Utils/I18n.cpp +++ b/core/src/Utils/I18n.cpp @@ -78,11 +78,11 @@ void I18n::Shutdown() { // Nothing to do yet
}
-Signal<> I18n::reloadSignal{};
+Signal<> I18n::OnReload{};
void I18n::ReloadLocales() {
auto& state = I18nState::Get();
- reloadSignal();
+ OnReload();
}
std::string_view I18n::GetLanguage() {
diff --git a/core/src/Utils/I18n.hpp b/core/src/Utils/I18n.hpp index b9386be..de32cf8 100644 --- a/core/src/Utils/I18n.hpp +++ b/core/src/Utils/I18n.hpp @@ -16,7 +16,7 @@ public: static void Init();
static void Shutdown();
- static Signal<> reloadSignal;
+ static Signal<> OnReload;
static void ReloadLocales();
static std::string_view GetLanguage();
|