diff options
author | saturneric <[email protected]> | 2024-01-23 10:14:21 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-23 10:14:21 +0000 |
commit | 3ec6373fc40ca5120e0417ffb41a6341272fd952 (patch) | |
tree | 74e6b9722e6a9217a90715c9fd6d564cf82596c1 /src/app.cpp | |
parent | fix: main windows is too small (diff) | |
download | GpgFrontend-3ec6373fc40ca5120e0417ffb41a6341272fd952.tar.gz GpgFrontend-3ec6373fc40ca5120e0417ffb41a6341272fd952.zip |
fix: solve issues at i18n support
Diffstat (limited to 'src/app.cpp')
-rw-r--r-- | src/app.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.cpp b/src/app.cpp index b8b20300..a5539a37 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -33,6 +33,7 @@ #include "ui/GpgFrontendUIInit.h" // main +#include "init.h" #include "main.h" namespace GpgFrontend { @@ -69,6 +70,9 @@ auto StartApplication(const GFCxtWPtr& p_ctx) -> int { int restart_count = 0; do { + // refresh locale settings + if (restart_count > 0) InitLocale(); + // after that load ui totally GpgFrontend::UI::InitGpgFrontendUI(app); |