- Added en-US.h, which will be a header file full of string defines.
- Added logic to i18n.h to include en-US.h based on cmake command
  line argument (cmake ... -DPACKAGE_LANGUAGE=1).
- Added one sample string.
This commit is contained in:
Paul Beckingham 2011-03-29 23:18:02 -04:00
parent ed3b4d587c
commit 976e480903
5 changed files with 65 additions and 106 deletions

View file

@ -34,7 +34,8 @@
#include <sys/time.h>
#endif
#include "Context.h"
#include <i18n.h>
#include <Context.h>
#include "../cmake.h"
Context context;
@ -96,7 +97,7 @@ int main (int argc, char** argv)
catch (...)
{
std::cerr << "Unknown error." << "\n";
std::cerr << STRING_UNKNOWN_ERROR << "\n";
return -2;
}