[krb5-auth-dialog] try to translate Kerberos error messages



commit 059c4921f2fbeb255a3b6ea3a79907a46927e1a3
Author: Guido Günther <agx sigxcpu org>
Date:   Wed May 13 22:10:04 2009 +0200

    try to translate Kerberos error messages
---
 ChangeLog              |    5 +++++
 src/krb5-auth-dialog.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 537c8fb..214b968 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed May 13 22:10:45 CEST 2009 Guido Günther <agx sigxcpu org>
+
+	* src/krb5-auth-dialog.c (ka_error_dialog): translate Kerberos error
+	  messages.
+
 Wed May 13 20:46:03 CEST 2009 Guido Günther <agx sigxcpu org>
 
 	* etpo/lexer.c: update regex for newer com_err
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
index 76cc611..778491d 100644
--- a/src/krb5-auth-dialog.c
+++ b/src/krb5-auth-dialog.c
@@ -810,7 +810,7 @@ ka_error_dialog(int err)
 				GTK_DIALOG_DESTROY_WITH_PARENT,
 				GTK_MESSAGE_ERROR,
 				GTK_BUTTONS_CLOSE,
-				_("Couldn't acquire kerberos ticket: '%s'"), msg);
+				_("Couldn't acquire kerberos ticket: '%s'"), _(msg));
 	gtk_dialog_run (GTK_DIALOG (dialog));
 	gtk_widget_destroy (dialog);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]