l10n: Eliminated STRING_CONTEXT_CREATE_RC

This commit is contained in:
Paul Beckingham 2018-01-15 11:48:15 -05:00
parent e814daacf1
commit 038d9fe8db
10 changed files with 1 additions and 29 deletions

View file

@ -43,7 +43,6 @@
#include <shared.h>
#include <format.h>
#include <main.h>
#include <i18n.h>
#ifdef HAVE_COMMIT
#include <commit.h>
@ -1090,7 +1089,7 @@ void Context::createDefaultConfig ()
if (rc_file._data != "" && ! rc_file.exists ())
{
if (config.getBoolean ("confirmation") &&
! confirm (format (STRING_CONTEXT_CREATE_RC, home_dir, rc_file._data)))
! confirm ( format ("A configuration file could not be found in {1}\n\nWould you like a sample {2} created, so Taskwarrior can proceed?", home_dir, rc_file._data)))
throw std::string ("Cannot proceed without rc file.");
// Override data.location in the defaults.