mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(version_etc_copyright_fmt): Replace literal year
of copyright with `%s' so translators don't get an untranslated message in 2002. (COPYRIGHT_YEAR): Define. (version_etc): Use fprintf rather than fputs.
This commit is contained in:
1 parent
989a7519d5
commit
f86ac0a31d
1 file changed
+4
-3
+4
-3
@@ -34,9 +34,10 @@
|
||||
|
||||
/* Default copyright goes to the FSF. */
|
||||
|
||||
char* version_etc_copyright =
|
||||
N_("Copyright (C) 2001 Free Software Foundation, Inc.");
|
||||
char* version_etc_copyright_fmt =
|
||||
N_("Copyright (C) %s Free Software Foundation, Inc.");
|
||||
|
||||
#define COPYRIGHT_YEAR "2001"
|
||||
|
||||
/* Display the --version information the standard way.
|
||||
|
||||
@@ -60,7 +61,7 @@ version_etc (FILE *stream,
|
||||
fprintf (stream, _("Written by %s.\n"), authors);
|
||||
putc ('\n', stream);
|
||||
|
||||
fputs (_(version_etc_copyright), stream);
|
||||
fprintf (stream, _(version_etc_copyright_fmt), COPYRIGHT_YEAR);
|
||||
putc ('\n', stream);
|
||||
|
||||
fputs (_("\
|
||||
|
||||
Reference in new issue
Block a user