I18N
- Removed obsolete 'undelete' string.
This commit is contained in:
14
src/util.cpp
14
src/util.cpp
@@ -426,6 +426,20 @@ void spit (const std::string& file, const std::string& contents)
|
||||
throw std::string ("Could not write file '") + file + "'"; // TODO i18n
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void spit (const std::string& file, const std::vector <std::string>& lines)
|
||||
{
|
||||
std::ofstream out (file.c_str ());
|
||||
if (out.good ())
|
||||
{
|
||||
foreach (line, lines)
|
||||
out << *line;
|
||||
out.close ();
|
||||
}
|
||||
else
|
||||
throw std::string ("Could not write file '") + file + "'"; // TODO i18n
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool taskDiff (const Task& before, const Task& after)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user