aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2017-07-18 22:27:03 +0200
committerfilip <filip.komar@gmail.com>2017-07-18 22:27:03 +0200
commitd0452b5504613557baa498ee3d08f064af586a4b (patch)
treead23850f75d4064fe7ad147cd71e8724ac7872e9
parentcb53d1466ff514f6e9e6eb76a94859ee313bff75 (diff)
downloaddoc-d0452b5504613557baa498ee3d08f064af586a4b.tar
doc-d0452b5504613557baa498ee3d08f064af586a4b.tar.gz
doc-d0452b5504613557baa498ee3d08f064af586a4b.tar.bz2
doc-d0452b5504613557baa498ee3d08f064af586a4b.tar.xz
doc-d0452b5504613557baa498ee3d08f064af586a4b.zip
Adding or refreshing netinstall in pt_br
-rw-r--r--netinstall/6/pt_br/content/SOME_UNIQUE_ID.html89
-rw-r--r--netinstall/6/pt_br/content/draft.pngbin0 -> 16150 bytes
-rw-r--r--netinstall/6/pt_br/content/favicon.pngbin0 -> 1184 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso01.pngbin0 -> 1061 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso02.pngbin0 -> 8198 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso03.pngbin0 -> 2661 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso04.pngbin0 -> 2331 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso05.pngbin0 -> 4596 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso06.pngbin0 -> 2985 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso07.pngbin0 -> 2513 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Boot-iso08.pngbin0 -> 4031 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Bootimg10.pngbin0 -> 3873 bytes
-rw-r--r--netinstall/6/pt_br/content/images/Bootimg9.pngbin0 -> 18169 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso10.pngbin0 -> 5013 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso11.pngbin0 -> 91059 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso12.pngbin0 -> 1214 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso16.pngbin0 -> 3200 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso19.pngbin0 -> 5347 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso8.pngbin0 -> 4335 bytes
-rw-r--r--netinstall/6/pt_br/content/images/boot-iso9.pngbin0 -> 5321 bytes
-rw-r--r--netinstall/6/pt_br/content/images/bootimg8.pngbin0 -> 3329 bytes
-rw-r--r--netinstall/6/pt_br/content/images/dx-help.pngbin0 -> 11451 bytes
-rw-r--r--netinstall/6/pt_br/content/images/dx-welcome2.pngbin0 -> 402963 bytes
-rw-r--r--netinstall/6/pt_br/content/index.html40
-rw-r--r--netinstall/6/pt_br/content/mageia-2013-200p.pngbin0 -> 6473 bytes
-rw-r--r--netinstall/6/pt_br/content/main.js179
-rw-r--r--netinstall/6/pt_br/content/nwSearchFnt.js524
-rw-r--r--netinstall/6/pt_br/content/search/default.props1
-rw-r--r--netinstall/6/pt_br/content/search/en-us.props45
-rw-r--r--netinstall/6/pt_br/content/search/es-es.props179
-rw-r--r--netinstall/6/pt_br/content/search/htmlFileInfoList.js2
-rw-r--r--netinstall/6/pt_br/content/search/htmlFileList.js3
-rw-r--r--netinstall/6/pt_br/content/search/index-1.js112
-rw-r--r--netinstall/6/pt_br/content/search/index-2.js111
-rw-r--r--netinstall/6/pt_br/content/search/index-3.js108
-rw-r--r--netinstall/6/pt_br/content/search/ja-jp.props1
-rw-r--r--netinstall/6/pt_br/content/search/nwSearchFnt.js513
-rw-r--r--netinstall/6/pt_br/content/search/punctuation.props31
-rw-r--r--netinstall/6/pt_br/content/search/stemmers/de_stemmer.js247
-rw-r--r--netinstall/6/pt_br/content/search/stemmers/en_stemmer.js187
-rw-r--r--netinstall/6/pt_br/content/search/stemmers/fr_stemmer.js299
-rw-r--r--netinstall/6/pt_br/content/webhelp-custom.css229
-rw-r--r--netinstall/6/pt_br/content/webhelp-default.css92
-rw-r--r--netinstall/6/pt_br/index.html15
44 files changed, 3007 insertions, 0 deletions
diff --git a/netinstall/6/pt_br/content/SOME_UNIQUE_ID.html b/netinstall/6/pt_br/content/SOME_UNIQUE_ID.html
new file mode 100644
index 00000000..1f20f26a
--- /dev/null
+++ b/netinstall/6/pt_br/content/SOME_UNIQUE_ID.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <meta http-equiv="X-UA-Compatible" content="IE=7"/>
+ <title>Instalação com uma pequena imagem de inicialização</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.75.2"/><link rel="home" href="index.html" title="Instalação com imagem peqena"/><link rel="up" href="index.html" title="Instalação com imagem peqena"/><link rel="prev" href="index.html" title="Instalação com imagem peqena"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript">
+ //The id for tree cookie
+ var treeCookieId = "treeview-343";
+ var language = "en";
+ var w = new Object();
+ //Localization
+ txt_filesfound = 'Resultados';
+ txt_enter_at_least_1_char = "Você deve digitar pelo menos um caractere.";
+ txt_browser_not_supported = "Javascript está desativado em seu navegador. Por favor ativar o JavaScript para desfrutar de todas as funcionalidades deste site.";
+ txt_please_wait = "Por favor, aguarde. Pesquisa em andamento...";
+ txt_results_for = "Resultados para:";
+ txt_no_results_for = "";
+ </script><style type="text/css">
+ input {
+ margin-bottom: 5px;
+ margin-top: 2px;
+ }
+
+ .folder {
+ display: block;
+ height: 22px;
+ padding-left: 20px;
+ background: transparent url(../../common/jquery/treeview/images/folder.gif) 0 0px no-repeat;
+ }
+
+ </style><link rel="shortcut icon" href="favicon.png" type="image/x-icon"/><link rel="stylesheet" type="text/css" href="../../common/css/positioning.css"/><link rel="stylesheet" type="text/css" href="../../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"/><link rel="stylesheet" type="text/css" href="../../common/jquery/treeview/jquery.treeview.css"/><link rel="stylesheet" type="text/css" href="webhelp-default.css"/><link rel="stylesheet" type="text/css" href="webhelp-custom.css"/><script type="text/javascript" src="../../common/jquery/jquery-1.4.2.min.js"><!----></script><script type="text/javascript" src="../../common/jquery/jquery-ui-1.8.2.custom.min.js"><!----></script><script type="text/javascript" src="../../common/jquery/jquery.cookie.js"><!----></script><script type="text/javascript" src="../../common/jquery/treeview/jquery.treeview.min.js"><!----></script><script type="text/javascript" src="search/htmlFileList.js"><!----></script><script type="text/javascript" src="search/htmlFileInfoList.js"><!----></script><script type="text/javascript" src="nwSearchFnt.js"><!----></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"><!----></script><script type="text/javascript" src="search/index-2.js"><!----></script><script type="text/javascript" src="search/index-3.js"><!----></script></head><body><div xmlns="" id="header"><div id="navheader"><!----><table><tr><td style="height: 28px; width: 16px;"><a id="showHideButton" onclick="showHideToc();" class="pointLeft" title="Hide TOC tree">.
+ </a></td><td><img src="../../common/images/highlight-blue.gif" alt="H" height="25px" onclick="toggleHighlight()" id="showHideHighlight" style="cursor:pointer" title="Busca alternada para realcar o resultado"/></td><td><a accesskey="p" href="index.html">Anterior</a> </td></tr></table></div><div id="headerlogo"><img src="mageia-2013-200p.png" alt="Company Logo"/></div><h1 id="pagetitle">Instalação com uma pequena imagem de inicialização<br/> </h1></div><div id="content"><!----><div xml:lang="pt_BR" class="section" title="Instalação com uma pequena imagem de inicialização"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="SOME_UNIQUE_ID"><!----></a>Instalação com uma pequena imagem de inicialização</h2></div></div></div><div class="section" title="Resumo"><div class="titlepage"><div><div><h3 class="title"><a id="d4e18"><!----></a>Resumo</h3></div></div></div><p>Mageia-&lt;versão&gt;-netinstall-&lt;arch&gt;.iso (antigamente conhecido como
+Boot.iso) é uma pequena imagem que não contém mais do que o necessário para
+iniciar o instalador drakx e encontrar: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">as <span class="bold"><strong>fontes online</strong></span> (ou espelho local)</li><li class="listitem">a imagem ISO em um <span class="bold"><strong>disco rígido</strong></span> local ou
+<span class="bold"><strong>pendrive</strong></span></li><li class="listitem">a imagem ISO em um <span class="bold"><strong>CD/DVD ROM</strong></span></li><li class="listitem">a imagem ISO em uma <span class="bold"><strong>lan</strong></span> (rede local)</li></ul></div><p>continuar e completar a instalação</p></div><div class="section" title="Antes de começar"><div class="titlepage"><div><div><h3 class="title"><a id="d4e37"><!----></a>Antes de começar</h3></div></div></div><p>A Mageia-&lt;versão&gt;-netinstall-nonfree-&lt;arch&gt;.iso (antigamente conhecida
+como boot-nonfree.iso) contém drivers proprietários adicionais de
+dispositivos, que podem ser requeridos por seu dispositivo de rede,
+controlador de disco ou, outro dispositivo periférico.</p><div class="note" title="Nota" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>Os arquivos Mageia-&lt;versão&gt;-netinstall-nonfree-&lt;arch&gt;.iso e
+Mageia-&lt;versão&gt;-netinstall-&lt;arch&gt;.iso podem ser usados para lançar uma
+instalação por cabo ou rede wifi descriptografada. (Wifi criptografada ou
+bluetooth não são permitidos)</p></div><div class="warning" title="Atenção" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Atenção</h3><p>Ao contrário da instalação do DVD ou do LiveCD, durante a primeira parte da
+instalação, <span class="bold"><strong>Stage 1</strong></span>, você será solicitado a
+digitar as coisas. Durante esta fase, o seu teclado irá responder como um
+<a class="link" href="https://en.wikipedia.org/wiki/Keyboard_layout#United_States" target="_top">teclado
+americano</a>. Isso pode ser muito confuso quando você precisa digitar
+nomes e caminhos.</p></div><p>Você pode encontrar o Mageia-&lt;versão&gt;-netinstall-nonfree-&lt;arch&gt;.iso e
+Mageia-&lt;versão&gt;-netinstall-&lt;arch&gt;.iso<a class="link" href="https://www.mageia.org/en/downloads/" target="_top">aqui</a>. Ele é chamado
+Instalação em Rede.</p><p>Você também pode baixar essas imagens de qualquer espelho que você quiser
+nesta lista <a class="link" href="http://mirrors.mageia.org/" target="_top">http://mirrors.mageia.org/</a>.
+Basta seguir o caminho
+<code class="filename">/distrib//cauldron/$ARCH/install/images/</code> onde $ARCH é
+i586 ou x86_64.</p><p>Depois de fazer o download da imagem, grave-a em um CD/DVD ou, se preferir
+colocá-lo em um pendrive, siga as instruções <a class="link" href="https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISOs_on_an_USB_stick" target="_top">aqui</a>.</p></div><div class="section" title="Instalando"><div class="titlepage"><div><div><h3 class="title"><a id="d4e54"><!----></a>Instalando</h3></div></div></div><p>Esta etapa também é chamada de Etapa 1</p><div class="section" title="Seu computador inicializa no modo BIOS (também chamado MBR para Master Boot Record)"><div class="titlepage"><div><div><h4 class="title"><a id="d4e58"><!----></a>Seu computador inicializa no modo BIOS (também chamado MBR para Master Boot
+Record)</h4></div></div></div><p>A primeira tela a aparecer é esta</p><div class="mediaobject"><img src="images/dx-help.png"/></div><p>Ao iniciar, você pode escolher ler a ajuda avançada pressionando F2 e
+retornar à tela do instalador com F1. Se você não escolher um, o boot
+continuará com as configurações padrão.</p></div><div class="section" title="Seu computador inicializa no modo UEFI"><div class="titlepage"><div><div><h4 class="title"><a id="d4e66"><!----></a>Seu computador inicializa no modo UEFI</h4></div></div></div><p>A primeira tela a aparecer é esta</p><div class="mediaobject"><img src="images/dx-welcome2.png"/></div><p>Use as teclas de seta para selecionar <span class="guimenuitem">Iniciar Mageia n
+Install</span> e pressione <span class="guibutton">Enter</span>.</p></div><div class="section" title="Em ambos os modos"><div class="titlepage"><div><div><h4 class="title"><a id="d4e76"><!----></a>Em ambos os modos</h4></div></div></div><p>Então você pode ver esta tela:</p><div class="mediaobject"><img src="images/Boot-iso01.png"/></div><p>Durante a fase 1, nada será gravado no disco rígido, por isso é seguro em
+qualquer ponto para encerrar. Você pode fazê-lo pressionando
+<span class="guibutton">ctrl+alt+del</span>.</p><p>Você pode usar <span class="guibutton">alt+F3</span> para ler os logs e
+<span class="guibutton">alt+F1</span> para retornar à tela do instalador.</p></div><div class="section" title="Escolha o método de instalação"><div class="titlepage"><div><div><h4 class="title"><a id="d4e88"><!----></a>Escolha o método de instalação</h4></div></div></div><p>Use as teclas de seta para mover para baixo e para cima a lista, até que seu
+método de escolha seja destacado.</p><p>Se você não sabe o que escolher para <span class="bold"><strong>Instalação de
+Rede</strong></span>, escolha <span class="guimenu">Servidor FTP</span>.</p><p>Em uma rede corporativa, o FTP e o rsync podem ser bloqueados, portanto usar
+o <span class="bold"><strong>servidor HTTP</strong></span> é uma boa escolha nesse
+caso.</p><p>Pressione a tecla de tabulação até que <span class="guimenuitem">Ok</span> seja
+destacado e, em seguida, pressione <span class="guibutton">enter</span>.</p><p>Para uma instalação a partir de um disco rígido ou de um dispositivo USB,
+veja abaixo.</p><div class="mediaobject"><img src="images/Boot-iso02.png"/></div></div><div class="section" title="Selecionando o tipo de conexão de rede"><div class="titlepage"><div><div><h4 class="title"><a id="d4e104"><!----></a>Selecionando o tipo de conexão de rede</h4></div></div></div><p>Se você tiver várias placas de rede, escolha a mais adequada. </p><div class="mediaobject"><img src="images/Boot-iso03.png"/></div><p>Se você não sabe o que escolher, escolha
+<span class="bold"><strong>DHCP</strong></span></p><div class="mediaobject"><img src="images/Boot-iso04.png"/></div></div><div class="section" title="Definindo nome de host e domínio"><div class="titlepage"><div><div><h4 class="title"><a id="d4e115"><!----></a>Definindo nome de host e domínio</h4></div></div></div><p>Se você não sabe o que fazer: deixe em branco e selecione "Ok"</p><div class="mediaobject"><img src="images/Boot-iso05.png"/></div></div><div class="section" title="Proxy HTTP"><div class="titlepage"><div><div><h4 class="title"><a id="d4e122"><!----></a>Proxy HTTP</h4></div></div></div><p>Deixe em branco se você não sabe o que fazer</p><div class="mediaobject"><img src="images/Boot-iso06.png"/></div></div><div class="section" title="Selecione um meio"><div class="titlepage"><div><div><h4 class="title"><a id="d4e129"><!----></a>Selecione um meio</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Selecionando Mageia com a versão de aplicação lhe dará uma lista que você
+pode escolher movendo para cima e para baixo com as teclas de seta.</p></li><li class="listitem"><p>Selecionando a opção "Mageia" lhe dará uma lista que você pode escolher
+movendo para cima e para baixo com as teclas de seta.</p><div class="mediaobject"><img src="images/Boot-iso07.png"/></div></li></ul></div><div class="section" title="Especifique o espelho manualmente"><div class="titlepage"><div><div><h5 class="title"><a id="d4e140"><!----></a>Especifique o espelho manualmente</h5></div></div></div><p>Seja qual for o servidor que você escolher, listar <a class="link" href="http://mirrors.mageia.org/" target="_top">aqui</a>,deve usar a mesma
+estrutura em árvore de "mageia" (ou "Mageia"). Como usado pelas Mídias
+Mageia oficiais. Isso significa que
+.../mageia/distrib/&lt;version&gt;/&lt;arch&gt;</p><p>Uma entrada correta (ao usar um espelho oficial) no campo "Diretório Mageia"
+abaixo pode ser:</p><p><span class="bold"><strong>pub/linux/mageia/distrib/cauldron/i586</strong></span></p><p>Outro exemplo para Mageia 5 x86_64 seria:</p><p><span class="bold"><strong>pub/Mirrors/Mageia/distrib/5/x86_64</strong></span>.</p><p>Outros espelhos podem ter uma estrutura diferente e os screenshots abaixo
+mostram exemplos:</p><p>Se você escolher um servidor HTTP:</p><div class="mediaobject"><img src="images/Boot-iso08.png"/></div><p>Se você escolher um servidor FTP:</p><div class="mediaobject"><img src="images/boot-iso19.png"/></div></div><div class="section" title="Mageia n (selecionando um espelho da lista)"><div class="titlepage"><div><div><h5 class="title"><a id="d4e159"><!----></a>Mageia n (selecionando um espelho da lista)</h5></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Se você receber muitos erros de dependência em falta posteriormente na
+instalação, reinicie e experimente um espelho diferente.</p></li><li class="listitem"><p>Depois de escolher um servidor FTP, você obtém uma tela onde você pode
+adicionar um nome de login e senha, se necessário.</p></li><li class="listitem"><p>Após esta etapa, a <span class="bold"><strong>Etapa 2</strong></span> será instalado e
+iniciado</p></li></ul></div><div class="mediaobject"><img src="images/boot-iso8.png"/></div><div class="mediaobject"><img src="images/boot-iso9.png"/></div><div class="mediaobject"><img src="images/boot-iso10.png"/></div><p>Esta é a primeira tela da
+Etapa 2, consulte Instalando - Etapa 2 abaixo:</p><div class="mediaobject"><img src="images/boot-iso11.png"/></div></div></div><div class="section" title="Instalação a partir do disco rígido"><div class="titlepage"><div><div><h4 class="title"><a id="d4e182"><!----></a>Instalação a partir do disco rígido</h4></div></div></div><div class="mediaobject"><img src="images/boot-iso12.png"/></div><p>Se você optar por instalar a partir de disco rígido ou pendrive USB, você
+deve saber onde o arquivo iso é salvo. Primeiro, selecione seu disco rígido
+(ou pendrive USB)</p><div class="mediaobject"><img src="images/boot-iso16.png"/></div><p>e então a partição</p><div class="mediaobject"><img src="images/bootimg8.png"/></div><p>Em seguida, especifique o diretório ou o nome do arquivo da iso. Deixar
+aberto ou usar o diretório é mais fácil, porque o instalador oferece uma
+lista de diretórios e arquivos, dos quais você pode selecionar com setas
+para cima e para baixo, como visto pela segunda imagem.</p><div class="mediaobject"><img src="images/Bootimg9.png"/></div><div class="mediaobject"><img src="images/Bootimg10.png"/></div></div></div><div class="section" title="Instalação - Etapa 2"><div class="titlepage"><div><div><h3 class="title"><a id="d4e203"><!----></a>Instalação - Etapa 2</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A primeira tela que você vê agora, é a tela "Escolha um idioma para
+usar". Nada foi escrito para o seu HD ainda. Se você quiser reiniciar, vá
+para tty2 com ctrl + alt + F2 e pressione ctrl + alt + del. (Ctrl + alt + F7
+para voltar se você mudar de ideia).</p></li><li class="listitem"><p>Esta parte da instalação é a mesma mostrada em <a class="link" href="http://doc.mageia.org/installer/5/pt/content/selectLanguage.html" target="_top">http://doc.mageia.org
+/installer/5/pt/content/selectLanguage.html</a>. Clique no link para
+continuar lendo e altere o "5" na URL da versão que você está instalando.</p></li></ul></div></div></div><script xmlns="" type="text/javascript" src="main.js"><!----></script><hr xmlns=""/><div xmlns="" class="copyright">© Mageia</div><div xmlns="" class="license"><a href="index.html#CC_BY-SA">CC BY-SA 3.0</a></div><div id="upload_date">Uploaded on 18/07/2017</div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Anterior</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Principal</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div><div id="leftnavigation"><div id="tabs"><ul><li><a href="#treeDiv"><em>conteúdo</em></a></li><li><a href="#searchDiv"><em>Pesquisa</em></a></li></ul><div id="treeDiv"><img src="../../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"/><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li id="webhelp-currentid"><span class="file section"><a href="SOME_UNIQUE_ID.html">Instalação com uma pequena imagem de inicialização</a></span><ul><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e18">Resumo</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e37">Antes de começar</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e54">Instalando</a></span><ul><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e58">Seu computador inicializa no modo BIOS (também chamado MBR para Master Boot
+Record)</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e66">Seu computador inicializa no modo UEFI</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e76">Em ambos os modos</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e88">Escolha o método de instalação</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e104">Selecionando o tipo de conexão de rede</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e115">Definindo nome de host e domínio</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e122">Proxy HTTP</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e129">Selecione um meio</a></span><ul><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e140">Especifique o espelho manualmente</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e159">Mageia n (selecionando um espelho da lista)</a></span></li></ul></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e182">Instalação a partir do disco rígido</a></span></li></ul></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e203">Instalação - Etapa 2</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm"><fieldset class="searchFieldSet"><legend>Pesquisa</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/></center></fieldset></form></div><div id="searchResults"><center/></div></div></div></div></div></body></html>
diff --git a/netinstall/6/pt_br/content/draft.png b/netinstall/6/pt_br/content/draft.png
new file mode 100644
index 00000000..59673fe1
--- /dev/null
+++ b/netinstall/6/pt_br/content/draft.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/favicon.png b/netinstall/6/pt_br/content/favicon.png
new file mode 100644
index 00000000..5868d96b
--- /dev/null
+++ b/netinstall/6/pt_br/content/favicon.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso01.png b/netinstall/6/pt_br/content/images/Boot-iso01.png
new file mode 100644
index 00000000..80f89173
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso01.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso02.png b/netinstall/6/pt_br/content/images/Boot-iso02.png
new file mode 100644
index 00000000..fcc4fb3c
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso02.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso03.png b/netinstall/6/pt_br/content/images/Boot-iso03.png
new file mode 100644
index 00000000..113e33f9
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso03.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso04.png b/netinstall/6/pt_br/content/images/Boot-iso04.png
new file mode 100644
index 00000000..0a6b2c33
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso04.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso05.png b/netinstall/6/pt_br/content/images/Boot-iso05.png
new file mode 100644
index 00000000..a840692f
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso05.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso06.png b/netinstall/6/pt_br/content/images/Boot-iso06.png
new file mode 100644
index 00000000..0e9b9d88
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso06.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso07.png b/netinstall/6/pt_br/content/images/Boot-iso07.png
new file mode 100644
index 00000000..a5f10963
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso07.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Boot-iso08.png b/netinstall/6/pt_br/content/images/Boot-iso08.png
new file mode 100644
index 00000000..4470909d
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Boot-iso08.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Bootimg10.png b/netinstall/6/pt_br/content/images/Bootimg10.png
new file mode 100644
index 00000000..be98f93a
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Bootimg10.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/Bootimg9.png b/netinstall/6/pt_br/content/images/Bootimg9.png
new file mode 100644
index 00000000..aeb99677
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/Bootimg9.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso10.png b/netinstall/6/pt_br/content/images/boot-iso10.png
new file mode 100644
index 00000000..1db78d59
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso10.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso11.png b/netinstall/6/pt_br/content/images/boot-iso11.png
new file mode 100644
index 00000000..103c74f0
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso11.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso12.png b/netinstall/6/pt_br/content/images/boot-iso12.png
new file mode 100644
index 00000000..b10ca3f2
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso12.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso16.png b/netinstall/6/pt_br/content/images/boot-iso16.png
new file mode 100644
index 00000000..1f4e476f
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso16.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso19.png b/netinstall/6/pt_br/content/images/boot-iso19.png
new file mode 100644
index 00000000..bb88ed1e
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso19.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso8.png b/netinstall/6/pt_br/content/images/boot-iso8.png
new file mode 100644
index 00000000..19561bdd
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso8.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/boot-iso9.png b/netinstall/6/pt_br/content/images/boot-iso9.png
new file mode 100644
index 00000000..569c2734
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/boot-iso9.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/bootimg8.png b/netinstall/6/pt_br/content/images/bootimg8.png
new file mode 100644
index 00000000..11ba28d2
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/bootimg8.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/dx-help.png b/netinstall/6/pt_br/content/images/dx-help.png
new file mode 100644
index 00000000..32824349
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/dx-help.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/images/dx-welcome2.png b/netinstall/6/pt_br/content/images/dx-welcome2.png
new file mode 100644
index 00000000..3a1187de
--- /dev/null
+++ b/netinstall/6/pt_br/content/images/dx-welcome2.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/index.html b/netinstall/6/pt_br/content/index.html
new file mode 100644
index 00000000..f40b2c63
--- /dev/null
+++ b/netinstall/6/pt_br/content/index.html
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <meta http-equiv="X-UA-Compatible" content="IE=7"/>
+ <title>Instalação com imagem peqena</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.75.2"/><link rel="home" href="index.html" title="Instalação com imagem peqena"/><link rel="next" href="SOME_UNIQUE_ID.html" title="Instalação com uma pequena imagem de inicialização"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript">
+ //The id for tree cookie
+ var treeCookieId = "treeview-343";
+ var language = "en";
+ var w = new Object();
+ //Localization
+ txt_filesfound = 'Resultados';
+ txt_enter_at_least_1_char = "Você deve digitar pelo menos um caractere.";
+ txt_browser_not_supported = "Javascript está desativado em seu navegador. Por favor ativar o JavaScript para desfrutar de todas as funcionalidades deste site.";
+ txt_please_wait = "Por favor, aguarde. Pesquisa em andamento...";
+ txt_results_for = "Resultados para:";
+ txt_no_results_for = "";
+ </script><style type="text/css">
+ input {
+ margin-bottom: 5px;
+ margin-top: 2px;
+ }
+
+ .folder {
+ display: block;
+ height: 22px;
+ padding-left: 20px;
+ background: transparent url(../../common/jquery/treeview/images/folder.gif) 0 0px no-repeat;
+ }
+
+ </style><link rel="shortcut icon" href="favicon.png" type="image/x-icon"/><link rel="stylesheet" type="text/css" href="../../common/css/positioning.css"/><link rel="stylesheet" type="text/css" href="../../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"/><link rel="stylesheet" type="text/css" href="../../common/jquery/treeview/jquery.treeview.css"/><link rel="stylesheet" type="text/css" href="webhelp-default.css"/><link rel="stylesheet" type="text/css" href="webhelp-custom.css"/><script type="text/javascript" src="../../common/jquery/jquery-1.4.2.min.js"><!----></script><script type="text/javascript" src="../../common/jquery/jquery-ui-1.8.2.custom.min.js"><!----></script><script type="text/javascript" src="../../common/jquery/jquery.cookie.js"><!----></script><script type="text/javascript" src="../../common/jquery/treeview/jquery.treeview.min.js"><!----></script><script type="text/javascript" src="search/htmlFileList.js"><!----></script><script type="text/javascript" src="search/htmlFileInfoList.js"><!----></script><script type="text/javascript" src="nwSearchFnt.js"><!----></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"><!----></script><script type="text/javascript" src="search/index-2.js"><!----></script><script type="text/javascript" src="search/index-3.js"><!----></script></head><body><div xmlns="" id="header"><div id="navheader"><!----><table><tr><td style="height: 28px; width: 16px;"><a id="showHideButton" onclick="showHideToc();" class="pointLeft" title="Hide TOC tree">.
+ </a></td><td><img src="../../common/images/highlight-blue.gif" alt="H" height="25px" onclick="toggleHighlight()" id="showHideHighlight" style="cursor:pointer" title="Busca alternada para realcar o resultado"/></td><td> 
+ |
+ <a accesskey="n" href="SOME_UNIQUE_ID.html">Próxima</a></td></tr></table></div><div id="headerlogo"><img src="mageia-2013-200p.png" alt="Company Logo"/></div><h1 id="pagetitle">Instalação com imagem peqena<br/> </h1></div><div id="content"><!----><div xml:lang="pt_BR" class="article" title="Instalação com imagem peqena"><div class="titlepage"><div><div><h1 class="title"><a id="Quick-Startup"/>Instalação com imagem peqena</h1></div><div class="note" title="Nota" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>Ninguém vai ver todas as telas do instalador mostradas neste manual. As
+telas que você verá dependem de seu hardware e as escolhas que você faz
+durante a instalação.</p></div><p><a id="CC_BY-SA"><!----></a>Os textos e imagens deste manual estão disponíveis sob a licença CC BY-SA
+3.0 <a class="link" href="http://creativecommons.org/licenses/by-sa/3.0/" target="_top">http://creativecommons.org/licenses/by-sa/3.0/</a>.</p><p>Este manual foi produzido com a ajuda de <a class="link" href="http://www.calenco.com" target="_top">Calenco CMS</a> desenvolvido por <a class="link" href="http://www.neodoc.biz" target="_top">NeoDoc</a>.</p><p>Ele foi escrito por voluntários em seu tempo livre. Entre em contato com a
+<a class="link" href="https://wiki.mageia.org/en/Documentation_team" target="_top">Equipe de
+Documentação</a>, se você deseja ajudar a melhorar este manual.</p></div><hr/></div><div class="toc"><p><b>conteúdo</b></p><dl><dt><span class="section"><a href="SOME_UNIQUE_ID.html">Instalação com uma pequena imagem de inicialização</a></span></dt><dd><dl><dt><span class="section"><a href="SOME_UNIQUE_ID.html#d4e18">Resumo</a></span></dt><dt><span class="section"><a href="SOME_UNIQUE_ID.html#d4e37">Antes de começar</a></span></dt><dt><span class="section"><a href="SOME_UNIQUE_ID.html#d4e54">Instalando</a></span></dt><dt><span class="section"><a href="SOME_UNIQUE_ID.html#d4e203">Instalação - Etapa 2</a></span></dt></dl></dd></dl></div></div><script xmlns="" type="text/javascript" src="main.js"><!----></script><hr xmlns=""/><div xmlns="" class="copyright">© Mageia</div><div xmlns="" class="license"><a href="index.html#CC_BY-SA">CC BY-SA 3.0</a></div><div id="upload_date">Uploaded on 18/07/2017</div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="SOME_UNIQUE_ID.html">Próxima</a></td></tr></table></div></div><div><div id="leftnavigation"><div id="tabs"><ul><li><a href="#treeDiv"><em>conteúdo</em></a></li><li><a href="#searchDiv"><em>Pesquisa</em></a></li></ul><div id="treeDiv"><img src="../../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"/><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file section"><a href="SOME_UNIQUE_ID.html">Instalação com uma pequena imagem de inicialização</a></span><ul><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e18">Resumo</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e37">Antes de começar</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e54">Instalando</a></span><ul><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e58">Seu computador inicializa no modo BIOS (também chamado MBR para Master Boot
+Record)</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e66">Seu computador inicializa no modo UEFI</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e76">Em ambos os modos</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e88">Escolha o método de instalação</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e104">Selecionando o tipo de conexão de rede</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e115">Definindo nome de host e domínio</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e122">Proxy HTTP</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e129">Selecione um meio</a></span><ul><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e140">Especifique o espelho manualmente</a></span></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e159">Mageia n (selecionando um espelho da lista)</a></span></li></ul></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e182">Instalação a partir do disco rígido</a></span></li></ul></li><li><span class="file section"><a href="SOME_UNIQUE_ID.html#d4e203">Instalação - Etapa 2</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm"><fieldset class="searchFieldSet"><legend>Pesquisa</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/></center></fieldset></form></div><div id="searchResults"><center/></div></div></div></div></div></body></html>
diff --git a/netinstall/6/pt_br/content/mageia-2013-200p.png b/netinstall/6/pt_br/content/mageia-2013-200p.png
new file mode 100644
index 00000000..a6846683
--- /dev/null
+++ b/netinstall/6/pt_br/content/mageia-2013-200p.png
Binary files differ
diff --git a/netinstall/6/pt_br/content/main.js b/netinstall/6/pt_br/content/main.js
new file mode 100644
index 00000000..011818d1
--- /dev/null
+++ b/netinstall/6/pt_br/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, "</").replace(/_di_/g, "%24_")
+ searchText = searchText.replace(/ +/g, " ");
+ searchText = searchText.replace(/ $/, "").replace(/^ /, "");
+
+ wList = searchText.split(" ");
+ $("#content").highlight(wList); //Highlight the search input
+
+ if(typeof stemmer != "undefined" ){
+ //Highlight the stems
+ for (var i = 0; i < wList.length; i++) {
+ var stemW = stemmer(wList[i]);
+ sList.push(stemW);
+ }
+ } else {
+ sList = wList;
+ }
+ $("#content").highlight(sList); //Highlight the search input's all stems
+
+ var _content = document.getElementById("content");
+ var spans = _content.getElementsByTagName("span");
+ var hasOne = false;
+ for (i = 0; i < spans.length; i++) {
+ var span = spans[i];
+ if (span.className == "highlight") {
+ span.setAttribute("id", "firstHighlight");
+ hasOne = true;
+ break;
+ }
+ }
+ if (hasOne) {
+ document.getElementById("firstHighlight").scrollIntoView();
+ }
+ }
+}
+
+function searchUnhighlight(){
+ highlightOn = false;
+ //unhighlight the search input's all stems
+ $("#content").unhighlight();
+ $("#content").unhighlight();
+}
+
+function toggleHighlight(){
+ if(highlightOn) {
+ searchUnhighlight();
+ } else {
+ searchHighlight($.cookie('textToSearch'));
+ }
+}
diff --git a/netinstall/6/pt_br/content/nwSearchFnt.js b/netinstall/6/pt_br/content/nwSearchFnt.js
new file mode 100644
index 00000000..13327867
--- /dev/null
+++ b/netinstall/6/pt_br/content/nwSearchFnt.js
@@ -0,0 +1,524 @@
+/*----------------------------------------------------------------------------
+ * 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) {
+ finalWordsList = wordsList;
+ }
+
+ fileAndWordList = SortResults(finalWordsList);
+
+ if (fileAndWordList && fileAndWordList.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>" + txt_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]+"&nbsp;&nbsp;&nbsp;"+ 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);
+
+ if (!listNumerosDesFicStr) {
+ return;
+ }
+
+ 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/netinstall/6/pt_br/content/search/default.props b/netinstall/6/pt_br/content/search/default.props
new file mode 100644
index 00000000..22edf439
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/default.props
@@ -0,0 +1 @@
+DEF01=a \ No newline at end of file
diff --git a/netinstall/6/pt_br/content/search/en-us.props b/netinstall/6/pt_br/content/search/en-us.props
new file mode 100644
index 00000000..da284ce5
--- /dev/null
+++ b/netinstall/6/pt_br/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/netinstall/6/pt_br/content/search/es-es.props b/netinstall/6/pt_br/content/search/es-es.props
new file mode 100644
index 00000000..fb73bdcc
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/es-es.props
@@ -0,0 +1,179 @@
+DEF01=un
+DEF02=una
+DEF03=unas
+DEF04=unos
+DEF05=uno
+DEF06=sobre
+DEF07=todo
+DEF08=también
+DEF09=tras
+DEF10=otro
+DEF11=algún
+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/netinstall/6/pt_br/content/search/htmlFileInfoList.js b/netinstall/6/pt_br/content/search/htmlFileInfoList.js
new file mode 100644
index 00000000..4c2ffa1c
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/htmlFileInfoList.js
@@ -0,0 +1,2 @@
+fil = new Array();
+fil["0"]= "SOME_UNIQUE_ID.html@@@Instalação com uma pequena imagem de inicialização@@@null";
diff --git a/netinstall/6/pt_br/content/search/htmlFileList.js b/netinstall/6/pt_br/content/search/htmlFileList.js
new file mode 100644
index 00000000..6b6ccc3e
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/htmlFileList.js
@@ -0,0 +1,3 @@
+//List of files which are indexed.
+fl = new Array();
+fl["0"]= "SOME_UNIQUE_ID.html";
diff --git a/netinstall/6/pt_br/content/search/index-1.js b/netinstall/6/pt_br/content/search/index-1.js
new file mode 100644
index 00000000..b6a6905f
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/index-1.js
@@ -0,0 +1,112 @@
+var indexerLanguage="en";
+//Auto generated index for searching.
+w["-"]="0";
+w["-netinstall-"]="0";
+w["-netinstall-nonfree-"]="0";
+w["-sa"]="0";
+w["0"]="0";
+w["1"]="0";
+w["2"]="0";
+w["3"]="0";
+w["5"]="0";
+w["abaixo"]="0";
+w["aberto"]="0";
+w["adequada"]="0";
+w["adicionai"]="0";
+w["adicionar"]="0";
+w["agora"]="0";
+w["ainda"]="0";
+w["ajuda"]="0";
+w["alt"]="0";
+w["alter"]="0";
+w["ambo"]="0";
+w["americano"]="0";
+w["ant"]="0";
+w["antigament"]="0";
+w["ao"]="0";
+w["aparec"]="0";
+w["aplicação"]="0";
+w["apó"]="0";
+w["aqui"]="0";
+w["arch"]="0";
+w["arquivo"]="0";
+w["atenção"]="0";
+w["até"]="0";
+w["avançada"]="0";
+w["baixar"]="0";
+w["baixo"]="0";
+w["basta"]="0";
+w["bio"]="0";
+w["bloqueado"]="0";
+w["bluetooth"]="0";
+w["boa"]="0";
+w["boot"]="0";
+w["boot-nonfre"]="0";
+w["branco"]="0";
+w["cabo"]="0";
+w["caminho"]="0";
+w["campo"]="0";
+w["caso"]="0";
+w["cauldron"]="0";
+w["cc"]="0";
+w["cd"]="0";
+w["chamada"]="0";
+w["chamado"]="0";
+w["cima"]="0";
+w["cliqu"]="0";
+w["coisa"]="0";
+w["colocá-lo"]="0";
+w["com"]="0";
+w["começar"]="0";
+w["como"]="0";
+w["completar"]="0";
+w["computador"]="0";
+w["conexão"]="0";
+w["configuraçõ"]="0";
+w["confuso"]="0";
+w["conhecida"]="0";
+w["conhecido"]="0";
+w["consult"]="0";
+w["content"]="0";
+w["continuar"]="0";
+w["continuará"]="0";
+w["controlador"]="0";
+w["contrário"]="0";
+w["contém"]="0";
+w["corporativa"]="0";
+w["correta"]="0";
+w["criptografada"]="0";
+w["ctrl"]="0";
+w["da"]="0";
+w["dará"]="0";
+w["de"]="0";
+w["definindo"]="0";
+w["deix"]="0";
+w["deixar"]="0";
+w["del"]="0";
+w["dependência"]="0";
+w["depoi"]="0";
+w["descriptografada"]="0";
+w["destacado"]="0";
+w["deve"]="0";
+w["dhcp"]="0";
+w["diferent"]="0";
+w["digitar"]="0";
+w["diretório"]="0";
+w["disco"]="0";
+w["dispositivo"]="0";
+w["distrib"]="0";
+w["do"]="0";
+w["doc"]="0";
+w["domínio"]="0";
+w["dos"]="0";
+w["download"]="0";
+w["drakx"]="0";
+w["driver"]="0";
+w["durant"]="0";
+w["dvd"]="0";
+w["e"]="0";
+w["ele"]="0";
+w["em"]="0";
+w["encerrar"]="0";
+
diff --git a/netinstall/6/pt_br/content/search/index-2.js b/netinstall/6/pt_br/content/search/index-2.js
new file mode 100644
index 00000000..cd1fbd7e
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/index-2.js
@@ -0,0 +1,111 @@
+//Auto generated index for searching.
+w["encontrar"]="0";
+w["enter"]="0";
+w["entrada"]="0";
+w["então"]="0";
+w["erro"]="0";
+w["escolh"]="0";
+w["escolha"]="0";
+w["escrito"]="0";
+w["especifiqu"]="0";
+w["espelho"]="0";
+w["essa"]="0";
+w["esta"]="0";
+w["estrutura"]="0";
+w["está"]="0";
+w["etapa"]="0";
+w["exemplo"]="0";
+w["experiment"]="0";
+w["f1"]="0";
+w["f2"]="0";
+w["f3"]="0";
+w["f7"]="0";
+w["falta"]="0";
+w["fase"]="0";
+w["fazer"]="0";
+w["fazê-lo"]="0";
+w["foi"]="0";
+w["font"]="0";
+w["ftp"]="0";
+w["fácil"]="0";
+w["gravado"]="0";
+w["grave-"]="0";
+w["hd"]="0";
+w["host"]="0";
+w["html"]="0";
+w["http"]="0";
+w["i586"]="0";
+w["ideia"]="0";
+w["idioma"]="0";
+w["imag"]="0";
+w["imagem"]="0";
+w["imagen"]="0";
+w["iniciado"]="0";
+w["inicializa"]="0";
+w["inicialização"]="0";
+w["iniciar"]="0";
+w["instal"]="0";
+w["instalado"]="0";
+w["instalador"]="0";
+w["instalando"]="0";
+w["instalar"]="0";
+w["instalação"]="0";
+w["instruçõ"]="0";
+w["irá"]="0";
+w["iso"]="0";
+w["isso"]="0";
+w["lan"]="0";
+w["lançar"]="0";
+w["lendo"]="0";
+w["ler"]="0";
+w["lhe"]="0";
+w["link"]="0";
+w["linux"]="0";
+w["lista"]="0";
+w["listar"]="0";
+w["livecd"]="0";
+w["local"]="0";
+w["log"]="0";
+w["login"]="0";
+w["mageia"]="0";
+w["mageia-"]="0";
+w["mai"]="0";
+w["manualment"]="0";
+w["master"]="0";
+w["mbr"]="0";
+w["meio"]="0";
+w["mesma"]="0";
+w["mirror"]="0";
+w["modo"]="0";
+w["mostrada"]="0";
+w["mostram"]="0";
+w["movendo"]="0";
+w["mover"]="0";
+w["mudar"]="0";
+w["muito"]="0";
+w["método"]="0";
+w["mídia"]="0";
+w["n"]="0";
+w["na"]="0";
+w["nada"]="0";
+w["necessário"]="0";
+w["ness"]="0";
+w["nesta"]="0";
+w["no"]="0";
+w["nome"]="0";
+w["nota"]="0";
+w["não"]="0";
+w["o"]="0";
+w["obtém"]="0";
+w["oferec"]="0";
+w["ofici"]="0";
+w["oficiai"]="0";
+w["ok"]="0";
+w["ond"]="0";
+w["onlin"]="0";
+w["optar"]="0";
+w["opção"]="0";
+w["org"]="0";
+w["os"]="0";
+w["ou"]="0";
+
diff --git a/netinstall/6/pt_br/content/search/index-3.js b/netinstall/6/pt_br/content/search/index-3.js
new file mode 100644
index 00000000..e89dd2ff
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/index-3.js
@@ -0,0 +1,108 @@
+//Auto generated index for searching.
+w["outro"]="0";
+w["padrão"]="0";
+w["para"]="0";
+w["part"]="0";
+w["partir"]="0";
+w["partição"]="0";
+w["pela"]="0";
+w["pendriv"]="0";
+w["pequena"]="0";
+w["periférico"]="0";
+w["permitido"]="0";
+w["placa"]="0";
+w["pode"]="0";
+w["podem"]="0";
+w["ponto"]="0";
+w["por"]="0";
+w["porqu"]="0";
+w["portanto"]="0";
+w["posteriorment"]="0";
+w["precisa"]="0";
+w["preferir"]="0";
+w["pression"]="0";
+w["pressionando"]="0";
+w["primeira"]="0";
+w["primeiro"]="0";
+w["proprietário"]="0";
+w["proxi"]="0";
+w["pt"]="0";
+w["pub"]="0";
+w["quai"]="0";
+w["qual"]="0";
+w["qualquer"]="0";
+w["quando"]="0";
+w["que"]="0";
+w["quiser"]="0";
+w["receb"]="0";
+w["record"]="0";
+w["rede"]="0";
+w["reinici"]="0";
+w["reiniciar"]="0";
+w["requerido"]="0";
+w["respond"]="0";
+w["resumo"]="0";
+w["retornar"]="0";
+w["rom"]="0";
+w["rsync"]="0";
+w["rígido"]="0";
+w["sabe"]="0";
+w["saber"]="0";
+w["salvo"]="0";
+w["screenshot"]="0";
+w["se"]="0";
+w["seguida"]="0";
+w["seguir"]="0";
+w["segunda"]="0";
+w["seguro"]="0";
+w["seja"]="0";
+w["selecion"]="0";
+w["selecionando"]="0";
+w["selecionar"]="0";
+w["selectlanguag"]="0";
+w["senha"]="0";
+w["ser"]="0";
+w["seria"]="0";
+w["servidor"]="0";
+w["será"]="0";
+w["seta"]="0";
+w["seu"]="0";
+w["siga"]="0";
+w["significa"]="0";
+w["solicitado"]="0";
+w["stage"]="0";
+w["são"]="0";
+w["tabulação"]="0";
+w["também"]="0";
+w["tecla"]="0";
+w["teclado"]="0";
+w["tela"]="0";
+w["ter"]="0";
+w["tipo"]="0";
+w["tiver"]="0";
+w["tty2"]="0";
+w["uefi"]="0";
+w["um"]="0";
+w["uma"]="0";
+w["url"]="0";
+w["usado"]="0";
+w["usar"]="0";
+w["usb"]="0";
+w["use"]="0";
+w["veja"]="0";
+w["ver"]="0";
+w["version"]="0";
+w["versão"]="0";
+w["visto"]="0";
+w["você"]="0";
+w["voltar"]="0";
+w["vá"]="0";
+w["vária"]="0";
+w["vê"]="0";
+w["wifi"]="0";
+w["x86_64"]="0";
+w[" "]="0";
+w["©"]="0";
+w["à"]="0";
+w["árvore"]="0";
+
diff --git a/netinstall/6/pt_br/content/search/ja-jp.props b/netinstall/6/pt_br/content/search/ja-jp.props
new file mode 100644
index 00000000..27568054
--- /dev/null
+++ b/netinstall/6/pt_br/content/search/ja-jp.props
@@ -0,0 +1 @@
+J01=\\u306B \ No newline at end of file
diff --git a/netinstall/6/pt_br/content/search/nwSearchFnt.js b/netinstall/6/pt_br/content/search/nwSearchFnt.js
new file mode 100644
index 00000000..0111559c
--- /dev/null
+++ b/netinstall/6/pt_br/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]+"&nbsp;&nbsp;&nbsp;"+ 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/netinstall/6/pt_br/content/search/punctuation.props b/netinstall/6/pt_br/content/search/punctuation.props
new file mode 100644
index 00000000..d3e3fcd2
--- /dev/null
+++ b/netinstall/6/pt_br/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/netinstall/6/pt_br/content/search/stemmers/de_stemmer.js b/netinstall/6/pt_br/content/search/stemmers/de_stemmer.js
new file mode 100644
index 00000000..7ff3822a
--- /dev/null
+++ b/netinstall/6/pt_br/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/netinstall/6/pt_br/content/search/stemmers/en_stemmer.js b/netinstall/6/pt_br/content/search/stemmers/en_stemmer.js
new file mode 100644
index 00000000..f58012f2
--- /dev/null
+++ b/netinstall/6/pt_br/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/netinstall/6/pt_br/content/search/stemmers/fr_stemmer.js b/netinstall/6/pt_br/content/search/stemmers/fr_stemmer.js
new file mode 100644
index 00000000..34f97431
--- /dev/null
+++ b/netinstall/6/pt_br/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");
+}
+
+
diff --git a/netinstall/6/pt_br/content/webhelp-custom.css b/netinstall/6/pt_br/content/webhelp-custom.css
new file mode 100644
index 00000000..aa80b8f4
--- /dev/null
+++ b/netinstall/6/pt_br/content/webhelp-custom.css
@@ -0,0 +1,229 @@
+body {
+ font: 12px;
+}
+
+/* ====== Title page ====== */
+div.book > div.titlepage h1 {
+ text-align: center;
+ color: #f09100;
+ font-size: 200%;
+}
+
+div.book > div.titlepage h2.subtitle {
+ font-style: normal;
+ text-align: center;
+}
+
+/* ====== Titles ====== */
+div.titlepage {
+ font-family: sans-serif;
+}
+
+div.titlepage h2, div.titlepage h3, div.titlepage h4,
+div.titlepage h5, div.titlepage h6 {
+ font-style: italic;
+}
+
+div.chapter div.titlepage h2,
+div.appendix div.titlepage h2,
+div.preface div.titlepage h2 {
+ font-size: 180%;
+ color: #f09100;
+}
+
+#content div.section div.titlepage h2 {
+ font-size: 160%;
+ color: #656567;
+}
+
+div.section div.titlepage h3 {
+ font-size: 140%;
+ color: #656567;
+}
+
+div.section div.titlepage h4 {
+ font-size: 120%;
+ color: #656567;
+}
+
+div.section div.titlepage h5 {
+ font-size: 100%;
+ color: #656567;
+}
+
+div.section div.titlepage h6 {
+ font-size: 100%;
+ color: #656567;
+}
+
+#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
+ margin-top: 16px;
+}
+
+#content h1, #content h2 {
+ color: #f09100;
+ font-family: sans-serif;
+}
+
+/* ====== Header, Footer ====== */
+#header {
+ background: none;
+}
+
+#navheader {
+ position: static;
+ float: left;
+ padding-top: 13px;
+}
+
+#headerlogo {
+ float: right;
+ padding: 5px 5px 0px 0px;
+}
+
+#headerlogo img {
+ height: 50px;
+}
+
+#pagetitle {
+ padding-top: 6px;
+ font: bold 12px sans-serif;
+ color: #656567;
+ text-align: center;
+}
+
+.navfooter a, #navheader a {
+ color: #d07100;
+}
+
+/* ====== Tree ====== */
+.treeview .hover {
+ color: #d07100;
+}
+
+/* ====== TOCs ====== */
+.toc > p, .list-of-figures > p, .list-of-tables > p, .list-of-examples > p {
+ font-size: 120%;
+ color: #f09100;
+ font-family: sans-serif;
+ font-style: italic;
+}
+
+#content .toc > p, #content .list-of-figures > p, #content .list-of-tables > p,
+#content .list-of-examples > p {
+ font-size: 120%;
+ color: #f09100;
+ font-family: sans-serif;
+ font-style: italic;
+}
+
+.toc a:visited, .list-of-figures a:visited, .list-of-tables a:visited,
+.list-of-examples a:visited {
+ color: #555557;
+ font-family: sans-serif;
+}
+
+.toc a:link, .list-of-figures a:link, .list-of-tables a:link,
+.list-of-examples a:link {
+ color: #252527;
+ font-family: sans-serif;
+}
+
+/* ====== Content ====== */
+#content p, #content ul, #content ol, #content li {
+ font: 12px serif;
+}
+
+li p {
+ margin: 4px 0px 4px 0px;
+}
+
+div.revhistory table {
+ border-collapse: collapse;
+}
+
+div.revhistory th {
+ text-align: center;
+}
+
+.programlisting {
+ background-color: #eeeeee;
+ padding: 4px;
+}
+
+.screen {
+ background-color: #000000;
+ color: #ffffff;
+ padding: 4px;
+}
+
+.informaltable, .table {
+ margin-bottom: 12px;
+}
+
+.informaltable table, .table table {
+ border-collapse: collapse;
+}
+
+.informaltable th, .table th,
+.informaltable td, .table td {
+ padding: 5px;
+}
+
+.informaltable th, .table th {
+ background-color: #eeeeee;
+ font-family: sans-serif;
+}
+
+.informaltable th p, .table th p,
+.informaltable td p, .table td p {
+ margin: 2px 0px 2px 0px;
+}
+
+.note, .tip, .important, .warning, .caution {
+ border-top: 2px solid #CCCCCC;
+ border-bottom: 2px solid #CCCCCC;
+ padding-top: 6px;
+ padding-bottom: 6px;
+ margin: 12px 0px 12px 0px;
+}
+
+.admon-content p {
+ margin: 0px 0px 6px 0px;
+}
+
+#content dt {
+ font-family: sans-serif;
+}
+
+span.term {
+ font-weight: bold;
+ font-size: 90%;
+}
+
+div.mediaobject {
+ margin-bottom: 12px;
+ text-align: center;
+}
+
+#content img {
+ max-width: 95%;
+}
+
+/* == Formal Titles == */
+#content p.title, #content p.legalnotice-title {
+ font-family: sans-serif;
+ font-size: 85%;
+}
+
+#content p.legalnotice-title {
+ color: #f09100;
+}
+
+div.figure {
+ text-align: center;
+}
+
+#content div.figure p.title {
+ font-style: italic;
+}
diff --git a/netinstall/6/pt_br/content/webhelp-default.css b/netinstall/6/pt_br/content/webhelp-default.css
new file mode 100644
index 00000000..6f8738a5
--- /dev/null
+++ b/netinstall/6/pt_br/content/webhelp-default.css
@@ -0,0 +1,92 @@
+/*
+
+blue : #192940
+green: #90c326
+gray : #a7a9ac
+
+*/
+
+#header {
+ height: 60px;
+}
+
+#content {
+ padding-left: 25px;
+ position: fixed;
+ top: 61px;
+ left: 0px;
+ right: 0px;
+ bottom: 0;
+ overflow: auto;
+ height: auto;
+ max-width: none;
+ min-width: 0;
+ margin: 0 0 0 315px;
+}
+
+#leftnavigation {
+ top: 61px;
+ width: 315px;
+}
+
+#leftnavigation em {
+ font-style: normal;
+}
+
+.ui-corner-all {
+ border-radius: 0px 0px 0px 0px;
+}
+
+.ui-corner-top {
+ border-top-left-radius: 0px;
+ border-top-right-radius: 0px;
+}
+
+.ui-tabs {
+ padding: 0;
+}
+
+.ui-tabs .ui-tabs-nav {
+ padding: 0px 0px 0px 0px;
+}
+
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
+ color: #656567;
+ outline: none;
+}
+
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
+ color: #f09100;
+ outline: none;
+}
+
+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
+ background: #EEEEEE;
+ border: 1px solid #CCCCCC;
+ font-weight: bold;
+}
+
+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
+ background: #FFFFFF;
+ border: 1px solid #CCCCCC;
+ font-weight: bold;
+}
+
+.ui-widget-content {
+ border: none;
+}
+
+.ui-widget-header {
+ background: #EEEEEE;
+ border: none;
+}
+
+.searchButton {
+ background: none repeat scroll 0 0 #EEEEEE;
+ color: #656567;
+ border: 1px solid #656567;
+}
+
+.searchText {
+ border: 1pt solid #656567;
+}
diff --git a/netinstall/6/pt_br/index.html b/netinstall/6/pt_br/index.html
new file mode 100644
index 00000000..2f600bee
--- /dev/null
+++ b/netinstall/6/pt_br/index.html
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <link rel="shortcut icon" href="favicon.png"/>
+ <meta http-equiv="Refresh" content="1; URL=content/index.html"/>
+ <title> 
+ </title>
+ </head>
+ <body>
+ If not automatically redirected, click here: <a href="content/index.html">content/index.html</a>
+ </body>
+</html>