mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-01 13:24:31 +05:00
*** empty log message ***
This commit is contained in:
parent
f212bd3496
commit
dcab6c3d1f
@ -102,8 +102,9 @@ bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&,
|
|||||||
{
|
{
|
||||||
MESSAGE("Loading Resources " << aResName.toLatin1().data());
|
MESSAGE("Loading Resources " << aResName.toLatin1().data());
|
||||||
SUIT_ResourceMgr* resMgr = SMESHGUI::resourceMgr();
|
SUIT_ResourceMgr* resMgr = SMESHGUI::resourceMgr();
|
||||||
resMgr->loadTranslator("resources",aResName+"_msg_en.qm");
|
QString lang = resMgr->stringValue( resMgr->langSection(), "language", "en" );
|
||||||
resMgr->loadTranslator("resources",aResName+"_images.qm");
|
resMgr->loadTranslator( "resources", QString( "%1_msg_%2.qm" ).arg( aResName, lang ) );
|
||||||
|
resMgr->loadTranslator( "resources", QString( "%1_images.qm" ).arg( aResName, lang ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user