mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 00:47:05 +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:
@@ -6,6 +6,8 @@
|
||||
#include "Editor/ResourceBrowser/CResourceBrowser.h"
|
||||
#include <Core/GameProject/CResourceEntry.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
class CMoveResourceCommand : public IUndoCommand
|
||||
{
|
||||
CResourceEntry *mpEntry;
|
||||
@@ -15,7 +17,7 @@ class CMoveResourceCommand : public IUndoCommand
|
||||
|
||||
public:
|
||||
CMoveResourceCommand(CResourceEntry *pEntry, CVirtualDirectory *pNewDir)
|
||||
: IUndoCommand("Move Resource")
|
||||
: IUndoCommand(QCoreApplication::translate("CMoveResourceCommand", "Move Resource"))
|
||||
, mpEntry(pEntry)
|
||||
, mOldDirPath(pEntry->DirectoryPath())
|
||||
, mNewDirPath(pNewDir->FullPath())
|
||||
|
||||
Reference in New Issue
Block a user