summaryrefslogtreecommitdiff
path: root/lib/query.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-12-01 17:18:38 +0000
committerjbj <devnull@localhost>1998-12-01 17:18:38 +0000
commit234db2e2f68fe57220371d2d46f9c68897223eff (patch)
treee39fe98920afb58cc53e316118c6b787c2f82ec4 /lib/query.c
parent5f72265982d9fc3de1bc506dbea33dc64d5700a3 (diff)
downloadrpm-234db2e2f68fe57220371d2d46f9c68897223eff.tar.gz
rpm-234db2e2f68fe57220371d2d46f9c68897223eff.tar.bz2
rpm-234db2e2f68fe57220371d2d46f9c68897223eff.zip
Start separating build options.
I18N for popt tables. CVS patchset: 2568 CVS date: 1998/12/01 17:18:38
Diffstat (limited to 'lib/query.c')
-rw-r--r--lib/query.c38
1 files changed, 24 insertions, 14 deletions
diff --git a/lib/query.c b/lib/query.c
index aa88a29b5..10d3db31a 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -32,34 +32,44 @@ static void queryArgCallback(poptContext con, enum poptCallbackReason reason,
struct poptOption rpmQuerySourcePoptTable[] = {
{ NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA,
queryArgCallback, 0, NULL, NULL },
- { "file", 'f', 0, 0, 'f', "query package owning file", "FILE" },
- { "group", 'g', 0, 0, 'g', "query packages in group", "GROUP" },
- { "package", 'p', 0, 0, 'p', "query a package file", NULL },
- { "specfile", '\0', 0, 0, POPT_SPECFILE, "query a spec file", NULL },
+ { "file", 'f', 0, 0, 'f',
+ N_("query package owning file"), "FILE" },
+ { "group", 'g', 0, 0, 'g',
+ N_("query packages in group"), "GROUP" },
+ { "package", 'p', 0, 0, 'p',
+ N_("query a package file"), NULL },
+ { "specfile", '\0', 0, 0, POPT_SPECFILE,
+ N_("query a spec file"), NULL },
{ "triggeredby", '\0', 0, 0, POPT_TRIGGEREDBY,
- "query the pacakges triggered by the package", "PACKAGE" },
+ N_("query the pacakges triggered by the package"), "PACKAGE" },
{ "whatrequires", '\0', 0, 0, POPT_WHATREQUIRES,
- "query the packages which require a capability", "CAPABILITY" },
+ N_("query the packages which require a capability"), "CAPABILITY" },
{ "whatprovides", '\0', 0, 0, POPT_WHATPROVIDES,
- "query the packages which provide a capability", "CAPABILITY" },
+ N_("query the packages which provide a capability"), "CAPABILITY" },
{ 0, 0, 0, 0, 0, NULL, NULL }
};
struct poptOption rpmQueryPoptTable[] = {
{ NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA,
queryArgCallback, 0, NULL, NULL },
- { "configfiles", 'c', 0, 0, 'c', "list all configuration files", NULL },
- { "docfiles", 'd', 0, 0, 'd', "list all documetnation files", NULL },
- { "dump", '\0', 0, 0, POPT_DUMP, "dump basic file information", NULL },
- { "list", 'l', 0, 0, 'l', "list files in package", NULL },
+ { "configfiles", 'c', 0, 0, 'c',
+ N_("list all configuration files"), NULL },
+ { "docfiles", 'd', 0, 0, 'd',
+ N_("list all documetnation files"), NULL },
+ { "dump", '\0', 0, 0, POPT_DUMP,
+ N_("dump basic file information"), NULL },
+ { "list", 'l', 0, 0, 'l',
+ N_("list files in package"), NULL },
{ "qf", '\0', POPT_ARG_STRING | POPT_ARGFLAG_DOC_HIDDEN, 0,
POPT_QUERYFORMAT, NULL, NULL },
{ "querybynumber", '\0', POPT_ARGFLAG_DOC_HIDDEN, 0,
POPT_QUERYBYNUMBER, NULL, NULL },
{ "queryformat", '\0', POPT_ARG_STRING, 0, POPT_QUERYFORMAT,
- "use the following query format", "QUERYFORMAT" },
- { "state", 's', 0, 0, 's', "display the states of the listed files", NULL },
- { "verbose", 'v', 0, 0, 'v', "display a verbose file listing", NULL },
+ N_("use the following query format"), "QUERYFORMAT" },
+ { "state", 's', 0, 0, 's',
+ N_("display the states of the listed files"), NULL },
+ { "verbose", 'v', 0, 0, 'v',
+ N_("display a verbose file listing"), NULL },
{ 0, 0, 0, 0, 0, NULL, NULL }
};