diff --git a/camp/camp.cpp b/camp/camp.cpp index 351d31e..156c912 100644 --- a/camp/camp.cpp +++ b/camp/camp.cpp @@ -20,3 +20,8 @@ QIcon Camp::pluginIcon() { return QIcon(":/icons/campPlugin.svg"); } + +QTranslator *Camp::translator() +{ + return translatorFrom(":/translations/camp_"); +} diff --git a/camp/camp.h b/camp/camp.h index 9c79aa9..2073a4b 100644 --- a/camp/camp.h +++ b/camp/camp.h @@ -22,6 +22,7 @@ protected: // IPlugin interface public: virtual QIcon pluginIcon(); + QTranslator *translator(); }; #endif // CAMP_H