diff options
author | Saturneric <[email protected]> | 2021-12-06 22:05:21 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-07 05:38:52 +0000 |
commit | 1a2c3d6bc0b2feb4b286cc1dbe7b2cd5afcb69ba (patch) | |
tree | 081ed8abe91ade5809b41f29ffa823a4f37cf798 /src/gpg/GpgContext.cpp | |
parent | Test & Improve UI (diff) | |
download | GpgFrontend-1a2c3d6bc0b2feb4b286cc1dbe7b2cd5afcb69ba.tar.gz GpgFrontend-1a2c3d6bc0b2feb4b286cc1dbe7b2cd5afcb69ba.zip |
Add Translate & Fix Bugs.
Diffstat (limited to 'src/gpg/GpgContext.cpp')
-rw-r--r-- | src/gpg/GpgContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpg/GpgContext.cpp b/src/gpg/GpgContext.cpp index b35615a6..a8b86619 100644 --- a/src/gpg/GpgContext.cpp +++ b/src/gpg/GpgContext.cpp @@ -51,7 +51,7 @@ GpgContext::GpgContext(bool independent_database, std::string db_path, if (_first) { /* Initialize the locale environment. */ - setlocale(LC_ALL, ""); + LOG(INFO) << "locale" << setlocale(LC_CTYPE, nullptr); gpgme_check_version(nullptr); gpgme_set_locale(nullptr, LC_CTYPE, setlocale(LC_CTYPE, nullptr)); #ifdef LC_MESSAGES |