summaryrefslogtreecommitdiff
path: root/src/gui/about.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2011-11-20 15:50:38 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2011-11-20 15:50:38 +0100
commitd6b2677825cbb423e2099563c16321c3e23d7899 (patch)
treefd04dbf76a9bc0fdd3f7755e65d1c175ac5c99dd /src/gui/about.vala
parent6451a495637c6e3047a5a56573cffc6e3de9a515 (diff)
Imported Upstream version 0.3.1upstream/0.3.1
Diffstat (limited to 'src/gui/about.vala')
-rw-r--r--src/gui/about.vala34
1 files changed, 30 insertions, 4 deletions
diff --git a/src/gui/about.vala b/src/gui/about.vala
index 1ace9cb..ce4256e 100644
--- a/src/gui/about.vala
+++ b/src/gui/about.vala
@@ -24,18 +24,44 @@ namespace GnomePie {
public class GnomePieAboutDialog: Gtk.AboutDialog {
public GnomePieAboutDialog () {
- string[] devs = {"Simon Schneegans <code@simonschneegans.de>",
- "Francesco Piccinno"};
- string[] artists = {"Simon Schneegans <code@simonschneegans.de>"};
+ string[] devs = {
+ "Simon Schneegans <code@simonschneegans.de>",
+ "Francesco Piccinno <stack.box@gmail.com>"
+ };
+ string[] artists = {
+ "Simon Schneegans <code@simonschneegans.de>"
+ };
+ string[] translators = {
+ "DE\t\t Simon Schneegans <code@simonschneegans.de>",
+ "IT\t\t Riccardo Traverso <gr3yfox.fw@gmail.com>",
+ "PT-BR\t Magnun Leno <magnun@codecommunity.org>",
+ "EN\t\t Simon Schneegans <code@simonschneegans.de>",
+ "KO\t\t Kim Boram <Boramism@gmail.com>"
+ };
+
+ // sort translators
+ GLib.List<string> translator_list = new GLib.List<string>();
+ foreach (var translator in translators)
+ translator_list.append(translator);
+
+ translator_list.sort((a, b) => {
+ return a.ascii_casecmp(b);
+ });
+
+ string translator_string = "";
+ foreach (var translator in translator_list)
+ translator_string += translator + "\n";
+
GLib.Object (
artists : artists,
authors : devs,
+ translator_credits : translator_string,
copyright : "Copyright (C) 2011 Simon Schneegans <code@simonschneegans.de>",
program_name: "Gnome-Pie",
logo_icon_name: "gnome-pie",
website: "http://www.simonschneegans.de/?page_id=12",
website_label: "www.gnome-pie.simonschneegans.de",
- version: "0.2"
+ version: "0.3.1"
);
}
}