diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 18:42:20 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 18:42:20 +0100 |
commit | 523bb3c6be5e55c6128a8f797637c763764af1b2 (patch) | |
tree | 3e3bcd610ffd979a551903e75d5c9c72a0c7a9fc /tests/daemon | |
parent | fa7d434b5a41d4c6ec128116c9e09c36881f1467 (diff) | |
download | wolfbones-523bb3c6be5e55c6128a8f797637c763764af1b2.tar.gz wolfbones-523bb3c6be5e55c6128a8f797637c763764af1b2.tar.bz2 |
fixed i18n in testd (now the binary can set WOLFLOCALEDIR in environment, as in Postgres)
Diffstat (limited to 'tests/daemon')
-rw-r--r-- | tests/daemon/po/de.po | 8 | ||||
-rw-r--r-- | tests/daemon/testd.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/daemon/po/de.po b/tests/daemon/po/de.po index effbdbe..b255d52 100644 --- a/tests/daemon/po/de.po +++ b/tests/daemon/po/de.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: libwolf 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-03-18 17:40+0100\n" +"POT-Creation-Date: 2009-03-18 17:47+0100\n" "PO-Revision-Date: 2009-03-18 11:07+0100\n" "Last-Translator: Andreas Baumann <abaumann@yahoo.com>\n" "Language-Team: German\n" @@ -46,11 +46,11 @@ msgid "Got termination signal, shutting down the daemon" msgstr "Signal zum Beenden empfangen, stoppe jetzt den Prozess" #: testd.c:177 -#, fuzzy, c-format -msgid "Unexpected signal '%s' (%s, %d)" +#, c-format +msgid "Unexpected signal '%s' (%s)" msgstr "Unerwartetes Signal '%s' (%s)" -#: testd.c:184 +#: testd.c:183 #, c-format msgid "Stopped %s daemon" msgstr "Process %s gestoppt" diff --git a/tests/daemon/testd.c b/tests/daemon/testd.c index 7530d97..b6f8ae1 100644 --- a/tests/daemon/testd.c +++ b/tests/daemon/testd.c @@ -1,5 +1,6 @@ #include "port/string.h" /* for strdup, memset */ #include "port/stdio.h" /* for fprintf */ +#define DEFAULT_TEXT_DOMAIN CMDLINE_PARSER_PACKAGE #include "port/gettext.h" /* for i18n */ #include "errors.h" /* global error codes */ @@ -174,10 +175,9 @@ int main( int argc, char *argv[] ) { default: wolf_log( WOLF_LOG_ERR, WOLF_CATEGORY_DAEMON, WOLF_MSG_DAEMON_UNEXPECED_SIGNAL, - _( "Unexpected signal '%s' (%s, %d)" ), + _( "Unexpected signal '%s' (%s)" ), wolf_signal_get_long_name( sig ), - wolf_signal_get_short_name( sig ), - sig ); + wolf_signal_get_short_name( sig ) ); } } wolf_log( WOLF_LOG_NOTICE, WOLF_CATEGORY_DAEMON, WOLF_MSG_DAEMON_STOPPED_DAEMON, |