- Marked certain uses of ucFirst as l10n-safe.
This commit is contained in:
Paul Beckingham 2014-09-06 16:11:54 -04:00
parent de5f41c6c5
commit ecc528cbf3
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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;