mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 05:27:41 +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>
|
||||
|
||||
CTranslateNodeCommand::CTranslateNodeCommand()
|
||||
: IUndoCommand("Translate")
|
||||
: IUndoCommand(QCoreApplication::translate("CTranslateNodeCommand", "Translate"))
|
||||
{
|
||||
}
|
||||
|
||||
CTranslateNodeCommand::CTranslateNodeCommand(INodeEditor *pEditor, const QList<CSceneNode*>& rkNodes, const CVector3f& Delta, ETransformSpace TransformSpace)
|
||||
: IUndoCommand("Translate"),
|
||||
: IUndoCommand(QCoreApplication::translate("CTranslateNodeCommand", "Translate")),
|
||||
mpEditor(pEditor)
|
||||
{
|
||||
mNodeList.reserve(rkNodes.size());
|
||||
|
||||
Reference in New Issue
Block a user