From 1afb6f96ab70c572cbdeff50bc28bfa0ff8892c7 Mon Sep 17 00:00:00 2001 From: Oliver Burger Date: Tue, 31 May 2011 19:54:29 +0000 Subject: internationalized migrate --- 1/migrate/index.php | 7 +++ 1/migrate/migrate.php | 117 +++++++++++++++++++++++++++++++++++++ 1/migrate/migrate_locales.php | 62 ++++++++++++++++++++ en/1/migrate/index.php | 131 +----------------------------------------- 4 files changed, 187 insertions(+), 130 deletions(-) create mode 100644 1/migrate/index.php create mode 100644 1/migrate/migrate.php create mode 100644 1/migrate/migrate_locales.php diff --git a/1/migrate/index.php b/1/migrate/index.php new file mode 100644 index 000000000..e91a55f26 --- /dev/null +++ b/1/migrate/index.php @@ -0,0 +1,7 @@ + 'English' +); +relocate($langs, '1/migrate/'); diff --git a/1/migrate/migrate.php b/1/migrate/migrate.php new file mode 100644 index 000000000..e034cf953 --- /dev/null +++ b/1/migrate/migrate.php @@ -0,0 +1,117 @@ + + + + + + + <?php echo $_t['page_title']; ?> + + + + + + + + + +
+ +
+
+ +
+

+
    + '.$anItem.''; + } ?> +
+

+
    +
  • +
  • +
+
+

+

+

+
    + '.$anItem.''; + } ?> +
+

+
+

+

+

+ +

mgaonline
+ mgaonline
+

+ +
+

+ +

+
+

+

+ mgaonline pop-up + +

+ mgaonline pop-up + +

+ +
+

+

+
    +
  • +

    $ su
    + # urpmi.removemedia -a

  • +
  • +
      +
    • +

      $ su
      + # urpmi.addmedia --distrib --mirrorlist

      +
    • +
    • +

      $ su
      + # urpmi.addmedia --distrib <media_url>

      +
    • +
    +
  • +
+
+

+
+
+
+
+

+

+ +
+
+

+

+
+
+
+
+ + diff --git a/1/migrate/migrate_locales.php b/1/migrate/migrate_locales.php new file mode 100644 index 000000000..29d08d3a8 --- /dev/null +++ b/1/migrate/migrate_locales.php @@ -0,0 +1,62 @@ + array( + 'page_title' => 'Migrate from Mandriva Linux to Mageia', + 'page_desc' => 'How to migrate from Mandriva Linux 2010.1/2010.2 to Mageia 1 in a few, safe steps.', + 'page_kw' => 'mageia, mandriva, upgrade, migrate', + 'page_h1' => 'Migrate from Mandriva Linux', + 'upgrading_general' => 'Upgrading from Mandriva Linux 2010.1 and 2010.2 is supported, and has been fine tuned over the past + months, so it should work. But as always and before:', + 'upgrading_general_array' => array('back up your data before upgrading;', + 'if you are upgrading a laptop, connect to power! + You might be updating over 2000 packages, and this can take some time;', + 'do not start up any net-intensive applications during the upgrade + – you need to reserve bandwidth for the upgrade.'), + 'upgrading_ways' => 'There are several ways to upgrade from one of those previous Mandriva releases:', + 'upgrading_ways_dvd' => 'using the Mageia 1 DVD', + 'upgrading_ways_inline' => 'using the online media sources directly, + using mgaonline or urpmi.', + 'h2_dvd' => 'Upgrade using the Mageia 1 DVD', + 'dvd_clean_install' => 'You can use the Mageia 1 DVD to do a clean install + but also to upgrade from previous releases.', + 'to_upgrade' => 'To upgrade:', + 'to_upgrade_array' => array('Download the ISO and burn it on a DVD;', + 'Boot the DVD and select "Install Mageia 1" from the bootloader menu;', + 'Select the "Upgrade" option in the installer.'), + 'recommended' => 'It is recommended to set up the online repositories, if possible + – the installer will ask you about this during the upgrade. + The reason is that the DVD only includes a subset + of these full fledged online Mageia repositories.', + 'h2_inline' => 'Upgrading inline', + 'inline_1' => 'You can upgrade using the online media sources directly, from within your Mandriva installation.', + 'inline_2' => 'This can be done either using the graphical mgaonline tool + or the command-line urpmi. + Both methods are outlined below. But first, download and install + this mgaonline package that will help you through the process:', + 'mgaonline_image_title' => 'for Mandriva Linux 2010.1 or 2010.2', + 'inline_3' => 'Note that you may get a security warning, due to invalid package signatures. + This is because a Mandriva system does not recognise Mageia signatures; + you can safely ignore these warnings. + Yes, that sucks, we know.', + 'a_or_b' => 'So, it installed the package? Good, let\'s move on and pick a) or b) below:', + 'h2_a' => 'a) Upgrading inline, using mgaonline (GUI)', + 'popup_window_1' => 'a) Upgrading inline, using mgaonline (GUI)', + 'popup_window_2' => 'Just follow the wizard instructions; it will configure Mageia media sources and start the migration.', + 'as_soon_complete' => 'As soon as the migration is complete, you should restart your system; and here you are.', + 'h2_b' => 'b) Upgrading inline, using urpmi (CLI)', + 'cli_1' => 'You can also upgrade using urpmi from your favourite terminal emulator, + if you are confortable with it. Here are the steps:', + 'cli_2' => 'Remove all the existing media sources on your system:', + 'cli_3' => 'Add the Mageia online sources:', + 'cli_4' => 'either directly (this will select a best matching mirror, after your location):', + 'cli_5' => 'either using a specific media mirror (you can decide from our mirrors list):', + 'h2_thats_it' => 'That\'s it!', + 'h3_question' => 'Have a question?', + 'join_and_ask' => 'Do not hesitate to join our #mageia + IRC channel on Freenode or go in our forum + to ask for assistance or details.', + 'h3_feedback' => 'Want to send some feedback?', + 'tweet_it' => 'Just tweet it to @mageia_org.' + ) +); +?> \ No newline at end of file diff --git a/en/1/migrate/index.php b/en/1/migrate/index.php index d8eef0075..96776ab51 100644 --- a/en/1/migrate/index.php +++ b/en/1/migrate/index.php @@ -1,130 +1 @@ - 'Migrate from Mandriva Linux to Mageia', - 'page_desc' => 'How to migrate from Mandriva Linux 2010.1/2010.2 to Mageia 1 in a few, safe steps.', - 'page_kw' => 'mageia, mandriva, upgrade, migrate', - 'page_h1' => 'Migrate from Mandriva Linux' -); - - -?> - - - - <?php echo $_t['page_title']; ?> - - - - - - - - - -
- -
-
- -
-

