aboutsummaryrefslogtreecommitdiffstats
path: root/en/calendar
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2012-08-23 16:08:01 +0000
committerFilip Komar <filip@mageia.org>2012-08-23 16:08:01 +0000
commitad6c9d50f9bfa6fda296164af437d7bddcfe57bb (patch)
tree246e778fcf87756ce4bad4b2327fc2c8d8f77b69 /en/calendar
parent698c021e5b3a16863cfce4e2b8f4a6f78db63e4f (diff)
downloadwww-ad6c9d50f9bfa6fda296164af437d7bddcfe57bb.tar
www-ad6c9d50f9bfa6fda296164af437d7bddcfe57bb.tar.gz
www-ad6c9d50f9bfa6fda296164af437d7bddcfe57bb.tar.bz2
www-ad6c9d50f9bfa6fda296164af437d7bddcfe57bb.tar.xz
www-ad6c9d50f9bfa6fda296164af437d7bddcfe57bb.zip
page calendar converted to lang system
Diffstat (limited to 'en/calendar')
-rw-r--r--en/calendar/index.php23
-rw-r--r--en/calendar/locales.php17
2 files changed, 9 insertions, 31 deletions
diff --git a/en/calendar/index.php b/en/calendar/index.php
index 08cece47c..d091bbf9e 100644
--- a/en/calendar/index.php
+++ b/en/calendar/index.php
@@ -1,17 +1,16 @@
<?php
define('HLANG', true);
require '../../langs.php';
-include 'locales.php';
-$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules);
+_lang_load($locale, "calendar");
?><!DOCTYPE html>
<html dir="ltr" lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<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="description" content="<?php _e('Mageia calendar for organization, events, development schedule and more.') ?>">
+ <meta name="keywords" content="<?php _e('mageia, linux, calendar, events') ?>">
<meta name="author" content="Mageia">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
<?php include '../../analytics.php'; ?>
@@ -73,17 +72,13 @@ $_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules);
scrolling="no"></iframe>
<div class="para">
- <p>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>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>
+ <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>
<ul>
- <li>your <a href="https://wiki.mageia.org/en/">team</a> leader or representative,</li>
- <li><a href="irc://irc.freenode.net/#mageia-dev">#mageia-dev</a> on Freenode,</li>
- <li><a href="mailto:mageia-contact@mageia.org">mageia-contact@mageia.org</a> in last resort.</li>
+ <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>
</ul>
</div>
<div class="para">
diff --git a/en/calendar/locales.php b/en/calendar/locales.php
deleted file mode 100644
index 21cc14e9c..000000000
--- a/en/calendar/locales.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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'
- )
-);