- Localized more files.
This commit is contained in:
Paul Beckingham 2011-06-25 23:32:40 -04:00
parent 42ead6b34d
commit c9cc43dc5f
9 changed files with 71 additions and 39 deletions

View file

@ -25,6 +25,8 @@
//
////////////////////////////////////////////////////////////////////////////////
#define L10N // Localization complete.
#include <sstream>
#include <string>
#include <vector>
@ -33,6 +35,7 @@
#include <string.h>
#include <text.h>
#include <util.h>
#include <i18n.h>
#include <Duration.h>
static const char* durations[] =
@ -369,7 +372,7 @@ void Duration::parse (const std::string& input)
}
if (mSecs == 0)
throw std::string ("The duration '") + input + "' was not recognized.";
throw ::format (STRING_DURATION_UNRECOGNIZED, input);
}
////////////////////////////////////////////////////////////////////////////////