2017-04-13 08:45:58 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-04-13 08:45:58 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-04-13 08:45:58 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Lang {
|
|
|
|
|
|
|
|
class Translator : public QTranslator {
|
|
|
|
public:
|
|
|
|
QString translate(const char *context, const char *sourceText, const char *disambiguation = 0, int n = -1) const override;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Lang
|