~xalioth/stellarium-website/with-gettext

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Description" content="<?php q_( "Stellarium is planetarium software that shows exactly what you see when you look up at the stars. It's easy to use, and free.");?>" />
<meta name="Keywords" content="Stellarium, planetarium, astronomy, stars, planets, constellations, meteors, universe, open source, free software, Fabien Chéreau, astro, freeware, download, stars, planets, realistic, software, sky, program, scientific, educational, free, real, time, Windows, Linux, Apple, Mac, GPL, alioth, milky way, moon, mercury, venus, mars, earth, venus, jupiter, saturn, sun, real time, 3D, openGL, graphic, GL, glut, glu, chart, map, twinkle, photo-realistic, brightness, source, screenshot, Orion, 2001, computer" />
<title>Stellarium</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/stellarium.css" type="text/css" media="screen" />
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
</head>
<body>

<?php
require('streams.php');
require('gettext.php');

$locale = (isset($_GET['lang']))? $_GET['lang'] : 'en';
$streamer = new FileReader('./locale/' . $locale . '/stellarium-website.mo');
$wohoo = new gettext_reader($streamer);

function q_($msgid) {
    global $wohoo;
    print $wohoo ? $wohoo->translate($msgid) : $msgid;
}
?>




<div id="wrap">
  <!--  <div id="stickynote">
	<p>sticky note</p>
  </div>-->
  <div id="header">
	<h1>Stellarium</h1>
  </div>
  <div id="topbar">
	<div id="description"><a href="screenshots.html"><img src="img/rotation/rotate.php" alt="screen preview" width="201" height="209" border="0" id="previewscreen"></a>
	  <div id="desctext">
	  
	  <?php q_("Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope. <br>
		It is being used in planetarium projectors. Just set your coordinates and go.");?> <span><a href="screenshots.html"><?php q_("view screenshots");?></a></span></div>
	</div>
	<div id="downloads">
	  <h2> <?php q_("Downloads");?> </h2>
	  <div class="download"><a href="http://downloads.sourceforge.net/stellarium/stellarium-0.10.6.tar.gz"><img class="downloadimg" src="img/download-linux.png" alt="linux download link" width="63" height="42"><span class="downloadlink"><?php q_("for Linux (source)");?></span></a> </div>
	  <div class="download"> <a href="http://downloads.sourceforge.net/stellarium/stellarium-0.10.6-Intel.dmg"><img class="downloadimg" src="img/download-mac.png" alt="Mac download link" width="63" height="42"><span class="downloadlink"><?php q_("for Mac OS X");?></span></a> </div>
	  <div class="download"> <a href="http://downloads.sourceforge.net/stellarium/stellarium-0.10.6.1.exe"><img class="downloadimg" src="img/download-win.png" alt="Windows download link" width="63" height="42"><span class="downloadlink"><?php q_("for Windows");?></span></a> </div>
	  <div class="download"> <a href="http://downloads.sourceforge.net/stellarium/stellarium_user_guide-0.10.2-1.pdf"><img class="downloadimg" src="img/download-pdf.png" alt="pdf download link" width="63" height="42"><span class="downloadlink"><?php q_("user's guide");?></span></a></div>
	</div>
  </div>
  <div id="content">
	<div id="left">
	  <div id="features">
		<h2><?php q_("features");?> </h2>
		<p><span id="version"><?php q_("in version 0.10.6");?></span></p>
		<?php q_("<h3>sky</h3>
		<ul>
		  <li> default catalogue of over 600,000 stars </li>
		  <li> extra catalogues with more than 210 million stars </li>
		  <li> asterisms and illustrations of the constellations </li>
		  <li> constellations for twelve different cultures </li>
		  <li> images of nebulae (full Messier catalogue)</li>
		  <li> realistic Milky Way </li>
		  <li> very realistic atmosphere, sunrise and sunset </li>
		  <li> the planets and their satellites </li>
		</ul>");?>
		<?php q_("<h3>interface</h3>
		<ul>
		  <li> a powerful zoom </li>
		  <li> time control </li>
		  <li> multilingual interface </li>
		  <li> fisheye projection for planetarium domes </li>
		  <li> spheric mirror projection for your own low-cost dome </li>
		  <li> all new graphical interface and extensive keyboard control </li>
		  <li> telescope control </li>
		</ul>");?>
		<?php q_( "<h3>visualisation</h3>
		<ul>
		  <li> equatorial and azimuthal grids </li>
		  <li> star twinkling </li>
		  <li> shooting stars </li>
		  <li> eclipse simulation </li>
		  <li> skinnable landscapes, now with spheric panorama projection </li>
		</ul>");?>
		<?php q_( "<h3>customizability</h3>
		<ul>
	      <li> plugin system adding artifical satellites, ocular simulation, telescope configuration and more </li>
		  <li> ability to add new solar system objects from online resources... </li>
		  <li> add your own deep sky objects, landscapes, constellation images, scripts... </li>
		</ul>");?>
	  </div>
	  <div id="wiki">
		<?php q_("<h2>wiki</h2>
		<p> The wiki is the place where stellarium users maintain all the knowledge about the program, and where you can contribute as well.</p>");?>
		<ul class="largelist">
		  <li> <a href="http://www.stellarium.org/wiki">main page</a> </li>
		  <li> <a href="http://www.stellarium.org/wiki/index.php/Quickstart_guide">quickstart</a> </li>
		  <li> <a href="http://www.stellarium.org/wiki/index.php/FAQ">FAQ</a> </li>
		  <li> <a href="http://www.stellarium.org/wiki/index.php/Category:User%27s_Guide">user's guide</a> </li>
		  <li> <a href="http://www.stellarium.org/wiki/index.php/Scripts">scripts</a> </li>
		</ul>
	  </div>
	</div>
	<div id="center">
	  <div id="news">
		<?php q_("<h2>news</h2>");
		 include("rss2html/rss2html.php"); ?>
	  </div>
	</div>
	<div id="right">
	  <div id="development">
		<?php q_("<h2>collaborate</h2>
		<p>You can learn more about Stellarium, get support and help the project from these links: </p>");?>
		<ul class="largelist">
		  <li> <a href="http://launchpad.net/stellarium">summary</a> </li>
		  <li> <a href="http://sourceforge.net/forum/forum.php?forum_id=278769">forum</a> </li>
		  <li> <a href="https://answers.launchpad.net/stellarium">get support</a> </li>
		  <li> <a href="http://bugs.launchpad.net/stellarium">report bugs, request new features</a> </li>
		  <li> <a href="http://sourceforge.net/project/showfiles.php?group_id=48857">older releases</a>
			<ul class="sublist">
			  <li> <a href="http://sourceforge.net/project/showfiles.php?group_id=48857&package_id=52048">for Linux (source)</a> </li>
			  <li> <a href="http://sourceforge.net/project/showfiles.php?group_id=48857&package_id=42042">for Mac OSX</a> </li>
			  <li> <a href="http://sourceforge.net/project/showfiles.php?group_id=48857&package_id=52047">for Windows</a> </li>
			</ul>
		  </li>
		</ul>
		<h2> bzr </h2>
		<p> The latest development snapshot of Stellarium is kept in Bazaar, a distributed revision control system. If you want to compile development versions of Stellarium, this is the place to get the source code.</p>
		<ul class="largelist">
		  <li><a href="http://bazaar.launchpad.net/~stellarium/stellarium/trunk/files">browse Bazaar</a></li>
		  <li><a href="http://stellarium.org/wiki/index.php/Bzr_checkout">instructions (wiki)</a></li>
		</ul>
		<h2> irc </h2>
		<p> Real time chat about Stellarium can be had in the <a href="irc://irc.freenode.org/stellarium">#stellarium</a> IRC channel on the <a href="http://freenode.net">freenode</a> IRC network.  Use your favorite IRC client to connect to <a href="irc://irc.freenode.org/stellarium">chat.freenode.net</a> or try the <a href="http://webchat.freenode.net/?channels=stellarium&uio=MTE9MjQ255">web-based interface</a>. </p>
		<h2> developers </h2>
		<p> Project coordinator: <a href="http://f4bien.blogspot.com/">Fabien Ch&eacute;reau</a><br>
		  Doc author/developer: <a href="http://porpoisehead.net/">Matthew Gates</a><br>
		  <!-- Graphic/other designer: <a href="http://users.pandora.be/jomejom">Johan Meuris</a><br> -->
		  OSX Developer: Nigel Kerr<br>
		  OSX Developer: <a href="mailto:diego.marcos%20(at)%20gmail.com">Diego Marcos</a><br>
          Developer: <a href="http://badlyhonedbytes.wordpress.com/">Bogdan Marinov</a><br>
          Developer: <a href="mailto:treaves%20(at)%20silverfieldstech.com">Timothy Reaves</a><br>
          Developer: <a href="http://charlie137-2.blogspot.com/">Guillaume Ch&eacute;reau</a><br>
          Tester: Barry Gerdes<br>
		  and everyone else in the community. </p>
		<h2>supporters and friends</h2>
		<p>Stellarium is produced by the efforts of the developer team, with the help and support of the <a href="sponsors.php">following people and organisations</a></p>
	  </div>
	</div>
  </div>
  <div id="languages">Other languages:
	<?php include("languages.inc"); ?>
  </div>
  <div id="footer"><a href="http://sourceforge.net/donate/index.php?group_id=48857"><img src="http://images.sourceforge.net/images/project-support.jpg" alt="Support This Project" width="88" height="32" border="0" /></a> <a href="http://sourceforge.net/projects/stellarium"><img src="http://sourceforge.net/sflogo.php?group_id=48857&amp;type=5" alt="SourceForge.net Logo" width="108" height="32" border="0" /></a> </div>
</div>
</body>
</html>