mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
L10N
- More file conversions.
This commit is contained in:
parent
63e6c08fdd
commit
76b30d8d10
11 changed files with 66 additions and 39 deletions
|
@ -25,6 +25,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
@ -37,6 +39,7 @@
|
|||
#include <util.h>
|
||||
#include <text.h>
|
||||
#include <utf8.h>
|
||||
#include <i18n.h>
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
@ -494,11 +497,7 @@ void guess (
|
|||
{
|
||||
std::sort (matches.begin (), matches.end ());
|
||||
|
||||
std::string error = "Ambiguous "; // TODO i18n
|
||||
error += type;
|
||||
error += " '";
|
||||
error += candidate;
|
||||
error += "' - could be either of "; // TODO i18n
|
||||
std::string error = format (STRING_TEXT_AMBIGUOUS, type, candidate);
|
||||
for (size_t i = 0; i < matches.size (); ++i)
|
||||
{
|
||||
if (i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue