Skip to content

Commit

Permalink
Update documentation.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Jan 27, 2024
1 parent 416916e commit e1d23dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/localization/documentation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Nickvision::Localization
std::vector<std::string> 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());
}
Expand Down

0 comments on commit e1d23dd

Please sign in to comment.