+ simplify testing .qm files
+ some triangulation stuff git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5417 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -86,6 +86,26 @@ void Std_TestQM::activated(int iMsg)
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Std_TestReloadQM
|
||||
//===========================================================================
|
||||
DEF_STD_CMD(Std_TestReloadQM);
|
||||
|
||||
Std_TestReloadQM::Std_TestReloadQM()
|
||||
: Command("Std_TestReloadQM")
|
||||
{
|
||||
sGroup = "Standard-Test";
|
||||
sMenuText = "Reload translation files";
|
||||
sToolTipText = "Test function to check .qm translation files";
|
||||
sWhatsThis = sToolTipText;
|
||||
sStatusTip = sToolTipText;
|
||||
}
|
||||
|
||||
void Std_TestReloadQM::activated(int iMsg)
|
||||
{
|
||||
Translator::instance()->activateLanguage(Translator::instance()->activeLanguage().c_str());
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Std_Test1
|
||||
//===========================================================================
|
||||
@@ -626,6 +646,7 @@ void CreateTestCommands(void)
|
||||
CommandManager &rcCmdMgr = Application::Instance->commandManager();
|
||||
|
||||
rcCmdMgr.addCommand(new Std_TestQM());
|
||||
rcCmdMgr.addCommand(new Std_TestReloadQM());
|
||||
rcCmdMgr.addCommand(new FCCmdTest1());
|
||||
rcCmdMgr.addCommand(new FCCmdTest2());
|
||||
rcCmdMgr.addCommand(new FCCmdTest3());
|
||||
|
||||
Reference in New Issue
Block a user