- Localized Dates.
This commit is contained in:
Paul Beckingham 2014-07-05 11:39:22 -04:00
parent 4996576d64
commit 57e63dfeb2
6 changed files with 32 additions and 2 deletions

View file

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