File indexing completed on 2024-05-05 05:40:57

0001 /***************************************************************************
0002  *   Copyright (C) 2015 by Renaud Guezennec                                *
0003  *   https://rolisteam.org/contact                                      *
0004  *                                                                         *
0005  *   rolisteam is free software; you can redistribute it and/or modify     *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  *                                                                         *
0010  *   This program is distributed in the hope that it will be useful,       *
0011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
0012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
0013  *   GNU General Public License for more details.                          *
0014  *                                                                         *
0015  *   You should have received a copy of the GNU General Public License     *
0016  *   along with this program; if not, write to the                         *
0017  *   Free Software Foundation, Inc.,                                       *
0018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
0019  ***************************************************************************/
0020 
0021 #include "aboutrolisteam.h"
0022 #include "ui_aboutrolisteam.h"
0023 
0024 AboutRolisteam::AboutRolisteam(QString version, QWidget* parent) : QDialog(parent), ui(new Ui::AboutRolisteam)
0025 {
0026     ui->setupUi(this);
0027     ui->m_textLabel->setText(QString("Rolisteam v%1").arg(version));
0028 
0029     QString table= "<table>";
0030     QString line("<tr><td><a href='%3'>%1</td><td>(%2)</td></tr>");
0031     table+= line.arg("Renaud Guezennec", tr("English & French"), "https://www.transifex.com/accounts/profile/Le_Sage/");
0032     table+= line.arg(
0033         "Lorram Lomeu de Souza Rampi", tr("Portuguese"), "https://www.transifex.com/accounts/profile/lorrampi/");
0034     table+= line.arg(
0035         "Juliana Alves de Sousa Rampi", tr("Portuguese"), "https://www.transifex.com/accounts/profile/JuAlves/");
0036     table+= line.arg("Gergely Krekó", tr("Hungarian"), "https://www.transifex.com/accounts/profile/KrekoG/");
0037     table+= line.arg("Kaya Zeren", tr("Turkish"), "https://www.transifex.com/accounts/profile/kayazeren/");
0038     table+= line.arg("Alexia Béné", tr("French & German"), "https://www.transifex.com/accounts/profile/IGrumoI/");
0039     table+= line.arg("Baadur Jobava", tr("Romanian"), "https://www.transifex.com/accounts/profile/Jobava/");
0040     table+= line.arg("Jesus M", tr("Spanish"), "https://www.transifex.com/accounts/profile/omik/");
0041     table+= line.arg("Heimen Stoffels", tr("Dutch"), "https://www.transifex.com/accounts/profile/Vistaus/");
0042     table+= line.arg("Xavier Gil", tr("Catalan"), "https://www.transifex.com/user/profile/Xavierg63/");
0043     table+= "</table>";
0044 
0045     ui->m_textBrowser->setHtml(
0046         QString("<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body><p>%1</p>\
0047                                <p>%2</p>\
0048                                <p>%3</p>\
0049                                <ul>\
0050                                  <li><a href='https://rolisteam.org/'>%4</a></li>\
0051                                  <li><a href='https://github.com/Rolisteam/rolisteam/issues'>%5</a></li>\
0052                                </ul>\
0053                               <p>%6 :</p><ul><li><a href='https://rolisteam.org/contact'>Renaud Guezennec</a></li></ul>\
0054                               <p>%7 :</p><ul><li><a href='mailto:joseph.boudou@matabio.net'>Joseph Boudou</a></li><li><a href='mailto:rolistik@free.fr'>Romain Campioni</a></li></ul>\
0055                               <p>%8 :</p>"
0056                 "%9")
0057             .arg(tr("Rolisteam helps you to manage a tabletop role playing game with remote friends/players. It "
0058                     "provides many features to share maps, pictures and it also includes tool to communicate with your "
0059                     "friends/players. The goal is to make Rolisteam-managed RPG games as good as RPG games around your "
0060                     "table. To achieve it, we are working hard to provide you more and more features. Existing "
0061                     "features : Map sharing (with permission management), Image sharing, background music, dice roll "
0062                     "and so on. Rolisteam is written in Qt5"),
0063                 tr("You may modify and redistribute the program under the terms of the GPL (version 2 or later). A "
0064                    "copy of the GPL is contained in the 'COPYING' file distributed with Rolisteam. Rolisteam is "
0065                    "copyrighted by its contributors. See the 'COPYRIGHT' file for the complete list of contributors. "
0066                    "We provide no warranty for this program."),
0067                 tr("Web Sites:"), tr("Official Rolisteam Site"), tr("Bug Tracker"), tr("Current developers"),
0068                 tr("Contributors"), tr("Translators"), table));
0069 }
0070 
0071 AboutRolisteam::~AboutRolisteam()
0072 {
0073     delete ui;
0074 }