From 5ffa48ca363558568c1b6d70d2dbb2919774d5c1 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 2 Jul 2019 16:04:49 +0200 Subject: Adding or refreshing draklive in zh_cn --- .../028d06b2-f2ea-496b-8da8-d6f4b586b2be.png | Bin 0 -> 6473 bytes .../0e764117-78a9-45d8-a6bd-941bea5d14de.png | Bin 0 -> 1184 bytes .../1c641623-dfe4-486b-b75d-35197e81d725.png | Bin 0 -> 1184 bytes .../27cbf278-5395-4e63-b457-9dfc241e5913.png | Bin 0 -> 6473 bytes .../36df7c3e-0109-43f4-8b4d-82a266cf0ac4.png | Bin 0 -> 6473 bytes .../39666c32-a4ee-41a7-8569-a7929b5d03aa.png | Bin 0 -> 6473 bytes .../3d317a27-9813-412c-98ed-c0c4550e1738.png | Bin 0 -> 1184 bytes .../4774966e-1b08-4542-8fd8-80b0d03dc35a.png | Bin 0 -> 6473 bytes .../4a53ab5d-7a00-44a9-a5a4-7ec2f0991ac6.png | Bin 0 -> 6473 bytes .../5cdf9b43-a2a1-468c-bad2-638480ed5a96.png | Bin 0 -> 1184 bytes .../5e0ab5c0-0223-43b0-a60f-56ae41158567.png | Bin 0 -> 1184 bytes .../60fcfe01-5257-40af-a6b7-bd11f690dbf7.png | Bin 0 -> 1184 bytes .../63505f50-9e68-4993-9a5b-92665331fd4b.png | Bin 0 -> 6473 bytes .../6eebd907-1de0-47d4-9de2-d465ceed7e69.png | Bin 0 -> 1184 bytes .../70fb9fd0-ff10-4c2f-a3cf-f28cc7eab9db.png | Bin 0 -> 1184 bytes .../89dbfe72-cff3-420f-b6ce-980b1909a9c5.png | Bin 0 -> 1184 bytes .../8a065e31-14cd-45bf-be24-7e30069dbc66.png | Bin 0 -> 1184 bytes .../91683d82-cabb-43cb-ae97-1a55ced06d5d.png | Bin 0 -> 6473 bytes .../91a9874e-a751-4a7d-a913-33683f6d2284.png | Bin 0 -> 1184 bytes .../98e98e22-d34f-488b-a08a-3e410a30794f.png | Bin 0 -> 1184 bytes .../995c0540-2619-4f78-8283-7d4bdf68c0bb.png | Bin 0 -> 6473 bytes draklive/7/zh_cn/content/Select-and-use-ISOs.html | 117 +++++ draklive/7/zh_cn/content/acceptLicense.html | 40 ++ draklive/7/zh_cn/content/addUser.html | 50 ++ draklive/7/zh_cn/content/ar01s02.html | 57 +++ .../b8f8d78c-a1ec-463f-a21d-1e6647027669.png | Bin 0 -> 6473 bytes .../bc0c3664-069f-455f-bd52-5b1c7cef2b14.png | Bin 0 -> 1184 bytes draklive/7/zh_cn/content/bestTime.html | 36 ++ draklive/7/zh_cn/content/configureTimezoneUTC.html | 36 ++ .../d368468f-f33a-4996-938c-daa9449b649b.png | Bin 0 -> 6473 bytes .../d5951f0f-e44e-43e4-acb5-39bf6305c620.png | Bin 0 -> 1184 bytes .../dbdc504a-bfbe-4ee5-a813-7e6e825352d8.png | Bin 0 -> 6473 bytes .../df8f0e4c-1275-42f1-a7df-692eccbb358d.png | Bin 0 -> 6473 bytes draklive/7/zh_cn/content/diskPartitioning.html | 108 +++++ draklive/7/zh_cn/content/draft.png | Bin 0 -> 16150 bytes .../ea4d24bb-ab67-4cf9-901f-6e1c94dc79ad.png | Bin 0 -> 6473 bytes .../f65282a3-4475-45d9-83cd-d86abd7d9570.png | Bin 0 -> 1184 bytes .../fc2378e4-f697-4584-8b3f-c99fddabc553.png | Bin 0 -> 6473 bytes draklive/7/zh_cn/content/images/Fdisk.png | Bin 0 -> 22864 bytes draklive/7/zh_cn/content/images/Md5sum.png | Bin 0 -> 4219 bytes draklive/7/zh_cn/content/images/Root.png | Bin 0 -> 2673 bytes draklive/7/zh_cn/content/images/live-bootCSM.png | Bin 0 -> 40100 bytes draklive/7/zh_cn/content/images/live-bootUEFI.png | Bin 0 -> 41023 bytes draklive/7/zh_cn/content/index.html | 35 ++ draklive/7/zh_cn/content/login.html | 38 ++ draklive/7/zh_cn/content/main.js | 179 +++++++ draklive/7/zh_cn/content/nwSearchFnt.js | 524 +++++++++++++++++++++ draklive/7/zh_cn/content/reboot.html | 38 ++ draklive/7/zh_cn/content/search/default.props | 1 + draklive/7/zh_cn/content/search/en-us.props | 45 ++ draklive/7/zh_cn/content/search/es-es.props | 179 +++++++ .../7/zh_cn/content/search/htmlFileInfoList.js | 15 + draklive/7/zh_cn/content/search/htmlFileList.js | 16 + draklive/7/zh_cn/content/search/index-1.js | 303 ++++++++++++ draklive/7/zh_cn/content/search/index-2.js | 302 ++++++++++++ draklive/7/zh_cn/content/search/index-3.js | 299 ++++++++++++ draklive/7/zh_cn/content/search/ja-jp.props | 1 + draklive/7/zh_cn/content/search/nwSearchFnt.js | 513 ++++++++++++++++++++ draklive/7/zh_cn/content/search/punctuation.props | 31 ++ .../7/zh_cn/content/search/stemmers/de_stemmer.js | 247 ++++++++++ .../7/zh_cn/content/search/stemmers/en_stemmer.js | 187 ++++++++ .../7/zh_cn/content/search/stemmers/fr_stemmer.js | 299 ++++++++++++ draklive/7/zh_cn/content/selectKeyboardLive.html | 35 ++ draklive/7/zh_cn/content/selectLanguage.html | 40 ++ draklive/7/zh_cn/content/setupBootloader.html | 73 +++ draklive/7/zh_cn/content/testing.html | 40 ++ draklive/7/zh_cn/content/uninstall-Mageia.html | 48 ++ draklive/7/zh_cn/content/webhelp-custom.css | 229 +++++++++ draklive/7/zh_cn/content/webhelp-default.css | 92 ++++ draklive/7/zh_cn/index.html | 15 + 70 files changed, 4268 insertions(+) create mode 100644 draklive/7/zh_cn/content/028d06b2-f2ea-496b-8da8-d6f4b586b2be.png create mode 100644 draklive/7/zh_cn/content/0e764117-78a9-45d8-a6bd-941bea5d14de.png create mode 100644 draklive/7/zh_cn/content/1c641623-dfe4-486b-b75d-35197e81d725.png create mode 100644 draklive/7/zh_cn/content/27cbf278-5395-4e63-b457-9dfc241e5913.png create mode 100644 draklive/7/zh_cn/content/36df7c3e-0109-43f4-8b4d-82a266cf0ac4.png create mode 100644 draklive/7/zh_cn/content/39666c32-a4ee-41a7-8569-a7929b5d03aa.png create mode 100644 draklive/7/zh_cn/content/3d317a27-9813-412c-98ed-c0c4550e1738.png create mode 100644 draklive/7/zh_cn/content/4774966e-1b08-4542-8fd8-80b0d03dc35a.png create mode 100644 draklive/7/zh_cn/content/4a53ab5d-7a00-44a9-a5a4-7ec2f0991ac6.png create mode 100644 draklive/7/zh_cn/content/5cdf9b43-a2a1-468c-bad2-638480ed5a96.png create mode 100644 draklive/7/zh_cn/content/5e0ab5c0-0223-43b0-a60f-56ae41158567.png create mode 100644 draklive/7/zh_cn/content/60fcfe01-5257-40af-a6b7-bd11f690dbf7.png create mode 100644 draklive/7/zh_cn/content/63505f50-9e68-4993-9a5b-92665331fd4b.png create mode 100644 draklive/7/zh_cn/content/6eebd907-1de0-47d4-9de2-d465ceed7e69.png create mode 100644 draklive/7/zh_cn/content/70fb9fd0-ff10-4c2f-a3cf-f28cc7eab9db.png create mode 100644 draklive/7/zh_cn/content/89dbfe72-cff3-420f-b6ce-980b1909a9c5.png create mode 100644 draklive/7/zh_cn/content/8a065e31-14cd-45bf-be24-7e30069dbc66.png create mode 100644 draklive/7/zh_cn/content/91683d82-cabb-43cb-ae97-1a55ced06d5d.png create mode 100644 draklive/7/zh_cn/content/91a9874e-a751-4a7d-a913-33683f6d2284.png create mode 100644 draklive/7/zh_cn/content/98e98e22-d34f-488b-a08a-3e410a30794f.png create mode 100644 draklive/7/zh_cn/content/995c0540-2619-4f78-8283-7d4bdf68c0bb.png create mode 100644 draklive/7/zh_cn/content/Select-and-use-ISOs.html create mode 100644 draklive/7/zh_cn/content/acceptLicense.html create mode 100644 draklive/7/zh_cn/content/addUser.html create mode 100644 draklive/7/zh_cn/content/ar01s02.html create mode 100644 draklive/7/zh_cn/content/b8f8d78c-a1ec-463f-a21d-1e6647027669.png create mode 100644 draklive/7/zh_cn/content/bc0c3664-069f-455f-bd52-5b1c7cef2b14.png create mode 100644 draklive/7/zh_cn/content/bestTime.html create mode 100644 draklive/7/zh_cn/content/configureTimezoneUTC.html create mode 100644 draklive/7/zh_cn/content/d368468f-f33a-4996-938c-daa9449b649b.png create mode 100644 draklive/7/zh_cn/content/d5951f0f-e44e-43e4-acb5-39bf6305c620.png create mode 100644 draklive/7/zh_cn/content/dbdc504a-bfbe-4ee5-a813-7e6e825352d8.png create mode 100644 draklive/7/zh_cn/content/df8f0e4c-1275-42f1-a7df-692eccbb358d.png create mode 100644 draklive/7/zh_cn/content/diskPartitioning.html create mode 100644 draklive/7/zh_cn/content/draft.png create mode 100644 draklive/7/zh_cn/content/ea4d24bb-ab67-4cf9-901f-6e1c94dc79ad.png create mode 100644 draklive/7/zh_cn/content/f65282a3-4475-45d9-83cd-d86abd7d9570.png create mode 100644 draklive/7/zh_cn/content/fc2378e4-f697-4584-8b3f-c99fddabc553.png create mode 100644 draklive/7/zh_cn/content/images/Fdisk.png create mode 100644 draklive/7/zh_cn/content/images/Md5sum.png create mode 100644 draklive/7/zh_cn/content/images/Root.png create mode 100644 draklive/7/zh_cn/content/images/live-bootCSM.png create mode 100644 draklive/7/zh_cn/content/images/live-bootUEFI.png create mode 100644 draklive/7/zh_cn/content/index.html create mode 100644 draklive/7/zh_cn/content/login.html create mode 100644 draklive/7/zh_cn/content/main.js create mode 100644 draklive/7/zh_cn/content/nwSearchFnt.js create mode 100644 draklive/7/zh_cn/content/reboot.html create mode 100644 draklive/7/zh_cn/content/search/default.props create mode 100644 draklive/7/zh_cn/content/search/en-us.props create mode 100644 draklive/7/zh_cn/content/search/es-es.props create mode 100644 draklive/7/zh_cn/content/search/htmlFileInfoList.js create mode 100644 draklive/7/zh_cn/content/search/htmlFileList.js create mode 100644 draklive/7/zh_cn/content/search/index-1.js create mode 100644 draklive/7/zh_cn/content/search/index-2.js create mode 100644 draklive/7/zh_cn/content/search/index-3.js create mode 100644 draklive/7/zh_cn/content/search/ja-jp.props create mode 100644 draklive/7/zh_cn/content/search/nwSearchFnt.js create mode 100644 draklive/7/zh_cn/content/search/punctuation.props create mode 100644 draklive/7/zh_cn/content/search/stemmers/de_stemmer.js create mode 100644 draklive/7/zh_cn/content/search/stemmers/en_stemmer.js create mode 100644 draklive/7/zh_cn/content/search/stemmers/fr_stemmer.js create mode 100644 draklive/7/zh_cn/content/selectKeyboardLive.html create mode 100644 draklive/7/zh_cn/content/selectLanguage.html create mode 100644 draklive/7/zh_cn/content/setupBootloader.html create mode 100644 draklive/7/zh_cn/content/testing.html create mode 100644 draklive/7/zh_cn/content/uninstall-Mageia.html create mode 100644 draklive/7/zh_cn/content/webhelp-custom.css create mode 100644 draklive/7/zh_cn/content/webhelp-default.css create mode 100644 draklive/7/zh_cn/index.html (limited to 'draklive/7/zh_cn') diff --git a/draklive/7/zh_cn/content/028d06b2-f2ea-496b-8da8-d6f4b586b2be.png b/draklive/7/zh_cn/content/028d06b2-f2ea-496b-8da8-d6f4b586b2be.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/028d06b2-f2ea-496b-8da8-d6f4b586b2be.png differ diff --git a/draklive/7/zh_cn/content/0e764117-78a9-45d8-a6bd-941bea5d14de.png b/draklive/7/zh_cn/content/0e764117-78a9-45d8-a6bd-941bea5d14de.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/0e764117-78a9-45d8-a6bd-941bea5d14de.png differ diff --git a/draklive/7/zh_cn/content/1c641623-dfe4-486b-b75d-35197e81d725.png b/draklive/7/zh_cn/content/1c641623-dfe4-486b-b75d-35197e81d725.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/1c641623-dfe4-486b-b75d-35197e81d725.png differ diff --git a/draklive/7/zh_cn/content/27cbf278-5395-4e63-b457-9dfc241e5913.png b/draklive/7/zh_cn/content/27cbf278-5395-4e63-b457-9dfc241e5913.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/27cbf278-5395-4e63-b457-9dfc241e5913.png differ diff --git a/draklive/7/zh_cn/content/36df7c3e-0109-43f4-8b4d-82a266cf0ac4.png b/draklive/7/zh_cn/content/36df7c3e-0109-43f4-8b4d-82a266cf0ac4.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/36df7c3e-0109-43f4-8b4d-82a266cf0ac4.png differ diff --git a/draklive/7/zh_cn/content/39666c32-a4ee-41a7-8569-a7929b5d03aa.png b/draklive/7/zh_cn/content/39666c32-a4ee-41a7-8569-a7929b5d03aa.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/39666c32-a4ee-41a7-8569-a7929b5d03aa.png differ diff --git a/draklive/7/zh_cn/content/3d317a27-9813-412c-98ed-c0c4550e1738.png b/draklive/7/zh_cn/content/3d317a27-9813-412c-98ed-c0c4550e1738.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/3d317a27-9813-412c-98ed-c0c4550e1738.png differ diff --git a/draklive/7/zh_cn/content/4774966e-1b08-4542-8fd8-80b0d03dc35a.png b/draklive/7/zh_cn/content/4774966e-1b08-4542-8fd8-80b0d03dc35a.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/4774966e-1b08-4542-8fd8-80b0d03dc35a.png differ diff --git a/draklive/7/zh_cn/content/4a53ab5d-7a00-44a9-a5a4-7ec2f0991ac6.png b/draklive/7/zh_cn/content/4a53ab5d-7a00-44a9-a5a4-7ec2f0991ac6.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/4a53ab5d-7a00-44a9-a5a4-7ec2f0991ac6.png differ diff --git a/draklive/7/zh_cn/content/5cdf9b43-a2a1-468c-bad2-638480ed5a96.png b/draklive/7/zh_cn/content/5cdf9b43-a2a1-468c-bad2-638480ed5a96.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/5cdf9b43-a2a1-468c-bad2-638480ed5a96.png differ diff --git a/draklive/7/zh_cn/content/5e0ab5c0-0223-43b0-a60f-56ae41158567.png b/draklive/7/zh_cn/content/5e0ab5c0-0223-43b0-a60f-56ae41158567.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/5e0ab5c0-0223-43b0-a60f-56ae41158567.png differ diff --git a/draklive/7/zh_cn/content/60fcfe01-5257-40af-a6b7-bd11f690dbf7.png b/draklive/7/zh_cn/content/60fcfe01-5257-40af-a6b7-bd11f690dbf7.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/60fcfe01-5257-40af-a6b7-bd11f690dbf7.png differ diff --git a/draklive/7/zh_cn/content/63505f50-9e68-4993-9a5b-92665331fd4b.png b/draklive/7/zh_cn/content/63505f50-9e68-4993-9a5b-92665331fd4b.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/63505f50-9e68-4993-9a5b-92665331fd4b.png differ diff --git a/draklive/7/zh_cn/content/6eebd907-1de0-47d4-9de2-d465ceed7e69.png b/draklive/7/zh_cn/content/6eebd907-1de0-47d4-9de2-d465ceed7e69.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/6eebd907-1de0-47d4-9de2-d465ceed7e69.png differ diff --git a/draklive/7/zh_cn/content/70fb9fd0-ff10-4c2f-a3cf-f28cc7eab9db.png b/draklive/7/zh_cn/content/70fb9fd0-ff10-4c2f-a3cf-f28cc7eab9db.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/70fb9fd0-ff10-4c2f-a3cf-f28cc7eab9db.png differ diff --git a/draklive/7/zh_cn/content/89dbfe72-cff3-420f-b6ce-980b1909a9c5.png b/draklive/7/zh_cn/content/89dbfe72-cff3-420f-b6ce-980b1909a9c5.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/89dbfe72-cff3-420f-b6ce-980b1909a9c5.png differ diff --git a/draklive/7/zh_cn/content/8a065e31-14cd-45bf-be24-7e30069dbc66.png b/draklive/7/zh_cn/content/8a065e31-14cd-45bf-be24-7e30069dbc66.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/8a065e31-14cd-45bf-be24-7e30069dbc66.png differ diff --git a/draklive/7/zh_cn/content/91683d82-cabb-43cb-ae97-1a55ced06d5d.png b/draklive/7/zh_cn/content/91683d82-cabb-43cb-ae97-1a55ced06d5d.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/91683d82-cabb-43cb-ae97-1a55ced06d5d.png differ diff --git a/draklive/7/zh_cn/content/91a9874e-a751-4a7d-a913-33683f6d2284.png b/draklive/7/zh_cn/content/91a9874e-a751-4a7d-a913-33683f6d2284.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/91a9874e-a751-4a7d-a913-33683f6d2284.png differ diff --git a/draklive/7/zh_cn/content/98e98e22-d34f-488b-a08a-3e410a30794f.png b/draklive/7/zh_cn/content/98e98e22-d34f-488b-a08a-3e410a30794f.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/98e98e22-d34f-488b-a08a-3e410a30794f.png differ diff --git a/draklive/7/zh_cn/content/995c0540-2619-4f78-8283-7d4bdf68c0bb.png b/draklive/7/zh_cn/content/995c0540-2619-4f78-8283-7d4bdf68c0bb.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/995c0540-2619-4f78-8283-7d4bdf68c0bb.png differ diff --git a/draklive/7/zh_cn/content/Select-and-use-ISOs.html b/draklive/7/zh_cn/content/Select-and-use-ISOs.html new file mode 100644 index 00000000..38d1448a --- /dev/null +++ b/draklive/7/zh_cn/content/Select-and-use-ISOs.html @@ -0,0 +1,117 @@ + + + + + 选择和使用 ISO

