mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
17 lines
407 B
C
17 lines
407 B
C
|
#pragma once
|
||
|
|
||
|
#include <QTranslator>
|
||
|
|
||
|
struct POTranslatorPrivate;
|
||
|
|
||
|
class POTranslator : public QTranslator
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit POTranslator(const QString& filename, QObject * parent = nullptr);
|
||
|
QString translate(const char * context, const char * sourceText, const char * disambiguation, int n) const override;
|
||
|
bool isEmpty() const override;
|
||
|
private:
|
||
|
POTranslatorPrivate * d;
|
||
|
};
|