aboutsummaryrefslogtreecommitdiffstats
path: root/en/calendar
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-03-14 19:26:26 +0000
committerFilip Komar <filip@mageia.org>2014-03-14 19:26:26 +0000
commit3bd43c88fcb53f8a068c11e89ad1fece00b0b73b (patch)
tree40d085a928eb2ae9766597fb481f135c0b9b677b /en/calendar
parent3d05942ab940dc84ba76cf523038910edc4aff8c (diff)
downloadwww-3bd43c88fcb53f8a068c11e89ad1fece00b0b73b.tar
www-3bd43c88fcb53f8a068c11e89ad1fece00b0b73b.tar.gz
www-3bd43c88fcb53f8a068c11e89ad1fece00b0b73b.tar.bz2
www-3bd43c88fcb53f8a068c11e89ad1fece00b0b73b.tar.xz
www-3bd43c88fcb53f8a068c11e89ad1fece00b0b73b.zip
calendar page migrated to gettext system
Diffstat (limited to 'en/calendar')
-rw-r--r--en/calendar/index.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/en/calendar/index.php b/en/calendar/index.php
index d6210a8f9..397823fa8 100644
--- a/en/calendar/index.php
+++ b/en/calendar/index.php
@@ -2,7 +2,7 @@
define('HLANG', true);
require '../../langs.php';
-_lang_load($locale, "calendar");
+$dictionary = read_translation_file($locale, "calendar");
/**
*
@@ -10,22 +10,22 @@ _lang_load($locale, "calendar");
$calendars = array(
array(
'id' => 'ojiv9mbtj8nt248dcjsfn6n664@group.calendar.google.com',
- 'title' => _t('events'),
+ 'title' => _r('events'),
'color' => '#125A12'
),
array(
'id' => 'gpm9kdohufidedmlpnuuq4pvmo@group.calendar.google.com',
- 'title' => _t('meetings &amp; organization'),
+ 'title' => _r('meetings &amp; organization'),
'color' => '#8C500B'
),
array(
'id' => 'hm0j50l2vmv0dlstaigbm7nt30@group.calendar.google.com',
- 'title' => _t('development &amp; release plan'),
+ 'title' => _r('development &amp; release plan'),
'color' => '#691426'
),
array(
'id' => 'uo3onvtl8q6qk5m3emq83rekag@group.calendar.google.com',
- 'title' => _t('mentoring'),
+ 'title' => _r('mentoring'),
'color' => '#42104A'
)
);
@@ -57,9 +57,9 @@ foreach ($calendars as $c) {
<html dir="ltr" lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia calendar') ?></title>
- <meta name="description" content="<?php _e('Mageia calendar for organization, events, development schedule and more.') ?>">
- <meta name="keywords" content="<?php _e('mageia, linux, calendar, events') ?>">
+ <title><?php _g('Mageia calendar') ?></title>
+ <meta name="description" content="<?php _g('Mageia calendar for organization, events, development schedule and more.') ?>">
+ <meta name="keywords" content="<?php _g('mageia, linux, calendar, events') ?>">
<meta name="author" content="Mageia">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
<?php include '../../analytics.php'; ?>
@@ -68,7 +68,7 @@ foreach ($calendars as $c) {
<?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"><?php _e('Calendar')?></span></h1></div>
+ <span class="lsep">|</span> <span class="subh"><?php _g('Calendar')?></span></h1></div>
<div id="bd" role="main">
<div class="yui-g">
<br />
@@ -80,18 +80,18 @@ foreach ($calendars as $c) {
scrolling="no"></iframe>
<div class="para">
- <p><?php _e('This calendar shows all Mageia events, <a href="https://wiki.mageia.org/en/Meetings">team meetings</a>, development planning milestones and possibly more.') ?></p>
- <p><?php _e('It is public and available to all. Only Mageia Board and Council members and team leaders have a write access to it.') ?></p>
- <p><?php _e('For any comment, addition, change to this calendar, feel free to contact us through:') ?></p>
+ <p><?php _g('This calendar shows all Mageia events, <a href="https://wiki.mageia.org/en/Meetings">team meetings</a>, development planning milestones and possibly more.') ?></p>
+ <p><?php _g('It is public and available to all. Only Mageia Board and Council members and team leaders have a write access to it.') ?></p>
+ <p><?php _g('For any comment, addition, change to this calendar, feel free to contact us through:') ?></p>
<ul>
- <li><?php _e('your <a href="https://wiki.mageia.org/en/">team</a> leader or representative,') ?></li>
- <li><?php _e('<a href="irc://irc.freenode.net/#mageia-dev">#mageia-dev</a> on Freenode,') ?></li>
- <li><?php _e('<a href="mailto:mageia-contact@mageia.org">mageia-contact@mageia.org</a> in last resort.') ?></li>
+ <li><?php _g('your <a href="https://wiki.mageia.org/en/">team</a> leader or representative,') ?></li>
+ <li><?php _g('<a href="irc://irc.freenode.net/#mageia-dev">#mageia-dev</a> on Freenode,') ?></li>
+ <li><?php _g('<a href="mailto:mageia-contact@mageia.org">mageia-contact@mageia.org</a> in last resort.') ?></li>
</ul>
</div>
<div class="para">
- <h3><?php _e('ICS files') ?></h3>
- <p><?php _e('You may get read-only access directly to these .ics files:')?></p>
+ <h3><?php _g('ICS files') ?></h3>
+ <p><?php _g('You may get read-only access directly to these .ics files:')?></p>
<ul>
<?php echo $html_calendars; ?>
</ul>