mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
L10N
- Marked certain uses of ucFirst as l10n-safe.
This commit is contained in:
parent
de5f41c6c5
commit
ecc528cbf3
2 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ std::string CmdEdit::formatTask (Task task, const std::string& dateformat)
|
||||||
<< "# " << STRING_EDIT_TABLE_HEADER_2 << "\n"
|
<< "# " << STRING_EDIT_TABLE_HEADER_2 << "\n"
|
||||||
<< "# ID: " << task.id << "\n"
|
<< "# ID: " << task.id << "\n"
|
||||||
<< "# UUID: " << task.get ("uuid") << "\n"
|
<< "# UUID: " << task.get ("uuid") << "\n"
|
||||||
<< "# Status: " << ucFirst (Task::statusToText (task.getStatus ())) << "\n"
|
<< "# Status: " << ucFirst (Task::statusToText (task.getStatus ())) << "\n" // L10N safe ucFirst.
|
||||||
<< "# Mask: " << task.get ("mask") << "\n"
|
<< "# Mask: " << task.get ("mask") << "\n"
|
||||||
<< "# iMask: " << task.get ("imask") << "\n"
|
<< "# iMask: " << task.get ("imask") << "\n"
|
||||||
<< " Project: " << task.get ("project") << "\n"
|
<< " Project: " << task.get ("project") << "\n"
|
||||||
|
|
|
@ -115,7 +115,7 @@ int CmdInfo::execute (std::string& output)
|
||||||
view.set (row, 0, STRING_COLUMN_LABEL_ID);
|
view.set (row, 0, STRING_COLUMN_LABEL_ID);
|
||||||
view.set (row, 1, (task->id ? format (task->id) : "-"));
|
view.set (row, 1, (task->id ? format (task->id) : "-"));
|
||||||
|
|
||||||
std::string status = ucFirst (Task::statusToText (task->getStatus ()));
|
std::string status = ucFirst (Task::statusToText (task->getStatus ())); // L10N safe ucFirst.
|
||||||
|
|
||||||
// description
|
// description
|
||||||
Color c;
|
Color c;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue