diff --git a/AUTHORS b/AUTHORS index 439bc991e..2a1379fdc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -58,6 +58,7 @@ The following submitted code, packages or analysis, and deserve special thanks: Daniel Kullmann Takanobu Watanabe Paolo Almeida + Michelle Crane Thanks to the following, who submitted detailed bug reports and excellent suggestions: @@ -85,7 +86,6 @@ suggestions: Juergen Daubert Rich Mintz Seneca Cunningham - Michelle Crane Alexander Schremmer Elizabeth Maxson Peter De Poorter diff --git a/src/commands/CmdCommands.cpp b/src/commands/CmdCommands.cpp index 109874cb7..9e7ddf05c 100644 --- a/src/commands/CmdCommands.cpp +++ b/src/commands/CmdCommands.cpp @@ -25,6 +25,8 @@ // //////////////////////////////////////////////////////////////////////////////// +#define L10N // Localization complete. + #include #include #include @@ -39,7 +41,7 @@ CmdCompletionCommands::CmdCompletionCommands () { _keyword = "_commands"; _usage = "task _commands"; - _description = "Generates a list of all commands, for autocompletion purposes"; + _description = STRING_CMD_HCOMMANDS_USAGE; _read_only = true; _displays_id = false; } @@ -75,7 +77,7 @@ CmdZshCommands::CmdZshCommands () { _keyword = "_zshcommands"; _usage = "task _zshcommands"; - _description = "Generates a list of all commands, for zsh autocompletion purposes"; + _description = STRING_CMD_ZSHCOMMANDS_USAGE; _read_only = true; _displays_id = false; } diff --git a/src/en-US.h b/src/en-US.h index cbe3ced03..3ae67d39c 100644 --- a/src/en-US.h +++ b/src/en-US.h @@ -328,13 +328,14 @@ #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_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_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_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_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 #define STRING_CONFIG_OVERNEST "Configuration file nested to more than 10 levels deep - this has to be a mistake."