Editor: Mark remaining undo command strings as translatable

Ensures that we're marking the remnant potential display strings
properly.
This commit is contained in:
Lioncache
2025-12-01 14:34:33 -05:00
parent db7e832f32
commit 5fc6b50923
27 changed files with 84 additions and 32 deletions

View File

@@ -2,8 +2,10 @@
#include "EUndoCommand.h"
#include "Editor/INodeEditor.h"
#include <QCoreApplication>
CRotateNodeCommand::CRotateNodeCommand()
: IUndoCommand("Rotate")
: IUndoCommand(QCoreApplication::translate("CRotateNodeCommand", "Rotate"))
{
}
@@ -16,7 +18,7 @@ CRotateNodeCommand::CRotateNodeCommand(
const CQuaternion& rkDelta,
ETransformSpace TransformSpace
)
: IUndoCommand("Rotate"),
: IUndoCommand(QCoreApplication::translate("CRotateNodeCommand", "Rotate")),
mpEditor(pEditor)
{
mNodeList.reserve(rkNodes.size());