diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-05-11 10:45:27 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-05-11 10:45:27 +0000 |
commit | 36e5245f70f34610af3da3375462d3abb2f83c8a (patch) | |
tree | 9b13ac9c306ab280e4e86ba73cccc5f14b8d9fcf | |
parent | 89c72c313d84e488bb802d77c9e55036bfb7f201 (diff) | |
download | www-36e5245f70f34610af3da3375462d3abb2f83c8a.tar www-36e5245f70f34610af3da3375462d3abb2f83c8a.tar.gz www-36e5245f70f34610af3da3375462d3abb2f83c8a.tar.bz2 www-36e5245f70f34610af3da3375462d3abb2f83c8a.tar.xz www-36e5245f70f34610af3da3375462d3abb2f83c8a.zip |
updated (l10n, layout) thank-you
-rw-r--r-- | donators.inc.php | 10 | ||||
-rw-r--r-- | en/thank-you/index.php | 46 | ||||
-rw-r--r-- | en/thank-you/locales.php | 26 |
3 files changed, 58 insertions, 24 deletions
diff --git a/donators.inc.php b/donators.inc.php index 5affa55e4..68c6bf96c 100644 --- a/donators.inc.php +++ b/donators.inc.php @@ -293,7 +293,7 @@ $orgs = array( array('http://zarb.org/', 'zarb.org'), // see mirrors.mageia.org - array('http://www.umpc.fr/', 'Université Pierre et Marie Curie'), + array('http://www.upmc.fr/', 'Université Pierre et Marie Curie'), array('http://www.ibiblio.org/', 'The Public\'s Library and Digital Archive'), array('http://www.mandrivauser.de', 'Mandrivauser.de'), array('http://www.hs-esslingen.de/', 'Hochschule Esslingen'), @@ -316,13 +316,15 @@ function html_donators_list($donators,$anonymous) //$donators = array_unique($donators); sort($donators); - $html = sprintf('<p>%d amazing people <a href="/en/donate/">donated money</a> to Mageia.Org:</p>', $count_donators); - $html .= '<ul class="ty-ppl-list">'; + $html = '<ul class="ty-ppl-list">'; foreach ($donators as $p) $html .= sprintf('<li>%s</li>', $p); $html .= '</ul>'; - return $html; + return array( + 'count' => $count_donators, + 'list' => $html + ); } /** diff --git a/en/thank-you/index.php b/en/thank-you/index.php index ad16b3d69..da00aa092 100644 --- a/en/thank-you/index.php +++ b/en/thank-you/index.php @@ -1,35 +1,41 @@ -<!DOCTYPE html> +<?php +define('HLANG', true); +require '../../langs.php'; +include 'locales.php'; + +$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); + +include '../../donators.inc.php'; + +?><!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta charset="utf-8"> - <title>Thank you for making Mageia possible.</title> - <meta name="description" content="People, organisations and services without which Mageia would not exist."> - <meta name="keywords" content="mageia, donate, donation, thanks, partners, help, mirrors, hosting"> + <title><?php _e('Thank you for making Mageia possible.')?></title> + <meta name="description" content="<?php _e('People, organisations and services without which Mageia would not exist.'); ?>"> + <meta name="keywords" content="<?php _e('mageia, donate, donation, thanks, partners, help, mirrors, hosting'); ?>"> <meta name="author" content="Mageia"> <link rel="stylesheet" type="text/css" href="/g/style/all.css"> <?php include '../../analytics.php'; ?> </head> -<body> - <?php include '../../langs.php'; ?> - <?php include '../../donators.inc.php'; ?> - +<body class="about"> + <?php echo $hsnav; ?> + <h1 id="mgnavt"><?php _e('Thanks to them too, Mageia goes forward.')?></h1> <div id="doc4" class="yui-t7"> - <div id="hd" role="banner"><h1><a id="logo" href="/"><span>Mageia</span></a> - <span class="lsep">|</span> <span class="subh">Thank <em>you</em>!</span></h1></div> <div id="bd" role="main"> - <div class="yui-g"><div class="para donate"> - <p>Since September 2010, Mageia would not have come to a reality without - the enthusiasm, advice and involvement of hundreds of people.</p> - - <p>It would not have either, without help and donation from many people and organizations, - that provided Mageia.Org with advice, encouragements, trust, - facilities, hosting, server and development hardware, mirroring facilities, - network bandwidth, money and love.</p> - <p>This page is here to remind of their contribution to this project.</p> + <div class="yui-g"><div class="para donate" style="padding-top: 2em;"> + <p><?php _e('expl1')?></p> + <p><?php _e('expl2')?></p> + <p><?php _e('expl3')?></p> </div></div> <div class="yui-gc"> <div class="yui-u first rb1"><div class="para donate"> - <?php echo html_donators_list($donators,$anonymous); ?> + <p><?php + $pp = html_donators_list($donators, $anonymous); + echo sprintf(_t('%d amazing people %sdonated money%s to Mageia.Org:'), + $pp['count'], '<a href="/donate/">', '</a>'); + ?></p> + <?php echo $pp['list']; ?> </div></div> <div class="yui-u"><div class="para donate"> <p>Those organizations and people provided Mageia.Org with diff --git a/en/thank-you/locales.php b/en/thank-you/locales.php new file mode 100644 index 000000000..9be104d28 --- /dev/null +++ b/en/thank-you/locales.php @@ -0,0 +1,26 @@ +<?php + +$_t = array( + 'en' => array( + 'expl1' => 'Since September 2010, Mageia would not have come to a reality without + the enthusiasm, advice and involvement of hundreds of people.', + 'expl2' => 'It would not have either, without help and donation from many people and organizations, + that provided Mageia.Org with advice, encouragements, trust, + facilities, hosting, server and development hardware, mirroring facilities, + network bandwidth, money and finally, care.', + 'expl3' => 'This page is here to remind of their contribution to this project.' + ), + 'fr' => array( + 'People, organisations and services without which Mageia would not exist.' => 'Personnes, organisations, entreprises sans lesquels Mageia n’existerait pas.', + 'mageia, donate, donation, thanks, partners, help, mirrors, hosting' => 'mageia, dons, merci, partenaires, aide, miroirs, hébergement', + 'Thanks to them too, Mageia goes forward.' => 'Grâce à eux aussi, Mageia avance', + 'expl1' => 'Mageia n’aurait jamais pu devenir une réalité, depuis septembre 2010, + sans l’enthousiasme, les conseils et l’investissement de centaines de personnes.', + 'expl2' => 'Çà n’aurait pas non plus été possible sans les aides et les contributions + de tant de personnes et d’entreprises qui ont apporté à Mageia.Org + leurs conseils, leurs encouragements, leur confiance, leurs moyens humains et informatiques, + leur argent et finalement, toute leur attention.', + 'expl3' => 'Cette page tâche modestement et imparfaitement de rappeler leurs contributions à ce projet.', + '%d amazing people %sdonated money%s to Mageia.Org:' => '%d personnes ont %sfait un don%s à Mageia.Org :', + ) +);
\ No newline at end of file |