l10n: Eliminated STRING_RECORD_*

This commit is contained in:
Paul Beckingham 2018-01-20 13:15:45 -05:00
parent 3b792d5432
commit e27049273c
10 changed files with 3 additions and 48 deletions

View file

@ -589,7 +589,7 @@ void Task::parse (const std::string& input)
(pig.skip ('\n') || pig.eos ()))
{
if (line.length () == 0)
throw std::string (STRING_RECORD_EMPTY);
throw std::string ("Empty record in input.");
Pig attLine (line);
std::string name;
@ -616,13 +616,13 @@ void Task::parse (const std::string& input)
std::string remainder;
attLine.getRemainder (remainder);
if (remainder.length ())
throw std::string (STRING_RECORD_JUNK_AT_EOL);
throw std::string ("Unrecognized characters at end of line.");
}
}
else if (input[0] == '{')
parseJSON (input);
else
throw std::string (STRING_RECORD_NOT_FF4);
throw std::string ("Record not recognized as format 4.");
}
catch (const std::string&)