From e1d23dd3befab6b4c2c5263f27ad335db04b2b1d Mon Sep 17 00:00:00 2001 From: Nick Logozzo Date: Sat, 27 Jan 2024 18:55:01 -0500 Subject: [PATCH] Update documentation.cpp --- src/localization/documentation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }