summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/port/gettext.c1
-rw-r--r--tests/daemon/po/de.po8
-rw-r--r--tests/daemon/testd.c6
3 files changed, 7 insertions, 8 deletions
diff --git a/src/port/gettext.c b/src/port/gettext.c
index 7c52ad0..e37de24 100644
--- a/src/port/gettext.c
+++ b/src/port/gettext.c
@@ -41,5 +41,4 @@ void wolf_port_initialize_i18n( const char *argv0, const char *app ) {
setlocale( LC_ALL, "" );
bindtextdomain( app, localedir );
- textdomain( app );
}
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,