mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-29 03:40:55 +00:00
Changed: Use named arguments in uiFilterMenuDynamic translation
This commit is contained in:
parent
f728a518a1
commit
2a53238ba3
1 changed files with 7 additions and 1 deletions
|
@ -2635,7 +2635,13 @@ public:
|
||||||
{
|
{
|
||||||
ucstring title;
|
ucstring title;
|
||||||
STRING_MANAGER::CStringManagerClient::instance()->getDynString(textId, 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++;
|
insertion_index++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue