Added an option to move the id number in translations of prop ragdoll tool when selecting props

This commit is contained in:
penolakushari 2024-06-28 20:44:19 +03:00
parent 033d05be3a
commit 164879ebcf
3 changed files with 3 additions and 3 deletions

View File

@ -874,7 +874,7 @@ local function AddEntity(ent, setnext)
surface.PlaySound("buttons/button14.wav")
else
AddPRNode(selected, node)
notification.AddLegacy(language.GetPhrase("tool.ragmover_propragdoll.attach") .. " " .. selected.id, NOTIFY_GENERIC, 5)
notification.AddLegacy(string.Replace(language.GetPhrase("tool.ragmover_propragdoll.attach"), "%id", selected.id), NOTIFY_GENERIC, 5)
surface.PlaySound("buttons/button14.wav")
end

View File

@ -188,4 +188,4 @@ tool.ragmover_propragdoll.message5=Prop Ragdoll skeleton data cleared!
tool.ragmover_propragdoll.message6=Selected prop is not present in constrained entities!
tool.ragmover_propragdoll.setroot=Selected prop is set as a root bone!
tool.ragmover_propragdoll.attach=Selected prop is set to be a child of prop
tool.ragmover_propragdoll.attach=Selected prop is set to be a child of prop %id

View File

@ -188,4 +188,4 @@ tool.ragmover_propragdoll.message5=Prop Ragdoll skeleton удалён!
tool.ragmover_propragdoll.message6=Выбранный проп не прикреплён к остальным!
tool.ragmover_propragdoll.setroot=Выбранный проп установлен в качестве корневой кости!
tool.ragmover_propragdoll.attach=Выбранный проп установлен как дочерний к пропу
tool.ragmover_propragdoll.attach=Выбранный проп установлен как дочерний к пропу %id