use 'git describe' to generate version info for the about box and servatrice. fixes issue #20

This commit is contained in:
Max-Wilhelm Bruker 2012-02-21 01:08:16 +01:00
parent a1bcd9854f
commit 89bb8e72ee
10 changed files with 49 additions and 12 deletions

View file

@ -40,6 +40,8 @@
#include "settingscache.h"
#include "tab_game.h"
#include "version_string.h"
#include "pb/game_replay.pb.h"
#include "pb/room_commands.pb.h"
#include "pb/event_connection_closed.pb.h"
@ -210,7 +212,7 @@ void MainWindow::actAbout()
{
QMessageBox::about(this, tr("About Cockatrice"), QString(
"<font size=\"8\"><b>Cockatrice</b></font><br>"
+ tr("Version %1").arg(versionString)
+ tr("Version %1").arg(VERSION_STRING)
+ "<br><br><br><b>" + tr("Authors:") + "</b><br>Max-Wilhelm Bruker<br>Marcus Schütz<br><br>"
+ "<b>" + tr("Translators:") + "</b><br>"
+ tr("Spanish:") + " Víctor Martínez<br>"