feat: add question transition first validations
This commit is contained in:
@@ -12,12 +12,18 @@
|
||||
"choice": "Choice",
|
||||
"score": "Score",
|
||||
"weight": "Weight",
|
||||
"rangeRule": "Range Rule"
|
||||
"rangeRule": "Range Rule",
|
||||
"questionTransition": "Question Transition"
|
||||
},
|
||||
"errors": {
|
||||
"uniqueOrderConstraint": "Order value should be unique.",
|
||||
"rangeRuleMinMaxConstraint": "min value should be less than max.",
|
||||
"rangeRuleIntersectionConstraint": "{min} to {max} range has some intersection with other ranges."
|
||||
"rangeRuleIntersectionConstraint": "{min} to {max} range has some intersection with other ranges.",
|
||||
"questionTransition": {
|
||||
"sameQuestion": "fromQuestion and toQuestion are the same",
|
||||
"fromQuestionNotBelongToTest": "fromQuestion doesnt belong to the test.",
|
||||
"toQuestionNotBelongToTest": "toQuestion doesnt belong to the test."
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
"createSuccess": "Question Created Successfully.",
|
||||
|
||||
@@ -12,12 +12,18 @@
|
||||
"choice": "گزینه",
|
||||
"score": "نمره",
|
||||
"weight": "وزن",
|
||||
"rangeRule": "قانون بازه ای"
|
||||
"rangeRule": "قانون بازه ای",
|
||||
"questionTransition": "مسیر سوال"
|
||||
},
|
||||
"errors": {
|
||||
"uniqueOrderConstraint": "مقدار اولویت تکراری است.",
|
||||
"rangeRuleMinMaxConstraint": "مقدار min باید از max کوچکتر باشد.",
|
||||
"rangeRuleIntersectionConstraint": "بازه {min} تا {max} با دیگر بازه های تعریف شده تداخل دارد."
|
||||
"rangeRuleIntersectionConstraint": "بازه {min} تا {max} با دیگر بازه های تعریف شده تداخل دارد.",
|
||||
"questionTransition": {
|
||||
"sameQuestion": "سوال مبدا و مقصد یکی است.",
|
||||
"fromQuestionNotBelongToTest": "سوال مبدا متعلق به تست نیست.",
|
||||
"toQuestionNotBelongToTest": "سوال مقصد متعلق به تست نیست."
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
"createSuccess": "سوال با موفقیت ایجاد شد.",
|
||||
|
||||
Reference in New Issue
Block a user