diff --git a/src/localization/documentation.cpp b/src/localization/documentation.cpp index 30af3c5..051043d 100644 --- a/src/localization/documentation.cpp +++ b/src/localization/documentation.cpp @@ -27,7 +27,7 @@ namespace Nickvision::Localization std::vector langs; for (const std::filesystem::directory_entry& e : std::filesystem::directory_iterator(std::filesystem::current_path())) { - if (e.is_directory() && std::filesystem::exists(e.path() / Gettext::getDomainName() / ".mo")) + if (e.is_directory() && std::filesystem::exists(e.path() / (Gettext::getDomainName() + ".mo"))) { langs.push_back(e.path().filename().string()); }