PrismLauncher/launcher/translations/POTranslator.h
Sefa Eyeoglu 91ba4cf75e
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-14 18:16:53 +02:00

18 lines
438 B
C++

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