part two of allow markup to be used in BoolOption items in an option editor
[ardour.git] / gtk2_ardour / about.cc
index 9286b8ef35c9db30903899df7005834680056130..0432974510af57419c24c5ad6515601e4e6e5368 100644 (file)
@@ -28,7 +28,6 @@
 #include "pbd/file_utils.h"
 
 #include "ardour/svn_revision.h"
-#include "ardour/ardour.h"
 #include "ardour/version.h"
 #include "ardour/filesystem_paths.h"
 
@@ -131,12 +130,15 @@ static const char* authors[] = {
        N_("Jesse Chappell"),
        N_("Thomas Charbonnel"),
        N_("Sam Chessman"),
+       N_("André Colomb"),
        N_("Paul Davis"),
        N_("Gerard van Dongen"),
        N_("Colin Fletcher"),
+       N_("Dave Flick"),
        N_("Hans Fugal"),
         N_("Robin Gareus"),
        N_("Christopher George"),
+       N_("Chris Goddard"),
        N_("J. Abelardo Gutierrez"),
        N_("Jeremy Hall"),
        N_("Audun Halland"),
@@ -149,6 +151,7 @@ static const char* authors[] = {
        N_("Stefan Kersten"),
        N_("Armand Klenk"),
        N_("Matt Krai"),
+       N_("Nick Lanham"),
        N_("Colin Law"),
        N_("Joshua Leach"),
        N_("Ben Loftis"),
@@ -161,8 +164,10 @@ static const char* authors[] = {
        N_("Taybin Rutkin"),
        N_("Andreas Ruge"),
        N_("Sampo Savolainen"),
+       N_("Rodrigo Severo"),
        N_("Per Sigmond"),
        N_("Lincoln Spiteri"),
+       N_("Mike Start"),
        N_("Mark Stewart"),
        N_("Roland Stigge"),
        N_("Petter Sundlöf"),
@@ -173,27 +178,32 @@ static const char* authors[] = {
 };
 
 static const char* translators[] = {
-       N_("French:\n\tAlain Fréhel <alain.frehel@free.fr>\n\tChristophe Combelles <ccomb@free.fr>\n\tMartin Blanchard\n"),
+       N_("French:\n\tAlain Fréhel <alain.frehel@free.fr>\n\tChristophe Combelles <ccomb@free.fr>\n\tMartin Blanchard\n\tRomain Arnaud <roming22@gmail.com>\n"),
        N_("German:\n\tKarsten Petersen <kapet@kapet.de>\
 \n\tSebastian Arnold <mail@sebastian-arnold.net>\
-\n\tRobert Schwede<schwede@ironshark.com>\n"),
-       N_("Italian:\n\tFilippo Pappalardo <filippo@email.it>\n"),
+\n\tRobert Schwede <schwede@ironshark.com>\
+\n\tBenjamin Scherrer <realhangman@web.de>\
+\n\tEdgar Aichinger <edogawa@aon.at>\
+\n\tRichard Oax <richard@pagliacciempire.de>\n"),
+       N_("Italian:\n\tFilippo Pappalardo <filippo@email.it>\n\tRaffaele Morelli <raffaele.morelli@gmail.com>\n"),
        N_("Portuguese:\n\tRui Nuno Capela <rncbc@rncbc.org>\n"),
        N_("Brazilian Portuguese:\n\tAlexander da Franca Fernandes <alexander@nautae.eti.br>\
 \n\tChris Ross <chris@tebibyte.org>\n"),
-       N_("Spanish:\n\t Alex Krohn <alexkrohn@fastmail.fm>\n"),
-       N_("Russian:\n\t Igor Blinov <pitstop@nm.ru>\n"),
+       N_("Spanish:\n\t Alex Krohn <alexkrohn@fastmail.fm>\n\tPablo Fernández <pablo.fbus@gmail.com>\n"),
+       N_("Russian:\n\t Igor Blinov <pitstop@nm.ru>\
+\n\tAlexandre Prokoudine <alexandre.prokoudine@gmail.com>\n"),
        N_("Greek:\n\t Klearchos Gourgourinis <muadib@in.gr>\n"),
        N_("Swedish:\n\t Petter Sundlöf <petter.sundlof@gmail.com>\n"),
        N_("Polish:\n\t Piotr Zaryk <pzaryk@gmail.com>\n"),
        N_("Czech:\n\t Pavel Fric <pavelfric@seznam.cz>\n"),
        N_("Norwegian:\n\t Eivind Ødegård\n"),
+       N_("Chinese:\n\t Rui-huai Zhang <zrhzrh@mail.ustc.edu.cn>\n"),
        0
 };
 
 static const char* gpl = X_("\n\
 Ardour comes with NO WARRANTY. It is free software, and you are welcome to redistribute it\n\
-under the terms of the GNU Public License, shown below.\n\
+under the terms of the GNU General Public License, shown below.\n\
 \n\
                    GNU GENERAL PUBLIC LICENSE\n\
                       Version 2, June 1991\n\
@@ -545,15 +555,14 @@ About::About ()
 {
        // set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
 
-       string path;
        string t;
 
-       sys::path splash_file;
+       std::string splash_file;
 
-       SearchPath spath(ardour_search_path() + system_data_search_path());
+       SearchPath spath(ardour_data_search_path());
 
        if (find_file_in_search_path (spath, "splash.png", splash_file)) {
-               set_logo (Gdk::Pixbuf::create_from_file (splash_file.to_string()));
+               set_logo (Gdk::Pixbuf::create_from_file (splash_file));
        } else {
                error << "Could not find splash file" << endmsg;
        }
@@ -566,7 +575,7 @@ About::About ()
        }
 
        set_translator_credits (t);
-       set_copyright (_("Copyright (C) 1999-2011 Paul Davis\n"));
+       set_copyright (_("Copyright (C) 1999-2012 Paul Davis\n"));
        set_license (gpl);
        set_name (X_("Ardour"));
        set_website (X_("http://ardour.org/"));
@@ -594,6 +603,7 @@ About::show_config_info ()
                config_info = new ConfigInfoDialog;
        }
 
-       config_info->present ();
+       config_info->run ();
+       config_info->hide ();
 }