diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:19:15 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:22:04 +0100 |
| commit | 97f74d1e7b37cf15d4763999e1287a665eeedcec (patch) | |
| tree | 752b5fce78d2d4d74e0934712dbbd8fd3fb8d72d /filter-accela | |
| parent | 4f9c633bc9a661fbeb367e950f6789d8de6782e6 (diff) | |
many: use otr_tr for non-qobject translation
I haven't even compile-tested Linux and OSX-specific bits.
Diffstat (limited to 'filter-accela')
| -rw-r--r-- | filter-accela/ftnoir_filter_accela.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter-accela/ftnoir_filter_accela.h b/filter-accela/ftnoir_filter_accela.h index 990a9750c..e31def89d 100644 --- a/filter-accela/ftnoir_filter_accela.h +++ b/filter-accela/ftnoir_filter_accela.h @@ -12,6 +12,7 @@ #include "api/plugin-api.hpp" #include "compat/timer.hpp" #include "compat/variance.hpp" +#include "compat/macros.hpp" #include <QMutex> #include <QTimer> @@ -56,6 +57,6 @@ private slots: class accelaDll : public Metadata { public: - QString name() { return QString(QCoreApplication::translate("accelaDll", "Accela")); } + QString name() { return otr_tr("Accela"); } QIcon icon() { return QIcon(":/images/filter-16.png"); } }; |
