aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--diceparser.cpp12
-rw-r--r--node/scalaroperatornode.cpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 9eb3a4d..4f5108c 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -1120,18 +1120,18 @@ bool DiceParser::readOption(QString& str, ExecutionNode* previous) //,
{
m_errorMap.insert(
Dice::ERROR_CODE::ENDLESS_LOOP_ERROR,
- QObject::tr(
- "Validator is always true missing after the %1 operator. Please, change it")
+ QObject::tr("Validator is always true for the %1 operator. Please, change it")
.arg(symbol));
}
break;
case Dice::CONDITION_STATE::UNREACHABLE:
if(operatorName == RerollUntil)
{
- m_errorMap.insert(Dice::ERROR_CODE::ENDLESS_LOOP_ERROR,
- QObject::tr("Candition can be reached, causing endless loop. Please, "
- "change the %1 option condition")
- .arg(symbol));
+ m_errorMap.insert(
+ Dice::ERROR_CODE::ENDLESS_LOOP_ERROR,
+ QObject::tr("Condition can't be reached, causing endless loop. Please, "
+ "change the %1 option condition")
+ .arg(symbol));
}
break;
case Dice::CONDITION_STATE::ERROR_STATE:
diff --git a/node/scalaroperatornode.cpp b/node/scalaroperatornode.cpp
index 821150b..60b65fc 100644
--- a/node/scalaroperatornode.cpp
+++ b/node/scalaroperatornode.cpp
@@ -69,7 +69,7 @@ void ScalarOperatorNode::run(ExecutionNode* previous)
if(internalResult == nullptr)
{
m_errors.insert(Dice::ERROR_CODE::NO_VALID_RESULT,
- QObject::tr("No Valid result in arithmetic operatoion: %1").arg(toString(true)));
+ QObject::tr("No Valid result in arithmetic operation: %1").arg(toString(true)));
return;
}