summaryrefslogtreecommitdiffstats
path: root/site/index.php
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-24 13:12:45 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-24 13:12:45 (EDT)
commiteb73ed07b217743bf7a2c589f112657d60dd3cbb (patch)
tree407703ee430d8bae83e8c7714833bc95131184de /site/index.php
parent8908f6083ebbf3abab90bb291c4c8d15ee80f409 (diff)
downloadlibreboot.org-eb73ed07b217743bf7a2c589f112657d60dd3cbb.zip
libreboot.org-eb73ed07b217743bf7a2c589f112657d60dd3cbb.tar.gz
libreboot.org-eb73ed07b217743bf7a2c589f112657d60dd3cbb.tar.bz2
switch to gettext() - TODO: i18n
Diffstat (limited to 'site/index.php')
-rw-r--r--site/index.php64
1 files changed, 32 insertions, 32 deletions
diff --git a/site/index.php b/site/index.php
index 0472174..9d4e2a5 100644
--- a/site/index.php
+++ b/site/index.php
@@ -28,7 +28,7 @@
<link rel="stylesheet" type="text/css" href="css/main.css" />
- <title>Libreboot project</title>
+ <title><?php echo gettext("Libreboot project"); ?></title>
</head>
@@ -40,57 +40,57 @@
<p>
<img src="logo/logo-small.jpg" alt="" title="<?php include "logo/license.txt"; ?>" />
</p>
- <h1>Libreboot project</h1>
+ <h1><?php echo gettext("Libreboot project"); ?></h1>
<p>
- Libreboot is a <a href="https://www.fsf.org/about/what-is-free-software">free</a> (libre)
- BIOS/UEFI replacement for your computer. Based on <a href="http://coreboot.org/">coreboot</a>, the aim is to distribute
- low-level boot firmware that is 100% free software, and to make coreboot easy to use.
+ <?php
+ echo gettext("Libreboot is a <a href=\"https://www.fsf.org/about/what-is-free-software\">free</a> (libre) BIOS/UEFI replacement for your computer. Based on <a href=\"http://coreboot.org/\">coreboot</a>, the aim is to distribute low-level boot firmware that is 100% free software, and to make coreboot easy to use.");
+ ?>
</p>
<ul class="ulnav">
- <li><a href="docs/index.html#why">Why should I use libreboot?</a></li>
- <li><a href="download/#git">How to contribute</a></li>
- <li><a href="docs/tasks.html">List of tasks</a></li>
- <li><a href="download/#mirror">Mirroring libreboot</a></li>
+ <li><a href="docs/index.html#why"><?php echo gettext("Why should I use libreboot?"); ?></a></li>
+ <li><a href="download/#git"><?php echo gettext("How to contribute"); ?></a></li>
+ <li><a href="docs/tasks.html"><?php echo gettext("List of tasks"); ?></a></li>
+ <li><a href="download/#mirror"><?php echo gettext("Mirroring libreboot"); ?></a></li>
</ul>
</div>
<div class="section">
- <h1>Download libreboot</h1>
+ <h1><?php echo gettext("Download libreboot"); ?></h1>
<ul class="ulnav">
- <li><a href="git/rom">ROM images</a></li>
- <li><a href="git/libreboot_util.tar.xz">Utilities</a></li>
- <li><a href="git/libreboot_docs.tar.xz">Documentation (archived)</a></li>
- <li><a href="git/libreboot_src.tar.xz">Source code</a></li>
+ <li><a href="git/rom"><?php echo gettext("ROM images"); ?></a></li>
+ <li><a href="git/libreboot_util.tar.xz"><?php echo gettext("Utilities"); ?></a></li>
+ <li><a href="git/libreboot_docs.tar.xz"><?php echo gettext("Documentation (archived)"); ?></a></li>
+ <li><a href="git/libreboot_src.tar.xz"><?php echo gettext("Source code"); ?></a></li>
<li><a href="git/crossgcc/">crossgcc</a></li>
- <li>...based on <a href="<?php echo $lbFirmwareGitwebAddress; ?>;a=commit;h=<?php include "git/commitid"; ?>">this</a> commit</li>
+ <li><?php echo gettext("...based on "); ?><a href="<?php echo $lbFirmwareGitwebAddress; ?>;a=commit;h=<?php include "git/commitid"; ?>"><?php echo gettext("this"); ?></a><?php echo gettext(" commit"); ?></li>
</ul>
<ul class="ulnav">
- <li><a href="git/release.html">List of changes</a></li>
- <li><a href="git/sha512sum.txt">SHA512 manifest</a></li>
- <li><a href="git/sha512sum.txt.sig">SHA512 manifest (GPG signature)</a></li>
- <li><a href="download/#gpg">How to use GPG</a></li>
+ <li><a href="git/release.html"><?php echo gettext("List of changes"); ?></a></li>
+ <li><a href="git/sha512sum.txt"><?php echo gettext("SHA512 manifest"); ?></a></li>
+ <li><a href="git/sha512sum.txt.sig"><?php echo gettext("SHA512 manifest (GPG signature)"); ?></a></li>
+ <li><a href="download/#gpg"><?php echo gettext("How to use GPG"); ?></a></li>
</ul>
<ul class="ulnav">
- <li>Other resources:</li>
- <li><a href="download/#http">Archived releases</a></li>
- <li><a href="download/#git">Git repositories</a></li>
- <li><a href="<?php echo $lbFirmwareGitwebAddress; ?>">Browse the main git repository</a></li>
+ <li><?php echo gettext("Other resources:"); ?></li>
+ <li><a href="download/#http"><?php echo gettext("Archived releases"); ?></a></li>
+ <li><a href="download/#git"><?php echo gettext("Git repositories"); ?></a></li>
+ <li><a href="<?php echo $lbFirmwareGitwebAddress; ?>"><?php echo gettext("Browse the main git repository"); ?></a></li>
</ul>
</div>
<div class="section">
- <h1>Support</h1>
+ <h1><?php echo gettext("Useful information"); ?></h1>
<ul class="ulnav">
- <li><a href="docs/index.html">Documentation</a></li>
- <li><a href="docs/hcl/index.html#supported_list">List of supported systems</a></li>
- <li><a href="docs/install/index.html">How to install libreboot</a></li>
- <li><a href="docs/gnulinux/index.html">How to install GNU/Linux</a></li>
+ <li><a href="docs/index.html"><?php echo gettext("Documentation"); ?></a></li>
+ <li><a href="docs/hcl/index.html#supported_list"><?php echo gettext("List of supported systems"); ?></a></li>
+ <li><a href="docs/install/index.html"><?php echo gettext("How to install libreboot"); ?></a></li>
+ <li><a href="docs/gnulinux/index.html"><?php echo gettext("How to install GNU/Linux"); ?></a></li>
</ul>
- <h2>Contact information</h2>
+ <h2><?php echo gettext("Contact details"); ?></h2>
<ul class="ulnav">
- <li><a href="contrib/">List of maintainers</a></li>
- <li><a href="<?php echo $userMailingListAddress; ?>">User support mailing list</a></li>
- <li><a href="<?php echo $devMailingListAddress; ?>">Development mailing list</a></li>
+ <li><a href="contrib/"><?php echo gettext("List of maintainers"); ?></a></li>
+ <li><a href="<?php echo $userMailingListAddress; ?>"><?php echo gettext("User support mailing list"); ?></a></li>
+ <li><a href="<?php echo $devMailingListAddress; ?>"><?php echo gettext("Development mailing list"); ?></a></li>
<li><a href="<?php echo $ircChannelAddress; ?>"><?php echo $ircChannelName; ?></a></li>
</ul>
</div>