mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TDB2
- In debug mode, if any TF2 objects are dirty, they speak up.
This commit is contained in:
parent
9996e5adef
commit
6209529aaa
6 changed files with 8 additions and 0 deletions
|
@ -57,6 +57,9 @@ TF2::TF2 ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
TF2::~TF2 ()
|
||||
{
|
||||
if (_dirty && context.verbose ("debug"))
|
||||
std::cout << format (STRING_TDB2_DIRTY_EXIT, _file)
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -861,6 +861,7 @@
|
|||
#define STRING_TDB2_REMOVED "Task removed."
|
||||
#define STRING_TDB2_UNDO_COMPLETE "Undo complete."
|
||||
#define STRING_TDB2_UNDO_SYNCED "Cannot undo change because the task was already synced. Modify the task instead."
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
|
||||
// text
|
||||
// A comma-separated list of commands is appended.
|
||||
|
|
|
@ -874,6 +874,7 @@
|
|||
#define STRING_TDB2_REMOVED "Tarea eliminada."
|
||||
#define STRING_TDB2_UNDO_COMPLETE "Deshacer completado."
|
||||
#define STRING_TDB2_UNDO_SYNCED "No se puede deshacer el cambio porque la tarea ya ha sido sincronizada. Como alternativa, modifique la tarea."
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
|
||||
// text
|
||||
// Se añade al final una lista de comandos separados por comas.
|
||||
|
|
|
@ -860,6 +860,7 @@
|
|||
#define STRING_TDB2_REMOVED "Tâche retirée."
|
||||
#define STRING_TDB2_UNDO_COMPLETE "Annulation terminée."
|
||||
#define STRING_TDB2_UNDO_SYNCED "Impossible d'annuler les changements car la tâche a déjà été synchronysée. Modifiez plutôt la tâche."
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
|
||||
// text
|
||||
// A comma-separated list of commands is appended.
|
||||
|
|
|
@ -861,6 +861,7 @@
|
|||
#define STRING_TDB2_REMOVED "Task rimosso."
|
||||
#define STRING_TDB2_UNDO_COMPLETE "Undo completato."
|
||||
#define STRING_TDB2_UNDO_SYNCED "Cannot undo change because the task was already synced. Modify the task instead."
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
|
||||
// text
|
||||
// A comma-separated list of commands is appended.
|
||||
|
|
|
@ -861,6 +861,7 @@
|
|||
#define STRING_TDB2_REMOVED "Tarefa removida."
|
||||
#define STRING_TDB2_UNDO_COMPLETE "Reversão concluída."
|
||||
#define STRING_TDB2_UNDO_SYNCED "Não é possível reverter a alteração porque a tarefa já foi syncronizada. Em vez disso modifique a tarefa."
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
|
||||
// text
|
||||
// A comma-separated list of commands is appended.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue