mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
l10n: Eliminated STRING_CONTEXT_CREATE_RC
This commit is contained in:
parent
e814daacf1
commit
038d9fe8db
10 changed files with 1 additions and 29 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue