Bläddra i källkod

Include copysym.h.
(main): Use copyright_symbol to translate copyright notice,
instead of gettext.

Paul Eggert 23 år sedan
förälder
incheckning
135a24714f
1 ändrade filer med 9 tillägg och 17 borttagningar
  1. 9 17
      src/rmt.c

+ 9 - 17
src/rmt.c

@@ -1,6 +1,6 @@
 /* Remote connection server.
 
-   Copyright 1994, 1995, 1996, 1997, 1999, 2000, 2001 Free Software
+   Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
@@ -32,6 +32,7 @@
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  */
 
 #include "system.h"
+#include <copysym.h>
 #include <localedir.h>
 #include <safe-read.h>
 #include <full-write.h>
@@ -292,19 +293,16 @@ main (int argc, char *const *argv)
       usage (EXIT_SUCCESS);
       
     case 'v':
-      printf ("rmt (GNU %s) %s\n", PACKAGE, VERSION);
-
-      /* Note to translator: Please translate "Copyright " to "©"
-	 (C-in-a-circle) if available in the translation's character
-	 set and encoding.  */
-      printf (_("Copyright %d Free Software Foundation, Inc."), 2001);
-      printf ("\n");
-
-      puts (_("\
+      {
+	char buf[MB_LEN_MAX + 1];
+	printf ("rmt (GNU %s) %s\n", PACKAGE, VERSION);
+	printf ("Copyright %s 2001 Free Software Foundation, Inc.\n",
+		copyright_symbol (buf, sizeof buf));
+	puts (_("\
 This program comes with NO WARRANTY, to the extent permitted by law.\n\
 You may redistribute it under the terms of the GNU General Public License;\n\
 see the file named COPYING for details."));
-
+      }
       return EXIT_SUCCESS;
 
     case -1:
@@ -578,9 +576,3 @@ ioerror:
   report_numbered_error (errno);
   goto top;
 }
-
-/*
-  Local Variables:
-  coding: iso-latin-1
-  End:
-*/