PrismLauncher/launcher/translations/POTranslator.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
438 B
C
Raw Permalink Normal View History

#pragma once
#include <QTranslator>
struct POTranslatorPrivate;
class POTranslator : public QTranslator {
Q_OBJECT
public:
explicit POTranslator(const QString& filename, QObject* parent = nullptr);
2022-06-17 15:34:32 +01:00
virtual ~POTranslator();
QString translate(const char* context, const char* sourceText, const char* disambiguation, int n) const override;
bool isEmpty() const override;
private:
POTranslatorPrivate* d;
};