From 34e12985048e83ea15ed3f626367b437102abcd8 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 22 Sep 2014 12:59:38 +0200 Subject: [PATCH] Move copyright year out of string to avoid re-translation --- vncviewer/vncviewer.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index c818d335..aa9ae7ff 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -79,7 +79,7 @@ using namespace std; static const char _aboutText[] = N_("TigerVNC Viewer %d-bit v%s (%s)\n" "%s\n" - "Copyright (C) 1999-2013 TigerVNC Team and many others (see README.txt)\n" + "Copyright (C) 1999-%d TigerVNC Team and many others (see README.txt)\n" "See http://www.tigervnc.org for information on TigerVNC."); static char aboutText[1024]; @@ -364,7 +364,8 @@ int main(int argc, char** argv) // Generate the about string now that we get the proper translation snprintf(aboutText, sizeof(aboutText), _aboutText, - (int)sizeof(size_t)*8, PACKAGE_VERSION, __BUILD__, buildTime); + (int)sizeof(size_t)*8, PACKAGE_VERSION, __BUILD__, + buildTime, 2014); rfb::SecurityClient::setDefaults(); -- 2.39.5