选择和使用 ISO

简介

Mageia is distributed via ISO images. This page will help you to choose +which image best suits your needs.

There are three types of installation media:

  • Classical installer: Booting with this +media provides you with the maximum flexibility when choosing what to +install, and for configuring your system. In particular, you have a choice +of which Desktop environment to install.

  • LIVE media: This option allows you to try +out Mageia without having to actually install it, or make any changes to +your computer. However, the Live media also includes an Installer, which can +be started when booting the media, or after booting into the Live operating +system itself.

    注意

    The Live Installer is simpler compared to the Classical Installer - but you +have fewer configuration options.

    重要

    Live ISOs can only be used to create clean installations, +they cannot be used to upgrade previously installed Mageia releases.

  • Net Install: These are minimal ISO's +containing no more than that which is needed to start the DrakX installer +and find DrakX-installer-stage2 and other packages that +are needed to continue and complete the install. These packages may be on +the PC hard disk, on a local drive, on a local network or on the Internet.

    These media are very light (less than 100 MB) and are convenient if +bandwidth is too low to download a full DVD, or if you have a PC without a +DVD drive or is unable to boot from a USB stick.

More details are given in the next sections.

介质

定义

Here, a medium (plural: media) is an ISO image file that allows you to +install and/or update Mageia and, by extension, any physical medium (DVD, +USB stick, ...) the ISO file is copied to.

