Footnote: New 'recur' verbosity token
This commit is contained in:
@@ -79,7 +79,7 @@ std::string Config::_defaults =
|
||||
"#verbose=no # Provide regular feedback\n"
|
||||
"#verbose=nothing # Provide no feedback\n"
|
||||
"# # Comma-separated list. May contain any subset of:\n"
|
||||
"#verbose=blank,header,footnote,label,new-id,new-uuid,affected,edit,special,project,sync,filter,unwait\n"
|
||||
"#verbose=blank,header,footnote,label,new-id,new-uuid,affected,edit,special,project,sync,filter,unwait,recur\n"
|
||||
"confirmation=yes # Confirmation on delete, big changes\n"
|
||||
"recurrence=yes # Enable recurrence\n"
|
||||
"recurrence.confirmation=prompt # Confirmation for propagating changes among recurring tasks (yes/no/prompt)\n"
|
||||
|
||||
@@ -540,7 +540,8 @@ bool Context::verbose (const std::string& token)
|
||||
v != "project" && //
|
||||
v != "sync" && //
|
||||
v != "filter" && //
|
||||
v != "unwait") //
|
||||
v != "unwait" && //
|
||||
v != "recur") //
|
||||
{
|
||||
// This list emulates rc.verbose=off in version 1.9.4.
|
||||
verbosity = {"blank", "label", "new-id", "edit"};
|
||||
@@ -551,7 +552,7 @@ bool Context::verbose (const std::string& token)
|
||||
if (! verbosity.count ("footnote"))
|
||||
{
|
||||
// TODO: Some of these may not use footnotes yet. They should.
|
||||
for (auto flag : {"affected", "new-id", "new-uuid", "project", "unwait"})
|
||||
for (auto flag : {"affected", "new-id", "new-uuid", "project", "unwait", "recur"})
|
||||
{
|
||||
if (verbosity.count (flag))
|
||||
{
|
||||
|
||||
@@ -880,6 +880,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Beende mit ungeschriebenen Änderungen auf {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "Dieser Report hat eine Mindestbreite von {1} und passt nicht in die Bildschirmbreite von {2}."
|
||||
|
||||
|
||||
@@ -878,6 +878,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}."
|
||||
|
||||
|
||||
@@ -880,6 +880,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Eliranta kun neskribitajn ŝanĝojn al {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "La raporto havas larĝecminimumon {1}, al kio ne konformas la disponebla larĝeco {2}."
|
||||
|
||||
|
||||
@@ -893,6 +893,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Saliendo con cambios sin escribir a {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "El informe tiene una anchura mínima de {1} y no cabe en la disponible, que es {2}."
|
||||
|
||||
|
||||
@@ -880,6 +880,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}."
|
||||
|
||||
|
||||
@@ -879,6 +879,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "Il report ha larghezza minima di {1} e non entra nella larghezza disponibile di {2}."
|
||||
|
||||
|
||||
@@ -880,6 +880,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}."
|
||||
|
||||
|
||||
@@ -880,6 +880,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Zamykanie z niezapisanymi zmianami w {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "Raport ma minimalną szerokość {1} i nie mieści się w dostępnej przestrzeni {2}."
|
||||
|
||||
|
||||
@@ -880,6 +880,9 @@
|
||||
#define STRING_TDB2_DIRTY_EXIT "Saindo com modificações por gravar de {1}"
|
||||
#define STRING_TDB2_UNWAIT "Un-waiting task '{1}'"
|
||||
|
||||
// recur.cpp
|
||||
#define STRING_RECUR_CREATE "Creating recurring task instance '{1}'"
|
||||
|
||||
// View
|
||||
#define STRING_VIEW_TOO_SMALL "O relatório tem uma largura mínima de {1} e não cabe na largura disponível {2}."
|
||||
|
||||
|
||||
@@ -138,6 +138,9 @@ void handleRecurrence ()
|
||||
{
|
||||
t.set ("mask", mask);
|
||||
context.tdb2.modify (t);
|
||||
|
||||
if (context.verbose ("recur"))
|
||||
context.footnote (format (STRING_RECUR_CREATE, t.get ("description")));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user