mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
l10n: Eliminated STRING_RECORD_*
This commit is contained in:
parent
3b792d5432
commit
e27049273c
10 changed files with 3 additions and 48 deletions
|
@ -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&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue