i18n
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user