diff --git a/app/gui/oven_control/config.cpp b/app/gui/oven_control/config.cpp index 931ebbd..3cc9c43 100644 --- a/app/gui/oven_control/config.cpp +++ b/app/gui/oven_control/config.cpp @@ -26,6 +26,7 @@ #include "system.h" #include "unistd.h" #include "configdemomodedlg.h" +#include using namespace Define; using namespace System; @@ -455,6 +456,9 @@ void Config::applyCurrentConfigLanguage() QApplication::installTranslator(trans); } else if(configlist.items.language.d32 == 1){ + //QFontDatabase::addApplicationFont("/prime/fonts/NotoSansCJKsc-Light.subset.otf"); + //QFontDatabase::addApplicationFont("/prime/fonts/NotoSansCJKsc-Regular.subset.otf"); + //qApp->setFont(QFont("/prime/SourceHanSans-Normal.otf")); qApp->setFont(QFont("Noto Sans CJK SC")); QTranslator* trans = new QTranslator(); qDebug() << trans->load(":/lang_zh.qm"); diff --git a/app/gui/oven_control/lang_en.qm b/app/gui/oven_control/lang_en.qm index 189facda5c74d1ae3afee65d6c52cd79dd77c6c2..cbaa9ba182929fcab75466d47925e997f3765490 100644 GIT binary patch delta 23093 zcmeI32Ut|sy7%8Tl_|_dMF9~QTM#4Idq?cOm#6{3j)00aCWDG4(bz^r3>u7R)DT6% z7O};cm{_i!^sXj38fJ*`sEJ7|-+%4J3S0)Ro2TsPL z^@$X-iDm{6De?ZAnKBvk2HOzb8cd{aMJ(VPQSXjm1d*lhCR}VM8rYp^-YS%Ho2WLf zr&J=EWF^W!iiWI^$;gxF>L)~X^+eaZfsryMjBogS){W!G>hv7t9kke?JZukg^?GUX}@_9wa3iz`{0>DuWR{uL2cdV^9f>6P(!z zRN?blnJnZd5Tp0}8JWz#AE+UUR0?j%0<}a#?^wh|WFx`3Cc%xqq&l@1BjZJ?&t4_c z3>Cb6oYc=^1Y&+Bb;LSi_0E%K({uRVN}4~1W2A-&-Z@R$_8W;-JR_5-zaVW^CQ;Ll zq}@G~D19zz4`Y;8SbEDBOjC}eTHg^}-b3EUA>Ua|$-AI4(F+GCplc%0=;bn*>L`V1 zHWO87NFiE2VuPqw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