diff options
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();
|