1
1
mirror of http://git.sesse.net/plocate synced 2025-10-05 23:42:49 +02:00

Remove the last remnants of translation support.

This commit is contained in:
Steinar H. Gunderson
2024-01-06 14:44:59 +01:00
parent ca5b4e7df2
commit eeacf2ed3c
2 changed files with 9 additions and 11 deletions

View File

@@ -323,7 +323,7 @@ eof:
static void
help(void)
{
printf(_("Usage: updatedb [OPTION]...\n"
printf("Usage: updatedb [OPTION]...\n"
"Update a plocate database.\n"
"\n"
" -f, --add-prunefs FS omit also FS (space-separated)\n"
@@ -352,10 +352,10 @@ help(void)
" -V, --version print version information\n"
"\n"
"The configuration defaults to values read from\n"
"`%s'.\n"),
"`%s'.\n",
DBFILE, UPDATEDB_CONF);
printf(_("\n"
"Report bugs to %s.\n"),
printf("\n"
"Report bugs to %s.\n",
PACKAGE_BUGREPORT);
}
@@ -489,11 +489,11 @@ parse_arguments(int argc, char *argv[])
case 'V':
puts("updatedb (" PACKAGE_NAME ") " PACKAGE_VERSION);
puts(_("Copyright (C) 2007 Red Hat, Inc. All rights reserved.\n"
"This software is distributed under the GPL v.2.\n"
"\n"
"This program is provided with NO WARRANTY, to the extent "
"permitted by law."));
puts("Copyright (C) 2007 Red Hat, Inc. All rights reserved.\n"
"This software is distributed under the GPL v.2.\n"
"\n"
"This program is provided with NO WARRANTY, to the extent "
"permitted by law.");
exit(EXIT_SUCCESS);
case 'e':

2
lib.h
View File

@@ -30,8 +30,6 @@ any later version.
#include <sys/types.h>
#include <vector>
#define _(X) (X)
/* Compare two path names using the database directory order. This is not
exactly strcmp () order: "a" < "a.b", so "a/z" < "a.b". */
extern int dir_path_cmp(const std::string &a, const std::string &b);