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,13 +2,15 @@
#include "EUndoCommand.h"
#include "Editor/INodeEditor.h"
#include <QCoreApplication>
CScaleNodeCommand::CScaleNodeCommand()
: IUndoCommand("Scale")
: IUndoCommand(QCoreApplication::translate("CScaleNodeCommand", "Scale"))
{
}
CScaleNodeCommand::CScaleNodeCommand(INodeEditor *pEditor, const QList<CSceneNode*>& rkNodes, bool UsePivot, const CVector3f& rkPivot, const CVector3f& rkDelta)
: IUndoCommand("Scale"),
: IUndoCommand(QCoreApplication::translate("CScaleNodeCommand", "Scale")),
mpEditor(pEditor)
{
mNodeList.reserve(rkNodes.size());