]> git.sesse.net Git - plocate/commitdiff
Remove the last remnants of translation support.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 6 Jan 2024 13:44:59 +0000 (14:44 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 6 Jan 2024 13:44:59 +0000 (14:44 +0100)
conf.cpp
lib.h

index 64d2678fdd8eb41167b955f56680c82c75a00b63..c52287ec47aa6e28e385009c55578f66af0afbce 100644 (file)
--- a/conf.cpp
+++ b/conf.cpp
@@ -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':
diff --git a/lib.h b/lib.h
index 0239dcb3fb73228944a9989029ca4f161d7babfe..673cfdc4c538a5276551ee9b0af7c7a77bdcd94f 100644 (file)
--- a/lib.h
+++ b/lib.h
@@ -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);