From 6c8aae11b7ec09ee41e8b78513c79fd945840c25 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 26 Sep 2011 21:20:31 -0400 Subject: [PATCH] I18N - Localized 'install' command. --- src/commands/CmdInstall.cpp | 7 +++++-- src/en-US.h | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdInstall.cpp b/src/commands/CmdInstall.cpp index 1e774838d..93ea43ae6 100644 --- a/src/commands/CmdInstall.cpp +++ b/src/commands/CmdInstall.cpp @@ -25,9 +25,12 @@ // //////////////////////////////////////////////////////////////////////////////// -#include // TODO Remove. +#define L10N // Localization complete. + #include #include +#include +#include extern Context context; @@ -36,7 +39,7 @@ CmdInstall::CmdInstall () { _keyword = "install"; _usage = "task install [ ...]"; - _description = "Installs extensions and external scripts"; + _description = STRING_CMD_INSTALL_USAGE; _read_only = true; _displays_id = false; } diff --git a/src/en-US.h b/src/en-US.h index 7b3385648..1efe3422b 100644 --- a/src/en-US.h +++ b/src/en-US.h @@ -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."