first release of translation facility
* runtime - loading and translating * design-time - works with *.ts file (pip_tr utility) * compile-time - CMake macro for compile *.ts
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include "pistatemachine_state.h"
|
||||
|
||||
#include "pistatemachine_transition.h"
|
||||
|
||||
#include "pitranslator.h"
|
||||
|
||||
PIStateBase::~PIStateBase() {
|
||||
piDeleteAll(transitions);
|
||||
@@ -108,7 +108,7 @@ bool PIStateBase::start(bool force) {
|
||||
setActive(true);
|
||||
return initial_state->start();
|
||||
} else {
|
||||
piCout << "error:" << getName() << "no initial state!";
|
||||
piCout << "Error: \"%1\" no initial state!"_tr("PIStateMachine").arg(getName());
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user