Make "Confirm" in VerbMenuUIController localizable (#40248)

This commit is contained in:
Ser11y
2025-09-10 15:08:08 +03:00
committed by GitHub
parent 7ad2d73605
commit a5ef016f1e

View File

@@ -273,7 +273,7 @@ namespace Content.Client.Verbs.UI
if (verbElement.SubMenu == null)
{
var popupElement = new ConfirmationMenuElement(verb, "Confirm");
var popupElement = new ConfirmationMenuElement(verb, Loc.GetString("generic-confirm"));
verbElement.SubMenu = new ContextMenuPopup(_context, verbElement);
_context.AddElement(verbElement.SubMenu, popupElement);
}