![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
The class exposing GNU Gettext to QML. More...
#include <qmli18n.h>
Public Member Functions | |
| QmlI18n (const QString &pluginName, QObject *parent=nullptr) | |
| void | initTranslations () |
| Q_INVOKABLE QString | i18n (const QString &string) |
| wrapper for gettext function More... | |
| Q_INVOKABLE QString | i18np (const QString &string1, const QString &string2, int count) |
| wrapper for ngettext function More... | |
|
explicit |
Definition at line 22 of file qmli18n.cpp.
| QString QmlI18n::i18n | ( | const QString & | string | ) |
wrapper for gettext function
Definition at line 44 of file qmli18n.cpp.
| QString QmlI18n::i18np | ( | const QString & | string1, |
| const QString & | string2, | ||
| int | count | ||
| ) |
wrapper for ngettext function
Definition at line 49 of file qmli18n.cpp.
| void QmlI18n::initTranslations | ( | ) |
Definition at line 29 of file qmli18n.cpp.