mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-11 22:44:19 +00:00
Editor: Mark remaining undo command strings as translatable
Ensures that we're marking the remnant potential display strings properly.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user