From ecc528cbf395198cdded3d6721ccfba99e4c5d81 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 6 Sep 2014 16:11:54 -0400 Subject: [PATCH] L10N - Marked certain uses of ucFirst as l10n-safe. --- src/commands/CmdEdit.cpp | 2 +- src/commands/CmdInfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdEdit.cpp b/src/commands/CmdEdit.cpp index 2edd93efc..b2e4cd2dc 100644 --- a/src/commands/CmdEdit.cpp +++ b/src/commands/CmdEdit.cpp @@ -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" diff --git a/src/commands/CmdInfo.cpp b/src/commands/CmdInfo.cpp index 0781ff78b..41adec0c9 100644 --- a/src/commands/CmdInfo.cpp +++ b/src/commands/CmdInfo.cpp @@ -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;