Fix game phases not being translated in game log (#5798)

This commit is contained in:
RickyRister 2025-04-11 19:58:23 -07:00 committed by GitHub
parent 13d18986b2
commit ad06814ac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 6 deletions

View file

@ -1,16 +1,20 @@
#ifndef PHASE_H
#define PHASE_H
#include <QApplication>
#include <QString>
#include <QtCore>
class Phase
{
Q_DECLARE_TR_FUNCTIONS(Phase)
QString name;
public:
QString name, color, soundFileName;
Phase(const char *_name, QString _color, QString _soundFileName);
QString color, soundFileName;
Phase(const QString &_name, const QString &_color, const QString &_soundFileName);
QString getName() const;
};
struct Phases