mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
L10N
- Localized all column objects, some commands.
This commit is contained in:
parent
c7bfba103e
commit
6a48d86f2c
22 changed files with 245 additions and 113 deletions
|
@ -25,9 +25,12 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <CmdLogo.h>
|
||||
#include <Context.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
@ -36,7 +39,7 @@ CmdLogo::CmdLogo ()
|
|||
{
|
||||
_keyword = "logo";
|
||||
_usage = "task logo";
|
||||
_description = "Displays the Taskwarrior logo";
|
||||
_description = STRING_CMD_LOGO_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
}
|
||||
|
@ -83,7 +86,7 @@ int CmdLogo::execute (std::string& output)
|
|||
};
|
||||
|
||||
if (!context.color ())
|
||||
throw std::string ("The logo command requires that color support is enabled.");
|
||||
throw std::string (STRING_CMD_LOGO_COLOR_REQ);
|
||||
|
||||
std::string indent (context.config.getInteger ("indent.report"), ' ');
|
||||
output += optionalBlankLine ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue