L10N
- Marked certain uses of ucFirst as l10n-safe.
This commit is contained in:
@@ -204,7 +204,7 @@ std::string CmdEdit::formatTask (Task task, const std::string& dateformat)
|
||||
<< "# " << STRING_EDIT_TABLE_HEADER_2 << "\n"
|
||||
<< "# ID: " << task.id << "\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"
|
||||
<< "# iMask: " << task.get ("imask") << "\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, 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
|
||||
Color c;
|
||||
|
||||
Reference in New Issue
Block a user