aboutsummaryrefslogtreecommitdiffstats
path: root/en/8/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/8/index.php')
-rw-r--r--en/8/index.php33
1 files changed, 17 insertions, 16 deletions
diff --git a/en/8/index.php b/en/8/index.php
index e0ad3cade..963f41f62 100644
--- a/en/8/index.php
+++ b/en/8/index.php
@@ -3,6 +3,7 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$rtl = is_locale_rtl($locale);
+$version = '8';
$dictionary = read_translation_file($locale, array('8', 'common_footer'));
?>
@@ -10,8 +11,8 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer'));
<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _g('Mageia 8')?></title>
- <meta name="description" content="<?php _g('Mageia 8 is the new, solid, stable Linux distribution from the Mageia project.')?>">
+ <title><?php _g('Mageia %s', $version)?></title>
+ <meta name="description" content="<?php _g('Mageia %s is the new, solid, stable Linux distribution from the Mageia project.', $version)?>">
<?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
<style>
@@ -34,7 +35,7 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer'));
<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="downloads">
<?php echo $hsnav; ?>
- <h1 id="mgnavt"><a href="../8/">Mageia 8</a></h1>
+ <h1 id="mgnavt"><a href="../8/"><?php _g('Mageia %s', $version);?></a></h1>
<?php include './nav.php'; ?>
<div class="bg-warning text-white p-3 container">WIP</div>
<div class="container mga-slider">
@@ -62,17 +63,17 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer'));
echo $div;
}
//carousel('/g/path/to.png', 'alt text', 'TitleCaption', 'TextCaption', active);
- carousel('/g/8/slide/live-plasma-1.png', 'live-plasma-1', _r('Welcome on Mageia'), _r('Try without installing.') . ' '. _r('Here is the Plasma Desktop'), true );
+ carousel('/g/8/slide/live-plasma-1.png', 'live-plasma-1', _r('Welcome on Mageia'), _r('Try without installing.', ' ') . sprintf('Here is the %s Desktop', _r('Plasma')), true );
carousel('/g/8/slide/live-plasma-2.png', 'live-plasma-2', _r('Daily use'), _r('Access all your files') );
carousel('/g/8/slide/live-plasma-3.png', 'live-plasma-3', _r('Daily use'), _r('Watch all your media') );
- carousel('/g/8/slide/live-plasma-4.png', 'live-plasma-4', _r('Install'), _r('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media') . ' <a href="../doc/">'. _r('Doc'). '</a>');
- carousel('/g/8/slide/live-gnome-1.png', 'live-gnome-1', _r('A choice of desktops'), _r('Here is the GNOME Desktop') );
+ carousel('/g/8/slide/live-plasma-4.png', 'live-plasma-4', _r('Install'), _r('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.') . sprintf('<a href="../doc/">%s</a>', _r('Doc')) );
+ carousel('/g/8/slide/live-gnome-1.png', 'live-gnome-1', _r('A choice of desktops'), sprintf('Here is the %s Desktop', _r('GNOME')) );
carousel('/g/8/slide/live-gnome-2.png', 'live-gnome-2', '', '');
carousel('/g/8/slide/live-gnome-3.png', 'live-gnome-3', _r('Install'), '' );
- carousel('/g/8/slide/live-xfce-1.png', 'live-xfce-1', _r('A choice of desktops'), _r('Here is the Xfce Desktop') );
+ carousel('/g/8/slide/live-xfce-1.png', 'live-xfce-1', _r('A choice of desktops'), sprintf('Here is the %s Desktop', _r('Xfce')) );
carousel('/g/8/slide/live-xfce-2.png', 'live-xfce-2', _r('Install'), _r('You can install all <a href="https://madb.mageia.org/">apps available</a> even in live mode') );
- carousel('/g/8/slide/mcc-1.png', 'mcc-1', _r('Tools'), _r('Mageia Center Control') . ': '. _r('Install applications') );
- carousel('/g/8/slide/mcc-2.png', 'mcc-2', _r('Tools'), _r('Mageia Center Control') . ': '. _r('Configure your hardware') );
+ carousel('/g/8/slide/mcc-1.png', 'mcc-1', _r('Tools'), _r('Mageia Control Center', ': ') . _r('Install applications') );
+ carousel('/g/8/slide/mcc-2.png', 'mcc-2', _r('Tools'), _r('Mageia Control Center', ': '). _r('Configure your hardware') );
carousel('/g/8/slide/classical-1.png', 'classical-1', _r('Install') , _r('Classic Installation') );
?>
<a class="carousel-control-prev" href="#carouselMga" role="button" data-slide="prev">
@@ -91,20 +92,20 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer'));
<div class="row">
<div class="col">
<div class="para">
- <?php _g('About Mageia 8', null, 'h2'); ?>
+ <?php _g('About Mageia %s', $version, 'h2'); ?>
<?php
- _g('Mageia 8 is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>. It can be installed in several ways, with the Live or Classical ISOs being the most popular methods.', array('../community'), 'p');?>
+ _g('Mageia %s is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>. It can be installed in several ways, with the Live or Classical ISOs being the most popular methods.', $version, array('../community'), 'p');?>
- <p><a href="./download_index.php" class="btn btn-primary"><?php _g('Download it right away!');?></a></p>
+ <p><a href="../downloads" class="btn btn-primary"><?php _g('Download it right away!');?></a></p>
-<?php _g('Live ISO\'s let you try Mageia without installation. Use <a href="%s">these instructions</a> to put the Live ISO on a CD, DVD or USB device. Then you can run Mageia 8 directly from there, and try Mageia using one of the graphical user interfaces such as GNOME or Plasma.', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')), 'p');
+<?php _g('Live ISO\'s let you try Mageia without installation. Use <a href="%s">these instructions</a> to put the Live ISO on a CD, DVD or USB device. Then you can run Mageia %s directly from there, and try Mageia using one of the graphical user interfaces such as GNOME or Plasma.', $version, array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')), 'p');
_g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p');
_g('The Classical ISO is the more traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p');
- _g('Mageia 8 includes several desktop managers including Plasma, GNOME, Xfce, Mate, LXQt and Cinnamon.', null, 'p');
+ _g('Mageia %s includes several desktop managers including Plasma, GNOME, Xfce, Mate, LXQt and Cinnamon.', $version, 'p');
_g('There are lots of applications in the official repositories. You can have a look at the <a href="%s">Mageia Application Database</a> to get a complete list of packages inside Mageia.', array('//madb.mageia.org'), 'p');
_g('What\'s new?', null, 'h2');
- _g('There\'s plenty of new goodness in Mageia 8, too much to include here - see the <a hreflang="en" href="%s">release notes</a> for an extensive exposé.',array($releasenotes), 'p', 'class="warn"');
+ _g('There\'s plenty of new goodness in Mageia %s, too much to include here - see the <a hreflang="en" href="%s">release notes</a> for an extensive exposé.', array($version, $releasenotes), 'p', 'class="warn"');
?>
</div>
</div>
@@ -114,7 +115,7 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer'));
<?php
_g('Mageia in context', null, 'h2');
- _g('Mageia 8 is supported by the <a href="%s">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.',array('../about/'), 'p');
+ _g('Mageia %s is supported by the <a href="%s">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.', $version, array('../about/'), 'p');
_g('Our work adds to the excellent work of the wider Linux and Free Software community. We aim to blend all the excellent work done by the community, adding the special Mageia ingredients, to bring you the best, most stable, reliable and enjoyable experience we can make for regular users, developers and businesses.', null, 'p');