l10n: Eliminated STRING_FEEDBACK_NO_TASKS_SP

This commit is contained in:
Paul Beckingham
2018-01-20 21:40:46 -05:00
parent 11921878a4
commit 8c7f3be1bd
21 changed files with 12 additions and 30 deletions

View File

@@ -32,7 +32,6 @@
#include <main.h>
#include <shared.h>
#include <format.h>
#include <i18n.h>
extern Context context;
@@ -64,7 +63,7 @@ int CmdAnnotate::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -31,7 +31,6 @@
#include <Filter.h>
#include <shared.h>
#include <format.h>
#include <i18n.h>
#include <main.h>
extern Context context;
@@ -64,7 +63,7 @@ int CmdAppend::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -31,7 +31,6 @@
#include <Filter.h>
#include <shared.h>
#include <format.h>
#include <i18n.h>
#include <main.h>
#define STRING_CMD_DELETE_TASK_R "Deleting recurring task {1} '{2}'."
@@ -68,7 +67,7 @@ int CmdDelete::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -32,7 +32,6 @@
#include <shared.h>
#include <format.h>
#include <util.h>
#include <i18n.h>
#include <main.h>
#define STRING_CMD_DENO_NO "Task not denotated."
@@ -70,7 +69,7 @@ int CmdDenotate::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -31,7 +31,6 @@
#include <Filter.h>
#include <util.h>
#include <format.h>
#include <i18n.h>
#include <main.h>
extern Context context;
@@ -64,7 +63,7 @@ int CmdDone::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -64,7 +64,7 @@ int CmdDuplicate::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -32,7 +32,6 @@
#include <main.h>
#include <format.h>
#include <shared.h>
#include <i18n.h>
#define STRING_CMD_MODIFY_TASK_R "Modifying recurring 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?"
@@ -66,7 +65,7 @@ int CmdModify::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -64,7 +64,7 @@ int CmdPrepend::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -28,7 +28,6 @@
#include <CmdPurge.h>
#include <Context.h>
#include <Filter.h>
#include <i18n.h>
#include <main.h>
#include <format.h>
#include <shared.h>
@@ -146,7 +145,7 @@ int CmdPurge::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -32,7 +32,6 @@
#include <main.h>
#include <format.h>
#include <util.h>
#include <i18n.h>
extern Context context;
@@ -64,7 +63,7 @@ int CmdStart::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -31,7 +31,6 @@
#include <Filter.h>
#include <main.h>
#include <format.h>
#include <i18n.h>
extern Context context;
@@ -63,7 +62,7 @@ int CmdStop::execute (std::string&)
filter.subset (filtered);
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}

View File

@@ -63,7 +63,7 @@ int CmdUrgency::execute (std::string& output)
if (filtered.size () == 0)
{
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
context.footnote ("No tasks specified.");
return 1;
}