mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Fix typo
This commit is contained in:
parent
e1cfb91d42
commit
04ef785eea
3 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ std::string configurationDefaults =
|
||||||
"expressions=infix # Prefer infix over postfix expressions\n"
|
"expressions=infix # Prefer infix over postfix expressions\n"
|
||||||
"json.array=1 # Enclose JSON output in [ ]\n"
|
"json.array=1 # Enclose JSON output in [ ]\n"
|
||||||
"abbreviation.minimum=2 # Shortest allowed abbreviation\n"
|
"abbreviation.minimum=2 # Shortest allowed abbreviation\n"
|
||||||
"news.version= # Latest version higlights read by the user\n"
|
"news.version= # Latest version highlights read by the user\n"
|
||||||
"\n"
|
"\n"
|
||||||
"# Dates\n"
|
"# Dates\n"
|
||||||
"dateformat=Y-M-D # Preferred input and display date format\n"
|
"dateformat=Y-M-D # Preferred input and display date format\n"
|
||||||
|
|
|
@ -249,7 +249,7 @@ int CmdCustom::execute (std::string& output)
|
||||||
rc = 1;
|
rc = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inform user about the new release higlights if not presented yet
|
// Inform user about the new release highlights if not presented yet
|
||||||
if (Context::getContext ().config.get ("news.version") != "2.6.0")
|
if (Context::getContext ().config.get ("news.version") != "2.6.0")
|
||||||
{
|
{
|
||||||
std::random_device device;
|
std::random_device device;
|
||||||
|
@ -258,7 +258,7 @@ int CmdCustom::execute (std::string& output)
|
||||||
|
|
||||||
std::string NEWS_NOTICE = (
|
std::string NEWS_NOTICE = (
|
||||||
"Recently upgraded to 2.6.0. "
|
"Recently upgraded to 2.6.0. "
|
||||||
"Please run 'task news' to read higlights about the new release."
|
"Please run 'task news' to read highlights about the new release."
|
||||||
);
|
);
|
||||||
|
|
||||||
// 1 in 10 chance to display the message.
|
// 1 in 10 chance to display the message.
|
||||||
|
|
|
@ -629,7 +629,7 @@ int CmdNews::execute (std::string& output)
|
||||||
|
|
||||||
if (! full_summary && major_items)
|
if (! full_summary && major_items)
|
||||||
Context::getContext ().footnote (format (
|
Context::getContext ().footnote (format (
|
||||||
"Only major higlights were displayed ({1} out of {2} total).\n"
|
"Only major highlights were displayed ({1} out of {2} total).\n"
|
||||||
"If you're interested in more release highlights, run 'task news {3} minor'.",
|
"If you're interested in more release highlights, run 'task news {3} minor'.",
|
||||||
items.size (),
|
items.size (),
|
||||||
total_highlights,
|
total_highlights,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue