l10n: Eliminated STRING_CMD_LOGO_*

This commit is contained in:
Paul Beckingham 2018-01-20 14:54:27 -05:00
parent 5a3d5f536d
commit 58523c3d78
10 changed files with 2 additions and 21 deletions

View file

@ -28,7 +28,6 @@
#include <CmdLogo.h>
#include <Context.h>
#include <util.h>
#include <i18n.h>
extern Context context;
@ -37,7 +36,7 @@ CmdLogo::CmdLogo ()
{
_keyword = "logo";
_usage = "task logo";
_description = STRING_CMD_LOGO_USAGE;
_description = "Displays the Taskwarrior logo";
_read_only = true;
_displays_id = false;
_needs_gc = false;
@ -85,7 +84,7 @@ int CmdLogo::execute (std::string& output)
};
if (! context.color ())
throw std::string (STRING_CMD_LOGO_COLOR_REQ);
throw std::string ("The logo command requires that color support is enabled.");
std::string indent (context.config.getInteger ("indent.report"), ' ');
output += optionalBlankLine ();