mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: Use named arguments in uiFilterMenuDynamic translation
--HG-- branch : develop
This commit is contained in:
parent
4074f095eb
commit
cf20e21f83
1 changed files with 7 additions and 1 deletions
|
@ -2635,7 +2635,13 @@ public:
|
|||
{
|
||||
ucstring title;
|
||||
STRING_MANAGER::CStringManagerClient::instance()->getDynString(textId, title);
|
||||
pMenu->addLineAtIndex(5 + insertion_index, title+" @{T8}/"+s, "chat_target_selected", "dyn"+s, "dyn"+s);
|
||||
|
||||
// replace dynamic channel name and shortcut
|
||||
ucstring res = CI18N::get("uiFilterMenuDynamic");
|
||||
strFindReplace(res, "%channel", title);
|
||||
strFindReplace(res, "%shortcut", s);
|
||||
|
||||
pMenu->addLineAtIndex(5 + insertion_index, res, "chat_target_selected", "dyn"+s, "dyn"+s);
|
||||
insertion_index++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue