I18N
- Localized 'shell' command.
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <Color.h>
|
||||
@@ -52,9 +54,9 @@ int CmdShell::execute (std::string&)
|
||||
Color bold (Color::nocolor, Color::nocolor, false, true, false);
|
||||
std::cout << (context.color () ? bold.colorize (PACKAGE_STRING) : PACKAGE_STRING)
|
||||
<< " shell\n\n"
|
||||
<< "Enter any task command (such as 'list'), or hit 'Enter'.\n"
|
||||
<< "There is no need to include the 'task' command itself.\n"
|
||||
<< "Enter 'quit' (or 'bye', 'exit') to end the session.\n\n";
|
||||
<< STRING_CMD_SHELL_HELP1 << "\n"
|
||||
<< STRING_CMD_SHELL_HELP2 << "\n"
|
||||
<< STRING_CMD_SHELL_HELP3 << "\n\n";
|
||||
|
||||
// Make a copy because context.clear will delete them.
|
||||
std::string permanent_overrides;
|
||||
@@ -116,7 +118,7 @@ int CmdShell::execute (std::string&)
|
||||
|
||||
catch (...)
|
||||
{
|
||||
std::cerr << "Unknown error." << "\n";
|
||||
std::cerr << STRING_UNKNOWN_ERROR << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user