Fix subject verb agreement in error message...

for krb5_ticket_get_authorization_data_type()

And remove FIXME in translation files.

Fix heimdal#361
This commit is contained in:
Matt Selsky
2018-02-27 21:36:47 -05:00
committed by Roland C. Dowdeswell
parent 49d56916e1
commit 37979747bc
4 changed files with 8 additions and 10 deletions

View File

@@ -381,7 +381,7 @@ krb5_ticket_get_authorization_data_type(krb5_context context,
ad = ticket->ticket.authorization_data;
if (ticket->ticket.authorization_data == NULL) {
krb5_set_error_message(context, ENOENT,
N_("Ticket have not authorization data", ""));
N_("Ticket has no authorization data", ""));
return ENOENT; /* XXX */
}
@@ -391,7 +391,7 @@ krb5_ticket_get_authorization_data_type(krb5_context context,
return ret;
if (!found) {
krb5_set_error_message(context, ENOENT,
N_("Ticket have not "
N_("Ticket has no "
"authorization data of type %d", ""),
type);
return ENOENT; /* XXX */

View File

@@ -1522,14 +1522,12 @@ msgid "Authorization data contains unknown type (%d) "
msgstr "Autorisierungsdaten enthalten unbekannten Typ (%d). "
#: lib/krb5/ticket.c:287
# FIXME s/ticket/tickets/ or s/have/has/
msgid "Ticket have not authorization data"
msgid "Ticket has no authorization data"
msgstr "Ticket hat keine Autorisierungsdaten."
#: lib/krb5/ticket.c:297
#, c-format
# FIXME s/ticket/tickets/ or s/have/has/
msgid "Ticket have not authorization data of type %d"
msgid "Ticket has no authorization data of type %d"
msgstr "Ticket hat keine Autorisierungsdaten des Typs %d."
#: lib/krb5/transited.c:457 lib/krb5/transited.c:490

View File

@@ -1694,12 +1694,12 @@ msgid "Authorization data contains unknown type (%d) "
msgstr ""
#: lib/krb5/ticket.c:287
msgid "Ticket have not authorization data"
msgid "Ticket has no authorization data"
msgstr ""
#: lib/krb5/ticket.c:297
#, c-format
msgid "Ticket have not authorization data of type %d"
msgid "Ticket has no authorization data of type %d"
msgstr ""
#: lib/krb5/transited.c:457

View File

@@ -1664,12 +1664,12 @@ msgid "Authorization data contains unknown type (%d) "
msgstr ""
#: lib/krb5/ticket.c:270
msgid "Ticket have not authorization data"
msgid "Ticket has no authorization data"
msgstr ""
#: lib/krb5/ticket.c:280
#, c-format
msgid "Ticket have not authorization data of type %d"
msgid "Ticket has no authorization data of type %d"
msgstr ""
#: lib/krb5/transited.c:457