mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
L10N
- Localized Dates.
This commit is contained in:
parent
4996576d64
commit
57e63dfeb2
6 changed files with 32 additions and 2 deletions
|
@ -480,10 +480,10 @@ bool namedDates (const std::string& name, Variant& value)
|
|||
}
|
||||
}
|
||||
else
|
||||
throw std::string ("Error: number and ordinal don't match.");
|
||||
throw std::string (STRING_DATES_ORD_MISMATCH);
|
||||
}
|
||||
else
|
||||
throw std::string ("Error: no month has more than 31 days.");
|
||||
throw std::string (STRING_DATES_MONTH_31);
|
||||
}
|
||||
|
||||
else if (name == "easter" ||
|
||||
|
|
|
@ -181,6 +181,12 @@
|
|||
#define STRING_LEX_IMMEDIATE_UNK "Lexer start failure, unknown characters found immediately."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process and unknown token type."
|
||||
|
||||
// Dates
|
||||
//
|
||||
// These are errors generated when parsing date values.
|
||||
#define STRING_DATES_MONTH_31 "Error: no month has more than 31 days."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (ie '1st', not '1nd')."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "The color '{1}' is not recognized."
|
||||
|
||||
|
|
|
@ -181,6 +181,12 @@
|
|||
#define STRING_LEX_IMMEDIATE_UNK "Lexer start failure, unknown characters found immediately."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process and unknown token type."
|
||||
|
||||
// Dates
|
||||
//
|
||||
// These are errors generated when parsing date values.
|
||||
#define STRING_DATES_MONTH_31 "Error: no month has more than 31 days."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (ie '1st', not '1nd')."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "El color '{1}' no se reconoce."
|
||||
|
||||
|
|
|
@ -181,6 +181,12 @@
|
|||
#define STRING_LEX_IMMEDIATE_UNK "Lexer start failure, unknown characters found immediately."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process and unknown token type."
|
||||
|
||||
// Dates
|
||||
//
|
||||
// These are errors generated when parsing date values.
|
||||
#define STRING_DATES_MONTH_31 "Error: no month has more than 31 days."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (ie '1st', not '1nd')."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "La couleur '{1}' n'est pas reconnue."
|
||||
|
||||
|
|
|
@ -182,6 +182,12 @@
|
|||
#define STRING_LEX_IMMEDIATE_UNK "Lexer start failure, unknown characters found immediately."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process and unknown token type."
|
||||
|
||||
// Dates
|
||||
//
|
||||
// These are errors generated when parsing date values.
|
||||
#define STRING_DATES_MONTH_31 "Error: no month has more than 31 days."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (ie '1st', not '1nd')."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "Il colore '{1}' non è riconosciuto."
|
||||
|
||||
|
|
|
@ -181,6 +181,12 @@
|
|||
#define STRING_LEX_IMMEDIATE_UNK "Lexer start failure, unknown characters found immediately."
|
||||
#define STRING_LEX_TYPE_UNK "Lexer cannot process and unknown token type."
|
||||
|
||||
// Dates
|
||||
//
|
||||
// These are errors generated when parsing date values.
|
||||
#define STRING_DATES_MONTH_31 "Error: no month has more than 31 days."
|
||||
#define STRING_DATES_ORD_MISMATCH "Error: number and ordinal don't match (ie '1st', not '1nd')."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "A cor '{1}' não é reconhecida."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue