This commit is contained in:
Jakub Wilk 2021-11-06 16:41:17 +01:00 committed by Tomas Babej
parent e1cfb91d42
commit 04ef785eea
3 changed files with 4 additions and 4 deletions

View file

@ -115,7 +115,7 @@ std::string configurationDefaults =
"expressions=infix # Prefer infix over postfix expressions\n"
"json.array=1 # Enclose JSON output in [ ]\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"
"# Dates\n"
"dateformat=Y-M-D # Preferred input and display date format\n"

View file

@ -249,7 +249,7 @@ int CmdCustom::execute (std::string& output)
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")
{
std::random_device device;
@ -258,7 +258,7 @@ int CmdCustom::execute (std::string& output)
std::string NEWS_NOTICE = (
"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.

View file

@ -629,7 +629,7 @@ int CmdNews::execute (std::string& output)
if (! full_summary && major_items)
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'.",
items.size (),
total_highlights,