- Localized the _commands and _zshcommands commands.
This commit is contained in:
Paul Beckingham 2011-09-26 01:30:47 -04:00
parent 4858931592
commit d1594e5123
3 changed files with 7 additions and 4 deletions

View file

@ -58,6 +58,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Daniel Kullmann Daniel Kullmann
Takanobu Watanabe Takanobu Watanabe
Paolo Almeida Paolo Almeida
Michelle Crane
Thanks to the following, who submitted detailed bug reports and excellent Thanks to the following, who submitted detailed bug reports and excellent
suggestions: suggestions:
@ -85,7 +86,6 @@ suggestions:
Juergen Daubert Juergen Daubert
Rich Mintz Rich Mintz
Seneca Cunningham Seneca Cunningham
Michelle Crane
Alexander Schremmer Alexander Schremmer
Elizabeth Maxson Elizabeth Maxson
Peter De Poorter Peter De Poorter

View file

@ -25,6 +25,8 @@
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#define L10N // Localization complete.
#include <sstream> #include <sstream>
#include <algorithm> #include <algorithm>
#include <stdlib.h> #include <stdlib.h>
@ -39,7 +41,7 @@ CmdCompletionCommands::CmdCompletionCommands ()
{ {
_keyword = "_commands"; _keyword = "_commands";
_usage = "task _commands"; _usage = "task _commands";
_description = "Generates a list of all commands, for autocompletion purposes"; _description = STRING_CMD_HCOMMANDS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
} }
@ -75,7 +77,7 @@ CmdZshCommands::CmdZshCommands ()
{ {
_keyword = "_zshcommands"; _keyword = "_zshcommands";
_usage = "task _zshcommands"; _usage = "task _zshcommands";
_description = "Generates a list of all commands, for zsh autocompletion purposes"; _description = STRING_CMD_ZSHCOMMANDS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
} }

View file

@ -328,13 +328,14 @@
#define STRING_CMD_PUSH_NONLOCAL "The uri '{1}' is not a local directory." #define STRING_CMD_PUSH_NONLOCAL "The uri '{1}' is not a local directory."
#define STRING_CMD_PUSH_TRANSFERRED "Local tasks transferred to {1}" #define STRING_CMD_PUSH_TRANSFERRED "Local tasks transferred to {1}"
#define STRING_CMD_PUSH_NO_URI "No uri was specified for the push. Either specify the uri of a remote .task directory, or create a 'push.default.uri' entry in your .taskrc file." #define STRING_CMD_PUSH_NO_URI "No uri was specified for the push. Either specify the uri of a remote .task directory, or create a 'push.default.uri' entry in your .taskrc file."
#define STRING_CMD_PULL_USAGE "Overwrites the local *.data files with those found at the URL." #define STRING_CMD_PULL_USAGE "Overwrites the local *.data files with those found at the URL."
#define STRING_CMD_PULL_SAME "Cannot pull files when the source and destination are the same." #define STRING_CMD_PULL_SAME "Cannot pull files when the source and destination are the same."
#define STRING_CMD_PULL_TRANSFERRED "Local tasks transferred from {1}" #define STRING_CMD_PULL_TRANSFERRED "Local tasks transferred from {1}"
#define STRING_CMD_PULL_NO_URI "No uri was specified for the pull. Either specify the uri of a remote .task directory, or create a 'pull.default.uri' entry in your .taskrc file." #define STRING_CMD_PULL_NO_URI "No uri was specified for the pull. Either specify the uri of a remote .task directory, or create a 'pull.default.uri' entry in your .taskrc file."
#define STRING_CMD_PULL_MISSING "At least one of the database files in '{1}' is not present." #define STRING_CMD_PULL_MISSING "At least one of the database files in '{1}' is not present."
#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_ZSHCOMMANDS_USAGE "Generates a list of all commands, for zsh autocompletion purposes"
// 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."