Upgrading from Mandriva Linux 2010.1 and 2010.2 is supported, and has been fine tuned over the past - months, so it should work. But as always and before:

-
    -
  • back up your data before upgrading;
  • -
  • if you are upgrading a laptop, connect to power! - You might be updating over 2000 packages, and this can take some time;
  • -
  • do not start up any net-intensive applications during the upgrade - – you need to reserve bandwidth for the upgrade.
  • -
-

There are several ways to upgrade from one of those previous Mandriva releases:

- -
-

Upgrade using the Mageia 1 DVD

-

You can use the Mageia 1 DVD to do a clean install - but also to upgrade from previous releases.

-

To upgrade:

-
    -
  • Download the ISO and burn it on a DVD;
  • -
  • Boot the DVD and select "Install Mageia 1" from the bootloader menu;
  • -
  • Select the "Upgrade" option in the installer.
  • -
-

It is recommended to set up the online repositories, if possible - – the installer will ask you about this during the upgrade. - The reason is that the DVD only includes a subset - of these full fledged online Mageia repositories.

-
-

Upgrading inline

-

You can upgrade using the online media sources directly, from within your Mandriva installation.

-

This can be done either using the graphical mgaonline tool - or the command-line urpmi. - Both methods are outlined below. But first, download and install - this mgaonline package that will help you through the process:

- -

mgaonline
- mgaonline
- for Mandriva Linux
2010.1 or 2010.2

- -
-

Note that you may get a security warning, due to invalid package signatures. - This is because a Mandriva system does not recognise Mageia signatures; - you can safely ignore these warnings. - Yes, that sucks, we know.

- -

So, it installed the package? Good, let's move on and pick a) or b) below:

-
-

a) Upgrading inline, using mgaonline (GUI)

-

Just close your graphical session and log in again. - A pop-up window will notify you of the availability of the new Mageia 1 distribution:

- mgaonline pop-up - -

Just follow the wizard instructions; it will configure Mageia media sources and start the migration.

- mgaonline pop-up - -

As soon as the migration is complete, you should restart your system; and here you are.

- -
-

b) Upgrading inline, using urpmi (CLI)

-

You can also upgrade using urpmi from your favourite terminal emulator, - if you are confortable with it. Here are the steps:

-
    -
  • Remove all the existing media sources on your system:

    -

    $ su
    - # urpmi.removemedia -a

  • -
  • Add the Mageia online sources:

    -
      -
    • either directly (this will select a best matching mirror, after your location):

      -

      $ su
      - # urpmi.addmedia --distrib --mirrorlist

      -
    • -
    • either using a specific media mirror (you can decide from our mirrors list):

      -

      $ su
      - # urpmi.addmedia --distrib <media_url>

      -
    • -
    -
  • -
-
-

That's it!

-
-
-
-
-

Have a question?

-

Do not hesitate to join our #mageia - IRC channel on Freenode or go in our forum - to ask for assistance or details.

- -
-
-

Want to send some feedback?

-

Just tweet it to @mageia_org.

-
-
-
-
- - + -- cgit v1.2.1