mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
ed3b4d587c
commit
976e480903
5 changed files with 65 additions and 106 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue