Skip to content

Commit

Permalink
Added correct translation for author
Browse files Browse the repository at this point in the history
  • Loading branch information
Monsterovich committed Nov 24, 2024
1 parent 09788ec commit 5e97976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multimenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ void addMultiRequest(const char *searchDir, const char *fileExtension, UDWORD mo
{
std::string withoutTechlevel = mapNameWithoutTechlevel(mapData->pName.c_str());
std::string tip = withoutTechlevel +
(mapData->pAuthor.empty() ? "" : "\n" + std::string(_("By ")) + mapData->pAuthor);
(mapData->pAuthor.empty() ? "" : "\n" + astringf(_("By %s"), mapData->pAuthor.c_str()));
// add number of players to string.
auto button = std::make_shared<W_BUTTON>();
requestList->attach(button);
Expand Down

0 comments on commit 5e97976

Please sign in to comment.