N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23806 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -121,8 +121,9 @@ find_type_in_ad(krb5_context context,
|
|||||||
if (level > 9) {
|
if (level > 9) {
|
||||||
ret = ENOENT; /* XXX */
|
ret = ENOENT; /* XXX */
|
||||||
krb5_set_error_message(context, ret,
|
krb5_set_error_message(context, ret,
|
||||||
"Authorization data nested deeper "
|
N_("Authorization data nested deeper "
|
||||||
"then %d levels, stop searching", level);
|
"then %d levels, stop searching", ""),
|
||||||
|
level);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,8 +151,10 @@ find_type_in_ad(krb5_context context,
|
|||||||
&child,
|
&child,
|
||||||
NULL);
|
NULL);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
krb5_set_error_message(context, ret, "Failed to decode "
|
krb5_set_error_message(context, ret,
|
||||||
"IF_RELEVANT with %d", (int)ret);
|
N_("Failed to decode "
|
||||||
|
"IF_RELEVANT with %d"),
|
||||||
|
(int)ret);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
ret = find_type_in_ad(context, type, data, found, FALSE,
|
ret = find_type_in_ad(context, type, data, found, FALSE,
|
||||||
@@ -170,8 +173,10 @@ find_type_in_ad(krb5_context context,
|
|||||||
&child,
|
&child,
|
||||||
NULL);
|
NULL);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
krb5_set_error_message(context, ret, "Failed to decode "
|
krb5_set_error_message(context, ret,
|
||||||
"AD_KDCIssued with %d", ret);
|
N_("Failed to decode "
|
||||||
|
"AD_KDCIssued with %d", ""),
|
||||||
|
ret);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (failp) {
|
if (failp) {
|
||||||
@@ -215,16 +220,19 @@ find_type_in_ad(krb5_context context,
|
|||||||
if (!failp)
|
if (!failp)
|
||||||
break;
|
break;
|
||||||
ret = ENOENT; /* XXX */
|
ret = ENOENT; /* XXX */
|
||||||
krb5_set_error_message(context, ret, "Authorization data contains "
|
krb5_set_error_message(context, ret,
|
||||||
"AND-OR element that is unknown to the "
|
N_("Authorization data contains "
|
||||||
"application");
|
"AND-OR element that is unknown to the "
|
||||||
|
"application", ""));
|
||||||
goto out;
|
goto out;
|
||||||
default:
|
default:
|
||||||
if (!failp)
|
if (!failp)
|
||||||
break;
|
break;
|
||||||
ret = ENOENT; /* XXX */
|
ret = ENOENT; /* XXX */
|
||||||
krb5_set_error_message(context, ret, "Authorization data contains "
|
krb5_set_error_message(context, ret,
|
||||||
"unknown type (%d) ", ad->val[i].ad_type);
|
N_("Authorization data contains "
|
||||||
|
"unknown type (%d) ", ""),
|
||||||
|
ad->val[i].ad_type);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -259,7 +267,7 @@ krb5_ticket_get_authorization_data_type(krb5_context context,
|
|||||||
ad = ticket->ticket.authorization_data;
|
ad = ticket->ticket.authorization_data;
|
||||||
if (ticket->ticket.authorization_data == NULL) {
|
if (ticket->ticket.authorization_data == NULL) {
|
||||||
krb5_set_error_message(context, ENOENT,
|
krb5_set_error_message(context, ENOENT,
|
||||||
"Ticket have not authorization data");
|
N_("Ticket have not authorization data", ""));
|
||||||
return ENOENT; /* XXX */
|
return ENOENT; /* XXX */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -268,8 +276,10 @@ krb5_ticket_get_authorization_data_type(krb5_context context,
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
if (!found) {
|
if (!found) {
|
||||||
krb5_set_error_message(context, ENOENT, "Ticket have not "
|
krb5_set_error_message(context, ENOENT,
|
||||||
"authorization data of type %d", type);
|
N_("Ticket have not "
|
||||||
|
"authorization data of type %d", ""),
|
||||||
|
type);
|
||||||
return ENOENT; /* XXX */
|
return ENOENT; /* XXX */
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user