From 238bd7f8a5131e9bc51a649553fd2fafaf6337c2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 25 Feb 2009 03:51:42 -0400 Subject: Marked all strings needing internationalization These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install". --- src/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 3da0a429..86cd56df 100644 --- a/src/utils.h +++ b/src/utils.h @@ -485,9 +485,9 @@ inline void check_for_signal() { case NONE_CAUGHT: break; case INTERRUPTED: - throw std::runtime_error("Interrupted by user (use Control-D to quit)"); + throw std::runtime_error(_("Interrupted by user (use Control-D to quit)")); case PIPE_CLOSED: - throw std::runtime_error("Pipe terminated"); + throw std::runtime_error(_("Pipe terminated")); } } -- cgit v1.2.3