Update language file name
parent
1dc125ee59
commit
6b8afd2493
|
@ -4,7 +4,7 @@ DEFINES += NDEBUG
|
|||
DEFINES += QT_MESSAGELOGCONTEXT
|
||||
RESOURCES += resources.qrc
|
||||
|
||||
LANGUAGES = zh-CN
|
||||
LANGUAGES = zh_CN
|
||||
|
||||
############## Generate .qm from .ts #######################
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<file>shaders/default.core.frag</file>
|
||||
<file>shaders/pbr-qt.frag</file>
|
||||
<file>shaders/pbr-joey.frag</file>
|
||||
<file>languages/dust3d_zh-CN.qm</file>
|
||||
<file>languages/dust3d_zh_CN.qm</file>
|
||||
<file>ACKNOWLEDGEMENTS.html</file>
|
||||
<file>AUTHORS</file>
|
||||
<file>CONTRIBUTORS</file>
|
||||
|
|
|
@ -59,6 +59,8 @@ int main(int argc, char ** argv)
|
|||
|
||||
DocumentWindow::createDocumentWindow();
|
||||
|
||||
qDebug() << "Language:" << QLocale().name();
|
||||
|
||||
bool remoteIoEnabled = false;
|
||||
for (int i = 1; i < argc; ++i) {
|
||||
if ('-' == argv[i][0] && 0 == strcmp(argv[i], "-remoteio")) {
|
||||
|
|
Loading…
Reference in New Issue