mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
I18N
- Localized more files.
This commit is contained in:
parent
393ebae8aa
commit
b63835757f
12 changed files with 81 additions and 37 deletions
|
@ -29,8 +29,11 @@
|
|||
#include <Permission.h>
|
||||
#include <Context.h>
|
||||
#include <util.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -56,16 +59,14 @@ bool Permission::confirmed (const Task& task, const std::string& question)
|
|||
if (allConfirmed)
|
||||
return true;
|
||||
|
||||
std::cout << "\nTask "
|
||||
<< task.id
|
||||
<< " \""
|
||||
<< task.get ("description")
|
||||
<< "\"";
|
||||
std::cout << "\n"
|
||||
<< format (STRING_PERM_TASK_LINE, task.id, task.get ("description"));
|
||||
|
||||
if (task.getStatus () == Task::recurring ||
|
||||
task.has ("parent"))
|
||||
{
|
||||
std::cout << " (Recurring)";
|
||||
std::cout << " "
|
||||
<< STRING_PERM_RECURRING;
|
||||
}
|
||||
|
||||
std::cout << std::endl; // Flush.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue