aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/about/index.php')
-rw-r--r--en/about/index.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/en/about/index.php b/en/about/index.php
index bf0da10c5..a03250419 100644
--- a/en/about/index.php
+++ b/en/about/index.php
@@ -2,11 +2,12 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about', 'common_footer'));
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('About Mageia'); ?></title>
@@ -24,7 +25,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
</style>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="about">
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('About Mageia')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
@@ -46,7 +47,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
_r('gathered <a href="../community/">hundreds of careful individuals and several companies worldwide</a>,', ' '),
_r('who coproduce the infrastructure, the distribution itself, <a href="https://wiki.mageia.org/">documentation</a>, <a href="../downloads/">delivery</a> and <a href="../support/">support</a>, using Free Software tools;');
echo '</li>';
- _g('released seven major stable releases <a href="../1/">in June 2011</a>, <a href="../2/">in May 2012</a>, <a href="../3/">in May 2013</a>, <a href="../4/">in February 2014</a>, <a href="../5/">in June 2015</a>, <a href="../6/">in July 2017</a> and <a href="../7/">in June 2019</a>',null,'li');
+ _g('released eight major stable releases <a href="../1/">in June 2011</a>, <a href="../2/">in May 2012</a>, <a href="../3/">in May 2013</a>, <a href="../4/">in February 2014</a>, <a href="../5/">in June 2015</a>, <a href="../6/">in July 2017</a>, <a href="../7/">in June 2019</a> and <a href="../8/">in February 2021</a>',null,'li');
?></ul>
<!--
<ul>
@@ -93,7 +94,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
<hr>
<h3 ><?php _g('Mageia history archive')?></h3>
- <?php _g('For historical records you can find a <a href=%s>list of Mageia founders</a> and a<a href=%s>Mageia project announcement</a> from back in september 2010.',
+ <?php _g('For historical records you can find a <a href=%s>list of Mageia founders</a> and a <a href=%s>Mageia project announcement</a> from back in september 2010.',
array('"../about/founders.html"', '"../about/2010-sept-announcement.html"')); ?>
<hr>