2014-06-18 23:44:46 +00:00
|
|
|
#include "mainscreen.h"
|
|
|
|
#include <QApplication>
|
2014-06-27 22:22:44 +00:00
|
|
|
#include <QTranslator>
|
2014-06-28 03:36:10 +00:00
|
|
|
#include <QDebug>
|
2014-06-18 23:44:46 +00:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication a(argc, argv);
|
2014-06-28 03:36:10 +00:00
|
|
|
QTranslator translator;
|
2014-06-28 04:15:19 +00:00
|
|
|
QString locale = QLocale::system().name();
|
|
|
|
translator.load("jce_"+locale , a.applicationDirPath());
|
2014-06-27 22:22:44 +00:00
|
|
|
a.installTranslator(&translator);
|
2014-06-18 23:44:46 +00:00
|
|
|
MainScreen w;
|
|
|
|
w.show();
|
|
|
|
|
|
|
|
return a.exec();
|
|
|
|
}
|