l10n: Eliminated STRING_CONTEXT_NEED_RC

This commit is contained in:
Paul Beckingham 2018-01-15 11:06:18 -05:00
parent 8ca8f9eb10
commit 8f211c1a07
10 changed files with 1 additions and 10 deletions

View file

@ -1091,7 +1091,7 @@ void Context::createDefaultConfig ()
{
if (config.getBoolean ("confirmation") &&
! confirm (format (STRING_CONTEXT_CREATE_RC, home_dir, rc_file._data)))
throw std::string (STRING_CONTEXT_NEED_RC);
throw std::string ("Cannot proceed without rc file.");
// Override data.location in the defaults.
auto loc = configurationDefaults.find ("data.location=~/.task");