- Localized 'install' command.
This commit is contained in:
Paul Beckingham 2011-09-26 21:20:31 -04:00
parent a544431ed7
commit 6c8aae11b7
2 changed files with 6 additions and 2 deletions

View file

@ -25,9 +25,12 @@
//
////////////////////////////////////////////////////////////////////////////////
#include <iostream> // TODO Remove.
#define L10N // Localization complete.
#include <CmdInstall.h>
#include <Context.h>
#include <i18n.h>
#include <text.h>
extern Context context;
@ -36,7 +39,7 @@ CmdInstall::CmdInstall ()
{
_keyword = "install";
_usage = "task install <extension> [<extension> ...]";
_description = "Installs extensions and external scripts";
_description = STRING_CMD_INSTALL_USAGE;
_read_only = true;
_displays_id = false;
}

View file

@ -340,6 +340,7 @@
#define STRING_CMD_PULL_NOT_DIR "The uri '{1}' is not a directory. Did you forget a trailing '/'?"
#define STRING_CMD_HCOMMANDS_USAGE "Generates a list of all commands, for autocompletion purposes"
#define STRING_CMD_ZSHCOMMANDS_USAGE "Generates a list of all commands, for zsh autocompletion purposes"
#define STRING_CMD_INSTALL_USAGE "Installs extensions and external scripts"
// Config
#define STRING_CONFIG_OVERNEST "Configuration file nested to more than 10 levels deep - this has to be a mistake."