d9a90f44f3
This change brings translation support to the tsMuxeR GUI. We have a Russian translation available so far, thanks to @abakum. The last selected translation is saved in the settings file and restored at the application's next startup. The currently used language is selectable by a combo box in the lower left corner of the window.
17 lines
378 B
C++
17 lines
378 B
C++
#include <QApplication>
|
|
#include <QUrl>
|
|
|
|
#include "tsmuxerwindow.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication app(argc, argv);
|
|
TsMuxerWindow win;
|
|
win.show();
|
|
QList<QUrl> files;
|
|
for (int i = 1; i < argc; ++i) files << QUrl::fromLocalFile(QString::fromLocal8Bit(argv[i]));
|
|
if (!files.isEmpty())
|
|
win.addFiles(files);
|
|
return app.exec();
|
|
}
|