mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 08:57:09 +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,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());
|
||||
|
||||
Reference in New Issue
Block a user