Added new parse warning message

This commit is contained in:
Takeshi Yokemura
2021-08-15 18:50:29 +09:00
parent 6583979011
commit 411d3b4868
4 changed files with 30 additions and 0 deletions

View File

@ -14,6 +14,18 @@ String getParseErrorString (ParseError err, int minValue, int maxValue)
{
switch (err)
{
case kParseWarningPreRepeatSegmentEmpty:
return TRANS ("Main body of the sequence is empty");
break;
case kParseWarningRepeatSegmentEmpty:
return TRANS ("Repeat section is empty");
break;
case kParseWarningReleaseSegmentEmpty:
return TRANS ("Release section is empty");
break;
case kParseErrorDuplicatedReleaseDelimiter:
return TRANS ("You cannot use \"|\" more than once");
break;