diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2001-09-14 00:27:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2001-09-14 00:27:39 +0000 |
commit | 135a24714fce5dcb5ae85b23192e5fc683412cb1 (patch) | |
tree | e6a92c4e7c723dc42c67600de83c5bc29d0478c7 | |
parent | 8571998faa6fb63a8926f523eb42512fd5194f59 (diff) | |
download | tar-135a24714fce5dcb5ae85b23192e5fc683412cb1.tar.gz |
Include copysym.h.
(main): Use copyright_symbol to translate copyright notice,
instead of gettext.
-rw-r--r-- | src/rmt.c | 26 |
1 files changed, 9 insertions, 17 deletions
@@ -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: -*/ |