添加翻译文件
This commit is contained in:
parent
1c07e198c9
commit
d1aa2ed6e7
@ -81,6 +81,7 @@ void RecourceHelper::Init() {
|
|||||||
#else
|
#else
|
||||||
const QString transName = QString("./translations/%1_%2.qm").arg(appName, QLocale().name());
|
const QString transName = QString("./translations/%1_%2.qm").arg(appName, QLocale().name());
|
||||||
#endif
|
#endif
|
||||||
|
qDebug() << transName;
|
||||||
bool success = trans_.load(transName);
|
bool success = trans_.load(transName);
|
||||||
if (!success) {
|
if (!success) {
|
||||||
qDebug() << "load translations error";
|
qDebug() << "load translations error";
|
||||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user