diff options
Diffstat (limited to 'installer/6/zh_CN/content/search')
-rw-r--r-- | installer/6/zh_CN/content/search/default.props | 1 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/en-us.props | 45 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/es-es.props | 179 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/htmlFileInfoList.js | 35 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/htmlFileList.js | 36 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/index-1.js | 408 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/index-2.js | 407 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/index-3.js | 403 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/ja-jp.props | 1 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/nwSearchFnt.js | 513 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/punctuation.props | 31 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/stemmers/de_stemmer.js | 247 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/stemmers/en_stemmer.js | 187 | ||||
-rw-r--r-- | installer/6/zh_CN/content/search/stemmers/fr_stemmer.js | 299 |
14 files changed, 2792 insertions, 0 deletions
diff --git a/installer/6/zh_CN/content/search/default.props b/installer/6/zh_CN/content/search/default.props new file mode 100644 index 00000000..22edf439 --- /dev/null +++ b/installer/6/zh_CN/content/search/default.props @@ -0,0 +1 @@ +DEF01=a
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/en-us.props b/installer/6/zh_CN/content/search/en-us.props new file mode 100644 index 00000000..da284ce5 --- /dev/null +++ b/installer/6/zh_CN/content/search/en-us.props @@ -0,0 +1,45 @@ +DEF01=this
+DEF02=is
+DEF03=the
+DEF04=in
+DEF05=i
+DEF06=on
+DEF07=a
+DEF08=about
+DEF09=an
+DEF10=are
+DEF11=as
+DEF12=at
+DEF13=be
+DEF14=by
+DEF15=com
+DEF16=de
+DEF17=en
+DEF18=for
+DEF19=from
+DEF20=how
+DEF21=it
+DEF22=la
+DEF23=of
+DEF24=on
+DEF25=or
+DEF26=that
+DEF27=to
+DEF28=was
+DEF29=what
+DEF30=when
+DEF31=where
+DEF32=who
+DEF33=will
+DEF34=with
+DEF35=und
+DEF36=Next
+DEF37=Prev
+DEF38=Home
+DEF39=Motive
+DEF40=Inc
+DEF41=Copyright
+DEF42=All
+DEF43=rights
+DEF44=reserved
+DEF45=Up
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/es-es.props b/installer/6/zh_CN/content/search/es-es.props new file mode 100644 index 00000000..fb73bdcc --- /dev/null +++ b/installer/6/zh_CN/content/search/es-es.props @@ -0,0 +1,179 @@ +DEF01=un
+DEF02=una
+DEF03=unas
+DEF04=unos
+DEF05=uno
+DEF06=sobre
+DEF07=todo
+DEF08=tambin
+DEF09=tras
+DEF10=otro
+DEF11=algn
+DEF12=alguno
+DEF13=alguna
+DEF14=algunos
+DEF15=algunas
+DEF16=ser
+DEF17=es
+DEF18=soy
+DEF19=eres
+DEF20=somos
+DEF21=sois
+DEF22=estoy
+DEF23=esta
+DEF24=estamos
+DEF25=estais
+DEF26=estan
+DEF27=como
+DEF28=en
+DEF29=para
+DEF30=atras
+DEF31=porque
+DEF32=por
+DEF33=estado
+DEF34=estaba
+DEF35=ante
+DEF36=antes
+DEF37=siendo
+DEF38=ambos
+DEF39=pero
+DEF40=por
+DEF41=poder
+DEF42=puede
+DEF43=puedo
+DEF44=podemos
+DEF45=podeis
+DEF46=pueden
+DEF47=fui
+DEF48=fue
+DEF49=fuimos
+DEF50=fueron
+DEF51=hacer
+DEF52=hago
+DEF53=hace
+DEF54=hacemos
+DEF55=haceis
+DEF56=hacen
+DEF57=cada
+DEF58=fin
+DEF59=incluso
+DEF60=primero
+DEF61=desde
+DEF62=conseguir
+DEF63=consigo
+DEF64=consigue
+DEF65=consigues
+DEF66=conseguimos
+DEF67=consiguen
+DEF68=ir
+DEF69=voy
+DEF70=va
+DEF71=vamos
+DEF72=vais
+DEF73=van
+DEF74=vaya
+DEF75=gueno
+DEF76=ha
+DEF77=tener
+DEF78=tengo
+DEF79=tiene
+DEF80=tenemos
+DEF81=teneis
+DEF82=tienen
+DEF83=el
+DEF84=la
+DEF85=lo
+DEF86=las
+DEF87=los
+DEF88=su
+DEF89=aqui
+DEF90=mio
+DEF91=tuyo
+DEF92=ellos
+DEF93=ellas
+DEF94=nos
+DEF95=nosotros
+DEF96=vosotros
+DEF97=vosotras
+DEF98=si
+DEF99=dentro
+DEF100=solo
+DEF101=solamente
+DEF102=saber
+DEF103=sabes
+DEF104=sabe
+DEF105=sabemos
+DEF106=sabeis
+DEF107=saben
+DEF108=ultimo
+DEF109=largo
+DEF110=bastante
+DEF111=haces
+DEF112=muchos
+DEF113=aquellos
+DEF114=aquellas
+DEF115=sus
+DEF116=entonces
+DEF117=tiempo
+DEF118=verdad
+DEF119=verdadero
+DEF120=verdadera
+DEF121=cierto
+DEF122=ciertos
+DEF123=cierta
+DEF124=ciertas
+DEF125=intentar
+DEF126=intento
+DEF127=intenta
+DEF128=intentas
+DEF129=intentamos
+DEF130=intentais
+DEF131=intentan
+DEF132=dos
+DEF133=bajo
+DEF134=arriba
+DEF135=encima
+DEF136=usar
+DEF137=uso
+DEF138=usas
+DEF139=usa
+DEF140=usamos
+DEF141=usais
+DEF142=usan
+DEF143=emplear
+DEF144=empleo
+DEF145=empleas
+DEF146=emplean
+DEF147=ampleamos
+DEF148=empleais
+DEF149=valor
+DEF150=muy
+DEF151=era
+DEF152=eras
+DEF153=eramos
+DEF154=eran
+DEF155=modo
+DEF156=bien
+DEF157=cual
+DEF158=cuando
+DEF159=donde
+DEF160=mientras
+DEF161=quien
+DEF162=con
+DEF163=entre
+DEF164=sin
+DEF165=trabajo
+DEF166=trabajar
+DEF167=trabajas
+DEF168=trabaja
+DEF169=trabajamos
+DEF170=trabajais
+DEF171=trabajan
+DEF172=podria
+DEF173=podrias
+DEF174=podriamos
+DEF175=podrian
+DEF176=podriais
+DEF177=yo
+DEF178=aquel
+DEF179=qu
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/htmlFileInfoList.js b/installer/6/zh_CN/content/search/htmlFileInfoList.js new file mode 100644 index 00000000..c282a7c0 --- /dev/null +++ b/installer/6/zh_CN/content/search/htmlFileInfoList.js @@ -0,0 +1,35 @@ +fil = new Array(); +fil["0"]= "diskdrake.html@@@使用 DiskDrake 自定义磁盘分区方式@@@null"; +fil["1"]= "configureX_card_list.html@@@选择一个X服务器(配置您的显示卡)@@@null"; +fil["2"]= "add_supplemental_media.html@@@介质选择 (设置增补的安装介质)@@@null"; +fil["3"]= "takeOverHdConfirm.html@@@确定要格式化的硬盘@@@null"; +fil["4"]= "choosePackageGroups.html@@@选择软件包组@@@null"; +fil["5"]= "installer.html@@@DrakX,Mageia 的安装器@@@null"; +fil["6"]= "selectKeyboard.html@@@键盘@@@null"; +fil["7"]= "misc-params.html@@@一些杂项@@@null"; +fil["8"]= "doPartitionDisks.html@@@分区@@@null"; +fil["9"]= "securityLevel.html@@@安全级别@@@null"; +fil["10"]= "uninstall-Mageia.html@@@卸载Mageia@@@null"; +fil["11"]= "minimal-install.html@@@最小安装@@@null"; +fil["12"]= "setupBootloader.html@@@引导程序的主要选项@@@null"; +fil["13"]= "selectLanguage.html@@@请选择要使用的语言@@@null"; +fil["14"]= "setupSCSI.html@@@设置SCSI@@@null"; +fil["15"]= "configureX_chooser.html@@@显示卡和显示器配置@@@null"; +fil["16"]= "choosePackagesTree.html@@@选择单个软件包@@@null"; +fil["17"]= "installUpdates.html@@@更新@@@null"; +fil["18"]= "Select-and-use-ISOs.html@@@选择和使用 ISO@@@null"; +fil["19"]= "selectCountry.html@@@选择您所在的国家/地区@@@null"; +fil["20"]= "configureServices.html@@@配置服务@@@null"; +fil["21"]= "media_selection.html@@@介质选择 (Nonfree)@@@null"; +fil["22"]= "setupBootloaderAddEntry.html@@@添加或修改引导菜单项@@@null"; +fil["23"]= "soundConfig.html@@@声音配置@@@null"; +fil["24"]= "acceptLicense.html@@@许可证和发行说明@@@null"; +fil["25"]= "chooseDesktop.html@@@桌面环境选择@@@null"; +fil["26"]= "addUser.html@@@用户和管理员管理@@@null"; +fil["27"]= "selectInstallClass.html@@@新安装或升级@@@null"; +fil["28"]= "exitInstall.html@@@恭喜@@@null"; +fil["29"]= "formatPartitions.html@@@格式化@@@null"; +fil["30"]= "configureX_monitor.html@@@选择您的显示器@@@null"; +fil["31"]= "selectMouse.html@@@选择鼠标@@@null"; +fil["32"]= "ask_mntpoint_s.html@@@选择挂载点@@@null"; +fil["33"]= "configureTimezoneUTC.html@@@配置时区@@@null"; diff --git a/installer/6/zh_CN/content/search/htmlFileList.js b/installer/6/zh_CN/content/search/htmlFileList.js new file mode 100644 index 00000000..a1043e49 --- /dev/null +++ b/installer/6/zh_CN/content/search/htmlFileList.js @@ -0,0 +1,36 @@ +//List of files which are indexed. +fl = new Array(); +fl["0"]= "diskdrake.html"; +fl["1"]= "configureX_card_list.html"; +fl["2"]= "add_supplemental_media.html"; +fl["3"]= "takeOverHdConfirm.html"; +fl["4"]= "choosePackageGroups.html"; +fl["5"]= "installer.html"; +fl["6"]= "selectKeyboard.html"; +fl["7"]= "misc-params.html"; +fl["8"]= "doPartitionDisks.html"; +fl["9"]= "securityLevel.html"; +fl["10"]= "uninstall-Mageia.html"; +fl["11"]= "minimal-install.html"; +fl["12"]= "setupBootloader.html"; +fl["13"]= "selectLanguage.html"; +fl["14"]= "setupSCSI.html"; +fl["15"]= "configureX_chooser.html"; +fl["16"]= "choosePackagesTree.html"; +fl["17"]= "installUpdates.html"; +fl["18"]= "Select-and-use-ISOs.html"; +fl["19"]= "selectCountry.html"; +fl["20"]= "configureServices.html"; +fl["21"]= "media_selection.html"; +fl["22"]= "setupBootloaderAddEntry.html"; +fl["23"]= "soundConfig.html"; +fl["24"]= "acceptLicense.html"; +fl["25"]= "chooseDesktop.html"; +fl["26"]= "addUser.html"; +fl["27"]= "selectInstallClass.html"; +fl["28"]= "exitInstall.html"; +fl["29"]= "formatPartitions.html"; +fl["30"]= "configureX_monitor.html"; +fl["31"]= "selectMouse.html"; +fl["32"]= "ask_mntpoint_s.html"; +fl["33"]= "configureTimezoneUTC.html"; diff --git a/installer/6/zh_CN/content/search/index-1.js b/installer/6/zh_CN/content/search/index-1.js new file mode 100644 index 00000000..8a5f9c48 --- /dev/null +++ b/installer/6/zh_CN/content/search/index-1.js @@ -0,0 +1,408 @@ +var indexerLanguage="en"; +//Auto generated index for searching. +w["-"]="5,7,18,26,31"; +w["-l"]="18"; +w["-sa"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w["0"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w["00"]="18"; +w["0027)"]="26"; +w["0x2"]="18"; +w["0x81"]="18"; +w["1"]="8,18"; +w["1-1"]="18"; +w["100"]="18"; +w["1000"]="18"; +w["1024x768"]="30"; +w["106gb"]="8"; +w["1100"]="18"; +w["12"]="8"; +w["128"]="18"; +w["14"]="18"; +w["160gb"]="8"; +w["18mjtwlmpucc3ssb"]="18"; +w["19"]="8"; +w["19)被分配给"]="8"; +w["1m"]="18"; +w["1mb"]="8"; +w["2"]="12,18,31"; +w["255"]="18"; +w["256m"]="5"; +w["256mb"]="5"; +w["27"]="18"; +w["2gb"]="18"; +w["2,否则请勿更改这些配置"]="7"; +w["3"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w["32"]="2,18"; +w["4"]="18"; +w["40"]="1"; +w["4096"]="8"; +w["4194304"]="18"; +w["43"]="18"; +w["4gb"]="8"; +w["50gb"]="8"; +w["50gb,则创建三个分区"]="8"; +w["50gb,则只创建"]="8"; +w["512"]="8"; +w["512-byte"]="18"; +w["6"]="8"; +w["604531"]="18"; +w["60hz"]="30"; +w["64"]="2,18"; +w["72594"]="18"; +w["72595"]="18"; +w["770528"]="18"; +w["770533"]="18"; +w["770536"]="18"; +w["770537"]="18"; +w["770539"]="18"; +w["770713"]="18"; +w["770719"]="18"; +w["771122"]="18"; +w["772447"]="18"; +w["7,您还可以扩展现存分区的大小"]="10"; +w["8"]="18"; +w["8564"]="18"; +w["8gb"]="18"; +w["8),mageia"]="12"; +w["963238"]="18"; +w["963626"]="18"; +w["964104"]="18"; +w["964108"]="18"; +w["965025"]="18"; +w["965031"]="18"; +w["967251"]="18"; +w["969446"]="18"; +w["@"]="30"; +w["`在这种情况下,您可以在点击"]="23"; +w["acpi"]="12"; +w["acpi(高级配置与电源接口)是标准的电源管理协议"]="12"; +w["acpi(高级配置与电源接口),不使用电源管理功能"]="5"; +w["acpi,或者您认为"]="12"; +w["advanced来更正"]="23"; +w["alt"]="5,27"; +w["ansi"]="18"; +w["apic"]="12"; +w["apic(本地高级可编程终端控制器)"]="5"; +w["apic,用于在"]="12"; +w["apic:启用或禁用高级可编程中断控制器"]="12"; +w["apic:您可以在这里设置本地"]="12"; +w["apm"]="12"; +w["aspx"]="5"; +w["assum"]="18"; +w["ati"]="21"; +w["attach"]="18"; +w["bash"]="26"; +w["bio"]="0,8,12"; +w["bios),并且使用"]="8"; +w["bittorr"]="18"; +w["block"]="18"; +w["boot"]="0,8,10,22"; +w["boot-nonfre"]="5"; +w["bs"]="18"; +w["cach"]="18"; +w["cauldron"]="32"; +w["cauldron-hom"]="32"; +w["cc"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w["cc776315"]="5"; +w["cd"]="5,18"; +w["cd(boot"]="5"; +w["cfg,或者使用"]="22"; +w["com"]="5"; +w["core"]="21"; +w["coreutil"]="11"; +w["cpu"]="5"; +w["csm"]="8"; +w["ctrl"]="5,27"; +w["custom"]="22"; +w["dash"]="26"; +w["dd"]="18"; +w["delet"]="5,27"; +w["desc"]="18"; +w["detect"]="18"; +w["dev"]="18"; +w["devic"]="18"; +w["direct-access"]="18"; +w["disk"]="18"; +w["diskdrak"]="0"; +w["dmesg"]="18"; +w["document"]="11"; +w["download"]="18"; +w["draksound"]="23"; +w["draksound,或通过"]="23"; +w["drakx"]="1,6,7,8,14,15,18,19,26,30,32"; +w["drakx-installer-stage2"]="18"; +w["drakx自动选择的设置通常可正常工作"]="20"; +w["drakx,mageia"]="5"; +w["drive"]="18"; +w["dvd"]="2,5,10,18,21"; +w["dvd,或写入到"]="18"; +w["e"]="5"; +w["efi"]="8"; +w["efi(见下)"]="0"; +w["en"]="5,6,22"; +w["en-us"]="5"; +w["enjoy"]="28"; +w["enter"]="5"; +w["enter,即可进入文本安装模式"]="5"; +w["ep"]="18"; +w["esc"]="5"; +w["esc,然后按"]="5"; +w["esp"]="12"; +w["esp(efi"]="0,8,12"; +w["esp,并添加"]="12"; +w["evdev"]="31"; +w["f1"]="5"; +w["f2"]="5,27"; +w["f3"]="5"; +w["f6"]="5"; +w["fdisk"]="18"; +w["file"]="18"; +w["floppi"]="16"; +w["found"]="18"; +w["ftp"]="19"; +w["gb"]="18"; +w["gcin"]="19"; +w["gib"]="18"; +w["gmt"]="33"; +w["gmt(也即"]="33"; +w["gnome"]="15,18,25"; +w["gnu"]="11,18"; +w["gnu-linux"]="5"; +w["gparted(window"]="10"; +w["gpt"]="8,12"; +w["gpt格式分区时"]="12"; +w["gpt硬盘分区,请确保您设置了"]="0"; +w["grub"]="7,12"; +w["grub-customizer(可以从"]="22"; +w["grub2"]="22"; +w["grub2-efi"]="12"; +w["grub2-efi_and_mageia"]="22"; +w["grub2-efi)"]="12"; +w["grub2-efi,当使用"]="12"; +w["grub2(包含"]="12"; +w["grub2,当使用传统硬件"]="12"; +w["high-spe"]="18"; +w["hime"]="19"; +w["home"]="7,8,18,27,32"; +w["host8"]="18"; +w["how_to_set_up_kernel_opt"]="5"; +w["http"]="5,18,19"; +w["https"]="5,22"; +w["ibus"]="19"; +w["icewm"]="4,11"; +w["icon"]="16"; +w["id"]="26"; +w["idproduct"]="18"; +w["idvendor"]="18"; +w["id(数值)"]="26"; +w["id(数值,一般与用户"]="26"; +w["id,可能会覆盖掉其他分区中的数据"]="18"; +w["id:这里您可以设置之前所添加的用户的"]="26"; +w["if"]="18"; +w["imag"]="18"; +w["info"]="11"; +w["internet"]="7"; +w["interv"]="18"; +w["irq(中断请求)管理功能"]="12"; +w["iso"]="2,5,18"; +w["isodump"]="18"; +w["iso文件的完整路径"]="18"; +w["iso,因此您可以将其“转储”到"]="18"; +w["jetflash"]="18"; +w["kde"]="15,18,25"; +w["kde(plasma)桌面环境"]="18"; +w["keyboard_layout"]="6"; +w["librari"]="5"; +w["linux"]="1,8,10,11,18,32"; +w["live"]="5,18"; +w["loader)"]="10"; +w["loading)"]="12"; +w["localedrak"]="19"; +w["logic"]="18"; +w["lxde"]="25"; +w["lxde等图形环境"]="15"; +w["mageia"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w["mageia-6-x86_64-dvd"]="18"; +w["mageia,安装程序将会允许您选择需要升级的系统"]="27"; +w["mageia,现在可以安全地移除安装介质并重新启动"]="28"; +w["mageia,请点击"]="12"; +w["mageia,请确保您设置了"]="0"; +w["mageia,请访问"]="28"; +w["man"]="11"; +w["manufactur"]="18"; +w["mass"]="18"; +w["mb"]="8"; +w["mbr"]="12"; +w["mbr(主引导记录)区域或第一硬盘的"]="12"; +w["mbr:参见"]="12"; +w["mb),适用于不方便下载完整版"]="18"; +w["mcc(mageia"]="23"; +w["md5sum"]="18"; +w["md5sum,请输入:"]="18"; +w["mem"]="5"; +w["mfr"]="18"; +w["mib"]="8"; +w["microfram"]="18"; +w["microsoft"]="5"; +w["mode"]="18"; +w["msdn"]="5"; +w["netinstal"]="18"; +w["netinstall-nonfre"]="18"; +w["new"]="18"; +w["nfs"]="2"; +w["no"]="18"; +w["noauto"]="5"; +w["nonfre"]="1,2,7,21"; +w["ntfs),系统将自动为其分配一个盘符"]="10"; +w["number"]="18"; +w["nvidia"]="21"; +w["off"]="18"; +w["org"]="5,6,22,28"; +w["page"]="18"; +w["path"]="18"; +w["plasma"]="18"; +w["pq"]="18"; +w["product"]="18"; +w["project"]="11"; +w["protect"]="18"; +w["ps"]="31"; +w["ram"]="5"; +w["rbash来宾账户创建的文件将会在注销后被删除"]="26"; +w["remov"]="18"; +w["root"]="18,19,26"; +w["round"]="18"; +w["rufus"]="18"; +w["sam@localhost"]="18"; +w["say"]="18"; +w["scsi"]="14,18,32"; +w["sd"]="18"; +w["sda"]="0"; +w["sdb"]="0,18"; +w["sdb,是一个"]="18"; +w["sdc"]="0"; +w["sdc)"]="18"; +w["sdd"]="18"; +w["sdd1"]="18"; +w["sdx"]="18"; +w["sens"]="18"; +w["serialnumb"]="18"; +w["sh"]="26"; +w["sha1sum"]="18"; +w["sha1sum,请输入:"]="18"; +w["shell(在上一步中添加),可能的选项有"]="26"; +w["shell:可以在下列列表中选择用户所使用的"]="26"; +w["smp"]="12"; +w["smp:此选项启用或禁用多核处理器上的对称多处理器特性"]="12"; +w["splash"]="5"; +w["ssd"]="8"; +w["storag"]="18"; +w["string"]="18"; +w["su"]="18"; +w["sync"]="18"; +w["taint"]="2,21"; +w["through"]="18"; +w["transcend"]="18"; +w["u"]="0,16,18,26"; +w["uefi"]="0,5,8,12"; +w["uefi,用户界面会稍有不同,您将无法选择引导器(因为只能使用"]="12"; +w["umask"]="26"; +w["updates)"]="2"; +w["url(第一个选项)"]="2"; +w["url,则可以使用特定的仓库或您的个人"]="2"; +w["usb"]="18,31"; +w["usb-storag"]="18"; +w["use"]="18"; +w["user"]="18"; +w["utc"]="33"; +w["utc)"]="33"; +w["utf-8(unicode)格式"]="13"; +w["var"]="32"; +w["vesa"]="1,30"; +w["vgalo"]="5"; +w["video"]="32"; +w["vista"]="10"; +w["wifi"]="21"; +w["wiki"]="5,6,18,22"; +w["wikipedia"]="6"; +w["wiki:"]="22"; +w["win32"]="18"; +w["window"]="5,8,10,12,18"; +w["windows,请点击"]="10"; +w["write"]="18"; +w["www"]="28"; +w["x"]="4,11,15"; +w["xfce"]="18"; +w["xfce)"]="18"; +w["xhci_hcd"]="18"; +w["xorg"]="1"; +w["xp,您可以使用空闲空间创建一个新分区并格式化它(fat32"]="10"; +w["xxx"]="5"; +w["xxxm"]="5"; +w["x”,将会同时选定"]="11"; +w["x)的服务"]="15"; +w[" "]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w[" 安装欢迎屏幕"]="5"; +w["©"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33"; +w["“前面的自由空间(mib)”“2”"]="8"; +w["“对齐到”“mib”"]="8"; +w["“引导程序的主要选项”一节"]="7"; +w["“显示卡和显示器配置”一节"]="7"; +w["“最小安装”一节"]="4"; +w["“硬盘驱动器编号”(由字母表示)"]="32"; +w["“系统”设置来安装输入法,或者以"]="19"; +w["“自定义”选项仅用于检测该操作的结果是否正确"]="8"; +w["“设备名”包括:“硬盘驱动器”,"]="32"; +w["“转储”镜像至闪存设备将会破坏设备上原先的文件系统,任何数据都将丢失,并且分区容量将会(暂时)缩减为镜像大小"]="18"; +w["“选择单个软件包”一节"]="11"; +w["“选择您所在的国家"]="7"; +w["“选择软件包组”一节"]="11"; +w["“配置时区”一节"]="7"; +w["“配置服务”一节"]="7"; +w["一个用户拥有比超级管理员更少的权限,但是网上冲浪,使用办公软件或者玩游戏等是足够的"]="26"; +w["一些基础的文档由"]="11"; +w["一些新式驱动器的逻辑扇区大小为"]="8"; +w["一些杂项"]="7"; +w["一旦分区被格式化,或升级过程开始,电脑中的内容将发生变化,此时重启可能导致系统无法使用"]="5,27"; +w["一般情况下,drakx"]="29"; +w["一般而言,"]="31"; +w["一般而言,您可以直接使用推荐配置,除非您遇到以下三种情况:"]="7"; +w["上一步"]="3,32"; +w["上一页回到主界面,然后查看相应分区中的数据"]="29"; +w["下一步"]="3,24"; +w["下一步继续"]="17"; +w["下一步,并确定是否根据"]="32"; +w["下一步,然后取消勾选"]="12"; +w["下一步,然后点击"]="12"; +w["下一节中将涉及有关细节"]="18"; +w["下一页"]="12"; +w["下一页继续"]="29"; +w["下创建目录"]="7"; +w["下均由对应版本)"]="10"; +w["下的图形化工具"]="18"; +w["下载"]="18"; +w["下载中"]="18"; +w["下载和检查媒介"]="18"; +w["下载它"]="18"; +w["不使用图形界面"]="5"; +w["不包含图形界面),当使用传统硬件"]="12"; +w["不正确的刷新率可能会损坏显示器"]="15"; +w["不要修改"]="12"; +w["不要在安装后再进行添加"]="27"; +w["不过,如果您在安装后遇到问题,请运行"]="23"; +w["中一般叫做"]="26"; +w["中包含多种桌面环境和语言支持"]="18"; +w["中将硬盘从“basic”格式转变为“dynamic”格式,该硬盘将无法用于"]="5"; +w["中改变系统语言"]="13"; +w["中断,可以选择此选项"]="5"; +w["中的“iso"]="18"; +w["为引导器进行了自动设置"]="7"; +w["为此,您需要手动编辑"]="22"; +w["之前,请先仔细阅读许可条款和许可条件"]="24"; +w["之后,窗口将会显示:"]="18"; +w["也可以在安装完成后改变访问权限"]="26"; +w["也可以用于安装"]="18"; +w["也可以自定义挂载点,例如将"]="32"; +w["仅使用:"]="12"; +w["仅包含"]="2,18"; +w["仅包含一种桌面环境(kde"]="18"; + diff --git a/installer/6/zh_CN/content/search/index-2.js b/installer/6/zh_CN/content/search/index-2.js new file mode 100644 index 00000000..42fcb6fe --- /dev/null +++ b/installer/6/zh_CN/content/search/index-2.js @@ -0,0 +1,407 @@ +//Auto generated index for searching. +w["仅包含自由软件,适用于不希望使用非自由软件的人"]="18"; +w["仅包含英语支持"]="18"; +w["仅支持"]="18"; +w["仅用于引导的"]="18"; +w["仅能用于全新安装,而无法对之前的版本进行升级"]="18"; +w["介质"]="18"; +w["介质选择"]="2,21"; +w["仓库中安装)来编辑引导项"]="22"; +w["仓库中),部分驱动仅能在制造商的官网上找到"]="1"; +w["仓库包含了免费(因此mageia可以再分发)"]="21"; +w["仓库包含了在自由许可证下发布的软件"]="21"; +w["仓库才能使用其中的程序"]="1"; +w["仓库无法被禁用,因其包含发行版中的基础软件"]="21"; +w["仓库是因为它们可能会违反部分国家(地区)的专利或版权法,例如:用于播放音频"]="21"; +w["仓库,您应当在安装完成并重启后启用它"]="1"; +w["代理服务器将作为您的电脑和广域网之间的桥梁"]="7"; +w["代理:"]="7"; +w["任何使用"]="26"; +w["任何错误都可能导致系统无法正常运行"]="7"; +w["任意"]="31"; +w["会将:"]="12"; +w["会尝试将它们也添加到"]="12"; +w["会应用您后来的选择"]="6,19"; +w["会根据您的语言为您选择合适的键盘"]="6"; +w["会根据您的选择以及检测到的硬件自动生成合适的配置"]="7"; +w["会造成某些问题(如偶尔会自动重启,或系统卡死),则可以取消勾选它"]="12"; +w["传统安装器:在引导之后,程序将提供一系列用于安装和配置目标系统的选项"]="18"; +w["传统安装媒介"]="18"; +w["但不开源的软件"]="21"; +w["位"]="2"; +w["位两种架构之分"]="18"; +w["位于单独的分区中,并且该分区不能被加密;否则,系统将无法启动"]="0"; +w["位和"]="18"; +w["位处理器"]="18"; +w["位软件包也会被显示在这里"]="2"; +w["位软件包和非特定架构的软件包"]="2"; +w["位软件包的版本升级到"]="2"; +w["位,我们建议您使用此窗口添加在线镜像(勾选一个网络协议)"]="2"; +w["作为桌面环境"]="25"; +w["作为轻量级的桌面环境"]="11"; +w["你可以使用此文件在其他系统上进行相同的安装部署(只需在安装时再次点击此按钮并加载配置文件即可)"]="16"; +w["你可以在"]="26"; +w["你可以添加其他的软件源,如光盘或远程资源"]="2"; +w["你需要在下方输入框中再次输入相同的密码,以确保你之前的密码没有输错"]="26"; +w["使用"]="0,8,12,18"; +w["使用传统的安装器(drakx)"]="18"; +w["使用命令"]="18"; +w["使用方向键和"]="5"; +w["使用方向键来选择语言,然后按"]="5"; +w["使用此选项来进行全新"]="27"; +w["使用现存的分区"]="8"; +w["使用现存的引导器"]="12"; +w["使用的空间重新用于"]="10"; +w["使用的语言和键盘类型来设置键盘布局"]="7"; +w["使用空闲空间"]="8"; +w["使用链式加载"]="12"; +w["使用链式加载(chain"]="12"; +w["例如,"]="5"; +w["例如,“sda5”表示第一个"]="32"; +w["例如,在三个标签页中分别显示"]="0"; +w["例如,此仓库包含"]="21"; +w["例如:"]="18"; +w["供应商"]="30"; +w["允许您卸载它"]="10"; +w["允许您完全控制系统在硬盘上的安装方式"]="8"; +w["全部清除"]="0"; +w["其中"]="8"; +w["其中包含了来自"]="11"; +w["其中包含非自由软件"]="18"; +w["其中,“x”是您的设备名(如:"]="18"; +w["其他国家"]="19"; +w["其他输入法(scim"]="19"; +w["内存测试"]="5,18"; +w["内存问题"]="5"; +w["再次重启后,您将只能进入"]="10"; +w["写保护的主目录(即"]="26"; +w["写入"]="18"; +w["准备好时点击"]="0"; +w["分区"]="8,27,32"; +w["分区中有空闲空间,安装程序将把"]="8"; +w["分区中的空闲空间"]="8"; +w["分区加密,您必须确保"]="0"; +w["分区向导所提供的"]="8"; +w["分区大小:"]="8"; +w["分区的大小"]="8"; +w["分区,4gb"]="8"; +w["分区,不创建单独的"]="8"; +w["分区,其大小和位置应当与您安装时指定的一致"]="10"; +w["分区,并且可以将其用于"]="8"; +w["分区,最大不超过"]="8"; +w["分区,用深蓝色标记将用于安装"]="8"; +w["分辨率:选择显示器的分辨率和色彩深度"]="15"; +w["切换到终端,然后按下"]="5,27"; +w["列表中列出,在点击"]="19"; +w["列表中选择显示器"]="15"; +w["创建的)"]="12"; +w["初始页中有很多选项,安装器将会选择其中的默认项(一般是您所需的)"]="5"; +w["删除,即可释放这些分区占用的空间"]="10"; +w["到"]="18"; +w["制造商"]="1,15,30"; +w["刻录或转储"]="18"; +w["刻录镜像,而非刻录数据或文件"]="18"; +w["剩余部分(至少"]="8"; +w["动态分区"]="5"; +w["包含所有语言支持"]="18"; +w["包含部分用户所需的非自由软件(主要为驱动"]="18"; +w["区域"]="19"; +w["升级"]="27"; +w["单击各组前的三角形图标可以展开该组中的服务"]="20"; +w["单独选择软件包:您可以使用此选项来手动添加"]="4"; +w["卡的类型"]="1"; +w["危险"]="18"; +w["即可满足启动所有操作系统的需求"]="12"; +w["即可被刻录至"]="18"; +w["即插即用"]="15,30"; +w["卸载mageia"]="10"; +w["参数"]="7"; +w["参数,其中"]="5"; +w["参见"]="7"; +w["发布之后,一些软件包将会被更新或改善"]="17"; +w["发布版本的重要信息,可以通过点击"]="24"; +w["发行版,你必须予以接受才能继续安装"]="24"; +w["发行说明"]="24"; +w["只有在您完全了解您的行为的风险后再作出改动"]="20"; +w["只有存在多个可用驱动(且均不是默认驱动)时,才会提示您进行选择"]="7"; +w["只要选择"]="24"; +w["可以共存,但只需一个"]="12"; +w["可以删除所选设备上的全部分区"]="0"; +w["可以手动将这些选项添加到"]="5"; +w["可以打开包含更多选项的新窗口"]="5"; +w["可以按"]="25"; +w["可以点击"]="29"; +w["可以用于安装和"]="18"; +w["可以用于预览该发行版,而无需将其安装到硬盘上"]="18"; +w["可以防止其他人进入单用户模式,或者修改引导参数"]="12"; +w["可用于配置超过五键的鼠标"]="31"; +w["可用空间,将会创建"]="8"; +w["可能无法确定所需的驱动,并因此无法识别它们"]="14"; +w["右键点击这些分区,并选择"]="10"; +w["各类"]="21"; +w["同时支持"]="18"; +w["同时,该分区也应当进行碎片整理,即便不能将文件碎片完全移出待使用区域"]="8"; +w["后点击"]="24"; +w["后续使用"]="18"; +w["后续章节中所提到的其他情况"]="7"; +w["后面的盾牌图标将会指示密码强度"]="26"; +w["否"]="17"; +w["启用"]="12"; +w["启用本地"]="12"; +w["启用来宾账户:这里您可以启用或禁用来宾账户"]="26"; +w["命令提供"]="11"; +w["和"]="2,10,11,18,21,26,31,32"; +w["和笔记本上使用的平板显示器"]="30"; +w["因此,必须正确设定以下的"]="15"; +w["国家"]="7"; +w["图 1"]="5"; +w["图像模式:用于设定显示引导菜单时的屏幕分辨率和色彩深度"]="12"; +w["图形界面"]="7"; +w["图形界面环境"]="4"; +w["图标:若点击此按钮,则会改变用户图标"]="26"; +w["在"]="19,23"; +w["在下一个窗口中,您可以将硬件时钟设置为本地时间或"]="33"; +w["在做出更改之前,请认真审视选项"]="7"; +w["在出现的黑色屏幕中,输入“text”,然后按"]="5"; +w["在初始屏幕之后,可能无法显示语言选择窗口"]="5"; +w["在备份您的数据后,请用"]="10"; +w["在安装"]="24,26"; +w["在安装之后,您也可以在"]="9"; +w["在此处您可以查看硬盘驱动器中的内容,并选择"]="8"; +w["在此处调整磁盘布局"]="0"; +w["在此版本的"]="17"; +w["在此页中,可以进行自定义设置:"]="5"; +w["在点击"]="6"; +w["在确定选择后,您可以点击页面底部的"]="16"; +w["在软件包组选择窗口中,您可以通过取消选择所有项来实现最小化安装,参见"]="11"; +w["在这种情况下,可以先跳过硬件检测过程:在命令提示后输入"]="5"; +w["在这种情况下,您需要手动设置"]="14"; +w["在这里添加一个用户"]="26"; +w["在这里,您可以根据您所在的位置"]="7"; +w["在选择了"]="18"; +w["在选择完成之后,将会在安装软件包时展示一系列幻灯片"]="25"; +w["在部分"]="5"; +w["地区"]="7,19"; +w["地区”一节"]="7"; +w["地区中,请务必对其进行正确设置"]="7"; +w["地区或城市来确定您的时区"]="33"; +w["均为混合类型"]="18"; +w["坏块的分区"]="29"; +w["垂直刷新率决定屏幕刷新的周期,水平同步率决定扫描行的显示速率"]="30"; +w["声卡"]="7"; +w["声音配置"]="23"; +w["声音配置来启动"]="23"; +w["多数情况下,这设计到运行相应的引导器安装程序,并自动检测和添加引导项"]="12"; +w["多数窗口中有"]="5"; +w["多语言按钮来添加语言"]="13"; +w["大小"]="5"; +w["她的临时文件存储于"]="26"; +w["如何做"]="10"; +w["如果"]="12,32"; +w["如果不确定如何选择,请点击"]="32"; +w["如果存在多个分区,你可以从下列列表中选择不同的挂载点来使用,例如"]="32"; +w["如果已安装了其他"]="12"; +w["如果您不希望"]="12"; +w["如果您不知道您的键盘肿瘤,请查阅您的电脑配件规格,或询问电脑供应商,或查看键盘上的标签"]="6"; +w["如果您发现键盘布局错误"]="7"; +w["如果您希望从已经结束支持的"]="27"; +w["如果您弄错了设备"]="18"; +w["如果您的硬件不兼容"]="12"; +w["如果您确定要删除所有分区和所有操作系统(及数据),请点击"]="3"; +w["如果您设置了错误的国家,您可能无法正常使用无线网络"]="19"; +w["如果您选择了多种语言,必须同时选择其中一种作为您的首选语言(在前一个语言选择界面中),该语言会同时出现在多语言配置界面中"]="13"; +w["如果进行了更改,请确保你仍然具有访问"]="32"; +w["如果需要获取网络资源,请执行以下两步:"]="2"; +w["媒介"]="18"; +w["媒介有"]="18"; +w["媒介:您无需实际安装即可实际体验"]="18"; +w["媒介:是一类承载"]="18"; +w["媒体来安装它们"]="19"; +w["字节"]="8"; +w["字节,而非传统的"]="8"; +w["存储"]="10"; +w["它们可以用于全新安装,或更新之前的版本"]="18"; +w["它可以关闭未使用的设备以节能,用于取代"]="12"; +w["安全"]="7,9"; +w["安全等级:"]="7"; +w["安全级别"]="9"; +w["安全设置,使用更安全的选项(同时会在一定程度上降低性能)"]="5"; +w["安全:用于设置引导器的密码"]="12"; +w["安装"]="5,10,27"; +w["安装停止"]="5"; +w["安装到该区域中"]="8"; +w["安装器和查找"]="18"; +w["安装器将会使用默认驱动(如果有的话)"]="7"; +w["安装器将会探测现存的(由"]="12"; +w["安装器都能帮您轻松安装或升级系统"]="5"; +w["安装在此处"]="8"; +w["安装引导器,而是希望从其他系统引导"]="12"; +w["安装时法语版的欢迎界面"]="5"; +w["安装步骤"]="5"; +w["安装的默认欢迎屏幕:第一个是使用传统引导的系统,第二个是使用"]="5"; +w["安装程序将会提醒您缺少引导器,请忽略它并点击"]="12"; +w["安装程序将会根据下列规则使用可用空间:"]="8"; +w["安装程序将用亮蓝色标记其余的"]="8"; +w["安装过程被分为多个步骤,可以在侧边栏看到安装进度"]="5"; +w["安装问题和问题解决方案"]="5"; +w["完成安装后添加额外语言是相对困难的"]="13"; +w["完成按钮"]="0"; +w["定义"]="18"; +w["密码(重复):再输入依次用户密码"]="26"; +w["密码)"]="26"; +w["密码:在此文本框中输入用户密码"]="26"; +w["密码:此文本框用于输入密码"]="12"; +w["对于"]="12"; +w["对于一些较老的"]="14"; +w["对于其他操作:请先点击要操作的分区;然后查看其详细信息,或选择文件系统和挂载点,改变其大小或擦除它"]="0"; +w["对于非必需的分区,挂载点一项可以留空"]="32"; +w["将iso文件刻录到cd或dvd"]="18"; +w["将会为每个用户在"]="7"; +w["将会在之后的安装过程中使用该语言"]="13"; +w["将会检查两次输入的密码是否一致"]="26"; +w["将会缩小"]="8"; +w["将这些软件包归入"]="21"; +w["尚被支持的发行版进行的升级过程"]="27"; +w["尽管多个"]="12"; +w["工作区"]="4"; +w["工具:"]="18"; +w["左右,且不会被挂载"]="8"; +w["帮助按钮,可以提供当前操作的有关说明"]="5"; +w["帮助页"]="11"; +w["帮助页和来自"]="11"; +w["平板"]="7"; +w["并进行选择"]="27"; +w["应当使用的"]="14"; +w["应当能正确配置这些驱动器"]="14"; +w["建议在密码中混合使用字母(大写和小写)"]="26"; +w["开头的设备名,如"]="18"; +w["开始"]="10"; +w["引导分区"]="8,12"; +w["引导分区,并且为其指定了正确的分区标志"]="0"; +w["引导器"]="7,12"; +w["引导器安装至"]="12"; +w["引导器界面"]="12"; +w["引导器(restor"]="10"; +w["引导的内核选项,请参考:"]="5"; +w["引导的电脑"]="18"; +w["引导的系统"]="5"; +w["引导程序的主要选项"]="12"; +w["引导选项"]="5"; +w["引导选项中出现,但这并不影响选项发挥作用"]="5"; +w["引导选项行中的默认选项"]="5"; +w["引导选项,这里提供了四个选项:"]="5"; +w["强制"]="31"; +w["当你在顶部输入框中输入密码时,盾的颜色将会从红色变为黄色"]="26"; +w["当您使用这些算法来重新计算下载文件的校验值时,如果您得到的结果和"]="18"; +w["当您因硬件无法被正确识别而必须使用"]="30"; +w["当您添加了网卡后,请不要忘记用防火墙对该接口进行管理"]="7"; +w["恭喜"]="28"; +w["您也可以使用其他分区工具,如"]="10"; +w["您也可以参考这里的内容:"]="6"; +w["您也可以在终端中使用"]="18"; +w["您也可以手动改变时区"]="7"; +w["您以完成安装和配置"]="28"; +w["您可以使用"]="18"; +w["您可以刻录任何所需镜像,但请确保刻录设备的模式被设为"]="18"; +w["您可以在"]="18"; +w["您可以在安装完成后,在"]="13"; +w["您可以在安装时添加非自由软件"]="18"; +w["您可以在此处检查或更改它们(点击"]="7"; +w["您可以在此处添加或移除额外的软件包,或自定义安装"]="16"; +w["您可以在此处添加额外的用户"]="7"; +w["您可以在此处设置系统启动时需要启用的服务"]="20"; +w["您可以在此处配置您需要使用的代理服务"]="7"; +w["您可以在这里设置计算机的安全等级,一般情况下可以使用默认设置(标准)"]="7"; +w["您可以在这里调整安全等级"]="9"; +w["您可以在这里配置显卡和显示器"]="7"; +w["您可以在这里配置网络"]="7"; +w["您可以尝试:"]="18"; +w["您可以按下此按钮来查看设置是否正确"]="15"; +w["您可以添加或配置其他触控设备"]="7"; +w["您可以点击和拖动目标分区之间的空隙以便更改分区大小(参见下面的截图)"]="8"; +w["您可以移除或创建分区"]="0"; +w["您可能会将此选项与“独立软件包选择”选项配合使用,以便微调您的安装配置,参见"]="11"; +w["您可能需要咨询系统管理员来获取此处应当填写的参数"]="7"; +w["您尝试了默认配置,但安装失败"]="7"; +w["您预知该默认配置存在问题"]="7"; +w["我们只测试了从当前"]="27"; +w["我们建议任何时候安装"]="26"; +w["我们推荐您对个人文件进行备份后再进行此操作"]="8"; +w["或"]="5,8,10,12,15,18,25"; +w["或“声音配置”工具界面,点击"]="23"; +w["或更新"]="18"; +w["或者,您也可以通过命令"]="18"; +w["或选择"]="5"; +w["所有分区的属性将按下列顺序显示:“设备名”(“容量”,“挂载点”,“类型”)"]="32"; +w["所有的"]="18"; +w["所有的密码都区分大小写"]="26"; +w["所选仓库将决定下一步中可用的软件包"]="21"; +w["所选的源将决定下一步中哪些软件包可用于安装"]="2"; +w["手动进行此操作有潜在"]="18"; +w["打开一个终端"]="18"; +w["打开一个终端(无需以"]="18"; +w["拥有"]="10"; +w["按"]="5"; +w["按钮之后,请忽略前一个列表中的选项"]="6,19"; +w["按钮并选择相应的国家"]="19"; +w["按钮来保存选择(同时也会将配置保存到"]="16"; +w["按钮来关闭幻灯片显示"]="25"; +w["按钮)"]="7"; +w["按钮,然后点击"]="32"; +w["探测其他系统:参见"]="12"; +w["接受"]="24"; +w["控制中心"]="13"; +w["控制中心中的"]="9"; +w["控制中心)中"]="23"; +w["控制器,drakx"]="14"; +w["控制面包"]="10"; +w["推荐保留此选项"]="30"; +w["提供的一致,说明您的文件没有问题;否则,说明下载失败,您可能需要重新下载,或改用"]="18"; +w["提供的引导器"]="12"; +w["提示"]="12,27,29"; +w["插入您的"]="18"; +w["操作完成,拔下"]="18"; +w["操作系统(例如"]="12"; +w["擦除磁盘,并使用整个磁盘"]="8"; +w["改变文件系统类型或改变分区大小,同时预览操作后的效果"]="0"; +w["故障排除来查看解决问题的建议"]="23"; +w["救援系统"]="5"; +w["数字和其他字符"]="26"; +w["文件"]="18"; +w["文件后,您可以通过"]="18"; +w["文件完整性的工具,只需使用其中一种即可"]="18"; +w["新安装或升级"]="27"; +w["方式下载,您可能会看到类似下列情形"]="18"; +w["无"]="5"; +w["无本地"]="5"; +w["无论您是刚接触"]="5"; +w["无论是哪一种图形环境(也叫桌面环境),都基于一个叫做"]="15"; +w["日文"]="19"; +w["时区"]="7"; +w["时必须正常地关机或重启"]="8"; +w["是"]="5"; +w["是您在电脑上安装的第一个系统,安装程序将自动创建一个"]="12"; +w["是用于检查"]="18"; +w["是默认选项,一般情况下用户无需手动配置"]="19"; +w["是;若您不希望这样做,或无法连接到互联网,请选择"]="17"; +w["显卡名"]="1"; +w["显卡驱动器时,此选项将会提供最佳的兼容性"]="30"; +w["显卡:请从列表中选择您的显卡设备"]="15"; +w["显示卡和显示器配置"]="15"; +w["显示器制造商名称"]="30"; +w["显示器描述"]="30"; +w["显示器,或从"]="15"; +w["显示器:您可以选择"]="15"; +w["更多"]="6"; +w["更多信息请见"]="18"; +w["更多信息,参见"]="7"; +w["更新"]="17"; +w["最小化安装通常被用于在服务器或特定工作站上安装"]="11"; +w["最小安装"]="11"; +w["有两种类型的媒介:"]="18"; +w["有关"]="5"; +w["有关传统引导和"]="5"; +w["有关使用有线网络安装"]="5"; +w["有关更多信息,请参考我们的"]="22"; +w["有关更多信息,请参见"]="7"; + diff --git a/installer/6/zh_CN/content/search/index-3.js b/installer/6/zh_CN/content/search/index-3.js new file mode 100644 index 00000000..8f42cb81 --- /dev/null +++ b/installer/6/zh_CN/content/search/index-3.js @@ -0,0 +1,403 @@ +//Auto generated index for searching. +w["有关此"]="24"; +w["有关添加"]="12"; +w["有齐全的显卡数据库,一般情况下可以正确识别您的视频设备"]="1,30"; +w["服务"]="7"; +w["服务和"]="4"; +w["服务器"]="4"; +w["服务属性才能使用"]="15"; +w["服务的文档"]="11"; +w["期间添加的任何用户都将拥有读"]="26"; +w["未标记为格式化的分区上的数据将会被保留"]="29"; +w["未知"]="10"; +w["未能给您提供良好体验,或您未能正确安装系统,mageia"]="10"; +w["本地网络或互联网"]="18"; +w["本地驱动器"]="18"; +w["权限(不要漏掉末尾的“-”)"]="18"; +w["来了解如何进行最小化安装(包活或不包括"]="4"; +w["来切换到较低分辨率"]="5"; +w["来安装的更多细节,请参考"]="5"; +w["来宾应当将他"]="26"; +w["来宾账户允许来宾登录并使用电脑,但对其使用更严格的访问权限控制"]="26"; +w["来查看完整列表,并选择相应的键盘种类"]="6"; +w["来查看更多细节,或按"]="5"; +w["来查看设备名:在输入末尾,您将看到以"]="18"; +w["来触发重启操作"]="5,27"; +w["来返回到欢迎屏幕"]="5"; +w["来选择您要检查"]="29"; +w["来重启计算机"]="24"; +w["来阅读"]="24"; +w["根据您的语言设置自动选择了时区"]="7"; +w["根据所选的安装介质,并非所有仓库都可以使用"]="21"; +w["根据所选项不同,随后会出现不同的窗口用于详细设置"]="25"; +w["根据特定硬盘布局和内容的不同,下列选项可能会有所不同"]="8"; +w["根据真实姓名自动设置"]="26"; +w["格式分区时"]="12"; +w["格式化"]="29"; +w["格式的硬盘分区,您需要先创建一个"]="8"; +w["桌面环境"]="18"; +w["桌面环境较前两者更加轻便,视觉效果较低,默认安装的软件包也更少"]="25"; +w["桌面环境选择"]="25"; +w["桌面环境)"]="4"; +w["检查下载文件的完整性"]="18"; +w["检测其他操作系统"]="12"; +w["概要一步中添加其他所需用户,只需选择"]="26"; +w["模式下)可以添加内核参数"]="5"; +w["欢迎屏幕中列出了一些可用的工具,如:救援系统"]="18"; +w["此处列出了可用的仓库"]="21"; +w["此处无法改变语言,界面中列出了可用的选项"]="5"; +w["此处是使用"]="5"; +w["此处是使用有线网络安装"]="5"; +w["此处给出了使用"]="5"; +w["此外,一些"]="8"; +w["此外,您还可以禁用或启用来宾账户"]="26"; +w["此工具允许您启用或禁用特定任务"]="7"; +w["此窗口中列出了已识别的软件仓库"]="2"; +w["此类媒介仅包含启动"]="18"; +w["此类硬件尚未被测试"]="8"; +w["此组可以支持近30种显示格式,如"]="30"; +w["此选项也可以与其他选项联合使用"]="5"; +w["此选项允许您设置两个重要参数:垂直刷新率和水平同步率"]="30"; +w["此选项可用于为"]="8"; +w["此选项将会把整个硬盘空间用于安装"]="8"; +w["此选项将影响货币设置和无线管理域设置"]="19"; +w["此页将帮助您选择所需的镜像"]="18"; +w["每一步包含一个或多个窗口,并且可使用"]="5"; +w["每个"]="18"; +w["每个硬盘及其他存储设备(如"]="0"; +w["没有"]="18"; +w["没有提供默认选项,请手动指定正确参数"]="15"; +w["注意"]="0,2,5,7,8,19,22,26,27,32,33"; +w["注意!将会删除所选驱动器上的所有数据!请谨慎操作!"]="8"; +w["注意)"]="26"; +w["注意,live"]="5"; +w["测试:测试按钮不一定总是出现在安装中"]="15"; +w["添加或修改引导菜单项"]="22"; +w["点击"]="0"; +w["点击“保存文件”选项"]="18"; +w["然后按"]="17"; +w["然后比较执行结果(可能需要等待一段时间)和"]="18"; +w["版本中,使用"]="5"; +w["版本升级到最新版本,我们建议您最好进行全新安装,同时保留您的"]="27"; +w["用于"]="32"; +w["用于后续安装的软件包可以位于电脑硬盘"]="18"; +w["用于存储视频文件,"]="32"; +w["用户"]="26"; +w["用户和管理员管理"]="26"; +w["用户管理"]="7"; +w["用户管理即可"]="26"; +w["登录名区分大小写"]="26"; +w["登录名:输入用户的登录名,或让"]="26"; +w["的"]="8,11,18"; +w["的交换分区,以及"]="8"; +w["的任意物理介质"]="18"; +w["的分区位置"]="8"; +w["的图形化工具"]="18"; +w["的图形化菜单:"]="12"; +w["的大小为"]="5"; +w["的安装"]="8"; +w["的安装器"]="5"; +w["的安装方法"]="8"; +w["的建议不合适,你可以手动更改挂载点"]="32"; +w["的建议格式化分区等"]="32"; +w["的引导菜单"]="12"; +w["的总大小"]="5"; +w["的新人,还是老手,mageia"]="5"; +w["的磁盘布局"]="0"; +w["的私有显卡驱动"]="21"; +w["的软件等"]="21"; +w["盘"]="18"; +w["盘中)"]="16"; +w["盘中,然后使用"]="18"; +w["盘来引导和安装系统"]="18"; +w["盘的设备名,例如图中所示的"]="18"; +w["盘等设备中"]="26"; +w["盘(无需挂载,并且不要用任何应用程序或文件管理器访问它)"]="18"; +w["盘)都在对应的标签页中显示"]="0"; +w["目录中找到合适的驱动"]="1"; +w["目录提供了超过"]="1"; +w["相同)"]="26"; +w["相应的窗口中将会提示您正在使用的镜像源,并在速度太慢时提醒您更换镜像源"]="18"; +w["真实姓名:在文本框中输入用户的真名"]="26"; +w["硬件上使用"]="0"; +w["硬件参数"]="7"; +w["硬件时"]="12"; +w["硬件检测工具"]="5,18"; +w["硬件选项卡中的"]="23"; +w["确保所有创建的分区的大小均为偶数倍"]="8"; +w["确定"]="6,12,19"; +w["确定要格式化的硬盘"]="3"; +w["确认密码:再次输入密码,安装程序将检查您两次输入的密码是否一致"]="12"; +w["磁盘管理"]="10"; +w["示例:"]="18"; +w["种通用的开源显卡驱动"]="1"; +w["移除软件包"]="4"; +w["窗口中,您也可以选择一种输入法(位于列表底部)"]="19"; +w["窗口系统(也叫"]="15"; +w["第一页"]="12"; +w["等软件包所必须的程序,因此非常轻巧"]="18"; +w["等)可以提供类似的功能,您可以在选择软件包前通过添加"]="19"; +w["简介"]="18"; +w["管理工具"]="10"; +w["管理本地化"]="13"; +w["管理,例如"]="2"; +w["类型的分区即为"]="10"; +w["系统"]="10,13"; +w["系统中的命令行程序"]="18"; +w["系统中管理某个特定处理器的所有外部中断"]="12"; +w["系统分区)来容纳引导器(grub2-efi)"]="12"; +w["系统分区),之后将其挂载到"]="8"; +w["系统分区),并且已被挂载至"]="0"; +w["系统参数"]="7"; +w["系统服务指在后台运行的小程序(守护进程)"]="7"; +w["系统的用户主目录"]="32"; +w["系统至现存引导器的问题超出了此帮助的范围"]="12"; +w["系统,以便确定系统被安装之后的模样"]="18"; +w["系统,将自动检测并创建"]="8"; +w["纵向刷新率,请点击"]="15"; +w["组"]="26"; +w["经过检查后的"]="18"; +w["绿色表示你的密码强度较高"]="26"; +w["绿色,用以指示你所输入密码的强度"]="26"; +w["编码器)"]="18"; +w["网上提供的数值"]="18"; +w["网卡的固件等"]="21"; +w["网络"]="7"; +w["网络和"]="7"; +w["腾出安装空间,但操作过程有一定风险"]="8"; +w["自动引导之前等待:此文本框用于设置在等待多少秒之后自动进入默认选定的操作系统"]="12"; +w["自动选择的分区需要被格式化"]="29"; +w["自定义"]="8,15,25,30"; +w["自定义磁盘分区方式"]="0"; +w["自定义磁盘分区,在出现的窗口中点击分区来查看其类型和大小"]="32"; +w["至硬盘"]="18"; +w["若"]="10,15"; +w["若不确定,请不要轻易尝试未知模式"]="30"; +w["若仍有疑问,请查询显示器文档"]="30"; +w["若你不希望接受这些条件,我们向您表示诚挚歉意"]="24"; +w["若使用"]="18"; +w["若出现询问设置是否正确的对话框,您可以选择“是”,则当前设置会被保留"]="15"; +w["若列表中不包含您的国家,请点击"]="19"; +w["若列表中没有您的键盘,请点击"]="6"; +w["若可用空间小于"]="8"; +w["若安装失败,您可能需要尝试其他的选项"]="5"; +w["若安装程序无法正确检测您的显卡,请在以下列表中选择一个合适的配置:"]="1"; +w["若安装程序无法正确检测您的显示器,请在以下列表中选择一个合适的配置:"]="30"; +w["若安装过程在某一步中断,您可以选择重启,但请三思而后行"]="5,27"; +w["若尚未启用网络链接,请选择并启用它"]="2"; +w["若希望全部安装或均不安装,或自定义要安装的默认软件,请点击"]="25"; +w["若总可用空间大于"]="8"; +w["若您不在所选国家"]="7"; +w["若您不确定如何操作,请不要修改“引导设备”"]="12"; +w["若您不确定如何设置,请将其留空"]="26"; +w["若您不确定如何选择,请使用默认设置"]="9"; +w["若您不确定所做选择是否正确,可以点击两次"]="29"; +w["若您不确定选择是否正确,请点击"]="3"; +w["若您不需要"]="12"; +w["若您不需要控制"]="5"; +w["若您仍然无法找到合适的显卡驱动,请使用"]="1"; +w["若您使用"]="8,18"; +w["若您使用传统的硬件"]="0"; +w["若您使用传统的硬件(即"]="8"; +w["若您同时安装了"]="10"; +w["若您在安装期间缺少输入法,您可以在安装完成后通过“配置我的电脑”"]="19"; +w["若您在微软"]="5"; +w["若您在此之前未选中"]="1"; +w["若您在电脑上安装了多个"]="27"; +w["若您安装了"]="10"; +w["若您安装了多个操作系统,请确保硬件时钟均被设为本地时间,或均为"]="33"; +w["若您对鼠标的响应速度不满意,可以在这里进行调整"]="31"; +w["若您已安装了其他操作系统,mageia"]="12"; +w["若您希望下载和安装更新后的软件包,请选择"]="17"; +w["若您希望将"]="0"; +w["若您忘记选择某一附加语言,您可以回到“安装或升级”界面,然后按下来"]="27"; +w["若您找不到所需的制造商列表(如显卡太老,或尚未加入到数据库中),您也可以在"]="1"; +w["若您整从包含"]="2"; +w["若您有任何疑问,或希望帮助完善"]="28"; +w["若您正在使用这类驱动器,我们建议您使用其他的分区工具(如gparted)预先进行分区操作:"]="8"; +w["若您没有看到任何对话框,您将可以回到配置窗口,并重新进行配置"]="15"; +w["若您没有调整引导器的配置,将会自动启动"]="28"; +w["若您的国家仅在"]="19"; +w["若您的键盘输入语言与首选语言不同,最好也同时安装该输入语言"]="13"; +w["若您确定要重启,可以按"]="5,27"; +w["若您确定选项正确,请点击"]="29"; +w["若您认为这不适合您的语言,可以在“多语言”界面中将其禁用"]="13"; +w["若您选择了基于非拉丁字符的键盘布局,之后您将会看到有关切换拉丁"]="6"; +w["若您选择了安装类别,相应的窗口将会为您展示一些额外的有用软件,例如"]="11"; +w["若您需要在"]="0"; +w["若您需要在系统中安装多种语言(为您和其他用户),请现在点击"]="13"; +w["若您需要在网卡上使用非自由的驱动程序,并且尚未启用"]="7"; +w["若您需要将磁盘的一部分用于存储其他数据,或者您不希望驱动器上的数据丢失,请不要使用此选项"]="8"; +w["若找不到合适的键盘,则会自动选择美式键盘"]="6"; +w["若指定了"]="2"; +w["若无法使用测试功能,请确保您的设置是正确的"]="15"; +w["若此选项可用,表面安装程序找到了现存的"]="8"; +w["若没有默认驱动,或者默认驱动选择错误,则可以安装时点击此界面中的"]="23"; +w["若添加了在线镜像,则所需"]="2"; +w["若点击"]="26"; +w["若现存"]="8"; +w["若硬件较老,可能无法使用图形化安装程序"]="5"; +w["若硬盘上有未使用的区域,此选项将会把"]="8"; +w["若确定挂载点设置正确,则可点击"]="32"; +w["若系统在安装过程中停止响应(卡死),可能是硬件检测过程出现问题"]="5"; +w["若要从可用的模式中进行选择,请点击下三角标记"]="12"; +w["若要将被"]="10"; +w["若要恢复原始容量,您必须重新进行分区和格式化操作"]="18"; +w["若选中“包含"]="11"; +w["若选择了这些选项之一,将会同时更改"]="5"; +w["若选择了镜像,则您需要能够访问所选择的所有仓库(由"]="2"; +w["若需要手动指定显示器的横向"]="15"; +w["若需要查看某一组的详细说明,请将鼠标移至该组的名称上方"]="4"; +w["若需要,您可以在该窗口中勾选“独立选择软件包”选项"]="11"; +w["若高亮选中服务,则可在下方的信息框中查看此服务的细节"]="20"; +w["获取"]="18"; +w["菜单中不包括:"]="5"; +w["行"]="5"; +w["表示"]="5"; +w["被分配给"]="8"; +w["被分配给交换分区,最大不超过"]="8"; +w["要将硬盘转变回“basic”格式,请参见微软的文档:"]="5"; +w["要手动指定它,可以使用"]="5"; +w["要接受"]="24"; +w["视频文件的多媒体解码器,用于播放商业视频"]="21"; +w["警告"]="0,5,6,7,8,13,15,18,26,27,30,32"; +w["计算机管理"]="10"; +w["让我选择任意驱动来选择其他驱动程序"]="23"; +w["记住:在调整分区时,请多加小心,并确保所有重要的数据均以备份"]="10"; +w["许可协议"]="24"; +w["许可证和发行说明"]="24"; +w["设备上的第五个分区"]="32"; +w["设备可以支持更复杂的优先级模型和高级"]="12"; +w["设置scsi"]="14"; +w["设置增补的安装介质"]="2"; +w["设置管理员(root"]="26"; +w["该分区一般为"]="8"; +w["该分区必须为“clean”状态,即上一次使用"]="8"; +w["该操作将应用到所有安装的语言"]="13"; +w["详细"]="25"; +w["请"]="27"; +w["请不要选择与您的显示器不匹配的同步范围,这样做可能损害显示器"]="30"; +w["请勾选您认为合适的选项"]="7"; +w["请参见有关操作系统的文档以便进一步操作"]="12"; +w["请在地区列表中选择您的首选语言"]="13"; +w["请尝试在提示后输入"]="5"; +w["请您保留它们以便"]="18"; +w["请您确保已经备份了所有重要文件!"]="8"; +w["请注意,若选择了不兼容的驱动,您可能无法使用图形化界面(但仍可使用命令行)"]="1"; +w["请点击"]="24"; +w["请牢记:允许所有服务(即不启用防火墙)是非常危险的"]="7"; +w["请确保该选项正确"]="6"; +w["请继续,直到所需操作完成"]="0"; +w["请选择"]="25"; +w["请选择“自定义磁盘分区”,然后手动创建一个"]="8"; +w["请选择您所在的国家或地区"]="19"; +w["请选择要使用的语言"]="13"; +w["请阅读"]="4"; +w["账户)密码:"]="26"; +w["身份操作),然后:"]="18"; +w["身份运行"]="19"; +w["轨迹球等"]="7"; +w["软件仓库,那么您最好等到重启后再进行这一操作"]="7"; +w["软件包按组列出,您可以更方便地选择所需软件"]="4"; +w["输入命令"]="18"; +w["输入命令:"]="18"; +w["输入法"]="19"; +w["输入法用于输入各类语言中的字符(中文"]="19"; +w["输入用户名"]="26"; +w["返回引导选项可以回到选项列表"]="5"; +w["这一功能可不是所有操作系统都会提供的!"]="10"; +w["这一界面中列出了安装程序为声卡选定的驱动,如果有默认驱动则将其作为默认配置"]="23"; +w["这两种校验和均由特定算法计算文件内容产生,且均为十六进制数字"]="18"; +w["这两种环境均包含有用的应用程序盒工具"]="25"; +w["这中情况可能发生在部分显卡和较老的系统中"]="5"; +w["这么做,请点击"]="12"; +w["这些"]="18"; +w["这些操作不同于简单的复制,其目的是创建一个可引导的媒体"]="18"; +w["这些许可条款和许可条件适用于整个"]="24"; +w["这意味着如果您有"]="8"; +w["这样的图形化工具来操作"]="18"; +w["这种安装的过程更加简单,但您可做的选择也相应减少"]="18"; +w["这种安装类型可以给予您最大限度的灵活性,尤其是选择所需安装的桌面环境"]="18"; +w["这种情况下,可以尝试文本安装模式:在首个欢迎界面中按"]="5"; +w["这类媒介非常小巧(小于"]="18"; +w["这里你可以查看已找到的"]="32"; +w["这里您可以选择要格式化的分区"]="29"; +w["这里找到它们"]="18"; +w["追加"]="12"; +w["退出"]="24"; +w["选择"]="31"; +w["选择一个x服务器"]="1"; +w["选择一个镜像,或指定"]="2"; +w["选择单个软件包"]="16"; +w["选择和使用"]="18"; +w["选择国家"]="33"; +w["选择您所在的国家"]="19"; +w["选择您的显示器"]="30"; +w["选择您需要使用的服务,这取决与您希望如何使用您的计算机"]="7"; +w["选择挂载点"]="32"; +w["选择语言(仅用于安装,可能与系统所选语言有出入)(仅用于传统模式)"]="5"; +w["选择软件包组"]="4"; +w["选择错误的属性可能会损坏显示器或视频设备"]="30"; +w["选择鼠标"]="31"; +w["选项"]="12"; +w["选项卡里调整安全设置"]="9"; +w["选项的细节"]="5"; +w["选项:您可以在此处启用或禁用各类选项"]="15"; +w["通常会正确探测硬盘"]="14"; +w["通用"]="15,30,31"; +w["通用特性"]="18"; +w["通过"]="18"; +w["通过磁盘大小来确认您的"]="18"; +w["部分情况下,硬件可能无法正确地检测可用"]="5"; +w["部分显卡制造商仅提供私有"]="1"; +w["都设置一个超级用户或管理员密码(linux"]="26"; +w["配置"]="7,26"; +w["配置您的显示卡"]="1"; +w["配置时区"]="33"; +w["配置服务"]="20"; +w["重启之后,在引导界面可以看到操作系统选项(若您的计算机上有两个以上操作系统)"]="28"; +w["重新引导系统,并进入救援系统,选择恢复"]="10"; +w["键"]="5"; +w["键可以将帮助翻译为所选语言"]="5"; +w["键可以更改屏幕分辨率(仅用于传统模式)"]="5"; +w["键可以添加更多内核参数(仅用于传统模式)"]="5"; +w["键可以调出"]="5"; +w["键盘"]="6,7"; +w["键盘布局为美式键盘"]="5"; +w["键选择的选项可能不会在"]="5"; +w["键(uefi"]="5"; +w["键(传统模式下)或"]="5"; +w["镜像”选项;"]="18"; +w["镜像进行分发"]="18"; +w["镜像)安装时的默认欢迎界面:"]="5"; +w["防火墙将保护您的重要数据,以免其被他人恶意利用或窃取"]="7"; +w["防火墙:"]="7"; +w["除非您懂得如何配置"]="7"; +w["随后"]="14"; +w["需要手动启用"]="1"; +w["需要更正,请注意:在更改配置后,之前设置的密码也可能发生改变"]="7"; +w["非拉丁键盘布局的提示窗口"]="6"; +w["韩文等)"]="19"; +w["驱动"]="14"; +w["驱动以确保基本的显示功能"]="1"; +w["驱动器或不支持"]="18"; +w["驱动器的擦除块大小为"]="8"; +w["驱动(在"]="1"; +w["高级"]="12,23,29"; +w["高级并勾选"]="12"; +w["高级按钮查看不常用的选项"]="5"; +w["高级按钮,您可以在弹出的窗口中对所添加的用户进行设置"]="26"; +w["高级用户管理"]="26"; +w["默认使用"]="13"; +w["默认情况下,mageia"]="12"; +w["默认情况下,根据您的硬件情况,mageia"]="12"; +w["默认选项,根据显示器数据库确定显示器类别"]="30"; +w["默认驱动通常不会出问题"]="23"; +w["默认,即使用默认选项"]="5"; +w["默认:使用默认引导参数"]="12"; +w["鼠标"]="7"; +w["鼠标可以满足大多数需求"]="31"; +w["(参见"]="26"; +w["(根)分区的权限"]="32"; +w[",“分区编号”"]="32"; + diff --git a/installer/6/zh_CN/content/search/ja-jp.props b/installer/6/zh_CN/content/search/ja-jp.props new file mode 100644 index 00000000..27568054 --- /dev/null +++ b/installer/6/zh_CN/content/search/ja-jp.props @@ -0,0 +1 @@ +J01=\\u306B
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/nwSearchFnt.js b/installer/6/zh_CN/content/search/nwSearchFnt.js new file mode 100644 index 00000000..0111559c --- /dev/null +++ b/installer/6/zh_CN/content/search/nwSearchFnt.js @@ -0,0 +1,513 @@ +/*----------------------------------------------------------------------------
+ * JavaScript for webhelp search
+ *----------------------------------------------------------------------------
+ This file is part of the webhelpsearch plugin for DocBook WebHelp
+ Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved.
+ www.nexwave.biz Nadege Quaine
+ http://kasunbg.blogspot.com/ Kasun Gajasinghe
+ */
+
+//string initialization
+var htmlfileList = "htmlFileList.js";
+var htmlfileinfoList = "htmlFileInfoList.js";
+var useCJKTokenizing = false;
+
+/* Cette fonction verifie la validite de la recherche entrre par l utilisateur */
+function Verifie(ditaSearch_Form) {
+
+ // Check browser compatibitily
+ if (navigator.userAgent.indexOf("Konquerer") > -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, "</").replace(/_di_/g, "%24_");
+
+ searchFor = searchFor.replace(/ +/g, " ");
+ searchFor = searchFor.replace(/ $/, "").replace(/^ /, "");
+
+ wordsList = searchFor.split(" ");
+ wordsList.sort();
+
+ //set the tokenizing method
+ if(typeof indexerLanguage != "undefined" && (indexerLanguage=="zh" || indexerLanguage=="ja" ||indexerLanguage=="ko")){
+ useCJKTokenizing=true;
+ } else {
+ useCJKTokenizing=false;
+ }
+ //If Lucene CJKTokenizer was used as the indexer, then useCJKTokenizing will be true. Else, do normal tokenizing.
+ // 2-gram tokenizinghappens in CJKTokenizing,
+ if(useCJKTokenizing){
+ finalWordsList = cjkTokenize(wordsList);
+ } else {
+ finalWordsList = tokenize(wordsList);
+ }
+
+ //load the scripts with the indices: the following lines do not work on the server. To be corrected
+ /*if (IEBrowser) {
+ scriptsarray = loadTheIndexScripts (scriptLetterTab);
+ } */
+
+ /**
+ * Compare with the indexed words (in the w[] array), and push words that are in it to tempTab.
+ */
+ var tempTab = new Array();
+ for (var t in finalWordsList) {
+ if (w[finalWordsList[t].toString()] == undefined) {
+ txt_wordsnotfound += finalWordsList[t] + " ";
+ } else {
+ tempTab.push(finalWordsList[t]);
+ }
+ }
+ finalWordsList = tempTab;
+
+ if (finalWordsList.length) {
+
+ //search 'and' and 'or' one time
+ fileAndWordList = SortResults(finalWordsList);
+
+ var cpt = fileAndWordList.length;
+ for (var i = cpt - 1; i >= 0; i--) {
+ if (fileAndWordList[i] != undefined) {
+ linkTab.push("<p>" + txt_results_for + " " + "<span class=\"searchExpression\">" + fileAndWordList[i][0].motslisteDisplay + "</span>" + "</p>");
+
+ linkTab.push("<ul class='searchresult'>");
+ for (t in fileAndWordList[i]) {
+ //DEBUG: alert(": "+ fileAndWordList[i][t].filenb+" " +fileAndWordList[i][t].motsliste);
+ //linkTab.push("<li><a href=\"../"+fl[fileAndWordList[i][t].filenb]+"\">"+fl[fileAndWordList[i][t].filenb]+"</a></li>");
+ var tempInfo = fil[fileAndWordList[i][t].filenb];
+ var pos1 = tempInfo.indexOf("@@@");
+ var pos2 = tempInfo.lastIndexOf("@@@");
+ var tempPath = tempInfo.substring(0, pos1);
+ var tempTitle = tempInfo.substring(pos1 + 3, pos2);
+ var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length);
+
+ //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html
+ var linkString = "<li><a href=" + tempPath + ">" + tempTitle + "</a>";
+ // var linkString = "<li><a href=\"installation.html\">" + tempTitle + "</a>";
+ if ((tempShortdesc != "null")) {
+ linkString += "\n<div class=\"shortdesclink\">" + tempShortdesc + "</div>";
+ }
+ linkString += "</li>";
+ linkTab.push(linkString);
+ }
+ linkTab.push("</ul>");
+ }
+ }
+ }
+
+ var results = "";
+ if (linkTab.length > 0) {
+ /*writeln ("<p>" + txt_results_for + " " + "<span class=\"searchExpression\">" + cleanwordsList + "</span>" + "<br/>"+"</p>");*/
+ results = "<p>";
+ //write("<ul class='searchresult'>");
+ for (t in linkTab) {
+ results += linkTab[t].toString();
+ }
+ results += "</p>";
+ } else {
+ results = "<p>" + "Your search returned no results for " + "<span class=\"searchExpression\">" + txt_wordsnotfound + "</span>" + "</p>";
+ }
+ //alert(results);
+ document.getElementById('searchResults').innerHTML = results;
+}
+
+function tokenize(wordsList){
+ var stemmedWordsList = new Array(); // Array with the words to look for after removing spaces
+ var cleanwordsList = new Array(); // Array with the words to look for
+ for(var j in wordsList){
+ var word = wordsList[j];
+ if(typeof stemmer != "undefined" ){
+ stemQueryMap[stemmer(word)] = word;
+ } else {
+ stemQueryMap[word] = word;
+ }
+ }
+ //stemmedWordsList is the stemmed list of words separated by spaces.
+ for (var t in wordsList) {
+ wordsList[t] = wordsList[t].replace(/(%22)|^-/g, "");
+ if (wordsList[t] != "%20") {
+ scriptLetterTab.add(wordsList[t].charAt(0));
+ cleanwordsList.push(wordsList[t]);
+ }
+ }
+
+ if(typeof stemmer != "undefined" ){
+ //Do the stemming using Porter's stemming algorithm
+ for (var i = 0; i < cleanwordsList.length; i++) {
+ var stemWord = stemmer(cleanwordsList[i]);
+ stemmedWordsList.push(stemWord);
+ }
+ } else {
+ stemmedWordsList = cleanwordsList;
+ }
+ return stemmedWordsList;
+}
+
+//Invoker of CJKTokenizer class methods.
+function cjkTokenize(wordsList){
+ var allTokens= new Array();
+ var notCJKTokens= new Array();
+ var j=0;
+ for(j=0;j<wordsList.length;j++){
+ var word = wordsList[j];
+ if(getAvgAsciiValue(word) < 127){
+ notCJKTokens.push(word);
+ } else {
+ var tokenizer = new CJKTokenizer(word);
+ var tokensTmp = tokenizer.getAllTokens();
+ allTokens = allTokens.concat(tokensTmp);
+ }
+ }
+ allTokens = allTokens.concat(tokenize(notCJKTokens));
+ return allTokens;
+}
+
+//A simple way to determine whether the query is in english or not.
+function getAvgAsciiValue(word){
+ var tmp = 0;
+ var num = word.length < 5 ? word.length:5;
+ for(var i=0;i<num;i++){
+ if(i==5) break;
+ tmp += word.charCodeAt(i);
+ }
+ return tmp/num;
+}
+
+//CJKTokenizer
+function CJKTokenizer(input){
+ this.input = input;
+ this.offset=-1;
+ this.tokens = new Array();
+ this.incrementToken = incrementToken;
+ this.tokenize = tokenize;
+ this.getAllTokens = getAllTokens;
+ this.unique = unique;
+
+ function incrementToken(){
+ if(this.input.length - 2 <= this.offset){
+ // console.log("false "+offset);
+ return false;
+ }
+ else {
+ this.offset+=1;
+ return true;
+ }
+ }
+
+ function tokenize(){
+ //document.getElementById("content").innerHTML += x.substring(offset,offset+2)+"<br>";
+ return this.input.substring(this.offset,this.offset+2);
+ }
+
+ function getAllTokens(){
+ while(this.incrementToken()){
+ var tmp = this.tokenize();
+ this.tokens.push(tmp);
+ }
+ return this.unique(this.tokens);
+// document.getElementById("content").innerHTML += tokens+" ";
+// document.getElementById("content").innerHTML += "<br>dada"+sortedTokens+" ";
+// console.log(tokens.length+"dsdsds");
+ /*for(i=0;i<tokens.length;i++){
+ console.log(tokens[i]);
+ var ss = tokens[i] == sortedTokens[i];
+
+// document.getElementById("content").innerHTML += "<br>dada"+un[i]+"- "+stems[i]+" "+ ss;
+ document.getElementById("content").innerHTML += "<br>"+sortedTokens[i];
+ }*/
+ }
+
+ function unique(a)
+ {
+ var r = new Array();
+ o:for(var i = 0, n = a.length; i < n; i++)
+ {
+ for(var x = 0, y = r.length; x < y; x++)
+ {
+ if(r[x]==a[i]) continue o;
+ }
+ r[r.length] = a[i];
+ }
+ return r;
+ }
+}
+
+
+/* Scriptfirstchar: to gather the first letter of index js files to upload */
+function Scriptfirstchar() {
+ this.strLetters = "";
+ this.add = addLettre;
+}
+
+function addLettre(caract) {
+
+ if (this.strLetters == 'undefined') {
+ this.strLetters = caract;
+ } else if (this.strLetters.indexOf(caract) < 0) {
+ this.strLetters += caract;
+ }
+
+ return 0;
+}
+/* end of scriptfirstchar */
+
+/*main loader function*/
+/*tab contains the first letters of each word looked for*/
+function loadTheIndexScripts(tab) {
+
+ //alert (tab.strLetters);
+ var scriptsarray = new Array();
+
+ for (var i = 0; i < tab.strLetters.length; i++) {
+
+ scriptsarray[i] = "..\/search" + "\/" + tab.strLetters.charAt(i) + ".js";
+ }
+ // add the list of html files
+ i++;
+ scriptsarray[i] = "..\/search" + "\/" + htmlfileList;
+
+ //debug
+ for (var t in scriptsarray) {
+ //alert (scriptsarray[t]);
+ }
+
+ tab = new ScriptLoader();
+ for (t in scriptsarray) {
+ tab.add(scriptsarray[t]);
+ }
+ tab.load();
+ //alert ("scripts loaded");
+ return (scriptsarray);
+}
+
+/* ScriptLoader: to load the scripts and wait that it's finished */
+function ScriptLoader() {
+ this.cpt = 0;
+ this.scriptTab = new Array();
+ this.add = addAScriptInTheList;
+ this.load = loadTheScripts;
+ this.onScriptLoaded = onScriptLoadedFunc;
+}
+
+function addAScriptInTheList(scriptPath) {
+ this.scriptTab.push(scriptPath);
+}
+
+function loadTheScripts() {
+ var script;
+ var head;
+
+ head = document.getElementsByTagName('head').item(0);
+
+ //script = document.createElement('script');
+
+ for (var el in this.scriptTab) {
+ //alert (el+this.scriptTab[el]);
+ script = document.createElement('script');
+ script.src = this.scriptTab[el];
+ script.type = 'text/javascript';
+ script.defer = false;
+
+ head.appendChild(script);
+ }
+
+}
+
+function onScriptLoadedFunc(e) {
+ e = e || window.event;
+ var target = e.target || e.srcElement;
+ var isComplete = true;
+ if (typeof target.readyState != undefined) {
+
+ isComplete = (target.readyState == "complete" || target.readyState == "loaded");
+ }
+ if (isComplete) {
+ ScriptLoader.cpt++;
+ if (ScriptLoader.cpt == ScriptLoader.scripts.length) {
+ ScriptLoader.onLoadComplete();
+ }
+ }
+}
+
+/*
+function onLoadComplete() {
+ alert("loaded !!");
+} */
+
+/* End of scriptloader functions */
+
+// Array.unique( strict ) - Remove duplicate values
+function unique(tab) {
+ var a = new Array();
+ var i;
+ var l = tab.length;
+
+ if (tab[0] != undefined) {
+ a[0] = tab[0];
+ }
+ else {
+ return -1
+ }
+
+ for (i = 1; i < l; i++) {
+ if (indexof(a, tab[i], 0) < 0) {
+ a.push(tab[i]);
+ }
+ }
+ return a;
+}
+function indexof(tab, element, begin) {
+ for (var i = begin; i < tab.length; i++) {
+ if (tab[i] == element) {
+ return i;
+ }
+ }
+ return -1;
+
+}
+/* end of Array functions */
+
+
+/*
+ Param: mots= list of words to look for.
+ This function creates an hashtable:
+ - The key is the index of a html file which contains a word to look for.
+ - The value is the list of all words contained in the html file.
+
+ Return value: the hashtable fileAndWordList
+ */
+function SortResults(mots) {
+
+ var fileAndWordList = new Object();
+ if (mots.length == 0) {
+ return null;
+ }
+
+ for (var t in mots) {
+ // get the list of the indices of the files.
+ var listNumerosDesFicStr = w[mots[t].toString()];
+ //alert ("listNumerosDesFicStr "+listNumerosDesFicStr);
+ var tab = listNumerosDesFicStr.split(",");
+
+ //for each file (file's index):
+ for (var t2 in tab) {
+ var temp = tab[t2].toString();
+ if (fileAndWordList[temp] == undefined) {
+
+ fileAndWordList[temp] = "" + mots[t];
+ } else {
+
+ fileAndWordList[temp] += "," + mots[t];
+ }
+ }
+ }
+
+ var fileAndWordListValuesOnly = new Array();
+
+ // sort results according to values
+ var temptab = new Array();
+ for (t in fileAndWordList) {
+ tab = fileAndWordList[t].split(',');
+
+ var tempDisplay = new Array();
+ for (var x in tab) {
+ if(stemQueryMap[tab[x]] != undefined){
+ tempDisplay.push(stemQueryMap[tab[x]]); //get the original word from the stem word.
+ } else {
+ tempDisplay.push(tab[x]); //no stem is available. (probably a CJK language)
+ }
+ }
+ var tempDispString = tempDisplay.join(", ");
+
+ temptab.push(new resultPerFile(t, fileAndWordList[t], tab.length, tempDispString));
+ fileAndWordListValuesOnly.push(fileAndWordList[t]);
+ }
+
+
+ //alert("t"+fileAndWordListValuesOnly.toString());
+
+ fileAndWordListValuesOnly = unique(fileAndWordListValuesOnly);
+ fileAndWordListValuesOnly = fileAndWordListValuesOnly.sort(compare_nbMots);
+ //alert("t: "+fileAndWordListValuesOnly.join(';'));
+
+ var listToOutput = new Array();
+
+ for (var j in fileAndWordListValuesOnly) {
+ for (t in temptab) {
+ if (temptab[t].motsliste == fileAndWordListValuesOnly[j]) {
+ if (listToOutput[j] == undefined) {
+ listToOutput[j] = new Array(temptab[t]);
+ } else {
+ listToOutput[j].push(temptab[t]);
+ }
+ }
+ }
+ }
+ return listToOutput;
+}
+
+function resultPerFile(filenb, motsliste, motsnb, motslisteDisplay) {
+ this.filenb = filenb;
+ this.motsliste = motsliste;
+ this.motsnb = motsnb;
+ this.motslisteDisplay= motslisteDisplay;
+}
+
+function compare_nbMots(s1, s2) {
+ var t1 = s1.split(',');
+ var t2 = s2.split(',');
+ //alert ("s1:"+t1.length + " " +t2.length)
+ if (t1.length == t2.length) {
+ return 0;
+ } else if (t1.length > t2.length) {
+ return 1;
+ } else {
+ return -1;
+ }
+ //return t1.length - t2.length);
+}
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/punctuation.props b/installer/6/zh_CN/content/search/punctuation.props new file mode 100644 index 00000000..d3e3fcd2 --- /dev/null +++ b/installer/6/zh_CN/content/search/punctuation.props @@ -0,0 +1,31 @@ +Punct01=\\u3002
+Punct02=\\u3003
+Punct03=\\u300C
+Punct04=\\u300D
+Punct05=\\u300E
+Punct06=\\u300F
+Punct07=\\u301D
+Punct08=\\u301E
+Punct09=\\u301F
+Punct10=\\u309B
+Punct11=\\u2018
+Punct12=\\u2019
+Punct13=\\u201A
+Punct14=\\u201C
+Punct15=\\u201D
+Punct16=\\u201E
+Punct17=\\u2032
+Punct18=\\u2033
+Punct19=\\u2035
+Punct20=\\u2039
+Punct21=\\u203A
+Punct22=\\u201E
+Punct23=\\u00BB
+Punct24=\\u00AB
+Punct25=
+Punct26=
+Punct27=\\u00A0
+Punct28=\\u2014
+
+
+
diff --git a/installer/6/zh_CN/content/search/stemmers/de_stemmer.js b/installer/6/zh_CN/content/search/stemmers/de_stemmer.js new file mode 100644 index 00000000..7ff3822a --- /dev/null +++ b/installer/6/zh_CN/content/search/stemmers/de_stemmer.js @@ -0,0 +1,247 @@ +/* + * Author: Joder Illi + * + * Copyright (c) 2010, FormBlitz AG + * All rights reserved. + * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/german/stemmer.html + * Copyright of the algorithm is: Copyright (c) 2001, Dr Martin Porter and can be found at http://snowball.tartarus.org/license.php + * + * Redistribution and use in source and binary forms, with or without modification, is covered by the standard BSD license. + * + */ + +//var stemmer = function Stemmer() { + /* + German includes the following accented forms, + ä ö ü + and a special letter, ß, equivalent to double s. + The following letters are vowels: + a e i o u y ä ö ü + */ + + var stemmer = function(word) { + /* + Put u and y between vowels into upper case + */ + word = word.replace(/([aeiouyäöü])u([aeiouyäöü])/g, '$1U$2'); + word = word.replace(/([aeiouyäöü])y([aeiouyäöü])/g, '$1Y$2'); + + /* + and then do the following mappings, + (a) replace ß with ss, + (a) replace ae with ä, Not doing these, have trouble with diphtongs + (a) replace oe with ö, Not doing these, have trouble with diphtongs + (a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphtongs + So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found. + */ + word = word.replace(/ß/g, 'ss'); + //word = word.replace(/ae/g, 'ä'); + //word = word.replace(/oe/g, 'ö'); + //word = word.replace(/([^q])ue/g, '$1ü'); + + /* + R1 and R2 are first set up in the standard way (see the note on R1 and R2), but then R1 is adjusted so that the region before it contains at least 3 letters. + R1 is the region after the first non-vowel following a vowel, or is the null region at the end of the word if there is no such non-vowel. + R2 is the region after the first non-vowel following a vowel in R1, or is the null region at the end of the word if there is no such non-vowel. + */ + + var r1Index = word.search(/[aeiouyäöü][^aeiouyäöü]/); + var r1 = ''; + if (r1Index != -1) { + r1Index += 2; + r1 = word.substring(r1Index); + } + + var r2Index = -1; + var r2 = ''; + + if (r1Index != -1) { + var r2Index = r1.search(/[aeiouyäöü][^aeiouyäöü]/); + if (r2Index != -1) { + r2Index += 2; + r2 = r1.substring(r2Index); + r2Index += r1Index; + } else { + r2 = ''; + } + } + + if (r1Index != -1 && r1Index < 3) { + r1Index = 3; + r1 = word.substring(r1Index); + } + + /* + Define a valid s-ending as one of b, d, f, g, h, k, l, m, n, r or t. + Define a valid st-ending as the same list, excluding letter r. + */ + + /* + Do each of steps 1, 2 and 3. + */ + + /* + Step 1: + Search for the longest among the following suffixes, + (a) em ern er + (b) e en es + (c) s (preceded by a valid s-ending) + */ + var a1Index = word.search(/(em|ern|er)$/g); + var b1Index = word.search(/(e|en|es)$/g); + var c1Index = word.search(/([bdfghklmnrt]s)$/g); + if (c1Index != -1) { + c1Index++; + } + var index1 = 10000; + var optionUsed1 = ''; + if (a1Index != -1 && a1Index < index1) { + optionUsed1 = 'a'; + index1 = a1Index; + } + if (b1Index != -1 && b1Index < index1) { + optionUsed1 = 'b'; + index1 = b1Index; + } + if (c1Index != -1 && c1Index < index1) { + optionUsed1 = 'c'; + index1 = c1Index; + } + + /* + and delete if in R1. (Of course the letter of the valid s-ending is not necessarily in R1.) If an ending of group (b) is deleted, and the ending is preceded by niss, delete the final s. + (For example, äckern -> äck, ackers -> acker, armes -> arm, bedürfnissen -> bedürfnis) + */ + + if (index1 != 10000 && r1Index != -1) { + if (index1 >= r1Index) { + word = word.substring(0, index1); + if (optionUsed1 == 'b') { + if (word.search(/niss$/) != -1) { + word = word.substring(0, word.length -1); + } + } + } + } + /* + Step 2: + Search for the longest among the following suffixes, + (a) en er est + (b) st (preceded by a valid st-ending, itself preceded by at least 3 letters) + */ + + var a2Index = word.search(/(en|er|est)$/g); + var b2Index = word.search(/(.{3}[bdfghklmnt]st)$/g); + if (b2Index != -1) { + b2Index += 4; + } + + var index2 = 10000; + var optionUsed2 = ''; + if (a2Index != -1 && a2Index < index2) { + optionUsed2 = 'a'; + index2 = a2Index; + } + if (b2Index != -1 && b2Index < index2) { + optionUsed2 = 'b'; + index2 = b2Index; + } + + /* + and delete if in R1. + (For example, derbsten -> derbst by step 1, and derbst -> derb by step 2, since b is a valid st-ending, and is preceded by just 3 letters) + */ + + if (index2 != 10000 && r1Index != -1) { + if (index2 >= r1Index) { + word = word.substring(0, index2); + } + } + + /* + Step 3: d-suffixes (*) + Search for the longest among the following suffixes, and perform the action indicated. + end ung + delete if in R2 + if preceded by ig, delete if in R2 and not preceded by e + ig ik isch + delete if in R2 and not preceded by e + lich heit + delete if in R2 + if preceded by er or en, delete if in R1 + keit + delete if in R2 + if preceded by lich or ig, delete if in R2 + */ + + var a3Index = word.search(/(end|ung)$/g); + var b3Index = word.search(/[^e](ig|ik|isch)$/g); + var c3Index = word.search(/(lich|heit)$/g); + var d3Index = word.search(/(keit)$/g); + if (b3Index != -1) { + b3Index ++; + } + + var index3 = 10000; + var optionUsed3 = ''; + if (a3Index != -1 && a3Index < index3) { + optionUsed3 = 'a'; + index3 = a3Index; + } + if (b3Index != -1 && b3Index < index3) { + optionUsed3 = 'b'; + index3 = b3Index; + } + if (c3Index != -1 && c3Index < index3) { + optionUsed3 = 'c'; + index3 = c3Index; + } + if (d3Index != -1 && d3Index < index3) { + optionUsed3 = 'd'; + index3 = d3Index; + } + + if (index3 != 10000 && r2Index != -1) { + if (index3 >= r2Index) { + word = word.substring(0, index3); + var optionIndex = -1; + var optionSubsrt = ''; + if (optionUsed3 == 'a') { + optionIndex = word.search(/[^e](ig)$/); + if (optionIndex != -1) { + optionIndex++; + if (optionIndex >= r2Index) { + word = word.substring(0, optionIndex); + } + } + } else if (optionUsed3 == 'c') { + optionIndex = word.search(/(er|en)$/); + if (optionIndex != -1) { + if (optionIndex >= r1Index) { + word = word.substring(0, optionIndex); + } + } + } else if (optionUsed3 == 'd') { + optionIndex = word.search(/(lich|ig)$/); + if (optionIndex != -1) { + if (optionIndex >= r2Index) { + word = word.substring(0, optionIndex); + } + } + } + } + } + + /* + Finally, + turn U and Y back into lower case, and remove the umlaut accent from a, o and u. + */ + word = word.replace(/U/g, 'u'); + word = word.replace(/Y/g, 'y'); + word = word.replace(/ä/g, 'a'); + word = word.replace(/ö/g, 'o'); + word = word.replace(/ü/g, 'u'); + + return word; + }; +//}
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/stemmers/en_stemmer.js b/installer/6/zh_CN/content/search/stemmers/en_stemmer.js new file mode 100644 index 00000000..f58012f2 --- /dev/null +++ b/installer/6/zh_CN/content/search/stemmers/en_stemmer.js @@ -0,0 +1,187 @@ +// Porter stemmer in Javascript. Few comments, but it's easy to follow against the rules in the original +// paper, in +// +// Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, +// no. 3, pp 130-137, +// +// see also http://www.tartarus.org/~martin/PorterStemmer + +// Release 1 be 'andargor', Jul 2004 +// Release 2 (substantially revised) by Christopher McKenzie, Aug 2009 + + +var stemmer = (function(){ + var step2list = { + "ational" : "ate", + "tional" : "tion", + "enci" : "ence", + "anci" : "ance", + "izer" : "ize", + "bli" : "ble", + "alli" : "al", + "entli" : "ent", + "eli" : "e", + "ousli" : "ous", + "ization" : "ize", + "ation" : "ate", + "ator" : "ate", + "alism" : "al", + "iveness" : "ive", + "fulness" : "ful", + "ousness" : "ous", + "aliti" : "al", + "iviti" : "ive", + "biliti" : "ble", + "logi" : "log" + }, + + step3list = { + "icate" : "ic", + "ative" : "", + "alize" : "al", + "iciti" : "ic", + "ical" : "ic", + "ful" : "", + "ness" : "" + }, + + c = "[^aeiou]", // consonant + v = "[aeiouy]", // vowel + C = c + "[^aeiouy]*", // consonant sequence + V = v + "[aeiou]*", // vowel sequence + + mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 + meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 + mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 + s_v = "^(" + C + ")?" + v; // vowel in stem + + return function (w) { + var stem, + suffix, + firstch, + re, + re2, + re3, + re4, + origword = w; + + if (w.length < 3) { return w; } + + firstch = w.substr(0,1); + if (firstch == "y") { + w = firstch.toUpperCase() + w.substr(1); + } + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) { w = w.replace(re,"$1$2"); } + else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) { w = w + "e"; } + else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); } + else if (re4.test(w)) { w = w + "e"; } + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) { w = stem + "i"; } + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) { + w = stem + step2list[suffix]; + } + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) { + w = stem + step3list[suffix]; + } + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) { + w = stem; + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) { + w = stem; + } + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { + w = stem; + } + } + + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + + if (firstch == "y") { + w = firstch.toLowerCase() + w.substr(1); + } + + return w; + } +})();
\ No newline at end of file diff --git a/installer/6/zh_CN/content/search/stemmers/fr_stemmer.js b/installer/6/zh_CN/content/search/stemmers/fr_stemmer.js new file mode 100644 index 00000000..34f97431 --- /dev/null +++ b/installer/6/zh_CN/content/search/stemmers/fr_stemmer.js @@ -0,0 +1,299 @@ +/* + * Author: Kasun Gajasinghe + * E-Mail: kasunbg AT gmail DOT com + * Date: 09.08.2010 + * + * usage: stemmer(word); + * ex: var stem = stemmer(foobar); + * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/french/stemmer.html + * + * LICENSE: + * + * Copyright (c) 2010, Kasun Gajasinghe. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * + * THIS SOFTWARE IS PROVIDED BY KASUN GAJASINGHE ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KASUN GAJASINGHE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ + +var stemmer = function(word){ +// Letters in French include the following accented forms, +// â à ç ë é ê è ï î ô û ù +// The following letters are vowels: +// a e i o u y â à ë é ê è ï î ô û ù + + word = word.toLowerCase(); + var oriWord = word; + word = word.replace(/qu/g, 'qU'); //have to perform first, as after the operation, capital U is not treated as a vowel + word = word.replace(/([aeiouyâàëéêèïîôûù])u([aeiouyâàëéêèïîôûù])/g, '$1U$2'); + word = word.replace(/([aeiouyâàëéêèïîôûù])i([aeiouyâàëéêèïîôûù])/g, '$1I$2'); + word = word.replace(/([aeiouyâàëéêèïîôûù])y/g, '$1Y'); + word = word.replace(/y([aeiouyâàëéêèïîôûù])/g, 'Y$1'); + + var rv=''; + var rvIndex = -1; + if(word.search(/^(par|col|tap)/) != -1 || word.search(/^[aeiouyâàëéêèïîôûù]{2}/) != -1){ + rv = word.substring(3); + rvIndex = 3; + } else { + rvIndex = word.substring(1).search(/[aeiouyâàëéêèïîôûù]/); + if(rvIndex != -1){ + rvIndex +=2; //+2 is to supplement the substring(1) used to find rvIndex + rv = word.substring(rvIndex); + } else { + rvIndex = word.length; + } + } + +// R1 is the region after the first non-vowel following a vowel, or the end of the word if there is no such non-vowel. +// R2 is the region after the first non-vowel following a vowel in R1, or the end of the word if there is no such non-vowel + var r1Index = word.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/); + var r1 = ''; + if (r1Index != -1) { + r1Index += 2; + r1 = word.substring(r1Index); + } else { + r1Index = word.length; + } + + var r2Index = -1; + var r2 = ''; + if (r1Index != -1) { + r2Index = r1.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/); + if (r2Index != -1) { + r2Index += 2; + r2 = r1.substring(r2Index); + r2Index += r1Index; + } else { + r2 = ''; + r2Index = word.length; + } + } + if (r1Index != -1 && r1Index < 3) { + r1Index = 3; + r1 = word.substring(r1Index); + } + + /* + Step 1: Standard suffix removal + */ + var a1Index = word.search(/(ance|iqUe|isme|able|iste|eux|ances|iqUes|ismes|ables|istes)$/); + var a2Index = word.search(/(atrice|ateur|ation|atrices|ateurs|ations)$/); + var a3Index = word.search(/(logie|logies)$/); + var a4Index = word.search(/(usion|ution|usions|utions)$/); + var a5Index = word.search(/(ence|ences)$/); + var a6Index = word.search(/(ement|ements)$/); + var a7Index = word.search(/(ité|ités)$/); + var a8Index = word.search(/(if|ive|ifs|ives)$/); + var a9Index = word.search(/(eaux)$/); + var a10Index = word.search(/(aux)$/); + var a11Index = word.search(/(euse|euses)$/); + var a12Index = word.search(/[^aeiouyâàëéêèïîôûù](issement|issements)$/); + var a13Index = word.search(/(amment)$/); + var a14Index = word.search(/(emment)$/); + var a15Index = word.search(/[aeiouyâàëéêèïîôûù](ment|ments)$/); + + if(a1Index != -1 && a1Index >= r2Index){ + word = word.substring(0,a1Index); + } else if(a2Index != -1 && a2Index >= r2Index){ + word = word.substring(0,a2Index); + var a2Index2 = word.search(/(ic)$/); + if(a2Index2 != -1 && a2Index2 >= r2Index){ + word = word.substring(0, a2Index2); //if preceded by ic, delete if in R2, + } else { //else replace by iqU + word = word.replace(/(ic)$/,'iqU'); + } + } else if(a3Index != -1 && a3Index >= r2Index){ + word = word.replace(/(logie|logies)$/,'log'); //replace with log if in R2 + } else if(a4Index != -1 && a4Index >= r2Index){ + word = word.replace(/(usion|ution|usions|utions)$/,'u'); //replace with u if in R2 + } else if(a5Index != -1 && a5Index >= r2Index){ + word = word.replace(/(ence|ences)$/,'ent'); //replace with ent if in R2 + } else if(a6Index != -1 && a6Index >= rvIndex){ + word = word.substring(0,a6Index); + if(word.search(/(iv)$/) >= r2Index){ + word = word.replace(/(iv)$/, ''); + if(word.search(/(at)$/) >= r2Index){ + word = word.replace(/(at)$/, ''); + } + } else if(word.search(/(eus)$/) != -1){ + var a6Index2 = word.search(/(eus)$/); + if(a6Index2 >=r2Index){ + word = word.substring(0, a6Index2); + } else if(a6Index2 >= r1Index){ + word = word.substring(0,a6Index2)+"eux"; + } + } else if(word.search(/(abl|iqU)$/) >= r2Index){ + word = word.replace(/(abl|iqU)$/,''); //if preceded by abl or iqU, delete if in R2, + } else if(word.search(/(ièr|Ièr)$/) >= rvIndex){ + word = word.replace(/(ièr|Ièr)$/,'i'); //if preceded by abl or iqU, delete if in R2, + } + } else if(a7Index != -1 && a7Index >= r2Index){ + word = word.substring(0,a7Index); //delete if in R2 + if(word.search(/(abil)$/) != -1){ //if preceded by abil, delete if in R2, else replace by abl, otherwise, + var a7Index2 = word.search(/(abil)$/); + if(a7Index2 >=r2Index){ + word = word.substring(0, a7Index2); + } else { + word = word.substring(0,a7Index2)+"abl"; + } + } else if(word.search(/(ic)$/) != -1){ + var a7Index3 = word.search(/(ic)$/); + if(a7Index3 != -1 && a7Index3 >= r2Index){ + word = word.substring(0, a7Index3); //if preceded by ic, delete if in R2, + } else { //else replace by iqU + word = word.replace(/(ic)$/,'iqU'); + } + } else if(word.search(/(iv)$/) != r2Index){ + word = word.replace(/(iv)$/,''); + } + } else if(a8Index != -1 && a8Index >= r2Index){ + word = word.substring(0,a8Index); + if(word.search(/(at)$/) >= r2Index){ + word = word.replace(/(at)$/, ''); + if(word.search(/(ic)$/) >= r2Index){ + word = word.replace(/(ic)$/, ''); + } else { word = word.replace(/(ic)$/, 'iqU'); } + } + } else if(a9Index != -1){ word = word.replace(/(eaux)/,'eau') + } else if(a10Index >= r1Index){ word = word.replace(/(aux)/,'al') + } else if(a11Index != -1 ){ + var a11Index2 = word.search(/(euse|euses)$/); + if(a11Index2 >=r2Index){ + word = word.substring(0, a11Index2); + } else if(a11Index2 >= r1Index){ + word = word.substring(0, a11Index2)+"eux"; + } + } else if(a12Index!=-1 && a12Index>=r1Index){ + word = word.substring(0,a12Index+1); //+1- amendment to non-vowel + } else if(a13Index!=-1 && a13Index>=rvIndex){ + word = word.replace(/(amment)$/,'ant'); + } else if(a14Index!=-1 && a14Index>=rvIndex){ + word = word.replace(/(emment)$/,'ent'); + } else if(a15Index!=-1 && a15Index>=rvIndex){ + word = word.substring(0,a15Index+1); + } + + /* Step 2a: Verb suffixes beginning i*/ + var wordStep1 = word; + var step2aDone = false; + if(oriWord == word.toLowerCase() || oriWord.search(/(amment|emment|ment|ments)$/) != -1){ + step2aDone = true; + var b1Regex = /([^aeiouyâàëéêèïîôûù])(îmes|ît|îtes|i|ie|ies|ir|ira|irai|iraIent|irais|irait|iras|irent|irez|iriez|irions|irons|iront|is|issaIent|issais|issait|issant|issante|issantes|issants|isse|issent|isses|issez|issiez|issions|issons|it)$/i; + if(word.search(b1Regex) >= rvIndex){ + word = word.replace(b1Regex,'$1'); + } + } + + /* Step 2b: Other verb suffixes*/ + if (step2aDone && wordStep1 == word) { + if (word.search(/(ions)$/) >= r2Index) { + word = word.replace(/(ions)$/, ''); + } else { + var b2Regex = /(é|ée|ées|és|èrent|er|era|erai|eraIent|erais|erait|eras|erez|eriez|erions|erons|eront|ez|iez)$/i; + if (word.search(b2Regex) >= rvIndex) { + word = word.replace(b2Regex, ''); + } else { + var b3Regex = /e(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i; + if (word.search(b3Regex) >= rvIndex) { + word = word.replace(b3Regex, ''); + } else { + var b3Regex2 = /(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i; + if (word.search(b3Regex2) >= rvIndex) { + word = word.replace(b3Regex2, ''); + } + } + } + } + } + + if(oriWord != word.toLowerCase()){ + /* Step 3 */ + var rep = ''; + if(word.search(/Y$/) != -1) { + word = word.replace(/Y$/, 'i'); + } else if(word.search(/ç$/) != -1){ + word = word.replace(/ç$/, 'c'); + } + } else { + /* Step 4 */ + //If the word ends s, not preceded by a, i, o, u, è or s, delete it. + if (word.search(/([^aiouès])s$/) >= rvIndex) { + word = word.replace(/([^aiouès])s$/, '$1'); + } + var e1Index = word.search(/ion$/); + if (e1Index >= r2Index && word.search(/[st]ion$/) >= rvIndex) { + word = word.substring(0, e1Index); + } else { + var e2Index = word.search(/(ier|ière|Ier|Ière)$/); + if (e2Index != -1 && e2Index >= rvIndex) { + word = word.substring(0, e2Index) + "i"; + } else { + if (word.search(/e$/) >= rvIndex) { + word = word.replace(/e$/, ''); //delete last e + } else if (word.search(/guë$/) >= rvIndex) { + word = word.replace(/guë$/, 'gu'); + } + } + } + } + + /* Step 5: Undouble */ + //word = word.replace(/(en|on|et|el|eil)(n|t|l)$/,'$1'); + word = word.replace(/(en|on)(n)$/,'$1'); + word = word.replace(/(ett)$/,'et'); + word = word.replace(/(el|eil)(l)$/,'$1'); + + /* Step 6: Un-accent */ + word = word.replace(/[éè]([^aeiouyâàëéêèïîôûù]+)$/,'e$1'); + word = word.toLowerCase(); + return word; +}; + +var eqOut = new Array(); +var noteqOut = new Array(); +var eqCount = 0; +/* +To test the stemming, create two arrays named "voc" and "COut" which are for vocabualary and the stemmed output. +Then add the vocabulary strings and output strings. This method will generate the stemmed output for "voc" and will +compare the output with COut. + (I used porter's voc and out files and did a regex to convert them to js objects. regex: /");\nvoc.push("/g . This + will add strings to voc array such that output would look like: voc.push("foobar"); ) drop me an email for any help. + */ +function testFr(){ + var start = new Date().getTime(); //execution time + eqCount = 0; + eqOut = new Array(); + noteqOut = new Array(); + for(var k=0;k<voc.length;k++){ + if(COut[k]==stemmer(voc[k])){ + eqCount++; + eqOut.push("v: "+voc[k]+" c: "+COut[k]); + } else { + noteqOut.push(voc[k]+", c: "+COut[k]+" s:"+stemmer(voc[k])); + } + } + var end = new Date().getTime(); //execution time + var time = end-start; + alert("equal count= "+eqCount+" out of "+voc.length+" words. time= "+time+" ms"); + //console.log("equal count= "+eqCount+" out of "+voc.length+" words. time= "+time+" ms"); +} + + |