mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 05:20:34 +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());
|
||||
SUIT_ResourceMgr* resMgr = SMESHGUI::resourceMgr();
|
||||
resMgr->loadTranslator("resources",aResName+"_msg_en.qm");
|
||||
resMgr->loadTranslator("resources",aResName+"_images.qm");
|
||||
QString lang = resMgr->stringValue( resMgr->langSection(), "language", "en" );
|
||||
resMgr->loadTranslator( "resources", QString( "%1_msg_%2.qm" ).arg( aResName, lang ) );
|
||||
resMgr->loadTranslator( "resources", QString( "%1_images.qm" ).arg( aResName, lang ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user