summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 58b3f169..89a438c7 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -75,6 +75,8 @@ int main(int argc, char * argv[], char * envp[])
std::signal(SIGINT, sigint_handler);
std::signal(SIGPIPE, sigpipe_handler);
+ ::textdomain("ledger");
+
// Create the session object, which maintains nearly all state relating to
// this invocation of Ledger; and register all known journal parsers.
std::auto_ptr<global_scope_t> global_scope(new global_scope_t(envp));