You can find Mageia ISO's here.

传统安装媒介

通用特性
  • These ISOs use the Classical installer called DrakX

  • They are used for performing clean installs or to upgrade a previously +installed version of Mageia

  • Different media for 32 and 64-bit architectures

  • Some tools are available in the Installer Welcome screen: +Rescue System, Memory Test, and Hardware +Detection Tool

  • Each DVD contains many available desktop environments and languages

  • You'll be given the choice during the installation to add non-free software

Live 媒介

通用特性
  • Can be used to preview the Mageia operating system without having to install +it

  • The Live media also includes an Installer.

  • Each ISO contains only one desktop environment (Plasma, GNOME or Xfce)

  • Different media for 32 and 64-bit architectures

  • They contain non-free software

Live DVD KDE
  • Plasma desktop environment only

  • All available languages are present

  • 64-bit architecture only

Live DVD GNOME
  • GNOME desktop environment only

  • All available languages are present

  • 64-bit architecture only

Live DVD Xfce
  • Xfce desktop environment only

  • All available languages are present

  • 32 or 64-bit architectures

Net install media

通用特性
  • Different media for 32 and 64-bit architectures

  • First steps are English language only

netinstall.iso
  • Contains only free software, for those who prefer to not use non-free +software

netinstall-nonfree.iso
  • Contains non-free software (mostly drivers, codecs...) for those who need it

