aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-05-11 12:08:14 +0000
committerRomain d'Alverny <rda@mageia.org>2012-05-11 12:08:14 +0000
commit35ee7ed86475a654970ee272d8428936a9081407 (patch)
tree880244550172ede2f041f5791a622487c8f789bb
parent286371458214d2dded20f448ed4b7534c1c7d978 (diff)
downloadwww-35ee7ed86475a654970ee272d8428936a9081407.tar
www-35ee7ed86475a654970ee272d8428936a9081407.tar.gz
www-35ee7ed86475a654970ee272d8428936a9081407.tar.bz2
www-35ee7ed86475a654970ee272d8428936a9081407.tar.xz
www-35ee7ed86475a654970ee272d8428936a9081407.zip
calendar page update
-rw-r--r--en/calendar/index.php39
-rw-r--r--en/calendar/locales.php17
l---------fr/calendar1
l---------fr/thank-you1
4 files changed, 42 insertions, 16 deletions
diff --git a/en/calendar/index.php b/en/calendar/index.php
index 5af5fd85e..08cece47c 100644
--- a/en/calendar/index.php
+++ b/en/calendar/index.php
@@ -1,19 +1,26 @@
-<!DOCTYPE html>
-<html dir="ltr" lang="en">
+<?php
+define('HLANG', true);
+require '../../langs.php';
+include 'locales.php';
+
+$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules);
+
+?><!DOCTYPE html>
+<html dir="ltr" lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title>Mageia calendar</title>
+ <title><?php _e('Mageia calendar') ?></title>
<meta name="description" content="Mageia calendar for organization, events, development schedule and more.">
<meta name="keywords" content="mageia, linux, calendar, events">
<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'; ?>
-
+<body class="community">
+ <?php echo $hsnav?>
<div id="doc" class="yui-t7">
- <div id="hd" role="banner"><h1><a id="logo" href="/"><span>Mageia</span></a> <span class="lsep">|</span> <span class="subh">Calendar</span></h1></div>
+ <div id="hd" role="banner"><h1><a id="logo" href="/"><span>Mageia</span></a>
+ <span class="lsep">|</span> <span class="subh"><?php _e('Calendar')?></span></h1></div>
<div id="bd" role="main">
<div class="yui-g">
<br />
@@ -24,22 +31,22 @@
$calendars = array(
array(
'id' => 'ojiv9mbtj8nt248dcjsfn6n664@group.calendar.google.com',
- 'title' => 'events',
+ 'title' => _t('events'),
'color' => '#125A12'
),
array(
'id' => 'gpm9kdohufidedmlpnuuq4pvmo@group.calendar.google.com',
- 'title' => 'meetings &amp; organization',
+ 'title' => _t('meetings &amp; organization'),
'color' => '#8C500B'
),
array(
'id' => 'hm0j50l2vmv0dlstaigbm7nt30@group.calendar.google.com',
- 'title' => 'development &amp; release plan',
+ 'title' => _t('development &amp; release plan'),
'color' => '#691426'
),
array(
'id' => 'uo3onvtl8q6qk5m3emq83rekag@group.calendar.google.com',
- 'title' => 'mentoring',
+ 'title' => _t('mentoring'),
'color' => '#42104A'
)
);
@@ -70,8 +77,8 @@
<a href="https://wiki.mageia.org/en/Meetings">team meetings</a>,
development planning milestones
and possibly more.</p>
- <p>It is public and available to all. Only Mageia Board and Council members and team leaders
- have a write access to it.</p>
+ <p>It is public and available to all.
+ Only Mageia Board and Council members and team leaders have a write access to it.</p>
<p>For any comment, addition, change to this calendar, feel free to contact us through:</p>
<ul>
<li>your <a href="https://wiki.mageia.org/en/">team</a> leader or representative,</li>
@@ -80,14 +87,14 @@
</ul>
</div>
<div class="para">
- <h3>ICS files</h3>
- <p>You may get read-only access directly to these .ics files:</p>
+ <h3><?php _e('ICS files') ?></h3>
+ <p><?php _e('You may get read-only access directly to these .ics files:')?></p>
<ul>
<?php
$ical_tmpl = 'http://www.google.com/calendar/ical/%s/public/basic.ics';
foreach ($calendars as $c)
{
- echo sprintf('<li><a href="%s">Mageia %s</a></li>',
+ echo sprintf('<li><a href="%s">%s</a></li>',
sprintf($ical_tmpl, urlencode($c['id'])),
$c['title']);
}
diff --git a/en/calendar/locales.php b/en/calendar/locales.php
new file mode 100644
index 000000000..21cc14e9c
--- /dev/null
+++ b/en/calendar/locales.php
@@ -0,0 +1,17 @@
+<?php
+
+$_t = array(
+ 'en' => array(
+
+ ),
+ 'fr' => array(
+ 'Mageia calendar' => 'Calendrier d&rsquo;activité de Mageia',
+ 'Calendar' => 'Agenda',
+ 'events' => 'événements',
+ 'meetings &amp; organization' => 'réunions et points d&rsquo;avancement',
+ 'development &amp; release plan' => 'jalons de travail',
+ 'mentoring' => 'tutorat',
+ 'ICS files' => 'Fichiers ICS',
+ 'You may get read-only access directly to these .ics files:' => 'Vous pouvez télécharger ou vous abonner directement à ces fichiers'
+ )
+);
diff --git a/fr/calendar b/fr/calendar
new file mode 120000
index 000000000..37f0978c3
--- /dev/null
+++ b/fr/calendar
@@ -0,0 +1 @@
+../en/calendar \ No newline at end of file
diff --git a/fr/thank-you b/fr/thank-you
new file mode 120000
index 000000000..57e29b1f9
--- /dev/null
+++ b/fr/thank-you
@@ -0,0 +1 @@
+../en/thank-you \ No newline at end of file