From 34a20e6746d728cfb6bbbfd4d8df7a9449af729e Mon Sep 17 00:00:00 2001 From: filip Date: Wed, 17 Jun 2015 23:23:20 +0200 Subject: prepare mga 5 final preview pages + fix for erased l10n strings on current mga5 DL page --- en/5/download_index.php | 2 + en/5_preview/download_index.php | 635 ++++++++++++++++++++++++++++++++++++++++ en/5_preview/index.php | 103 +++++++ en/5_preview/nav.php | 29 ++ 4 files changed, 769 insertions(+) create mode 100755 en/5_preview/download_index.php create mode 100644 en/5_preview/index.php create mode 100644 en/5_preview/nav.php (limited to 'en') diff --git a/en/5/download_index.php b/en/5/download_index.php index d22785f66..3f086c940 100755 --- a/en/5/download_index.php +++ b/en/5/download_index.php @@ -14,6 +14,8 @@ define('ALIGNMENT', 'Center'); require '../../langs.php'; $dictionary = read_translation_file($locale, "5"); +$dictionary_cauldron = read_translation_file($locale, 'cauldron'); +$dictionary = array_merge($dictionary, $dictionary_cauldron); function get_mageia($name, $version, $release) { diff --git a/en/5_preview/download_index.php b/en/5_preview/download_index.php new file mode 100755 index 000000000..2ee50377d --- /dev/null +++ b/en/5_preview/download_index.php @@ -0,0 +1,635 @@ +%s', + get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, '.iso'), + $torrent ? '&torrent=1' : '', + implode(' ', array($name, $version, $release, $variant, $arch, $medium)), + $bit +); +} + +function get_image($ttl, $src, $sty){ + echo sprintf('', $src, $ttl, $ttl, $sty); + echo sprintf('%s', $src, $ttl, $ttl, $sty); +} + +?> + + + + + <?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?> + "> + "> + + + + + + + + + + +
+

%s %s %s',$name, $version, $release)?>

+ +
+
+
+
+
+ + + +
+

+ CD or DVD discs.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')));?> +
+ USB drive.', array('class="iso2usb"'));?> + +

+ UEFI, a procedure is available in the wiki.', array(_r('http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface'),_r('https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware' /*this will be changed to tooltip, so no more url*/))) ;?> +

+
+ '; + _g('For Linux, IsoDumper, available inside repo. Or any tools based on dd.',null,'li'); + echo '
  • '; + _g('For windows use usbdumper.',array('http://mirrors.kernel.org/mageia/people/marcom/usbdumper.exe')); + _g('If it show "writing error or access denied" try the fallowing method: run the console (cmd), then type "diskpart", then "list disk", then select your disk with "select disk", and type "clean" (it will erase the key).',null,'span class="dlinfo"');?> +
  • + +
    +
    + +
    + + +
    + + + documentation for this installer.', array('../doc/'), 'p'); ?> +

    + + Deutsch, English, Español, Français, Italiano, Português, Svenska, Nederlands, Polski, Dansk, Pусский + + . +

    +

    +

    + + + +
    + + + + +
    + + + + +

    + + upgrade guide.', array($upgradeguide));?> +

    + + +
    + + +
    + wired network or a local disk.',null,'p'); + _g('Have a look in the wiki to get a list of possibilities.',array(_r('https://wiki.mageia.org/en/Boot.iso_install')),'p'); + _g('These ISOs change frequently, and as it give real state of Cauldron, they may not work. If it is the case, use above one.',null,'p'); + _g('Size of the ISOs is about 50MB.',null,'p class="dlinfo"');?> +
    + +
    + + + + + + +
    + +

    + + + +

    + +
    + + +
    + + +
    + +
    + +
    + +
    + +
    + + + + +
    +
    + +
    + + +
    + + +
    +
    + + +
    + +
    + + + + +
    +
    + +
    + + +
    + +
    +
    + +
    +
    + + + + +
    +
    + +
    + +
    + +
    +
    + +
    + + +
    + + '; + _g('Dual iso size is intended to be small for advanced users, only network proprietary drivers are included.', null, ' '); + _g('You will have to add remote nonfree media if you need some more.', null,' '); + _g('Furthermore UEFI is not supported.'); + echo '

    '; + _g('It can be used to install either a 32bit system or a 64bit system, the installer defaults to x86_64 when it detects a 64bit capable CPU.',null, 'p'); + _g('This ISO is generally for advanced users and system administrator for fast deployment of Mageia.',null, 'p');?> +
    + +
    + + + + + + +
    +
    + + + + +
    + +
    +
    + + '; + + _g('Upgrading
    from %s ?', array('Mageia 4 (4.1)'), 'h3')?> +
      do not use LiveCDs;', null, 'li'); + _g('see the upgrade guide', array($upgradeguide), 'li'); + echo '

    '; + + _g('Looking for %s ?', array('Mageia 4'), 'h3'); + echo '

    '; + _g('It is here.', array('../4/'),' '); + echo '', + _g('But please remember that it will soon reach EOL.', array('../support/')); +// _g('But please remember that it already reached EOL.', array(_r_rename_when_blog_post_about_mga4_EOL_('https://blog.mageia.org/en/201?????/'))); + echo ''; + echo '

    '; + + _g('Need more challenge?', null, 'h3'); + _g('You can help us on %s.', array('../contribute/','../contribute/','Mageia 6')); + ?> +
    +
    +
    +
    +
    +
    + + + diff --git a/en/5_preview/index.php b/en/5_preview/index.php new file mode 100644 index 000000000..47546e195 --- /dev/null +++ b/en/5_preview/index.php @@ -0,0 +1,103 @@ + + + + + + <?php _g('Mageia 5')?> + + + + + + + + + + + +
    +

    Mageia 5

    + +
    +
    +
    +
    +
    +
    + +Mageia community. It can be installed in several ways, with the Live or Classical ISOs being the most popular methods.', array('../community'), 'p');?> + +

    + +these instructions to put the Live ISO on a CD, DVD or USB device. Then you can run Mageia 5 directly from there, and try Mageia using one of the graphical user interfaces such as GNOME or KDE.', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive.3F')), '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 documentation for this installer.', array('../doc/'), 'p'); + + _g('Mageia 5 includes several desktop managers including KDE, Gnome, XFCE, Mate, and Cinnamon.', null, 'p'); + + _g('There are lots of applications in the official repositories. You can have a look at the Mageia Application Database to get a complete list of packages inside Mageia.', array('http://mageia.madb.org'), 'p'); + + _g('What\'s new?', null, 'h2'); + + _g('There\'s plenty of new goodness in Mageia 5, too much to include here - see the release notes for an extensive exposé.',array($releasenotes), 'p'); + + _g('There is one feature worth mentioning here. It took a lot of effort and time but it was worth it. Mageia 5 supports UEFI, which means it’s now even easier to install it on recent hardware.', + array(_r('https://blog.mageia.org/en/2015/05/30/waiting-for-mageia-5-spotlight-on-uefi-support/')), 'p'); + + _g('To help users configure and use Mageia, and to provide some information about the community and the project, there\'s a program called MageiaWelcome. It starts automatically when a session opens for the first time in any of the graphical environments.',array(_r('https://wiki.mageia.org/en/Feature:MageiaWelcome')), 'p'); + ?> +
    +
    + +
    + +
    + + Mageia.org nonprofit organisation, which is governed by a body of recognized and elected contributors.',array('../about/'), 'p'); + + _g('Mageia 5 has been made by more than 100 people from all around the world.',array('//people.mageia.org/g/'), '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'); + + _g('We welcome new contributors to any of the many different teams that go to make up Mageia the Community, and we encourage you to join us.', array('../contribute'), 'p'); + ?> +
    + +
    +
    + + + diff --git a/en/5_preview/nav.php b/en/5_preview/nav.php new file mode 100644 index 000000000..37199fe1f --- /dev/null +++ b/en/5_preview/nav.php @@ -0,0 +1,29 @@ + 'Mageia 5', +// "/{$locale}/downloads/" => _r('Download'), + "./download_index.php" => _r('Download'), + $releasenotes => _r('Release notes'), + $errata => _r('Errata'), +// "//bugs.mageia.org/" => _r('Bugs Reports'), +); + +$sru = trim($_SERVER['REQUEST_URI']); + +$pnav = array(); +foreach ($nav as $k => $v) { + $pnav[] = sprintf('
  • %s
  • ', + $k, + $k == $sru ? ' class="sel"' : null, + $v); +} +$pnav = implode($pnav); + +echo <<{$pnav} +S; -- cgit v1.2.1