下载和检查媒介

下载中

Once you have chosen your ISO file, you can download it using either http or +BitTorrent. In both cases, you are provided with some information, such as +the mirror in use and an option to switch to an alternative if the bandwidth +is too low.

If http is chosen you will also see some information regarding checksums.

md5sum, sha1sum and +sha512sum (the most secure) are tools to check the ISO +integrity. Copy one of the checksums (string of alphanumeric characters) for +use in the next section.

In the meantime, a window to download the actual ISO will open:

Click on Save File, then click OK.

检查下载文件的完整性

The checksums referred to earlier, are digital fingerprints generated by an +algorithm from the file to be downloaded. You may compare the checksum of +your downloaded ISO against that of the original source ISO. If the +checksums do not match, it means that the actual data on the ISO's do not +match, and if that is the case, then you should retry the download or +attempt a repair using BitTorrent.

To generate the checksum for your downloaded ISO, open a console, (no need +to be root), and:

  • To use the md5sum, type: md5sum +path/to/the/image/file.iso

  • To use the sha1sum, type: sha1sum +path/to/the/image/file.iso

  • To use the sha512sum, type: sha512sum +path/to/the/image/file.iso

Example:

then compare the result (you may have to wait for a while) with the ISO +checksum provided by Mageia.

刻录或转储 ISO

The verified ISO can now be burned to a CD/DVD or dumped to a +USB stick. This is not a standard copy operation, as a bootable medium will +actually be created.

将ISO文件刻录到CD或DVD

Whichever software you use, ensure that the option to burn an +image is used. Burn data or +files is NOT correct. See the the Mageia +wiki for more information.

写入 ISO 到 U 盘

All Mageia ISOs are hybrids, which means you can dump them to a USB stick +and then use that to boot and install the system.

警告

Dumping an image onto a flash device destroys any previous file-system on +the device and all existing data will be lost.

注意

Also, the only partition on the flash device will then just be the Mageia +ISO partition.

So, if an ISO of about 4GB is written to an 8GB USB stick, the stick will +then only show up as 4GB. This is because the remaining 4GB is no longer +formatted - hence not currently available for use. To recover the original +capacity, you must reformat and repartition the USB stick.

使用 Mageia 的图形化工具

您可以使用 IsoDumper +这样的图形化工具来操作。

使用 Windows 下的图形化工具

您可以尝试:

Using the Command line within a GNU/Linux system

警告

