mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -73,7 +73,17 @@ void Hooks::initialize ()
|
|||
{
|
||||
std::vector <std::string>::iterator i;
|
||||
for (i = _scripts.begin (); i != _scripts.end (); ++i)
|
||||
context.debug ("Found hook script " + *i);
|
||||
{
|
||||
Path p (*i);
|
||||
std::string name = p.name ();
|
||||
if (name.substr (0, 6) == "on-add" ||
|
||||
name.substr (0, 9) == "on-modify" ||
|
||||
name.substr (0, 9) == "on-launch" ||
|
||||
name.substr (0, 7) == "on-exit")
|
||||
context.debug ("Found hook script " + *i);
|
||||
else
|
||||
context.debug ("Found misnamed hook script " + *i);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (_debug >= 1)
|
||||
|
|
|
@ -312,7 +312,7 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
out << bold.colorize (STRING_CMD_DIAG_HOOKS)
|
||||
<< "\n"
|
||||
<< " Scripts: "
|
||||
<< (context.config.getBoolean ("hooks") ? "Enabled" : "Disabled")
|
||||
<< (context.config.getBoolean ("hooks") ? STRING_CMD_DIAG_HOOK_ENABLE : STRING_CMD_DIAG_HOOK_DISABLE)
|
||||
<< "\n";
|
||||
|
||||
std::vector <std::string> hooks = context.hooks.list ();
|
||||
|
@ -325,17 +325,17 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
std::string name = p.name ();
|
||||
out << " "
|
||||
<< *h
|
||||
<< (p.executable () ? " (executable)" : " (not executable)")
|
||||
<< (p.is_link () ? " (symlink)" : "")
|
||||
<< (p.executable () ? format (" ({1})", STRING_CMD_DIAG_HOOK_EXEC) : format (" ({1})", STRING_CMD_DIAG_HOOK_NO_EXEC))
|
||||
<< (p.is_link () ? format (" ({1})", STRING_CMD_DIAG_HOOK_SYMLINK) : "")
|
||||
<< ((name.substr (0, 6) == "on-add" ||
|
||||
name.substr (0, 9) == "on-modify" ||
|
||||
name.substr (0, 9) == "on-launch" ||
|
||||
name.substr (0, 7) == "on-exit") ? "" : " (unrecognized hook name)")
|
||||
name.substr (0, 7) == "on-exit") ? "" : format (" ({1})", STRING_CMD_DIAG_HOOK_NAME))
|
||||
<< "\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
out << " (none)\n";
|
||||
out << format (" ({1})\n", STRING_CMD_DIAG_NONE);
|
||||
|
||||
out << "\n";
|
||||
|
||||
|
|
|
@ -489,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>"
|
||||
|
@ -510,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"
|
||||
|
@ -970,7 +979,7 @@
|
|||
|
||||
/*
|
||||
To be included later, before the 'precendence' line.
|
||||
|
||||
|
||||
" + - Addition, subtraction\n" \
|
||||
" ! Inversion\n" \
|
||||
" ~ !~ Match, no match\n" \
|
||||
|
@ -990,4 +999,3 @@
|
|||
#define STRING_UTIL_BYTES "B"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -489,64 +489,73 @@
|
|||
#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'."
|
||||
#define STRING_CMD_DIAG_USAGE "Operaciuma, kompila, kaj media detaloj"
|
||||
#define STRING_CMD_DIAG_PLATFORM "Operaciumo"
|
||||
#define STRING_CMD_DIAG_UNKNOWN "<nekonata>"
|
||||
#define STRING_CMD_DIAG_COMPILER "Kompililo"
|
||||
#define STRING_CMD_DIAG_VERSION "Versio"
|
||||
#define STRING_CMD_DIAG_CAPS "Eblecoj"
|
||||
|
||||
// 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>"
|
||||
#define STRING_CMD_DIAG_COMPILER "Compiler"
|
||||
#define STRING_CMD_DIAG_VERSION "Version"
|
||||
#define STRING_CMD_DIAG_CAPS "Caps"
|
||||
#define STRING_CMD_DIAG_COMPLIANCE "Compliance"
|
||||
#define STRING_CMD_DIAG_FEATURES "Trajtoj de la Kompilo"
|
||||
#define STRING_CMD_DIAG_BUILT "Kompilita"
|
||||
#define STRING_CMD_DIAG_COMMIT "Ŝanĝaro"
|
||||
#define STRING_CMD_DIAG_FOUND "(trovita)"
|
||||
#define STRING_CMD_DIAG_MISSING "(mankanta)"
|
||||
#define STRING_CMD_DIAG_ENABLED "Ebligita"
|
||||
#define STRING_CMD_DIAG_DISABLED "Malebligita"
|
||||
#define STRING_CMD_DIAG_CONFIG "Agordo"
|
||||
#define STRING_CMD_DIAG_TESTS "Testoj"
|
||||
#define STRING_CMD_DIAG_UUID_SCAN "Skanis {1} taskojn por trovi identajn UUID-identigilojn:"
|
||||
#define STRING_CMD_DIAG_UUID_DUP "Trovis ĝemelan taskon {1}"
|
||||
#define STRING_CMD_DIAG_UUID_NO_DUP "Ne trovis nenian ĝemelan taskon"
|
||||
#define STRING_CMD_DIAG_NONE "-nenio-"
|
||||
#define STRING_CMD_DIAG_HOOKS "Hokoj"
|
||||
#define STRING_CMD_HCOMMANDS_USAGE "Produktas liston de ĉia komando, por motivo memkompletada"
|
||||
#define STRING_CMD_ZSHCOMMANDS_USAGE "Produktas liston de ĉia komando, por motivo memkompletada en zsh"
|
||||
#define STRING_CMD_ZSHATTS_USAGE "Produktas liston de ĉia komando, por motivo memkompletada en zsh"
|
||||
#define STRING_CMD_ALIASES_USAGE "Produktas liston de ĉia alinomo, por motivo memkompletada"
|
||||
#define STRING_CMD_INSTALL_USAGE "Instalas kromprogramojn kaj eksternajn skribojn"
|
||||
#define STRING_CMD_DIAG_FEATURES "Build Features"
|
||||
#define STRING_CMD_DIAG_BUILT "Built"
|
||||
#define STRING_CMD_DIAG_COMMIT "Commit"
|
||||
#define STRING_CMD_DIAG_FOUND "(found)"
|
||||
#define STRING_CMD_DIAG_MISSING "(missing)"
|
||||
#define STRING_CMD_DIAG_ENABLED "Enabled"
|
||||
#define STRING_CMD_DIAG_DISABLED "Disabled"
|
||||
#define STRING_CMD_DIAG_CONFIG "Configuration"
|
||||
#define STRING_CMD_DIAG_TESTS "Tests"
|
||||
#define STRING_CMD_DIAG_UUID_SCAN "Scanned {1} tasks for duplicate UUIDs:"
|
||||
#define STRING_CMD_DIAG_UUID_DUP "Found duplicate {1}"
|
||||
#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_MODIFY_USAGE1 "Modifas ekzistantan taskon kun argumentoj provizataj."
|
||||
#define STRING_CMD_MODIFY_NO_DUE "Oni ne povas specifi reokazantan taskon sen datlimo."
|
||||
#define STRING_CMD_MODIFY_REM_DUE "Oni ne povas viŝi la datlimon de reokazanta tasko."
|
||||
#define STRING_CMD_MODIFY_REC_ALWAYS "Oni ne povas viŝi la reokazon de reokazanta tasko."
|
||||
#define STRING_CMD_MODIFY_TASK "Modifanta taskon {1} '{2}'."
|
||||
#define STRING_CMD_MODIFY_TASK_R "Modifanta reokazantan taskon {1} '{2}'."
|
||||
#define STRING_CMD_MODIFY_1 "Modifis {1} taskon."
|
||||
#define STRING_CMD_MODIFY_N "Modifis {1} taskojn."
|
||||
#define STRING_CMD_MODIFY_NO "Ne modifis taskon."
|
||||
#define STRING_CMD_MODIFY_CONFIRM "Modifi taskon {1} '{2}'?"
|
||||
#define STRING_CMD_MODIFY_RECUR "Tio estas reokazanta tasko. Ĉu vi volas modifi ĉian pendantan okazon?"
|
||||
#define STRING_CMD_MODIFY_NEED_TEXT "Oni devas provizi plu de teksto."
|
||||
#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"
|
||||
#define STRING_CMD_ALIASES_USAGE "Generates a list of all aliases, for autocompletion purposes"
|
||||
#define STRING_CMD_INSTALL_USAGE "Installs extensions and external scripts"
|
||||
|
||||
#define STRING_CMD_COLOR_USAGE "Ĉia koloro, ekzemplero, aŭ gamo"
|
||||
#define STRING_CMD_COLOR_HERE "Jen la koloroj ke estas aktuale uzataj:"
|
||||
#define STRING_CMD_COLOR_COLOR "Koloro"
|
||||
#define STRING_CMD_COLOR_DEFINITION "Difino"
|
||||
#define STRING_CMD_COLOR_EXPLANATION "Uzu tiun komandon por vidi, kiel koloroj aspektas ĉe via terminalo."
|
||||
#define STRING_CMD_COLOR_16 "Uzo 16-koloraj (subtenas substrekon, grasan tekston, brilan fonon):"
|
||||
#define STRING_CMD_COLOR_256 "Uzo 256-koloraj (subtenas substrekon):"
|
||||
#define STRING_CMD_COLOR_YOURS "Via ekzemplero:"
|
||||
#define STRING_CMD_COLOR_BASIC "Principaj koloroj"
|
||||
#define STRING_CMD_COLOR_EFFECTS "Efektoj"
|
||||
#define STRING_CMD_COLOR_CUBE "Kolorkubo rgb"
|
||||
#define STRING_CMD_COLOR_RAMP "Grizramplo"
|
||||
#define STRING_CMD_COLOR_TRY "Provu lanĉi '{1}'."
|
||||
#define STRING_CMD_COLOR_OFF "Koloroj estas aktuale malebligita ĉe via dosiero .taskrc. Por ebligi kolorojn, viŝi la vicon 'color=off', aŭ ŝanĝu 'off' al 'on'."
|
||||
#define STRING_CMD_CONFIG_USAGE "Ŝanĝas agordoj de task"
|
||||
#define STRING_CMD_CONFIG_CONFIRM "Ĉu vi estas certa, ke vi volas ŝanĝi la valoron de '{1}', de '{2}' al '{3}'?"
|
||||
#define STRING_CMD_CONFIG_CONFIRM2 "Ĉu vi estas certa, ke vi volas aldoni '{1}' kun valoro '{2}'?"
|
||||
#define STRING_CMD_CONFIG_CONFIRM3 "Ĉu vi estas certa, ke vi volas viŝi '{1}'?"
|
||||
#define STRING_CMD_MODIFY_USAGE1 "Modifies the existing task with provided arguments."
|
||||
#define STRING_CMD_MODIFY_NO_DUE "You cannot specify a recurring task without a due date."
|
||||
#define STRING_CMD_MODIFY_REM_DUE "You cannot remove the due date from a recurring task."
|
||||
#define STRING_CMD_MODIFY_REC_ALWAYS "You cannot remove the recurrence from a recurring task."
|
||||
#define STRING_CMD_MODIFY_TASK "Modifying task {1} '{2}'."
|
||||
#define STRING_CMD_MODIFY_TASK_R "Modifying recurring task {1} '{2}'."
|
||||
#define STRING_CMD_MODIFY_1 "Modified {1} task."
|
||||
#define STRING_CMD_MODIFY_N "Modified {1} tasks."
|
||||
#define STRING_CMD_MODIFY_NO "Task not modified."
|
||||
#define STRING_CMD_MODIFY_CONFIRM "Modify task {1} '{2}'?"
|
||||
#define STRING_CMD_MODIFY_RECUR "This is a recurring task. Do you want to modify all pending recurrences of this same task?"
|
||||
#define STRING_CMD_MODIFY_NEED_TEXT "Additional text must be provided."
|
||||
|
||||
#define STRING_CMD_COLOR_USAGE "All colors, a sample, or a legend"
|
||||
#define STRING_CMD_COLOR_HERE "Here are the colors currently in use:"
|
||||
#define STRING_CMD_COLOR_COLOR "Color"
|
||||
#define STRING_CMD_COLOR_DEFINITION "Definition"
|
||||
#define STRING_CMD_COLOR_EXPLANATION "Use this command to see how colors are displayed by your terminal."
|
||||
#define STRING_CMD_COLOR_16 "16-color usage (supports underline, bold text, bright background):"
|
||||
#define STRING_CMD_COLOR_256 "256-color usage (supports underline):"
|
||||
#define STRING_CMD_COLOR_YOURS "Your sample:"
|
||||
#define STRING_CMD_COLOR_BASIC "Basic colors"
|
||||
#define STRING_CMD_COLOR_EFFECTS "Effects"
|
||||
#define STRING_CMD_COLOR_CUBE "Color cube rgb"
|
||||
#define STRING_CMD_COLOR_RAMP "Gray ramp"
|
||||
#define STRING_CMD_COLOR_TRY "Try running '{1}'."
|
||||
#define STRING_CMD_COLOR_OFF "Color is currently turned off in your .taskrc file. To enable color, remove the line 'color=off', or change the 'off' to 'on'."
|
||||
#define STRING_CMD_CONFIG_USAGE "Change settings in the task configuration"
|
||||
#define STRING_CMD_CONFIG_CONFIRM "Are you sure you want to change the value of '{1}' from '{2}' to '{3}'?"
|
||||
#define STRING_CMD_CONFIG_CONFIRM2 "Are you sure you want to add '{1}' with a value of '{2}'?"
|
||||
#define STRING_CMD_CONFIG_CONFIRM3 "Are you sure you want to remove '{1}'?"
|
||||
#define STRING_CMD_CONFIG_NO_ENTRY "No entry named '{1}' found."
|
||||
#define STRING_CMD_CONFIG_FILE_MOD "Agorda dosiero {1} modifita."
|
||||
#define STRING_CMD_CONFIG_NO_CHANGE "Ne ŝanĝis nenion."
|
||||
|
@ -970,7 +979,7 @@
|
|||
|
||||
/*
|
||||
To be included later, before the 'precendence' line.
|
||||
|
||||
|
||||
" + - Addition, subtraction\n" \
|
||||
" ! Inversion\n" \
|
||||
" ~ !~ Match, no match\n" \
|
||||
|
@ -990,4 +999,3 @@
|
|||
#define STRING_UTIL_BYTES "B"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
@ -471,6 +471,7 @@
|
|||
#define STRING_TASK_NO_DESC "La anotación carece de descripción: {1}"
|
||||
#define STRING_TASK_NO_ENTRY "La anotación carece de fecha de entrada: {1}"
|
||||
|
||||
// STRING_CMD_DIAG_* strings all appear on the 'diag' command output.
|
||||
#define STRING_CMD_SYNC_USAGE "Sincroniza datos con el Servidor Task"
|
||||
#define STRING_CMD_SYNC_NO_SERVER "El Servidor Task no está configurado."
|
||||
#define STRING_CMD_SYNC_BAD_CRED "Credenciales del Servidor Task incorrectas."
|
||||
|
@ -521,6 +522,11 @@
|
|||
#define STRING_CMD_DIAG_HOOKS "Hooks" // |esp-ESP|==|eng-USA|
|
||||
#define STRING_CMD_HCOMMANDS_USAGE "Genera una lista de todos los comandos, con fines de auto-completado"
|
||||
#define STRING_CMD_ZSHCOMMANDS_USAGE "Genera una lista de todos los comandos, con fines de auto-completado zsh"
|
||||
#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_ZSHATTS_USAGE "Generates a list of all attributes, for zsh autocompletion purposes"
|
||||
#define STRING_CMD_ALIASES_USAGE "Genera una lista de todos los alias, con fines de auto-completado"
|
||||
#define STRING_CMD_INSTALL_USAGE "Instala extensiones y scripts externos"
|
||||
|
@ -1018,4 +1024,3 @@
|
|||
#define STRING_UTIL_BYTES "B" // |esp-ESP|==|eng-USA|
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
@ -91,7 +91,6 @@
|
|||
|
||||
#ifndef INCLUDED_STRINGS
|
||||
#define INCLUDED_STRINGS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
// Note that for English, the following two lines are not displayed. For all
|
||||
// other localizations, these lines will appear in the output of the 'version'
|
||||
|
@ -141,9 +140,9 @@
|
|||
#define STRING_VARIANT_MUL_STR_DUR "Cannot multiply strings by durations"
|
||||
#define STRING_VARIANT_MUL_DUR_STR "Cannot multiply durations by strings"
|
||||
#define STRING_VARIANT_MUL_DUR_DATE "Cannot multiply durations by dates"
|
||||
#define STRING_VARIANT_MUL_DUR_DUR "Cannot multiply durations by duraitons"
|
||||
#define STRING_VARIANT_MUL_DUR_DUR "Cannot multiply durations by durations"
|
||||
#define STRING_VARIANT_DIV_UNKNOWN "Cannot divide unknown type"
|
||||
#define STRING_VARIANT_DIV_BOOL "Cannot divide Boolean"
|
||||
#define STRING_VARIANT_DIV_BOOL "Cannot divide Boolean values"
|
||||
#define STRING_VARIANT_DIV_INT_BOOL "Cannot divide integers by Boolean values"
|
||||
#define STRING_VARIANT_DIV_ZERO "Cannot divide by zero"
|
||||
#define STRING_VARIANT_DIV_INT_STR "Cannot divide integer by string"
|
||||
|
@ -155,7 +154,7 @@
|
|||
#define STRING_VARIANT_DIV_DUR_STR "Cannot divide durations by strings"
|
||||
#define STRING_VARIANT_DIV_DUR_DATE "Cannot divide durations by dates"
|
||||
#define STRING_VARIANT_DIV_DUR_DUR "Cannot divide durations by durations"
|
||||
#define STRING_VARIANT_MOD_BOOL "Cannot modulo Boolean"
|
||||
#define STRING_VARIANT_MOD_BOOL "Cannot modulo Booleans"
|
||||
#define STRING_VARIANT_MOD_DATE "Cannot modulo date values"
|
||||
#define STRING_VARIANT_MOD_DUR "Cannot modulo duration values"
|
||||
#define STRING_VARIANT_MOD_INT_BOOL "Cannot modulo integer by Boolean"
|
||||
|
@ -178,13 +177,13 @@
|
|||
// These are errors generated at the lowest level of input analysis,
|
||||
// at the character level.
|
||||
#define STRING_LEX_IMMEDIATE_UNK "Lexer start failure, unknown characters found immediately."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process and unknown token type."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process an unknown token type."
|
||||
|
||||
// Dates
|
||||
//
|
||||
// These are errors generated when parsing date values.
|
||||
#define STRING_DATES_MONTH_31 "Error: no month has more than 31 days."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (ie '1st', not '1nd')."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (e.g., '1st', not '1nd')."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "Il colore '{1}' non è riconosciuto."
|
||||
|
@ -489,6 +488,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 "Dettagli su piattaforma, build e ambiente"
|
||||
#define STRING_CMD_DIAG_PLATFORM "Piattaforma"
|
||||
#define STRING_CMD_DIAG_UNKNOWN "<sconoscito>"
|
||||
|
@ -510,6 +511,13 @@
|
|||
#define STRING_CMD_DIAG_UUID_NO_DUP "Nessun duplicato trovato"
|
||||
#define STRING_CMD_DIAG_NONE "-nessuno-"
|
||||
#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 "Genera la lista di tutti i comandi, per autocompletamento"
|
||||
#define STRING_CMD_ZSHCOMMANDS_USAGE "Genera la lista di tutti i comandi, per autocompletamento in zsh"
|
||||
#define STRING_CMD_ZSHATTS_USAGE "Generates a list of all attributes, for zsh autocompletion purposes"
|
||||
|
@ -990,4 +998,3 @@
|
|||
#define STRING_UTIL_BYTES "B"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -489,6 +489,8 @@
|
|||
#define STRING_CMD_SYNC_HANDSHAKE "Nieudany handshake. {1}"
|
||||
#define STRING_CMD_SYNC_TRUST_CA "Powinieneś udostępnić certyfikat CA lub nadpisać weryfikację. Wybierz jedną z opcji."
|
||||
#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 "Szczegóły platformy i środowiska budowania"
|
||||
#define STRING_CMD_DIAG_PLATFORM "Platforma"
|
||||
#define STRING_CMD_DIAG_UNKNOWN "<nieznane>"
|
||||
|
@ -510,6 +512,13 @@
|
|||
#define STRING_CMD_DIAG_UUID_NO_DUP "Nie znaleziono duplikatów"
|
||||
#define STRING_CMD_DIAG_NONE "-brak-"
|
||||
#define STRING_CMD_DIAG_HOOKS "Haki"
|
||||
#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 "Generuje listę wszystkich poleceń dla funkcji autouzupełniania"
|
||||
#define STRING_CMD_ZSHCOMMANDS_USAGE "Generuje listę wszystkich poleceń dla funkcji autouzupełniania w powłoce zsh"
|
||||
#define STRING_CMD_ZSHATTS_USAGE "Generates a list of all attributes, for zsh autocompletion purposes"
|
||||
|
|
|
@ -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:
|
||||
|
@ -489,6 +489,8 @@
|
|||
#define STRING_CMD_SYNC_HANDSHAKE "'Handshake' falhou. {1}"
|
||||
#define STRING_CMD_SYNC_TRUST_CA "Deve fornecer um certificado CA ou desactivar a verificação, mas não ambos."
|
||||
#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 "Plataforma, versão e detalhes de ambiente"
|
||||
#define STRING_CMD_DIAG_PLATFORM "Plataforma"
|
||||
#define STRING_CMD_DIAG_UNKNOWN "<desconhecido>"
|
||||
|
@ -510,6 +512,13 @@
|
|||
#define STRING_CMD_DIAG_UUID_NO_DUP "Nenhum duplicado encontrado"
|
||||
#define STRING_CMD_DIAG_NONE "-nenhum-"
|
||||
#define STRING_CMD_DIAG_HOOKS "Âncoras"
|
||||
#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 "Gera uma lista com todos os comandos, para fins de terminação automática"
|
||||
#define STRING_CMD_ZSHCOMMANDS_USAGE "Gera uma lista com todos os comandos, para terminação automática em zsh"
|
||||
#define STRING_CMD_ZSHATTS_USAGE "Gera uma lista de todos os atributos, para terminação automática em zsh"
|
||||
|
@ -990,4 +999,3 @@
|
|||
#define STRING_UTIL_BYTES "B" // |por-PRT|==|eng-USA|
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue