summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2018-01-16 09:40:06 +0100
committerOlaf Hering <olaf@aepfle.de>2018-01-16 09:40:56 +0100
commit18894e9c91d7b9fada0ffc90461d792abe65bfeb (patch)
tree76f9275a3933e7b2f1def4e5a7e2f8f4049204ad /main.c
parent34267ed4bb6d35240eb99915ab92b493893e2224 (diff)
Split Copyright and Thanks in help output.
The Copyright string is changing often, and its content is obvious. It does not need translation. The remaining string can be translated. This change avoids a stale translation once one of the years change. Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/main.c b/main.c
index dcfb02b8..8db6889f 100644
--- a/main.c
+++ b/main.c
@@ -75,7 +75,7 @@ Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.\n\
Mutt is free software, and you are welcome to redistribute it\n\
under certain conditions; type `mutt -vv' for details.\n");
-static const char *Copyright = N_("\
+static const char Copyright[] = "\
Copyright (C) 1996-2016 Michael R. Elkins <me@mutt.org>\n\
Copyright (C) 1996-2002 Brandon Long <blong@fiction.net>\n\
Copyright (C) 1997-2009 Thomas Roessler <roessler@does-not-exist.org>\n\
@@ -84,8 +84,9 @@ Copyright (C) 1999-2017 Brendan Cully <brendan@kublai.com>\n\
Copyright (C) 1999-2002 Tommi Komulainen <Tommi.Komulainen@iki.fi>\n\
Copyright (C) 2000-2004 Edmund Grimley Evans <edmundo@rano.org>\n\
Copyright (C) 2006-2009 Rocco Rutte <pdmef@gmx.net>\n\
-Copyright (C) 2014-2017 Kevin J. McCarthy <kevin@8t8.us>\n\
-\n\
+Copyright (C) 2014-2017 Kevin J. McCarthy <kevin@8t8.us>\n";
+
+static const char *Thanks = N_("\
Many others not mentioned here contributed code, fixes,\n\
and suggestions.\n");
@@ -796,7 +797,8 @@ int main (int argc, char **argv, char **environ)
break;
default:
puts (mutt_make_version ());
- puts (_(Copyright));
+ puts (Copyright);
+ puts (_(Thanks));
puts (_(Licence));
puts (_(Obtaining));
puts (_(ReachingUs));