Add a message to the catalog.

This commit is contained in:
peter 2005-01-12 17:53:45 +00:00
parent 273a7df369
commit 51cfa88873
2 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,7 @@ $set 1 errors
20 Bad keybinding
21 Bad keyword in config file
22 Null filename in escript argument
23 Quickname not found in any menus
$set 2 labels
1 F1=Help
2 F2=Refresh

View File

@ -1,4 +1,4 @@
/* $NetBSD: sushi.c,v 1.23 2005/01/12 17:47:07 peter Exp $ */
/* $NetBSD: sushi.c,v 1.24 2005/01/12 17:53:45 peter Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -111,8 +111,8 @@ main(int argc, char **argv)
if (argc > 1) {
mte = tree_gettreebyname(cqMenuHeadp, argv[1]);
if (mte == NULL)
bailout("QuickName %s not found in any menus.",
argv[1]);
bailout("%s: %s", argv[1], catgets(catalog, 1, 23,
"Quickname not found in any menus"));
}
if (mte == NULL)