Complete question transition validation
This commit is contained in:
@@ -22,7 +22,24 @@
|
||||
"questionTransition": {
|
||||
"sameQuestion": "fromQuestion and toQuestion are the same",
|
||||
"fromQuestionNotBelongToTest": "fromQuestion doesnt belong to the test.",
|
||||
"toQuestionNotBelongToTest": "toQuestion doesnt belong to the test."
|
||||
"toQuestionNotBelongToTest": "toQuestion doesnt belong to the test.",
|
||||
"startMustNotHaveFromQuestion": "Start must not have fromQuestion.",
|
||||
"startMustHaveToQuestion": "Start must have toQuestion.",
|
||||
"startMustNotHaveCondition": "Start must not have condition.",
|
||||
"endMustHaveFromQuestion": "End must have fromQuestion.",
|
||||
"endMustNotHaveToQuestion": "End must not have toQuestion.",
|
||||
"endMustNotHaveCondition": "End must not have condition.",
|
||||
"invalidTransition": "Invalid Transition!",
|
||||
"defaultMustNotHaveCondition": "Default must not have condition.",
|
||||
"fromQuestionMustBeMultiChoice": "fromQuestion must be multi choice.",
|
||||
"invalidChoiceCondition": "Invalid choice condition!",
|
||||
"choiceNotBelongToQuestion": "Choice does not belong to the question.",
|
||||
"fromQuestionMustBeNumeric": "fromQuestion must be numeric.",
|
||||
"invalidNumberRange": "Invalid number range!",
|
||||
"startAlreadyExists": "Start already exists.",
|
||||
"endAlreadyExists": "End already exists.",
|
||||
"defaultAlreadyExists": "Default already exists.",
|
||||
"duplicateTransition": "Duplicate Transition!"
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
|
||||
@@ -22,7 +22,24 @@
|
||||
"questionTransition": {
|
||||
"sameQuestion": "سوال مبدا و مقصد یکی است.",
|
||||
"fromQuestionNotBelongToTest": "سوال مبدا متعلق به تست نیست.",
|
||||
"toQuestionNotBelongToTest": "سوال مقصد متعلق به تست نیست."
|
||||
"toQuestionNotBelongToTest": "سوال مقصد متعلق به تست نیست.",
|
||||
"startMustNotHaveFromQuestion": "حالت شروع نباید سوال مبدا داشته باشد.",
|
||||
"startMustHaveToQuestion": "حالت شروع باید سوال مقصد داشته باشد.",
|
||||
"startMustNotHaveCondition": "حالت شروع نباید شرط داشته باشد.",
|
||||
"endMustHaveFromQuestion": "حالت پایان باید سوال مقصد داشته باشد.",
|
||||
"endMustNotHaveToQuestion": "حالت پایان نباید سوال مبدا داشته باشد.",
|
||||
"endMustNotHaveCondition": "حالت پایان نباید شرط داشته باشد.",
|
||||
"invalidTransition": "مسیر اشتباه است!",
|
||||
"defaultMustNotHaveCondition": "حالت پیشفرض نباید شرط داشته باشد.",
|
||||
"fromQuestionMustBeMultiChoice": "سوال مبدا باید چند گزینه ای باشد.",
|
||||
"invalidChoiceCondition": "شرط گزینه اشتباه است!",
|
||||
"choiceNotBelongToQuestion": "گزینه متعلق به سوال نیست.",
|
||||
"fromQuestionMustBeNumeric": "سوال مبدا باید از نوع عددی باشد.",
|
||||
"invalidNumberRange": "بازه عددی اشتباه است!",
|
||||
"startAlreadyExists": "حالت شروع وجود دارد.",
|
||||
"endAlreadyExists": "حالت پایان وجود دارد.",
|
||||
"defaultAlreadyExists": "حالت پیشفرض وجود دارد.",
|
||||
"duplicateTransition": "مسیر تکراری است!"
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
|
||||
Reference in New Issue
Block a user