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

@@ -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())