Commit 67defcb4fa99c0176afffc2049678982ba1fd9fa

Authored by 고영탁
1 parent 2c00bbd0f8
Exists in master and in 2 other branches fhd, fhd-demo

중국어 최적화 진행중 나머지

app/gui/oven_control/config.cpp
... ... @@ -26,6 +26,7 @@
26 26 #include "system.h"
27 27 #include "unistd.h"
28 28 #include "configdemomodedlg.h"
  29 +#include <QFontDatabase>
29 30  
30 31 using namespace Define;
31 32 using namespace System;
... ... @@ -455,6 +456,9 @@ void Config::applyCurrentConfigLanguage()
455 456 QApplication::installTranslator(trans);
456 457 }
457 458 else if(configlist.items.language.d32 == 1){
  459 + //QFontDatabase::addApplicationFont("/prime/fonts/NotoSansCJKsc-Light.subset.otf");
  460 + //QFontDatabase::addApplicationFont("/prime/fonts/NotoSansCJKsc-Regular.subset.otf");
  461 + //qApp->setFont(QFont("/prime/SourceHanSans-Normal.otf"));
458 462 qApp->setFont(QFont("Noto Sans CJK SC"));
459 463 QTranslator* trans = new QTranslator();
460 464 qDebug() << trans->load(":/lang_zh.qm");
... ...
app/gui/oven_control/lang_en.qm
No preview for this file type