2019-10-08 20:58:42 +00:00
|
|
|
#include <myx/qt/translators.hpp>
|
2019-10-07 15:30:28 +00:00
|
|
|
|
|
|
|
#include <QCoreApplication>
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
namespace MQ = myx::qt;
|
|
|
|
|
|
|
|
|
|
|
|
int main( int argc, char** argv )
|
|
|
|
{
|
|
|
|
QCoreApplication app( argc, argv );
|
|
|
|
MQ::QTranslatorsList tl;
|
|
|
|
|
|
|
|
qDebug() << QObject::tr( "Yes" );
|
|
|
|
MQ::append_translators( tl, "example-qt-translators" );
|
|
|
|
qDebug() << QObject::tr( "Yes" );
|
|
|
|
|
|
|
|
return( 0 );
|
|
|
|
}
|