[gnome-games/sudoku-vala] sudoku: Fix up about dialog
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/sudoku-vala] sudoku: Fix up about dialog
- Date: Mon, 11 Apr 2011 04:34:47 +0000 (UTC)
commit a6c15860ae44f39327e3b79595382a8ccff92329
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Apr 11 14:32:37 2011 +1000
sudoku: Fix up about dialog
gnome-sudoku/src/Makefile.am | 3 +++
gnome-sudoku/src/gnome-sudoku.vala | 14 +++++++-------
2 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/gnome-sudoku/src/Makefile.am b/gnome-sudoku/src/Makefile.am
index be5a239..f7ae89a 100644
--- a/gnome-sudoku/src/Makefile.am
+++ b/gnome-sudoku/src/Makefile.am
@@ -1,11 +1,14 @@
bin_PROGRAMS = gnome-sudoku
gnome_sudoku_SOURCES = \
+ config.vapi \
gnome-sudoku.vala \
sudoku-game.vala \
sudoku-view.vala
gnome_sudoku_CFLAGS = \
+ -DPKGDATADIR=\"@datadir@/glchess\" \
+ -DLOCALEDIR=\"@localedir \" \
$(GTK_CFLAGS) \
$(GMODULE_CFLAGS) \
$(WARN_CFLAGS)
diff --git a/gnome-sudoku/src/gnome-sudoku.vala b/gnome-sudoku/src/gnome-sudoku.vala
index ab7d90a..4de2d8e 100644
--- a/gnome-sudoku/src/gnome-sudoku.vala
+++ b/gnome-sudoku/src/gnome-sudoku.vala
@@ -335,15 +335,15 @@ public class Application
about_dialog = new Gtk.AboutDialog ();
about_dialog.transient_for = window;
about_dialog.name = "gnome-sudoku";
- about_dialog.version = "TEST";
- about_dialog.copyright = "Copyright 2010";
- about_dialog.license = "LICENSE";
- about_dialog.wrap_license = true;
- about_dialog.comments = "Description";
+ about_dialog.version = Config.VERSION;
+ about_dialog.copyright = "Copyright 2010-2011 Robert Ancell <robert ancell gmail com>";
+ about_dialog.license_type = Gtk.License.GPL_2_0;
+ about_dialog.comments = _("GNOME Sudoku is a simple Sudoku generator and player. Sudoku is a Japanese logic puzzle.\n\nGNOME Sudoku is a part of GNOME Games.");
about_dialog.authors = authors;
about_dialog.artists = artists;
- about_dialog.translator_credits = "";
- about_dialog.website = "http://example.com";
+ about_dialog.translator_credits = _("translator-credits");
+ about_dialog.website = "http://www.gnome.org/projects/gnome-games/";
+ about_dialog.website_label = _("GNOME Games web site");
about_dialog.logo_icon_name = "gnome-sudoku";
about_dialog.response.connect (about_response_cb);
about_dialog.show ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]