mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 10:37:19 +02:00
Hooks
- Added debug output on startup, if a hook script is found and does not have a valid name.
This commit is contained in:
parent
da6a57b203
commit
411fab3a27
9 changed files with 147 additions and 83 deletions
|
@ -58,7 +58,7 @@
|
|||
// 1. Copy this file (eng-USA.h) to a new file with the target locale as the
|
||||
// file name. Using German as an example, do this:
|
||||
//
|
||||
// cp eng-USA.h de-DE.h
|
||||
// cp eng-USA.h deu-DEU.h
|
||||
//
|
||||
// 2. Modify all the strings below.
|
||||
// i.e. change "Unknown error." to "Unbekannter Fehler.".
|
||||
|
@ -67,7 +67,7 @@
|
|||
// by inserting:
|
||||
//
|
||||
// #elif PACKAGE_LANGUAGE == LANGUAGE_DEU_DEU
|
||||
// #include <de-DE.h>
|
||||
// #include <deu-DEU.h>
|
||||
//
|
||||
// 4. Add your new language to task.git/CMakeLists.txt, making sure that
|
||||
// number is unique:
|
||||
|
@ -261,6 +261,7 @@
|
|||
#define STRING_COLUMN_EXAMPLES_ANNO4 "If you're not getting your hair cut"
|
||||
|
||||
// commands/Cmd*
|
||||
// USAGE strings are visible in 'task help'
|
||||
#define STRING_CMD_CONFLICT "Le rapport personnalisé '{1}' entre en conflit avec une commande prédéfinie de task."
|
||||
#define STRING_CMD_VERSION_USAGE "Affiche le numéro de version de taskwarrior"
|
||||
#define STRING_CMD_VERSION_USAGE2 "Affiche uniquement le numéro de version de taskwarrior"
|
||||
|
@ -488,6 +489,8 @@
|
|||
#define STRING_CMD_SYNC_HANDSHAKE "Handshake failed. {1}"
|
||||
#define STRING_CMD_SYNC_TRUST_CA "You should either provide a CA certificate or override verification, but not both."
|
||||
#define STRING_CMD_SYNC_TRUST_OBS "The 'taskd.trust' settings may now only contain a value of 'strict', 'ignore hostname' or 'allow all'."
|
||||
|
||||
// STRING_CMD_DIAG_* strings all appear on the 'diag' command output.
|
||||
#define STRING_CMD_DIAG_USAGE "Platform, build and environment details"
|
||||
#define STRING_CMD_DIAG_PLATFORM "Platform"
|
||||
#define STRING_CMD_DIAG_UNKNOWN "<unknown>"
|
||||
|
@ -509,6 +512,13 @@
|
|||
#define STRING_CMD_DIAG_UUID_NO_DUP "No duplicates found"
|
||||
#define STRING_CMD_DIAG_NONE "-none-"
|
||||
#define STRING_CMD_DIAG_HOOKS "Hooks"
|
||||
#define STRING_CMD_DIAG_HOOK_NAME "unrecognized hook name"
|
||||
#define STRING_CMD_DIAG_HOOK_SYMLINK "symlink"
|
||||
#define STRING_CMD_DIAG_HOOK_EXEC "executable"
|
||||
#define STRING_CMD_DIAG_HOOK_NO_EXEC "not executable"
|
||||
#define STRING_CMD_DIAG_HOOK_ENABLE "Enabled"
|
||||
#define STRING_CMD_DIAG_HOOK_DISABLE "Disabled"
|
||||
|
||||
#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_ZSHATTS_USAGE "Generates a list of all attributes, for zsh autocompletion purposes"
|
||||
|
@ -989,4 +999,3 @@
|
|||
#define STRING_UTIL_BYTES "o"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue