summaryrefslogtreecommitdiffstats
path: root/src/util/support/plugins.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-06-10 18:17:37 +0000
committerGreg Hudson <ghudson@mit.edu>2011-06-10 18:17:37 +0000
commit16277050f158f062337d1d08258f9499dbc1cdc7 (patch)
tree713b2deadd3696c359e9b0051db9fa3de1d5a518 /src/util/support/plugins.c
parentcb8b1138d6e349a77507f3c561fc7ee2dde5cd7c (diff)
downloadkrb5-16277050f158f062337d1d08258f9499dbc1cdc7.tar.gz
krb5-16277050f158f062337d1d08258f9499dbc1cdc7.tar.xz
krb5-16277050f158f062337d1d08258f9499dbc1cdc7.zip
Mark up strings for translation
ticket: 6918 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24961 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/support/plugins.c')
-rw-r--r--src/util/support/plugins.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
index f457f35426..2ab7436bb9 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) {