Mercurial > audlegacy
annotate audacious/credits.c @ 2074:c725daec3849 trunk
[svn] - move xmms_urldecode_path() back into main binary
author | nenolod |
---|---|
date | Sat, 09 Dec 2006 02:01:53 -0800 |
parents | ed1d3dde7130 |
children | d3f3badec91c |
rev | line source |
---|---|
500 | 1 /* Audacious - Cross-platform multimedia player |
2 * Copyright (C) 2005-2006 Audacious Team | |
3 * | |
4 * XMMS - Cross-platform multimedia player | |
0 | 5 * Copyright (C) 1998-2003 Peter Alm, Mikael Alm, Olle Hallnas, |
6 * Thomas Nilsson and 4Front Technologies | |
7 * Copyright (C) 2000-2003 Haavard Kvaalen | |
8 * | |
9 * This program is free software; you can redistribute it and/or modify | |
1460 | 10 * it under the terms of the GNU General Public License as published by |
0 | 11 * the Free Software Foundation; either version 2 of the License, or |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
1459 | 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
0 | 22 */ |
23 | |
24 #ifdef HAVE_CONFIG_H | |
25 # include "config.h" | |
26 #endif | |
27 | |
471 | 28 #include "credits.h" |
0 | 29 |
30 #include <glib.h> | |
31 #include <glib/gi18n.h> | |
32 #include <gtk/gtk.h> | |
33 | |
34 #include "audacious_logo.xpm" | |
35 | |
36 | |
37 enum { | |
38 COL_LEFT, | |
39 COL_RIGHT, | |
40 N_COLS | |
41 }; | |
42 | |
43 | |
44 static const gchar *bmp_brief = | |
45 N_("<big><b>Audacious %s</b></big>\n" | |
360
222a0d71cbcf
[svn] - change our slogan to "The future of UNIX multimedia."
nenolod
parents:
232
diff
changeset
|
46 "The future of UNIX multimedia.\n" |
0 | 47 "\n" |
360
222a0d71cbcf
[svn] - change our slogan to "The future of UNIX multimedia."
nenolod
parents:
232
diff
changeset
|
48 "Copyright (C) 2005-2006 Audacious Development Team\n"); |
0 | 49 |
50 static const gchar *credit_text[] = { | |
501
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
51 N_("Audacious core developers:"), |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
52 "George Averill", |
2022
4e04063678cc
[svn] - add le_vert to credits (he will need to accent his letters, though)
nenolod
parents:
2021
diff
changeset
|
53 "Adam Cecile", |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
54 "Giacomo Lozito", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
55 "William Pitcock", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
56 "Derek Pomery", |
1802
687b63f7b18d
[svn] Just saw that it's ordered by last name. Of cours, I was to blind
js
parents:
1801
diff
changeset
|
57 "Jonathan Schleifer", |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
58 "Tony Vroon", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
59 "Yoshiki Yazawa", |
2041 | 60 "Daniel Bradshaw", |
501
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
61 NULL, |
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
62 |
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
63 N_("Graphics:"), |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
64 "George Averill", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
65 "Stephan Sokolow", |
503
1cc9edf68ce9
[svn] Remove crap that is unneeded from about.c, update credits information.
nenolod
parents:
501
diff
changeset
|
66 NULL, |
1cc9edf68ce9
[svn] Remove crap that is unneeded from about.c, update credits information.
nenolod
parents:
501
diff
changeset
|
67 |
1cc9edf68ce9
[svn] Remove crap that is unneeded from about.c, update credits information.
nenolod
parents:
501
diff
changeset
|
68 N_("Default skin:"), |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
69 "George Averill", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
70 "William Pitcock", |
501
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
71 NULL, |
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
72 |
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
73 N_("Plugin development:"), |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
74 "Kiyoshi Aman", |
1660 | 75 "Luca Barbato", |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
76 "Shay Green", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
77 "Giacomo Lozito", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
78 "William Pitcock", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
79 "Derek Pomery", |
1802
687b63f7b18d
[svn] Just saw that it's ordered by last name. Of cours, I was to blind
js
parents:
1801
diff
changeset
|
80 "Jonathan Schleifer", |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
81 "Tony Vroon", |
0 | 82 NULL, |
83 | |
1893 | 84 N_("Patch authors:"), |
85 "Laszlo Dvornik", | |
2021
ea97052f6b3e
[svn] - credit patch contributions from Ralf Ertzinger
nenolod
parents:
2020
diff
changeset
|
86 "Ralf Ertzinger", |
1893 | 87 "Mike Frysinger", |
2020 | 88 "Chris Kehler", |
1893 | 89 "Michael Hanselmann", |
90 "Henrik Johansson", | |
91 "Rodrigo Martins de Matos Ventura", | |
92 "Diego Pettenò", | |
93 "Kazuki Shimura", | |
94 "Valentine Sinitsyn", | |
95 "Johan Tavelin", | |
1925 | 96 "Tim Yamin", |
1893 | 97 NULL, |
98 | |
360
222a0d71cbcf
[svn] - change our slogan to "The future of UNIX multimedia."
nenolod
parents:
232
diff
changeset
|
99 N_("0.1.x developers:"), |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
100 "William Pitcock", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
101 "Mohammed Sameer", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
102 "Tony Vroon", |
0 | 103 NULL, |
104 | |
105 N_("BMP Developers:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
106 "Artem Baguinski", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
107 "Edward Brocklesby", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
108 "Chong Kai Xiong", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
109 "Milosz Derezynski", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
110 "David Lau", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
111 "Ole Andre Vadla Ravnaas", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
112 "Michiel Sikkes", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
113 "Andrei Badea", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
114 "Peter Behroozi", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
115 "Bernard Blackham", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
116 "Oliver Blin", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
117 "Tomas Bzatek", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
118 "Liviu Danicel", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
119 "Jon Dowland", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
120 "Artur Frysiak", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
121 "Sebastian Kapfer", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
122 "Lukas Koberstein", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
123 "Dan Korostelev", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
124 "Jolan Luff", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
125 "Michael Marineau", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
126 "Tim-Philipp Muller", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
127 "Julien Portalier", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
128 "Andrew Ruder", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
129 "Olivier Samyn", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
130 "Martijn Vernooij", |
0 | 131 NULL, |
132 | |
133 NULL | |
134 }; | |
135 | |
136 static const gchar *translators[] = { | |
137 N_("Brazilian Portuguese:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
138 "Philipi Pinto", |
0 | 139 NULL, |
140 N_("Breton:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
141 "Thierry Vignaud", |
0 | 142 NULL, |
143 N_("Chinese:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
144 "Chong Kai Xiong", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
145 "Chao-Hsiung Liao", |
0 | 146 NULL, |
147 N_("Czech:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
148 "Jan Narovec", |
0 | 149 NULL, |
150 N_("Dutch:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
151 "Laurens Buhler", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
152 "Tony Vroon", |
0 | 153 NULL, |
154 N_("Finnish:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
155 "Pauli Virtanen", |
0 | 156 NULL, |
157 N_("French:"), | |
2022
4e04063678cc
[svn] - add le_vert to credits (he will need to accent his letters, though)
nenolod
parents:
2021
diff
changeset
|
158 "Adam Cecile", |
0 | 159 NULL, |
160 N_("German:"), | |
1334
fe42b588cb53
[svn] Update translation credits for German (hansmi) & Polish (vojcek).
chainsaw
parents:
1132
diff
changeset
|
161 "Michael Hanselmann", |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
162 "Matthias Debus", |
0 | 163 NULL, |
164 N_("Georgian: "), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
165 "George Machitidze", |
0 | 166 NULL, |
167 N_("Greek:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
168 "Kouzinopoulos Haris", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
169 "Stavros Giannouris", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
170 "Stathis Kamperis", |
0 | 171 NULL, |
172 N_("Hindi:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
173 "Dhananjaya Sharma", |
0 | 174 NULL, |
175 N_("Hungarian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
176 "Laszlo Dvornik", |
0 | 177 NULL, |
178 N_("Italian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
179 "Alessio D'Ascanio", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
180 "Diego Pettenò", |
0 | 181 NULL, |
182 N_("Japanese:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
183 "Dai", |
0 | 184 NULL, |
185 N_("Korean:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
186 "DongCheon Park", |
0 | 187 NULL, |
188 N_("Lithuanian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
189 "Rimas Kudelis", |
0 | 190 NULL, |
191 N_("Macedonian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
192 "Arangel Angov", |
0 | 193 NULL, |
194 N_("Polish:"), | |
1334
fe42b588cb53
[svn] Update translation credits for German (hansmi) & Polish (vojcek).
chainsaw
parents:
1132
diff
changeset
|
195 "Wojciech Myrda" |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
196 "Jacek Wolszczak", |
0 | 197 NULL, |
198 N_("Romanian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
199 "Liviu Danicel", |
0 | 200 NULL, |
201 N_("Russian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
202 "Pavlo Bohmat", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
203 "Dan Korostelev", |
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
204 "Vitaly Lipatov", |
0 | 205 NULL, |
206 N_("Slovak:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
207 "Pavel Kanzelsberger", |
0 | 208 NULL, |
209 N_("Spanish:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
210 "Gustavo D. Vranjes", |
0 | 211 NULL, |
212 N_("Swedish:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
213 "Martin Persenius", |
0 | 214 NULL, |
215 N_("Ukrainian:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
216 "Mykola Lynnyk", |
0 | 217 NULL, |
218 N_("Welsh:"), | |
1132
d63b74dd62a3
[svn] Updated italian translation and removal of translation tags for developer names by Diego "FlameEyes" Petteno from Gentoo.
chainsaw
parents:
1108
diff
changeset
|
219 "Edward Brocklesby", |
2009 | 220 "William Pitcock", |
0 | 221 NULL, |
222 | |
223 NULL | |
224 }; | |
225 | |
226 | |
227 static GtkWidget * | |
228 generate_credit_list(const gchar * text[], gboolean sec_space) | |
229 { | |
230 GtkWidget *scrollwin; | |
231 GtkWidget *treeview; | |
232 GtkListStore *list_store; | |
233 GtkTreeIter iter; | |
234 GtkTreeViewColumn *column; | |
235 GtkCellRenderer *renderer; | |
236 const gchar *const *item; | |
237 | |
238 list_store = gtk_list_store_new(N_COLS, G_TYPE_STRING, G_TYPE_STRING); | |
239 | |
240 item = text; | |
241 | |
242 while (*item) { | |
243 gtk_list_store_append(list_store, &iter); | |
244 gtk_list_store_set(list_store, &iter, | |
245 COL_LEFT, _(item[0]), COL_RIGHT, _(item[1]), -1); | |
246 item += 2; | |
247 | |
248 while (*item) { | |
249 gtk_list_store_append(list_store, &iter); | |
250 gtk_list_store_set(list_store, &iter, | |
251 COL_LEFT, "", COL_RIGHT, _(*item++), -1); | |
252 } | |
253 | |
254 ++item; | |
255 | |
256 if (*item && sec_space) { | |
257 gtk_list_store_append(list_store, &iter); | |
258 gtk_list_store_set(list_store, &iter, | |
259 COL_LEFT, "", COL_RIGHT, "", -1); | |
260 } | |
261 } | |
262 | |
263 treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(list_store)); | |
264 gtk_tree_view_set_headers_clickable(GTK_TREE_VIEW(treeview), FALSE); | |
265 gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE); | |
266 gtk_tree_selection_set_mode(gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)), | |
267 GTK_SELECTION_NONE); | |
268 | |
269 renderer = gtk_cell_renderer_text_new(); | |
270 g_object_set(renderer, "xalign", 1.0, NULL); | |
271 column = gtk_tree_view_column_new_with_attributes("Left", renderer, | |
272 "text", COL_LEFT, NULL); | |
273 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); | |
274 | |
275 renderer = gtk_cell_renderer_text_new(); | |
276 g_object_set(renderer, "xalign", 0.0, NULL); | |
277 column = gtk_tree_view_column_new_with_attributes("Right", renderer, | |
278 "text", COL_RIGHT, | |
279 NULL); | |
280 gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); | |
281 | |
282 scrollwin = gtk_scrolled_window_new(NULL, NULL); | |
283 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollwin), | |
284 GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); | |
285 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrollwin), GTK_SHADOW_IN); | |
286 gtk_container_add(GTK_CONTAINER(scrollwin), treeview); | |
287 gtk_container_set_border_width(GTK_CONTAINER(scrollwin), 10); | |
288 | |
289 gtk_widget_show_all(scrollwin); | |
290 | |
291 return scrollwin; | |
292 } | |
293 | |
294 void | |
500 | 295 show_credits_window(void) |
0 | 296 { |
297 static GtkWidget *about_window = NULL; | |
298 | |
299 GdkPixmap *beep_logo_pmap = NULL, *beep_logo_mask = NULL; | |
300 GtkWidget *about_vbox; | |
301 GtkWidget *about_credits_logo_box, *about_credits_logo_frame; | |
302 GtkWidget *about_credits_logo; | |
303 GtkWidget *about_notebook; | |
304 GtkWidget *list; | |
305 GtkWidget *bbox, *close_btn; | |
306 GtkWidget *label; | |
307 gchar *text; | |
308 | |
309 if (about_window) | |
310 return; | |
311 | |
312 about_window = gtk_window_new(GTK_WINDOW_TOPLEVEL); | |
313 gtk_window_set_type_hint(GTK_WINDOW(about_window), | |
314 GDK_WINDOW_TYPE_HINT_DIALOG); | |
315 | |
501
3a940b8dac46
[svn] Add credits.c to makefile, and fill in as much information as I have.
nenolod
parents:
500
diff
changeset
|
316 gtk_window_set_default_size(GTK_WINDOW(about_window), -1, 512); |
0 | 317 gtk_window_set_title(GTK_WINDOW(about_window), _("About Audacious")); |
318 gtk_window_set_position(GTK_WINDOW(about_window), GTK_WIN_POS_CENTER); | |
319 gtk_window_set_resizable(GTK_WINDOW(about_window), TRUE); | |
320 gtk_container_set_border_width(GTK_CONTAINER(about_window), 10); | |
321 | |
322 g_signal_connect(about_window, "destroy", | |
323 G_CALLBACK(gtk_widget_destroyed), &about_window); | |
324 | |
325 gtk_widget_realize(about_window); | |
326 | |
327 about_vbox = gtk_vbox_new(FALSE, 5); | |
328 gtk_container_add(GTK_CONTAINER(about_window), about_vbox); | |
329 | |
330 if (!beep_logo_pmap) | |
331 beep_logo_pmap = | |
332 gdk_pixmap_create_from_xpm_d(about_window->window, | |
333 &beep_logo_mask, NULL, audacious_logo_xpm); | |
334 | |
335 about_credits_logo_box = gtk_hbox_new(TRUE, 0); | |
336 gtk_box_pack_start(GTK_BOX(about_vbox), about_credits_logo_box, | |
337 FALSE, FALSE, 0); | |
338 | |
339 about_credits_logo_frame = gtk_frame_new(NULL); | |
340 gtk_frame_set_shadow_type(GTK_FRAME(about_credits_logo_frame), | |
341 GTK_SHADOW_ETCHED_OUT); | |
342 gtk_box_pack_start(GTK_BOX(about_credits_logo_box), | |
343 about_credits_logo_frame, FALSE, FALSE, 0); | |
344 | |
345 about_credits_logo = gtk_pixmap_new(beep_logo_pmap, beep_logo_mask); | |
346 gtk_container_add(GTK_CONTAINER(about_credits_logo_frame), | |
347 about_credits_logo); | |
348 | |
349 label = gtk_label_new(NULL); | |
350 text = g_strdup_printf(_(bmp_brief), VERSION); | |
351 gtk_label_set_markup(GTK_LABEL(label), text); | |
352 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER); | |
353 g_free(text); | |
354 | |
355 gtk_box_pack_start(GTK_BOX(about_vbox), label, FALSE, FALSE, 0); | |
356 | |
357 about_notebook = gtk_notebook_new(); | |
358 gtk_box_pack_start(GTK_BOX(about_vbox), about_notebook, TRUE, TRUE, 0); | |
359 | |
360 list = generate_credit_list(credit_text, TRUE); | |
361 gtk_notebook_append_page(GTK_NOTEBOOK(about_notebook), list, | |
362 gtk_label_new(_("Credits"))); | |
363 | |
364 list = generate_credit_list(translators, FALSE); | |
365 gtk_notebook_append_page(GTK_NOTEBOOK(about_notebook), list, | |
366 gtk_label_new(_("Translators"))); | |
367 | |
368 bbox = gtk_hbutton_box_new(); | |
369 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); | |
370 gtk_button_box_set_spacing(GTK_BUTTON_BOX(bbox), 5); | |
371 gtk_box_pack_start(GTK_BOX(about_vbox), bbox, FALSE, FALSE, 0); | |
372 | |
373 close_btn = gtk_button_new_from_stock(GTK_STOCK_CLOSE); | |
374 g_signal_connect_swapped(close_btn, "clicked", | |
375 G_CALLBACK(gtk_widget_destroy), about_window); | |
376 GTK_WIDGET_SET_FLAGS(close_btn, GTK_CAN_DEFAULT); | |
377 gtk_box_pack_start(GTK_BOX(bbox), close_btn, TRUE, TRUE, 0); | |
378 gtk_widget_grab_default(close_btn); | |
379 | |
380 gtk_widget_show_all(about_window); | |
381 } |