It is potentially *dangerous* to do this by hand. You risk overwriting +potentially valuable existing data if you specify the wrong target device.

  1. 打开一个终端

  2. Become a root (Administrator) user with the command +su - (don't forget the - )

  3. Plug in your USB stick - but do not mount it (this also means do not open +any application or file manager that could access or read it)

  4. Enter the command fdisk -l

  5. Find the device name for your USB stick (by its size), for example +/dev/sdb in the screenshot above, is an 8GB USB stick.

    Alternatively, you can find the device name with the command +dmesg. Towards the end of the following example, you can +see the device name starting with sd, and in this case, +sdd is the actual device. You can also see that its +size is 2GB:

    [72594.604531] usb 1-1: new high-speed USB device number 27 using xhci_hcd
    +[72594.770528] usb 1-1: New USB device found, idVendor=8564, idProduct=1000
    +[72594.770533] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    +[72594.770536] usb 1-1: Product: Mass Storage Device
    +[72594.770537] usb 1-1: Manufacturer: JetFlash
    +[72594.770539] usb 1-1: SerialNumber: 18MJTWLMPUCC3SSB
    +[72594.770713] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
    +[72594.770719] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
    +[72594.771122] usb-storage 1-1:1.0: USB Mass Storage device detected
    +[72594.772447] scsi host8: usb-storage 1-1:1.0
    +[72595.963238] scsi 8:0:0:0: Direct-Access     JetFlash Transcend 2GB    1100 PQ: 0 ANSI: 4
    +[72595.963626] sd 8:0:0:0: [sdd] 4194304 512-byte logical blocks: (2.14 GB/2.00 GiB)
    +[72595.964104] sd 8:0:0:0: [sdd] Write Protect is off
    +[72595.964108] sd 8:0:0:0: [sdd] Mode Sense: 43 00 00 00
    +[72595.965025] sd 8:0:0:0: [sdd] No Caching mode page found
    +[72595.965031] sd 8:0:0:0: [sdd] Assuming drive cache: write through
    +[72595.967251]  sdd: sdd1
    +[72595.969446] sd 8:0:0:0: [sdd] Attached SCSI removable disk
  6. Enter the command: dd if=path/to/the/ISO/file +of=/dev/sdX bs=1M

    Where X=your device name eg: +/dev/sdd

    Example: dd if=/home/user/Downloads/Mageia-6-x86_64-DVD.iso +of=/dev/sdd bs=1M

    提示

    It might be helpful to know that if stands +for input file and of stands +for output file

  7. Enter the command: sync

  8. This is the end of the process, and you may now unplug your USB stick.


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/acceptLicense.html b/draklive/7/zh_cn/content/acceptLicense.html new file mode 100644 index 00000000..64a08ecc --- /dev/null +++ b/draklive/7/zh_cn/content/acceptLicense.html @@ -0,0 +1,40 @@ + + + + + 许可证和发行说明

许可证和发行说明

许可协议

  • Before installing Mageia, please read the license terms and conditions +carefully.

  • These terms and conditions apply to the entire Mageia distribution and must +be accepted before you can continue.

  • To proceed, simply select Accept and then click on +Next

If you decide not to accept these conditions, then we thank you for your +interest in Mageia. Clicking Quit will reboot your +computer.

发行说明

Important information about this particular Mageia release can be viewed by +clicking on the Release Notes button.


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/addUser.html b/draklive/7/zh_cn/content/addUser.html new file mode 100644 index 00000000..1d4e22ea --- /dev/null +++ b/draklive/7/zh_cn/content/addUser.html @@ -0,0 +1,50 @@ + + + + + User Management

User Management

设置管理员(root 账户)密码:

It is advisable for all Mageia installations to set a +superuser (Administrator) password, usually called the +root password in Linux. As you type a password into the +top box a shield will change from red-to-yellow-to-green depending on the +strength of the password. A green shield shows you are using a strong +password. You need to repeat the same password in the box underneath, to +check that the first entry was not mistyped.

注意

All passwords are case-sensitive. It is best to use a mixture of letters +(upper and lower case), numbers and other characters in a password.

输入用户名

Add a User here. A regular user has fewer privileges than the +superuser (root), but enough to use the Internet, office +applications or play games and anything else the average user might use a +computer for.

  • Icon

    Click on this button if you want to change the user's icon

  • Real Name

    Insert the user's real name into this text box

  • Login Name

    Enter the user login name or let DrakX use a version of the user's real +name. The login name is case-sensitive.

  • Password

    Type in the user password. There is a shield at the end of the text box that +indicates the strength of the password. (See also 注意)

    Password (again): Retype the user +password. DrakX will check that you have not mistyped the password.

注意

Any users added while installing Mageia, will have a home directory that is +both read and write protected (umask=0027)

You can add any extra needed users in the Configuration - +Summary step during the install. Choose User +management.

也可以在安装完成后改变访问权限。


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/ar01s02.html b/draklive/7/zh_cn/content/ar01s02.html new file mode 100644 index 00000000..fbdbba32 --- /dev/null +++ b/draklive/7/zh_cn/content/ar01s02.html @@ -0,0 +1,57 @@ + + + + + 引导 Mageia Live 系统

引导 Mageia Live 系统

引导媒体

You can boot directly from a Live DVD or USB. Usually, you just need to plug +the USB device in or place the DVD in the drive and restart the computer.

If the computer does not automatically boot from the USB or DVD you may need +to reconfigure your BIOS Boot Disk priority. Alternatively, you might try +accessing the boot device menu to select a device from which the computer +will boot.

提示

To access the BIOS or boot menu when the computer is starting, you can try +pressing either F2, Del or +Esc for the BIOS, or Esc, +F8, F10 or F11 for the +boot device menu. These (fairly common) keys are just a selection of +possible options though.

注意

The actual screen that you will first see when booting from the Live media +will depend on whether your computer motherboard is of the Legacy (BIOS) or +UEFI type.

在 BIOS/CSM/Legacy 模式下

在 BIOS 模式下引导时的第一个画面

Menu

  • Boot Mageia

    This option will boot the Mageia Live system from the connected DVD/USB +media (expect a very slow system compared to an installed OS).

    Once the boot is done, you can proceed to the installation.

    • + use non-free video drivers (slower to +boot)

      Boot the Mageia Live system using non-free video drivers

  • Install Mageia

    This option will install Mageia to a hard disk.

    • + use non-free video drivers (slower to +boot)

      Install Mageia using non-free video drivers

  • Memory Test

    Test the installed RAM by performing multiple read and write +operations. Reboot to end the test.

  • F2 Language

    Press F2 to have the installer use a specific language +during the installation. Use the arrow keys to select the language then +press Enter.

在 UEFI 模式下

First screen while booting in UEFI mode

Menu

  • Boot Mageia

    This option will boot the Mageia Live system from the connected DVD/USB +media (expect a very slow system compared to an installed OS). Once the +boot is done, you can proceed to the installation

  • Install Mageia

    This option will install Mageia to a hard disk.

  • F2 Language

    Press F2 to have the installer use a specific language +during the installation. Use the arrow keys to select the language then +press Enter.

注意

If you booted from a USB stick, you will see the above menu options +duplicated, and in this case, you should choose from the menu pair that will +be suffixed with "USB".


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/b8f8d78c-a1ec-463f-a21d-1e6647027669.png b/draklive/7/zh_cn/content/b8f8d78c-a1ec-463f-a21d-1e6647027669.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/b8f8d78c-a1ec-463f-a21d-1e6647027669.png differ diff --git a/draklive/7/zh_cn/content/bc0c3664-069f-455f-bd52-5b1c7cef2b14.png b/draklive/7/zh_cn/content/bc0c3664-069f-455f-bd52-5b1c7cef2b14.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/bc0c3664-069f-455f-bd52-5b1c7cef2b14.png differ diff --git a/draklive/7/zh_cn/content/bestTime.html b/draklive/7/zh_cn/content/bestTime.html new file mode 100644 index 00000000..979d317a --- /dev/null +++ b/draklive/7/zh_cn/content/bestTime.html @@ -0,0 +1,36 @@ + + + + + Clock Settings

Clock Settings

Here, you can select whether your computer internal clock is set to local +time or UTC time.

In the Advanced tab, you can enable automatic time +synchronization and specify an NTP server.


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/configureTimezoneUTC.html b/draklive/7/zh_cn/content/configureTimezoneUTC.html new file mode 100644 index 00000000..89980250 --- /dev/null +++ b/draklive/7/zh_cn/content/configureTimezoneUTC.html @@ -0,0 +1,36 @@ + + + + + 配置时区

配置时区

  • Choose your timezone by choosing your country, or a city close to you in the +same timezone.

In the next screen you can choose to set your hardware clock to local time +or to GMT, also known as UTC.

注意

若您安装了多个操作系统,请确保硬件时钟均被设为本地时间,或均为 UTC/GMT。


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/d368468f-f33a-4996-938c-daa9449b649b.png b/draklive/7/zh_cn/content/d368468f-f33a-4996-938c-daa9449b649b.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/d368468f-f33a-4996-938c-daa9449b649b.png differ diff --git a/draklive/7/zh_cn/content/d5951f0f-e44e-43e4-acb5-39bf6305c620.png b/draklive/7/zh_cn/content/d5951f0f-e44e-43e4-acb5-39bf6305c620.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/d5951f0f-e44e-43e4-acb5-39bf6305c620.png differ diff --git a/draklive/7/zh_cn/content/dbdc504a-bfbe-4ee5-a813-7e6e825352d8.png b/draklive/7/zh_cn/content/dbdc504a-bfbe-4ee5-a813-7e6e825352d8.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/dbdc504a-bfbe-4ee5-a813-7e6e825352d8.png differ diff --git a/draklive/7/zh_cn/content/df8f0e4c-1275-42f1-a7df-692eccbb358d.png b/draklive/7/zh_cn/content/df8f0e4c-1275-42f1-a7df-692eccbb358d.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/df8f0e4c-1275-42f1-a7df-692eccbb358d.png differ diff --git a/draklive/7/zh_cn/content/diskPartitioning.html b/draklive/7/zh_cn/content/diskPartitioning.html new file mode 100644 index 00000000..60b17b1a --- /dev/null +++ b/draklive/7/zh_cn/content/diskPartitioning.html @@ -0,0 +1,108 @@ + + + + + Partitioning

Partitioning

Suggested Partitioning

In this screen you can see the content of your hard drive(s) along with the +DrakX partitioning proposals for where to install Mageia.

The actual options available from those shown below will vary according to +the layout and content of your particular hard drive(s).

Main Options

  • Use Existing Partitions

    若此选项可用,表面安装程序找到了现存的 Linux 分区,并且可以将其用于 Mageia 的安装。

  • Use Free Space

    若硬盘上有未使用的区域,此选项将会把 Mageia 安装到该区域中。

  • Use Free Space on a Windows Partition

    If you have unused space on an existing Windows partition, the installer may +offer to use it. This can be a useful way of making room for your new Mageia +installation, but is a risky operation so you should make sure you have +backed up all important files!

    With this option, the installer displays the remaining Windows partition in +light blue and the proposed Mageia partition in dark blue with their +intended sizes just underneath. You have the option to modify these sizes by +clicking and dragging the gap between both partitions. See the following +screenshot:

  • Erase and use Entire Disk

    This option will allocate the entire drive for Mageia

    警告

    This will erase ALL data on the selected hard drive. Take care! If you +intend to use part of the disk for something else, or you already have data +on the drive that you are not prepared to lose, then do not use this option.

    重要

    将会缩小 Windows 分区的大小。该分区必须为“clean”状态,即上一次使用 Windows +时必须正常地关机或重启。同时,该分区也应当进行碎片整理,即便不能将文件碎片完全移出待使用区域。我们推荐您对个人文件进行备份后再进行此操作。

  • Custom Disk Partitioning

    允许您完全控制系统在硬盘上的安装方式。

If you are not using the Custom disk partitioning +option, then the installer will allocate the available space according to +the following rules:

  • If the total available space is less than 50 GB, then only one partition is +created. This will be the / (root) partition.

  • If the total available space is greater than 50 GB, then three partitions +are created

    • 6/19 of the total available place is allocated to / +with a maximum of 50 GB

    • 1/19 is allocated to swap with a maximum of 4 GB

    • the rest (at least 12/19) is allocated to /home

This means that from 160 GB or greater available space, the installer will +create three partitions:

  • 50 GB for /

  • 4 GB for swap

  • and the remainder for /home

注意

If you are using a UEFI system, the ESP (EFI System Partition) will be +automatically detected - or created if it does not exist yet - and mounted +on /boot/EFI. The Custom disk +partitioning option is the only one that allows to check it has +been correctly done.

If you are using a Legacy (also known as BIOS) system with a GPT partitioned +disk, you need to create a BIOS boot partition if it doesn't already +exist. It should be about 1 MiB with no mount point. It can be created with +the Installer, under Custom disk partitioning, like any +other partition. Be sure to select BIOS boot partition for +filesystem type.

See DiskDrake for information on how to proceed.

重要

Some newer drives are now using 4096 byte logical sectors, instead of the +previous standard of 512. Due to lack of available hardware, the +partitioning tool used in the installer has not been tested with such a +drive.

Some SSD devices now use an erase block size over 1 MB. If you have such a +device we suggest that you partition the drive in advance, using an +alternative partitioning tool like gparted, and to use the following +settings:

  • Align to = MiB

  • Free space preceding (MiB) = 2

Also make sure all partitions are created using an even number of megabytes.

选择挂载点

Here you see the Linux partitions that have been found on your computer. If +you don't agree with the DrakX suggestions, you can change the mount points +yourself.

  • To the left of the drop-down menus is a list of available partitions. For +example: sda is a hard drive - and +5 is a partition number, followed +by the (capacity, mount point, filesystem type) of the +partition.

  • If you have several partitions, you can choose various different +mount points from the drop down menu, such as +/, /home and +/var. You can even make your own mount points, for +instance /video for a partition where you want to store +your films, or perhaps /Data for all your data files.

  • For any partitions that you don't need to make use of, you can leave the +mount point field blank.

警告

If you make any changes here, ensure you still have a / +(root) partition.

提示

If you are not sure what to choose, click Previous to +go back and then tick Custom disk partitioning, where +you can click on a partition to see its type and size.

If you are sure the mount points are correct, click on +Next, and choose whether you only want to format the +partition suggested by DrakX, or more.

确定要格式化的硬盘

  • Click on Previous if you are at all unsure about your +choice.

  • Click on Next to proceed if you are sure that it is OK +to erase every partition, every operating system and all +data that might be on that hard disk.

Custom Disk Partitioning with DiskDrake

  • Modify the layout of your disk(s) here. You can remove or create partitions, +change the filesystem or size of a partition and even view their details +before you start.

  • There is a tab at the top for every detected hard disk (or other storage +device, like a USB key). In the screenshot above there are two available +devices: sda and sdb.

  • For all other actions: click on the desired partition first. Then view it, +or choose a filesystem and a mount point, resize it or wipe +it. Expert mode provides more options such as to label +(name) a partition, or to choose a partition type.

  • Continue until you have adjusted everything to your satisfaction, then click +Done when you're ready.

警告

  1. Take care with the Clear all option, use it only if you +are sure you want to wipe all partitions on the selected storage device.

  2. If you wish to use encryption on your / partition you +must ensure that you have a separate /boot +partition. The encryption option for the /boot +partition must NOT be set, otherwise your system will be unbootable.

重要

  • If you are installing Mageia on a UEFI system, check that an ESP (EFI System +Partition) is present and correctly mounted on +/boot/EFI. See Figure 1 below.

  • If you are installing Mageia on a Legacy/GPT system, check that a BIOS boot +partition is present and of the correct type. See Figure 2 below.

图 1. EFI System Partition

EFI System Partition

图 2. BIOS boot partition

BIOS boot partition

格式化

Here you can choose which partition(s) you wish to format. Any data on +partitions not marked for formatting will be preserved.

Usually, at least the partitions that DrakX selected need to be formatted.

Click on Advanced to choose the partitions you want to +check for so-called bad blocks

提示

If you're not sure you have made the right choice, you can click on +Previous, again on Previous and +then on Custom to get back to the main screen, where +you can choose to view details of your partitions.

When you are confident about the selections, click on +Next to continue.


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/draft.png b/draklive/7/zh_cn/content/draft.png new file mode 100644 index 00000000..59673fe1 Binary files /dev/null and b/draklive/7/zh_cn/content/draft.png differ diff --git a/draklive/7/zh_cn/content/ea4d24bb-ab67-4cf9-901f-6e1c94dc79ad.png b/draklive/7/zh_cn/content/ea4d24bb-ab67-4cf9-901f-6e1c94dc79ad.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/ea4d24bb-ab67-4cf9-901f-6e1c94dc79ad.png differ diff --git a/draklive/7/zh_cn/content/f65282a3-4475-45d9-83cd-d86abd7d9570.png b/draklive/7/zh_cn/content/f65282a3-4475-45d9-83cd-d86abd7d9570.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/draklive/7/zh_cn/content/f65282a3-4475-45d9-83cd-d86abd7d9570.png differ diff --git a/draklive/7/zh_cn/content/fc2378e4-f697-4584-8b3f-c99fddabc553.png b/draklive/7/zh_cn/content/fc2378e4-f697-4584-8b3f-c99fddabc553.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/draklive/7/zh_cn/content/fc2378e4-f697-4584-8b3f-c99fddabc553.png differ diff --git a/draklive/7/zh_cn/content/images/Fdisk.png b/draklive/7/zh_cn/content/images/Fdisk.png new file mode 100644 index 00000000..dd85a476 Binary files /dev/null and b/draklive/7/zh_cn/content/images/Fdisk.png differ diff --git a/draklive/7/zh_cn/content/images/Md5sum.png b/draklive/7/zh_cn/content/images/Md5sum.png new file mode 100644 index 00000000..093e047f Binary files /dev/null and b/draklive/7/zh_cn/content/images/Md5sum.png differ diff --git a/draklive/7/zh_cn/content/images/Root.png b/draklive/7/zh_cn/content/images/Root.png new file mode 100644 index 00000000..4e42b5cb Binary files /dev/null and b/draklive/7/zh_cn/content/images/Root.png differ diff --git a/draklive/7/zh_cn/content/images/live-bootCSM.png b/draklive/7/zh_cn/content/images/live-bootCSM.png new file mode 100644 index 00000000..c10765af Binary files /dev/null and b/draklive/7/zh_cn/content/images/live-bootCSM.png differ diff --git a/draklive/7/zh_cn/content/images/live-bootUEFI.png b/draklive/7/zh_cn/content/images/live-bootUEFI.png new file mode 100644 index 00000000..69d85ee5 Binary files /dev/null and b/draklive/7/zh_cn/content/images/live-bootUEFI.png differ diff --git a/draklive/7/zh_cn/content/index.html b/draklive/7/zh_cn/content/index.html new file mode 100644 index 00000000..a06cdaff --- /dev/null +++ b/draklive/7/zh_cn/content/index.html @@ -0,0 +1,35 @@ + + + + + 从 LIVE 介质安装

此手册中的文本和屏幕截图以 CC BY-SA 3.0 协议(http://creativecommons.org/licenses/by-sa/3.0/)发布。

此手册由 NeoDoc 开发的 Calenco CMS 生成。

It was written by volunteers in their free time. Please contact the Documentation +Team, if you would like to help improve this manual.



Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/login.html b/draklive/7/zh_cn/content/login.html new file mode 100644 index 00000000..85fb4b18 --- /dev/null +++ b/draklive/7/zh_cn/content/login.html @@ -0,0 +1,38 @@ + + + + + Login Screen

Login Screen

SDDM login screen

Finally, you will come to the desktop login screen.

Enter your user name and user password, and in a few seconds you will find +yourself with a loaded KDE Plasma or GNOME desktop, depending on which live +medium you used. You can now start using and enjoying your Mageia +installation.

You can find further documentation in the +Mageia wiki.


Uploaded on 02/07/2019
diff --git a/draklive/7/zh_cn/content/main.js b/draklive/7/zh_cn/content/main.js new file mode 100644 index 00000000..011818d1 --- /dev/null +++ b/draklive/7/zh_cn/content/main.js @@ -0,0 +1,179 @@ +/** + * Miscellaneous js functions for WebHelp + * Kasun Gajasinghe, http://kasunbg.blogspot.com + * David Cramer, http://www.thingbag.net + * + */ + +$(document).ready(function() { + // $("#showHideHighlight").button(); //add jquery button styling to 'Go' button + //Generate tabs in nav-pane with JQuery + $(function() { + $("#tabs").tabs({ + cookie: { + // store cookie for 2 days. + expires: 2 + } + }); + }); + + //Generate the tree + $("#ulTreeDiv").css("display","block"); + $("#tree").treeview({ + collapsed: true, + animated: "medium", + control: "#sidetreecontrol", + persist: "cookie" + }); + + //after toc fully styled, display it. Until loading, a 'loading' image will be displayed + $("#tocLoading").css("display", "none"); + //$("#ulTreeDiv").attr("style","display:block;"); + + //.searchButton is the css class applied to 'Go' button + $(function() { + $("button", ".searchButton").button(); + + $("button", ".searchButton").click(function() {return false;}); + }); + + //'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab) + if ($.cookie('ui-tabs-1') === '1') { //search tab is visible + if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) { + document.getElementById('textToSearch').value = $.cookie('textToSearch'); + Verifie('diaSearch_Form'); + searchHighlight($.cookie('textToSearch')); + //$("#showHideHighlight").css("display","block"); + } + } + + syncToc(); //Synchronize the toc tree with the content pane, when loading the page. + //$("#doSearch").button(); //add jquery button styling to 'Go' button +}); + +/** + * Synchronize with the tableOfContents + */ +function syncToc(){ + var a = document.getElementById("webhelp-currentid"); + if (a != undefined) { + var b = a.getElementsByTagName("span")[0]; + + + if (b != undefined) { + //Setting the background for selected node. + //b.setAttribute("style", "color: white; background-color: #a7a9ac;"); + b.style.color = "#FFFFFF"; + b.style.backgroundColor = "#a7a9ac"; + } + + //shows the node related to current content. + //goes a recursive call from current node to ancestor nodes, displaying all of them. + while (a.parentNode && a.parentNode.nodeName) { + var parentNode = a.parentNode; + var nodeName = parentNode.nodeName; + + if (nodeName.toLowerCase() == "ul") { + parentNode.style.display = "block"; + + // Expand the current entry + var u = a.getElementsByTagName("ul")[0]; + if (u) { + u.style.display = "block"; + } + } else if (nodeName.toLocaleLowerCase() == "li") { + parentNode.setAttribute("class", "collapsable"); + parentNode.firstChild.setAttribute("class", "hitarea collapsable-hitarea "); + } + a = parentNode; + } + + if (b != undefined) { + b.scrollIntoView(); + } + } +} + +/** + * Code for Show/Hide TOC + * + */ +function showHideToc() { + var showHideButton = $("#showHideButton"); + var leftNavigation = $("#leftnavigation"); + var content = $("#content"); + + if (showHideButton != undefined && showHideButton.hasClass("pointLeft")) { + //Hide TOC + showHideButton.removeClass('pointLeft').addClass('pointRight'); + content.css("margin", "0 0 0 0"); + leftNavigation.css("display","none"); + showHideButton.attr("title", "Show table of contents"); + } else { + //Show the TOC + showHideButton.removeClass('pointRight').addClass('pointLeft'); + content.css("margin", "0 0 0 315px"); + leftNavigation.css("display","block"); + showHideButton.attr("title", "Hide table of contents"); + } +} + +/** + * Code for searh highlighting + */ +var highlightOn = true; +function searchHighlight(searchText) { + highlightOn = true; + if (searchText != undefined) { + var wList; + var sList = new Array(); //stem list + //Highlight the search terms + searchText = searchText.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, " -1) { + + alert(txt_browser_not_supported); + return; + } + + + var expressionInput = document.ditaSearch_Form.textToSearch.value; + //Set a cookie to store the searched keywords + $.cookie('textToSearch', expressionInput); + + + if (expressionInput.length < 1) { + + // expression is invalid + alert(txt_enter_at_least_1_char); + // reactive la fenetre de search (utile car cadres) + document.ditaSearch_Form.textToSearch.focus(); + } + else { + + // Effectuer la recherche + Effectuer_recherche(expressionInput); + + // reactive la fenetre de search (utile car cadres) + document.ditaSearch_Form.textToSearch.focus(); + } +} + +var stemQueryMap = new Array(); // A hashtable which maps stems to query words + +/* This function parses the search expression, loads the indices and displays the results*/ +function Effectuer_recherche(expressionInput) { + + /* Display a waiting message */ + //DisplayWaitingMessage(); + + /*data initialisation*/ + var searchFor = ""; // expression en lowercase et sans les caracte res speciaux + //w = new Object(); // hashtable, key=word, value = list of the index of the html files + scriptLetterTab = new Scriptfirstchar(); // Array containing the first letter of each word to look for + var wordsList = new Array(); // Array with the words to look for + var finalWordsList = new Array(); // Array with the words to look for after removing spaces + var linkTab = new Array(); + var fileAndWordList = new Array(); + var txt_wordsnotfound = ""; + + + /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/ + searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "= 0; i--) { + if (fileAndWordList[i] != undefined) { + linkTab.push("

" + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "

"); + + linkTab.push(""); + } + } + } + + var results = ""; + if (linkTab.length > 0) { + /*writeln ("

" + txt_results_for + " " + "" + cleanwordsList + "" + "
"+"

");*/ + results = "

"; + //write("