From 16277050f158f062337d1d08258f9499dbc1cdc7 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 10 Jun 2011 18:17:37 +0000 Subject: Mark up strings for translation ticket: 6918 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24961 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/support/plugins.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/util/support/plugins.c') diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c index f457f3542..2ab7436bb 100644 --- a/src/util/support/plugins.c +++ b/src/util/support/plugins.c @@ -174,7 +174,7 @@ krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct if (stat (filepath, &statbuf) < 0) { err = errno; Tprintf ("stat(%s): %s\n", filepath, strerror (err)); - krb5int_set_error(ep, err, "unable to find plugin [%s]: %s", + krb5int_set_error(ep, err, _("unable to find plugin [%s]: %s"), filepath, strerror(err)); } } @@ -267,10 +267,10 @@ krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct if (handle == NULL) { const char *e = dlerror(); if (e == NULL) - e = "unknown failure"; + e = _("unknown failure"); Tprintf ("dlopen(%s): %s\n", filepath, e); err = ENOENT; /* XXX */ - krb5int_set_error(ep, err, "unable to load plugin [%s]: %s", + krb5int_set_error(ep, err, _("unable to load plugin [%s]: %s"), filepath, e); } } @@ -293,7 +293,7 @@ krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct if (handle == NULL) { Tprintf ("Unable to load dll: %s\n", filepath); err = ENOENT; /* XXX */ - krb5int_set_error (ep, err, "unable to load DLL [%s]", filepath); + krb5int_set_error(ep, err, _("unable to load DLL [%s]"), filepath); } if (!err) { @@ -309,7 +309,7 @@ krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct if (!err && !got_plugin) { err = ENOENT; /* no plugin or no way to load plugins */ - krb5int_set_error (ep, err, "plugin unavailable: %s", strerror(err)); + krb5int_set_error(ep, err, _("plugin unavailable: %s"), strerror(err)); } if (!err) { -- cgit