mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
I18N
- Localized 'install' command.
This commit is contained in:
parent
a544431ed7
commit
6c8aae11b7
2 changed files with 6 additions and 2 deletions
|
@ -25,9 +25,12 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <iostream> // TODO Remove.
|
#define L10N // Localization complete.
|
||||||
|
|
||||||
#include <CmdInstall.h>
|
#include <CmdInstall.h>
|
||||||
#include <Context.h>
|
#include <Context.h>
|
||||||
|
#include <i18n.h>
|
||||||
|
#include <text.h>
|
||||||
|
|
||||||
extern Context context;
|
extern Context context;
|
||||||
|
|
||||||
|
@ -36,7 +39,7 @@ CmdInstall::CmdInstall ()
|
||||||
{
|
{
|
||||||
_keyword = "install";
|
_keyword = "install";
|
||||||
_usage = "task install <extension> [<extension> ...]";
|
_usage = "task install <extension> [<extension> ...]";
|
||||||
_description = "Installs extensions and external scripts";
|
_description = STRING_CMD_INSTALL_USAGE;
|
||||||
_read_only = true;
|
_read_only = true;
|
||||||
_displays_id = false;
|
_displays_id = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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_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_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_ZSHCOMMANDS_USAGE "Generates a list of all commands, for zsh autocompletion purposes"
|
||||||
|
#define STRING_CMD_INSTALL_USAGE "Installs extensions and external scripts"
|
||||||
|
|
||||||
// Config
|
// Config
|
||||||
#define STRING_CONFIG_OVERNEST "Configuration file nested to more than 10 levels deep - this has to be a mistake."
|
#define STRING_CONFIG_OVERNEST "Configuration file nested to more than 10 levels deep - this has to be a mistake."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue