20 lines
348 B
C++
20 lines
348 B
C++
#include "qt/translators.hpp"
|
|
|
|
#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 );
|
|
}
|