[gbrainy] Experimental web client reference
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Experimental web client reference
- Date: Sun, 30 Jan 2011 21:27:44 +0000 (UTC)
commit 7af39441738a110484c17cb00e73f904f8934131
Author: Jordi Mas <jmas softcatala org>
Date: Sun Jan 30 22:29:14 2011 +0100
Experimental web client reference
configure.ac | 3 +++
src/Clients/Classical/Defines.cs.in | 1 +
src/Clients/Classical/Dialogs/AboutDialog.cs | 6 +++++-
3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d982282..d1fcf08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -164,6 +164,9 @@ AC_SUBST(BUILD_TIME)
COPYRIGHT="(c) 2007-2011 Jordi Mas i Hernandez"
AC_SUBST(COPYRIGHT)
+WEB_SITE="http://live.gnome.org/gbrainy"
+AC_SUBST(WEB_SITE)
+
dnl --- Prologue
AC_SUBST(CFLAGS)
diff --git a/src/Clients/Classical/Defines.cs.in b/src/Clients/Classical/Defines.cs.in
index 7e2c4ef..78e7d41 100644
--- a/src/Clients/Classical/Defines.cs.in
+++ b/src/Clients/Classical/Defines.cs.in
@@ -27,6 +27,7 @@ namespace gbrainy.Clients.Classical
public const string GNOME_LOCALE_DIR = "@prefix@/share/locale";
public const string DATA_DIR = "@prefix@/share/games/gbrainy/";
public const string COPYRIGHT = "@COPYRIGHT@";
+ public const string WEB_SITE = "@WEB_SITE@";
public const string BUILD_TIME = "@BUILD_TIME@";
public const string VERBAL_ANALOGIES = "verbal_analogies.xml";
diff --git a/src/Clients/Classical/Dialogs/AboutDialog.cs b/src/Clients/Classical/Dialogs/AboutDialog.cs
index 7bf2082..9a25a0f 100644
--- a/src/Clients/Classical/Dialogs/AboutDialog.cs
+++ b/src/Clients/Classical/Dialogs/AboutDialog.cs
@@ -76,8 +76,12 @@ namespace gbrainy.Clients.Classical.Dialogs
Copyright = Defines.COPYRIGHT;
Comments = Catalog.GetString ("A brain teaser game for fun and to keep your brain trained.");
+#if _ONLINE_
+ Comments += "\n";
+ Comments += String.Format (Catalog.GetString ("You can also play on-line at {0}"), Defines.WEB_SITE);
+#endif
Website = "http://live.gnome.org/gbrainy";
- WebsiteLabel = Catalog.GetString ("gbrainy web site");
+ WebsiteLabel = Catalog.GetString ("gbrainy project web site");
TranslatorCredits = translators;
Artists = artists;
IconName = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]