# HG changeset patch # User Rik # Date 1523242437 25200 # Node ID 512b686110975722fd86e74ecf21231d1f534557 # Parent 3aed4f0ba3cd126665193a09886344fff1bf1ffd# Parent 8c38361718a973e96c49a0bc3cec4f80e2b95cd4 maint: merge stable to default. diff -r 3aed4f0ba3cd -r 512b68611097 etc/icons/org.octave.Octave.appdata.xml --- a/etc/icons/org.octave.Octave.appdata.xml Sun Apr 08 18:04:48 2018 -0700 +++ b/etc/icons/org.octave.Octave.appdata.xml Sun Apr 08 19:53:57 2018 -0700 @@ -24,11 +24,14 @@ GPL-3.0+ GNU Octave Interactive programming environment for numerical computations + Entorn de programació interactiva per a càlculs numèrics Interaktive Programmierumgebung für numerische Berechnungen + Entorno de programación interactiva para cálculos numéricos Environnement de programmation interactif pour le calcul numérique - Entorno de programación interactiva para cálculos numéricos + Ambiente di programmazione interattivo per il calcolo numerico 数値計算のための対話的なプログラミング環境 Interactieve programmeeromgeving voor numerieke berekeningen + Ambiente de programação interativo para computação numérica 数值计算交互式编程环境

@@ -75,4 +78,8 @@ https://wiki.octave.org/FAQ maintainers@octave.org GNU + John W. Eaton and others + + + diff -r 3aed4f0ba3cd -r 512b68611097 etc/icons/org.octave.Octave.desktop.in --- a/etc/icons/org.octave.Octave.desktop.in Sun Apr 08 18:04:48 2018 -0700 +++ b/etc/icons/org.octave.Octave.desktop.in Sun Apr 08 19:53:57 2018 -0700 @@ -1,11 +1,14 @@ [Desktop Entry] Name=GNU Octave Comment=Interactive programming environment for numerical computations +Comment[ca]=Entorn de programació interactiva per a càlculs numèrics Comment[de]=Interaktive Programmierumgebung für numerische Berechnungen +Comment[es]=Entorno de programación interactiva para cálculos numéricos Comment[fr]=Environnement de programmation interactif pour le calcul numérique -Comment[es]=Entorno de programación interactiva para cálculos numéricos +Comment[it]=Ambiente di programmazione interattivo per il calcolo numerico Comment[ja]=数値計算のための対話的なプログラミング環境 Comment[nl]=Interactieve programmeeromgeving voor numerieke berekeningen +Comment[pt]=Ambiente de programação interativo para computação numérica Comment[zh]=数值计算交互式编程环境 TryExec=%OCTAVE_PREFIX%/bin/octave Exec=%OCTAVE_PREFIX%/bin/octave --gui %f diff -r 3aed4f0ba3cd -r 512b68611097 libgui/languages/ca_ES.ts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgui/languages/ca_ES.ts Sun Apr 08 19:53:57 2018 -0700 @@ -0,0 +1,4248 @@ + + + + + QObject + + + automatic + automàtic + + + + function + funció + + + + global + global + + + + hidden + ocult + + + + inherited + heretat + + + + persistent + persistent + + + + foreground + primer pla + + + + background + + segon plan + + + + selection + selecció + + + + cursor + cursor + + + + Difference to the default size + Diferència amb la mida predeterminada + + + + Background color, pink (255, 0, 255) means default + Color de fons; rosa (255,0,255) representa predeterminat + + + + b + short form for bold + Abreviatura de negreta + n + + + + i + short form for italic + Abreviatura de cursiva + c + + + + u + short form for underlined + Abreviatura de subrallat + s + + + + QTerminal + + + Copy + Copia + + + + Paste + Enganxa + + + + Select All + Selecciona-ho tot + + + + Clear Window + Neteja la finestra + + + + Edit %1 at line %2 + Edita %1 en línia %2 + + + + QWinTerminalImpl + + + copied selection to clipboard + selecció copiada al porta-retalls + + + + QtHandles::Figure + + + Figure ToolBar + Barra d'eines de la figura + + + + Axes + Eixos + + + + Grid + Graella + + + + Autoscale + Autoescala + + + + &File + + &Fitxer + + + + &Save + &Desa + + + + Save &As + Desa &com a + + + + &Close Figure + &Tanca la figura + + + + &Edit + &Edita + + + + Cop&y + Cop&ia + + + + + About Octave + Quant a l'Octave + + + + Octave Figure File (*.ofig);;Vector Image Formats (*.eps *.epsc *.pdf *.svg *.ps *.tikz);;Bitmap Image Formats (*.gif *.jpg *.png *.tiff) + Fitxer de Figura d'Octave ((*.ofig));;Formats d'imatge vectorial (*.eps *.epsc *.pdf *.svg *.ps *.tikz);;Formats d'imatge de mapa de bits (*.gif *.jpg *.png *.tiff) + + + + &Help + &Ajuda + + + + + Save Figure As + Desa la figura com a + + + + QtHandles::MouseModeActionGroup + + + Rotate + Gira + + + + Zoom In + Amplia + + + + Zoom Out + Redueix + + + + Pan + Mou + + + + Insert Text + Insereix text + + + + Select + Selecciona + + + + UrlFilter + + + Open Link + Obre l'enllaç + + + + Copy Link Address + Copia l'adreça de l'enllaç + + + + Send Email To... + Envia un correu electrònic a... + + + + Copy Email Address + Copia l'adreça de correu electrònic + + + + + Edit %1 at line %2 + Edita %1 a la línia %2 + + + + annotation_dialog + + + Annotation + Anotació + + + + Text + Text + + + + String + + Cadena de text + + + + Font + Tipus de lletra + + + + bold + negreta + + + + b + n + + + + italic + cursiva + + + + i + c + + + + color + color + + + + Horz alignment + + Alineació horitzontal + + + + left + esquerra + + + + + middle + centre + + + + right + dreta + + + + Vert alignment + + Alineació vertical + + + + top + part superior + + + + bottom + part inferior + + + + Position + Posició + + + + X + X + + + + Y + Y + + + + Width + Amplada + + + + Height + Alçada + + + + units + Unitats + + + + normalized + normalitzat + + + + Fit to box + Ajusta a la casella + + + + Box + Casella + + + + Background + + Segon pla + + + + Edge + + Vora + + + + Line style + Estil de línia + + + + none + cap + + + + Line width + Amplada de línia + + + + octave::ListDialog + + + Select All + Selecciona-ho tot + + + + octave::documentation + + + + + Octave Documentation + Documentació de l'Octave + + + + Could not copy help collection to temporary +file. Search capabilities may be affected. +%1 + No s'ha pogut copiar el conjunt d'ajuda a un fitxer +temporal. Les funcions de cerca es poden veure afectades. +%1 + + + + Could not setup the data required for the +documentation viewer. Only help texts in +the Console Widget will be available. + No s'han pogut configurar les dades necessàries +per al visor de documentació. Els textos +d'ajuda només estaran disponibles al Plafó de Terminal. + + + + Contents + Contingut + + + + Enter text to search the indices + Introduïu text per cercar els índexs + + + + + Search + Cerca + + + + Index + Índex + + + + Unable to register help file %1. + No es pot registrar el fitxer d'ajuda %1. + + + + octave::documentation_dock_widget + + + Documentation + Documentació + + + + See the documentation for help. + Consulta la documentació per obtenir ajuda. + + + + octave::external_editor_interface + + + + Octave Editor + Editor de l'Octave + + + + Could not start custom file editor +%1 + No s'ha pogut obrir l'editor de text personalitzat +%1 + + + + There is no custom editor configured yet. +Do you want to open the preferences? + Encara no existeix cap configuració per a l'editor personalitzat. +Vols obrir la configuració? + + + + octave::file_editor + + + + + + + Octave Editor + Editor de l'Octave + + + + File not saved! A file with the selected name +%1 +is already open in the editor + Fitxer no desat! Un fitxer amb el nom seleccionat +%1 +ja es troba obert a l'editor + + + + The associated file editor tab has disappeared. + La pestanya associada de l'editor de text ha desaparegut. + + + + Could not open file +%1 +for read: %2. + No s'ha pogut obrir el fitxer +%1 +en mode lectura: %2. + + + + File +%1 +does not exist. Do you want to create it? + El fitxer +%1 +no existeix. Vols crear-lo? + + + + Create + Crear + + + + Cancel + Cancel·lar + + + + Could not open file +%1 +for write: %2. + No s'ha pogut obrir el fitxer +%1 +en mode escriptura: %2. + + + + &File + &Fitxer + + + + &Recent Editor Files + Fitxers &recents de l'editor + + + + &Edit Function + &Edita la funció + + + + &Save File + &Desa el fitxer + + + + Save File &As... + Desa el fitxer &com a... + + + + &Close + &Tanca + + + + Close All + Tanca-ho tot + + + + Close Other Files + Tanca els altres fitxers + + + + Print... + Imprimeix... + + + + &Edit + &Edita + + + + &Redo + &Refés + + + + Cu&t + Talla&r + + + + &Find and Replace... + &Cerca i reemplaça... + + + + Find &Next... + &Cerca següent... + + + + Find &Previous... + Cerca &anterior... + + + + &Commands + &Ordres + + + + Delete Line + Esborra la línia + + + + Copy Line + Copia la línia + + + + Cut Line + Talla la línia + + + + Delete to Start of Word + Esborra fins l'inici de la paraula + + + + Delete to End of Word + Esborra fins la fi de la paraula + + + + Delete to Start of Line + Esborra fins l'inici de la línia + + + + Delete to End of Line + Esborra fins la fi de la línia + + + + Duplicate Selection/Line + Duplica la selecció/línia + + + + Transpose Line + + Intercanvia la línia + + + + &Show Completion List + &Mostra la llista de compleció + + + + &Format + &Format + + + + &Uppercase Selection + Converteix la selecció a &majúscules + + + + &Lowercase Selection + Converteix la selecció a m&inúscules + + + + &Comment + &Comenta + + + + &Uncomment + &Descomenta + + + + Comment (Choosing String) + Comenta (Seleccionant la cadena de text) + + + + &Indent Selection Rigidly + + &Sagna estrictament la selecció + + + + &Unindent Selection Rigidly + + &Neteja estrictament el sagnat de la selecció + + + + Indent Code + Aplica el sagnat al codi + + + + Convert Line Endings to &Windows (CRLF) + Converteix a la fi de línia de &Windows (CRLF) + + + + Convert Line Endings to &Unix (LF) + Converteix a la fi de línia de &Unix (LF) + + + + Convert Line Endings to &Mac (CR) + Converteix a la fi de línia de &Mac (CR) + + + + Navi&gation + &Navegació + + + + Go &to Line... + &Ves a la línia... + + + + Move to Matching Brace + Mou-te al parèntesi corresponent + + + + Select to Matching Brace + Selecciona fins el parèntesi corresponent + + + + &Next Bookmark + Adreça d'interès &següent + + + + Pre&vious Bookmark + Adreça d'interès &anterior + + + + Toggle &Bookmark + &Commuta l'adreça d'interès + + + + &Remove All Bookmarks + &Elimina totes les adreces d'interès + + + + &Preferences... + &Preferències... + + + + &Styles Preferences... + Preferències d'&estils... + + + + &View + &Visualitza + + + + &Editor + &Edita + + + + Show &Line Numbers + Mostra els números de &línia + + + + Show &Whitespace Characters + Mostra els &espais en blanc + + + + Show Line &Endings + Mostra la &fi de línia + + + + Show &Indentation Guides + Mostra els marcadors de &sagnat + + + + Show Long Line &Marker + Mostra el &marcador de longitud de línia + + + + Show &Toolbar + Mostra la &barra d'eines + + + + Show &Statusbar + Mostra la barra d'&estat + + + + Show &Horizontal Scrollbar + Mostra la barra de &desplaçament horitzontal + + + + Zoom &In + &Amplia + + + + Zoom &Out + &Redueix + + + + &Normal Size + Mida &normal + + + + &Debug + &Depura + + + + Toggle &Breakpoint + &Commuta el punt d'interrupció + + + + &Next Breakpoint + Punt d'interrupció &següent + + + + Pre&vious Breakpoint + Punto d'interrupció &anterior + + + + &Remove All Breakpoints + &Elimina tots els punts d'interrupció + + + + &Run + &Executa + + + + Save File and Run + Desa el fitxer i executa + + + + Run &Selection + Executa la &selecció + + + + &Help + &Ajuda + + + + &Help on Keyword + &Ajuda de paraules clau + + + + &Documentation on Keyword + &Documentació de paraules clau + + + + Recent Files + Fitxers recents + + + + Editor + Editor + + + + octave::file_editor_tab + + + line: + Línia: + + + + col: + + Columna: + + + + encoding: + Codificació: + + + + eol: + Fi de línia: + + + + Breakpoint condition + Condició de punt d'interrupció + + + + + + + + + + + Octave Editor + Editor de l'Octave + + + + Cannot add breakpoint to modified file. +Save and add breakpoint, or cancel? + No és possible afegir un punt d'interrupció a un fitxer modificat. +Vols desar i afegir el punt d'interrupció o cancel·lar? + + + + Goto line + Ves a la línia + + + + Line number + Número de línia + + + + Comment selected text + Comenta el text seleccionat + + + + Comment string to use: + + + Cadena de text de comentari a utilitzar: + + + + + <unnamed> + <sense nom> + + + + Do you want to cancel closing, save or discard the changes? + Vols cancel·lar el tancament, desar o descartar els canvis? + + + + The file + + %1 + +is about to be closed but has been modified. %2 + El fitxer + + %1 + +és a punt per ser tancat, però ha estat modificat. %2 + + + + Debug or Save + Depura el programa o desa + + + + This file is currently being executed. +Quit debugging and save? + Aquest fitxer s'està executant. +Vols interrompre la depuració i desar? + + + + Could not open file %1 for write: +%2. + El fixer %1 no es pot obrir en mode escriptura: +%2. + + + + Line Endings: + Fi de línia: + + + + File Encoding: + Codificació del fitxer: + + + + Octave Files (*.m) + Fitxers d'Octave (*.m) + + + + All Files (*) + Tots els fitxers (*) + + + + "%1" +is not a valid identifier. + +If you keep this filename, you will not be able to +call your script using its name as an Octave command. + +Do you want to choose another name? + "%1" +no és un identificador vàlid. + +Si manteniu aquest nom de fitxer, no podreu +cridar el vostre script amb el seu nom com a ordre d'Octave. + +Vols seleccionar un altre nom? + + + + The current encoding %1 +can not be applied. + +Please select another one or cancel saving! + La codificació actual %1 +no es pot aplicar. + +Si us plau selecciona'n una altra o cancel·la el desament! + + + + The current editor contents can not be encoded +with the selected encoding %1. +Using it will result in data loss! + +Do you want to choose another encoding? + El contingut de l'editor actual no es pot codificar +amb la codificació seleccionada %1. +Usar-lo tindrà com a resultat la pèrdua de dades! +Vols triar una altra codificació? + + + + It seems that '%1' has been modified by another application. Do you want to reload it? + Sembla que el fitxer '%1' ha estat modificat per una altra aplicació. Vols recarregar-lo? + + + + + +Warning: The contents in the editor is modified! + + +Avís: El contingut de l'editor ha estat modificat! + + + + It seems that the file +%1 +has been deleted or renamed. Do you want to save it now?%2 + Sembla que el fitxer +%1 +ha estat esborrat o reanomenat. Vols desar-lo ara?%2 + + + + octave::files_dock_widget + + + File Browser + Explorador de fitxers + + + + Browse your files + Explora els fitxers + + + + File size + Mida del fitxer + + + + File type + Tipus de fitxer + + + + Date modified + Data de modificació + + + + Show hidden + Mostrar els ocults + + + + Alternating row colors + Alternar els colors de les files + + + + Enter the path or filename + + Introdueix el camí o el nom del fitxer + + + + One directory up + Directori superior + + + + Show Octave directory + Mostra el directori de l'Octave + + + + Go to current Octave directory + Ves al directori actual de l'Octave + + + + Set Octave directory + Estableix el directori de l'Octave + + + + Set Octave directory to current browser directory + Estableix el directori actual del navegador com a directori de l'Octave + + + + Actions on current directory + Accions al directori actual + + + + Show Home Directory + Mostra el directori d'inici + + + + Set Browser Directory... + Estableix el directori del navegador... + + + + + Find Files... + Cerca arxius... + + + + + New File... + Nou fitxer... + + + + + New Directory... + Nou directori... + + + + Activate to open in editor, right click for alternatives + Activa per obrir a l'editor. Fes clic dret per veure les alternatives + + + + Open + Obre + + + + Open in System File Explorer + Obre a l'explorador de fitxers del sistema + + + + Open in Text Editor + Obre a l'editor de text + + + + Copy Selection to Clipboard + Copia la selecció al porta-retalls + + + + Run + Executa + + + + Load Data + Carrega les dades + + + + Set Current Directory + Estableix el directori actual + + + + Rename... + Reanomena... + + + + Delete... + Esborra... + + + + Rename file/directory + Reanomena el fitxer/directori + + + + Rename file/directory: + + Reanomena el fitxer/directori: + + + + + + to: + + a: + + + + + Delete file/directory + Esborra el fitxer/directori + + + + Are you sure you want to delete + + N'estàs segur que vols esborrar + + + + + Can not delete a directory that is not empty + No es pot esborrar un directori no buit + + + + Set directory of file browser + Estableix el directori de l'explorador de fitxers + + + + Create File + Crea un fitxer + + + + Create file in + + String ends with \n! + Crea un fitxer a + + + + + New File.txt + Nou fitxer.txt + + + + Create Directory + Crea un directori + + + + Create folder in + + String ends with \n! + Crea una carpeta a + + + + + New Directory + Nou directori + + + + octave::final_page + + + Enjoy! + Gaudeix! + + + + Previous + Anterior + + + + Finish + Acaba + + + + Cancel + Cancel·la + + + + <html><body> +<p>We hope you find Octave to be a useful tool.</p> +<p>If you encounter problems, there are a number of ways to get help, including commercial support options, a mailing list, a wiki, and other community-based support channels. +You can find more information about each of these by visiting <a href="https://octave.org/support.html">https://octave.org/support.html</a> (opens in external browser).</p> +</body></html> + <html><body> +<p>Esperem que l'Octave et resulte una eina útil.</p> +<p>Si trobes qualsevol problema, existeixen maneres diverses d'obtenir ajuda, incloent suport comercial, llistes de correu, una wiki i altres canals de comunicació mantinguts per la comunitat. +Pots trobar més informació visitant <a href="https://octave.org/support.html">https://octave.org/support.html</a> (s'obre a un navegador extern).</p> +</body></html> + + + + <html><head> +<style> +a:link { text-decoration: underline; color: #0000ff; } +</style> +<head/><body> +<p>For more information about Octave:</p> +<ul> +<li>Visit <a href="https://octave.org">https://octave.org</a> (opens in external browser)</li> +<li>Get the documentation online as <a href="https://www.gnu.org/software/octave/doc/interpreter/index.html">html</a>- or <a href="https://www.gnu.org/software/octave/octave.pdf">pdf</span></a>-document (opens in external browser)</li> +<li>Open the documentation browser of the Octave GUI with the help menu</li> +</ul> +</body></html> + <html><head> +<style> +a:link { text-decoration: underline; color: #0000ff; } +</style> +<head/><body> +<p>Per més informació quant a l'Octave:</p> +<ul> +<li>Visita <a href="https://octave.org">https://octave.org</a> (s'obre a un navegador extern)</li> +<li>Obté la documentació en línia en format <a href="https://www.gnu.org/software/octave/doc/interpreter/index.html">html</a> o com a <a href="https://www.gnu.org/software/octave/octave.pdf">document</span></a> pdf (s'obre a un navegador extern)</li> +<li>Obre el navegador de documentació de l'Octave des del menú ajuda</li> +</ul> +</body></html> + + + + + + + octave::find_dialog + + + Find and Replace + Cerca i reemplaça + + + + Find &what: + + &Cerca: + + + + Re&place with: + &Reemplaça amb: + + + + Match &case + Distingir entre &majúscules/minúscules + + + + Search from &start + Cerca des de l'&inici + + + + &Wrap while searching + &Marca mentre es cerca + + + + &Find Next + &Cerca següent + + + + Find &Previous + Cerca &anterior + + + + &Replace + &Reemplaça + + + + Replace &All + Reemplaça-ho &tot + + + + &More... + &Més... + + + + &Whole words + Paraules &completes + + + + Regular E&xpressions + E&xpressions regulars + + + + Search &backward + Cerca cap &enrere + + + + Search se&lection + Cerca se&lecció + + + + Search from end + Cerca des de la fi + + + + Search from start + Cerca des de l'inici + + + + Replace Result + Reemplaça el resultat + + + + %1 items replaced + %1 instàncies reemplaçades + + + + Find Result + Resultat de la cerca + + + + No more matches found + No s'han trobat coincidències + + + + octave::find_files_dialog + + + Find Files + Cerca fitxers + + + + Named: + Anomenat: + + + + Enter the filename search expression + Introdueix expressió de cerca per al nom de fitxer + + + + Start in: + Comença en: + + + + Enter the start directory + Introdueix el directori inicial de cerca + + + + Browse... + Explora... + + + + Browse for start directory + Explora per seleccionar el directori inicial + + + + Search subdirectories + Cerca als subdirectoris + + + + Search recursively through directories for matching files + Cerca fitxers als directoris + + + + Include directory names + Inclou els noms dels directoris + + + + Include matching directories in search results + Inclou els directoris coincidents als resultats de cerca + + + + Name case insensitive + No distingir entre majúscules i minúscules + + + + Set matching name is case insensitive + Estableix no distinció entre majúscules i minúscules + + + + Contains text: + Conté el text: + + + + Enter the file content search expression + + Introdueix l'expressió a cercar al contingut del fitxer + + + + Text to match + Text a coincidir + + + + Text case insensitive + No distingir entre majúscules i minúscules + + + + Set text content is case insensitive + Estableix no distinció entre majúscules i minúscules + + + + Search results + Resultats de la cerca + + + + Idle. + Inactiu. + + + + Find + Cerca + + + + Start search for matching files + Comença la cerca per a fitxers coincidents + + + + Stop + Atura + + + + Stop searching + Atura la cerca + + + + Filename/location + Nom del fitxer/ubicació + + + + File contents + Contingut del fitxer + + + + Searching... + Cercant... + + + + %1 match (es) + %1 coincidènci-(a/es) + + + + Set search directory + Estableix el directori de cerca + + + + octave::find_files_model + + + Filename + Nom del fitxer + + + + Directory + Directori + + + + octave::history_dock_widget + + + Browse and search the command history. + Explora i cerca a l'historial d'ordres. + + + + Copy + Copia + + + + Evaluate + Evalua + + + + Create script + Crea un script + + + + Hide filter + Amaga el filtre + + + + Show filter + Mostra el filtre + + + + Double-click a command to transfer it to the terminal. + Fes doble clic en una ordre per transferir-la al terminal. + + + + Enter text to filter the command history + Introdueix text a filtrar a l'historial d'ordres + + + + Filter + Filtra + + + + Command History + Historial d'ordres + + + + octave::initial_page + + + Welcome to Octave! + Benvingut a l'Octave! + + + + Next + Següent + + + + Cancel + Cancel·la + + + + <html><body> +<p>You seem to be using the Octave graphical interface for the first time on this computer. +Click 'Next' to create a configuration file and launch Octave.</p> +<p>The configuration file is stored in<br>%1.</p> +</body></html> + <html><body> +<p>Sembla que estàs utilitzant la interfície gràfica de l'Octave per primer cop en aquest ordinador. +Feu clic a 'Següent' per crear un fitxer de configuració i iniciar l'Octave.</p> +<p>El fitxer de configuració s'ha guardat a<br>%1.</p> +</body></html> + + + + octave::label_dock_widget + + + Undock widget + Desacobla el plafó + + + + Close widget + Tanca el plafó + + + + octave::main_window + + + Save Workspace As + Desa l'espai de treball com a + + + + Load Workspace + Carrega un espai de treball + + + + The release notes file '%1' is empty. + El fitxer de notes de versió %1 està buit. + + + + The release notes file '%1' cannot be read. + El fitxer de notes de versió %1 no es pot llegir. + + + + Octave Release Notes + Notes de la versió de l'Octave + + + + Octave Community News + Notícies de la comunitat de l'Octave + + + + + About Octave + Quant a l'Octave + + + + Octave + Octave + + + + Are you sure you want to exit Octave? + Estàs segur que vols sortir de l'Octave? + + + + + Browse directories + Explora directoris + + + + Octave Files (*.m);;All Files (*) + Fitxers de l'Octave (*.m);;Tots els fitxers (*) + + + + File Encoding: + Codificació del fitxer: + + + + New Function + Nova funció + + + + New function name: + + Nom de la nova funció: + + + + %1 is a built-in function + %1 és una funció integrada + + + + Can not find function %1 + No es pot trobar la funció %1 + + + + Octave Editor + Editor de l'Octave + + + + &File + &Fitxer + + + + Open... + Obre... + + + + Open an existing file in editor + Obre un fitxer existent a l'editor + + + + Load Workspace... + Carrega un espai de treball... + + + + Save Workspace As... + Desa l'espai de treball com a... + + + + Exit + Eixir + + + + New + Nou + + + + New Script + Nou script + + + + New Function... + Nova funció... + + + + New Figure + Nova figura + + + + &Edit + &Edita + + + + Undo + Desfés + + + + Copy + Copia + + + + Paste + Enganxa + + + + Select All + Selecciona-ho tot + + + + Clear Clipboard + Neteja el porta-retalls + + + + Find Files... + Cerca fitxers... + + + + Clear Command Window + Neteja la Finestra del Terminal + + + + Clear Command History + Neteja l'historial d'ordres + + + + Clear Workspace + Neteja l'espai de treball + + + + Preferences... + Preferències... + + + + De&bug + &Depura + + + + Step + + Pas (següent instrucció) + + + + Step In + + Pas (entra) + + + + Step Out + + Pas (surt) + + + + Continue + Continua + + + + Quit Debug Mode + Surt del mode depuració + + + + &Window + &Finestra + + + + Show Command Window + Mostra la finestra d'ordres + + + + Show Command History + Mostra l'historial d'ordres + + + + Show File Browser + Mostra l'explorador de fitxers + + + + Show Workspace + Mostra l'espai de treball + + + + Show Editor + Mostra l'editor + + + + Show Documentation + Mostra la documentació + + + + Show Variable Editor + Mostra l'editor de variables + + + + Command Window + Finestra de Terminal + + + + Command History + Historial d'ordres + + + + File Browser + Explorador de fitxers + + + + Workspace + Espai de treball + + + + Editor + Editor + + + + + Documentation + Documentació + + + + Variable Editor + Editor de variables + + + + Reset Default Window Layout + Restaura el disseny de finestres per defecte + + + + &Help + &Ajuda + + + + Report Bug + Informa d'un error + + + + Octave Packages + Paquets de l'Octave + + + + Contribute + Contribuir + + + + Donate to Octave + Donar a Octave + + + + On Disk + En disc + + + + Online + En línia + + + + &News + &Notícies + + + + Release Notes + Notes de la versió + + + + Community News + Notícies de la comunitat + + + + Toolbar + Barra d'eines + + + + Enter directory name + Introdueix el nom del directori + + + + Current Directory: + Directori actual: + + + + One directory up + Directori superior + + + + octave::news_reader + + + <html> +<body> +<p> +Octave's community news source seems to be unavailable. +</p> +<p> +For the latest news, please check +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a> +when you have a connection to the web (link opens in an external browser). +</p> +<p> +<small><em>&mdash; The Octave Developers, + <html> +<body> +<p> +La font de notícies de la comunitat de l'Octave sembla no estar disponible. +</p> +<p> +Per accedir a les últimes novetats, visita +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a> +quan tingui connexió al web (l'enllaç s'obre a un navegador extern). +</p> +<p> +<small><em>&mdash; Els desenvolupadors de l'Octave, + + + + <html> +<body> +<p> +Connecting to the web to display the latest Octave Community news has been disabled. +</p> +<p> +For the latest news, please check +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a> +when you have a connection to the web (link opens in an external browser) +or enable web connections for news in Octave's network settings dialog. +</p> +<p> +<small><em>&mdash; The Octave Developers, + <html> +<body> +<p> +La connexió al web per mostrar les últimes novetats quant a l'Octave ha estat desactivada. +</p> +<p> +Per veure les últimes novetats, visita +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a> +quan tingui connexió al web (l'enllaç s'obre a un navegador extern) +o activa-la per veure les novetats al diàleg de configuració de la xarxa de l'Octave +</p> +<p> +<small><em>&mdash; Els desenvolupadors de l'Octave, + + + + + octave::octave_dock_widget + + + Hide widget + Oculta el plafó + + + + Use <Alt> + <Left Mouse Button> for moving the window + Utilitza<Alt> + <Botó esquerre del ratolí> per moure la finestra + + + + Dock widget + Acobla el plafó + + + + Undock widget + Desacobla el plafó + + + + octave::octave_qscintilla + + + Help on + Ajuda sobre + + + + Documentation on + Documentació sobre + + + + Edit + Edita + + + + dbstop if ... + dbstop si ... + + + + Press '%1' to replace all occurrences of '%2' with '%3'. + Fes clic a '%1' per reemplaçar tots els casos de '%2' amb '%3'. + + + + octave::octave_qt_link + + + + + Create + Crea + + + + + Cancel + Cancel·la + + + + File +%1 +does not exist. Do you want to create it? + El fitxer +%1 +no existeix. Vols crear-lo? + + + + Octave Editor + Editor de l'Octave + + + + The file %1 does not exist in the load path. To run or debug the function you are editing, you must either change to the directory %2 or add that directory to the load path. + + El fitxer %1 no existeix als camins de càrrega. Per executar o depurar la funció que s'està editant s'ha de canviar al directori %2 o afegir aquest als camins de càrrega. + + + + The file %1 is shadowed by a file with the same name in the load path. To run or debug the function you are editing, change to the directory %2. + + Existeix un fitxer amb el mateix nom %1 al camí de càrrega. Per executar o depurar la funció que s'està editant desplaça't al directori %2. + + + + Change Directory or Add Directory to Load Path + + Canvia el directori o afegeix directori al camí de càrrega + + + + &Change Directory + &Canvia el directori + + + + &Add Directory to Load Path + &Afegeix el directori al camí de càrrega + + + + octave::octave_txt_lexer + + + Default + Per defecte + + + + octave::resource_manager + + + The settings file +%1 +does not exist and can not be created. +Make sure you have read and write permissions to +%2 + +Octave GUI must be closed now. + El fitxer de configuració +%1 +no existeix i no s'ha pogut crear. +Assegura't que tens els permisos de lectura i escriptura a +%2 + +La interfície gràfica de l'Octave es tancarà ara. + + + + Octave Critical Error + Error crític de l'Octave + + + + octave::setup_community_news + + + Community News + Notícies de la comunitat + + + + Previous + Anterior + + + + Next + Següent + + + + Cancel + Cancel·la + + + + <html><body> +<p>When Octave starts, it will optionally check the Octave web site for current news and information about the Octave community. +The check will happen at most once each day and news will only be displayed if there is something new since the last time you viewed the news.</p> +<p>You may also view the news by selecting the "Community News" item in the "Help" menu, or by visiting +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a>.</p> +</body></html> + <html><body> +<p>En iniciar l'Octave, opcionalment es revisarà el lloc web de l'Octave per cercar notícies i informació en quant a la comunitat de l'Octave. +Aquesta revisió es farà una vegada al dia com a màxim i les notícies sols es mostraran si existeixen canvis recents des de l'última visita.</p> +<p>També es pot accedir a les notícies seleccionant "Notícies de la comunitat" al menú "Ajuda", o visitant +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a>.</p> +</body></html> + + + + <html><head> +<style> +a:link { text-decoration: underline; color: #0000ff; } +</style> +<head/><body> +<p>Allow Octave to connect to the Octave web site when it starts to display current news and information about the Octave community.</p> +</body></html> + <html><head> +<style> +a:link { text-decoration: underline; color: #0000ff; } +</style> +<head/><body> +<p>Permet la connexió amb el lloc web de l'Octave a l'inici per mostrar novetats i informació en quant a la comunitat.</p> +</body></html> + + + + octave::shortcut_manager + + + Double Shortcut + Drecera de teclat alternativa + + + + The chosen shortcut + "%1" +is already used for the action + "%2". +Do you want to use the shortcut anyhow removing it from the previous action? + La drecera de teclat seleccionada + "%1" +ja s'utilitza per a l'acció + "%2". +Vols sobreescriure-la suprimint l'acció anterior? + + + + New File + Nou fitxer + + + + New Function + Nova funció + + + + New Figure + Nova figura + + + + Open File + Obre fitxer + + + + Load Workspace + Carrega l'espai de treball + + + + Save Workspace As + Desa l'espai de treball com a + + + + Exit Octave + Sortir de l'Octave + + + + Copy + Copia + + + + Paste + Enganxa + + + + Undo + Desfés + + + + Select All + Selecciona-ho tot + + + + Clear Clipboard + Neteja el porta-retalls + + + + Find in Files + Cerca als fitxers + + + + Clear Command Window + Neteja la finestra d'ordres + + + + Clear Command History + Neteja l'historial d'ordres + + + + Clear Workspace + Neteja l'espai de treball + + + + + Preferences + Preferències + + + + Step + + Pas (següent instrucció) + + + + Step Into + + Pas (entra) + + + + Step Out + + Pas (surt) + + + + Continue + Continua + + + + Quit Debug Mode + Surt del mode depuració + + + + Show Command Window + Mostra la Finestra del Terminal + + + + Show Command History + Mostra l'historial d'ordres + + + + Show File Browser + Mostra l'explorador de fitxers + + + + Show Workspace + Mostra l'espai de treball + + + + Show Editor + Mostra l'editor + + + + Show Documentation + Mostra la documentació + + + + Show Variable Editor + Mostra l'editor de variables + + + + Command Window + Finestra del Terminal + + + + Command History + Historial d'ordres + + + + File Browser + Explorador de fitxers + + + + Workspace + Espai de treball + + + + + Editor + Editor + + + + Documentation + Documentació + + + + Variable Editor + Editor de variables + + + + Reset Default Window Layout + Restaura el disseny de finestres per defecte + + + + Show Ondisk Documentation + Mostra la documentació emmagatzemada + + + + Show Online Documentation + Mostra la documentació en línia + + + + Report Bug + Informa d'un error + + + + Octave Packages + Paquets de l'Octave + + + + Contribute to Octave + Contribueix a l'Octave + + + + Octave Developer Resources + Recursos de desenvolupador de l'Octave + + + + About Octave + Quant a l'Octave + + + + Release Notes + Notes de la versió + + + + Community News + Notícies de la comunitat + + + + Close Tab + Tanca la pestanya + + + + Close All Tabs + Tanca totes les pestanyes + + + + Close Other Tabs + Tanca les altres pestanyes + + + + Switch to Left Tab + Canvia a la pestanya de l'esquerra + + + + Switch to Right Tab + Canvia a la pestanya de la dreta + + + + Move Tab Left + Mou la pestanya cap a l'esquerra + + + + Move Tab Right + Mou la pestanya cap a la dreta + + + + Edit Function + Edita la funció + + + + Save File + Desa el fitxer + + + + Save File As + Desa la figura com a + + + + Print + Imprimeix + + + + Redo + Refés + + + + Cut + Talla + + + + Find and Replace + Cerca i reemplaça + + + + Find Next + Cerca el següent + + + + Find Previous + Cerca l'anterior + + + + Delete to Start of Word + Esborra fins l'inici de la paraula + + + + Delete to End of Word + Esborra fins la fi de la paraula + + + + Delete to Start of Line + Esborra fins l'inici de la línia + + + + Delete to End of Line + Esborra fins la fi de la línia + + + + Delete Line + Esborra la línia + + + + Copy Line + Copia la línia + + + + Cut Line + Talla la línia + + + + Duplicate Selection/Line + Duplica la selecció/línia + + + + Transpose Line + + Intercanvia la línia + + + + Show Completion List + Mostra la llista de compleció + + + + Comment Selection + Comenta la selecció + + + + Uncomment Selection + Descomenta la selecció + + + + Comment Selection (Choosing String) + Comenta la selecció (Seleccionant la cadena de text) + + + + Uppercase Selection + Converteix la selecció a majúscules + + + + Lowercase Selection + Converteix la selecció a minúscules + + + + + Indent Selection Rigidly + Sagna estrictament la selecció + + + + + Unindent Selection Rigidly + Neteja estrictament el sagnat de la selecció + + + + Indent Code + Aplica el sagnat al codi + + + + Convert Line Endings to Windows + Converteix la fi de línia a Windows + + + + Convert Line Endings to Unix + Converteix la fi de línia a Unix + + + + Convert Line Endings to Mac + Converteix la fi de línia a Mac + + + + Goto Line + Ves a la línia + + + + Move to Matching Brace + Mou-te al parèntesi corresponent + + + + Select to Matching Brace + Selecciona fins el parèntesi corresponent + + + + Toggle Bookmark + Commuta l'adreça d'interès + + + + Next Bookmark + Adreça d'interès següent + + + + Previous Bookmark + Adreça d'interès anterior + + + + Remove All Bookmark + Elimina totes les adreces d'interès + + + + Styles Preferences + Preferències d'estils + + + + Show Line Numbers + Mostra els números de línia + + + + Show Whitespace Characters + Mostra els espais en blanc + + + + Show Line Endings + Mostra la fi de línia + + + + Show Indentation Guides + Mostra els marcadors de sagnat + + + + Show Long Line Marker + Mostra el marcador de longitud de línia + + + + Show Toolbar + Mostra la barra d'eines + + + + Show Statusbar + Mostra la barra d'estat + + + + Show Horizontal Scrollbar + Mostra la barra de desplaçament horitzontal + + + + Zoom In + Amplia + + + + Zoom Out + Redueix + + + + + Zoom Normal + Ampliació normal + + + + Toggle Breakpoint + Commuta el punt d'interrupció + + + + Next Breakpoint + Punt d'interrupció següent + + + + Previous Breakpoint + Punt d'interrupció anterior + + + + Remove All Breakpoints + Eliminar tots els punts d'interrupció + + + + Run File + Executa el fitxer + + + + Run Selection + Executa la selecció + + + + Help on Keyword + Ajuda en quant a les paraules clau + + + + Document on Keyword + Documentació de les paraules clau + + + + Global + Global + + + + + File Menu + Menú fitxer + + + + + Edit Menu + Menú edita + + + + + Debug Menu + Menú depuració + + + + Window Menu + Menú finestra + + + + + Help Menu + Menú ajuda + + + + News Menu + Menú notícies + + + + Tab Handling in Dock Widgets + Comportament de les pestanyes en plafons acoblats + + + + View Menu + Menú visualitza + + + + Run Menu + Menú executa + + + + Import shortcuts from file ... + Importa dreceres des d'un fitxer ... + + + + + Octave Shortcut Files (*.osc);;All Files (*) + Fitxer de dreceres de l'Octave (*.osc);;Tots els fitxers (*) + + + + Export shortcuts into file ... + Exporta dreceres a un fitxer ... + + + + Failed to open %1 as octave shortcut file + No s'ha pogut obrir %1 com a fitxer de dreceres de l'Octave + + + + Enter new Shortcut + Introdueix una nova drecera de teclat + + + + Apply the desired shortcut or click on the right button to reset the shortcut to its default. + Aplica la drecera de teclat desitjada o fes clic amb el botó dret per restaurar la drecera de teclat al seu valor per defecte. + + + + Enter shortcut directly by performing it + Introdueix una drecera de teclat directament en activar-la + + + + Actual shortcut + Drecera de teclat actual + + + + Default shortcut + Drecera de teclat per defecte + + + + Set to default + Estableix per defecte + + + + Overwriting Shortcuts + Sobreescriure les dreceres + + + + You are about to overwrite all shortcuts. +Would you like to save the current shortcut set or cancel the action? + Ets a punt de sobreescriure totes les dreceres. +Vols desar el conjunto de dreceres actual o cancel·lar l'acció? + + + + Don't save + No dessis + + + + octave::terminal_dock_widget + + + Command Window + Finestra del Terminal + + + + octave::variable_dock_widget + + + Dock widget + Acobla el plafó + + + + Undock widget + Desacobla el plafó + + + + Restore geometry + Restaura la geometria + + + + Redock + Torna a acoblar + + + + octave::variable_editor + + + Variable Editor + Editor de variables + + + + Edit variables. + Edita variables. + + + + Variable Editor Toolbar + Barra d'eines de l'editor de variables + + + + Save + Desa + + + + Save variable to a file + Desa la variable a un fitxer + + + + Cut + Talla + + + + Cut data to clipboard + Talla les dades al porta-retall + + + + Copy + Copia + + + + Copy data to clipboard + Copia les dades al porta-retalls + + + + Paste + Enganxa + + + + Paste clipboard into variable data + Enganxa el porta-retalls a una variable de dades + + + + Paste Table + Enganxa una taula + + + + Another paste clipboard into variable data + Enganxament addicional del porta-retalls a una variable de dades + + + + + + Plot + Representa gràficament + + + + Plot Selected Data + Representa gràficament les dades seleccionades + + + + Plot selected data + Representa gràficament les dades seleccionades + + + + Up + Cap amunt + + + + Go one level up in variable hierarchy + Puja un nivell cap amunt en la jerarquia de la variable + + + + octave::variable_editor_stack + + + Save Variable %1 As + Desa la variable %1 com a + + + + octave::variable_editor_view + + + Cut + Talla + + + + Copy + Copia + + + + Paste + Enganxa + + + + Paste Table + Enganxa una taula + + + + Clear + Neteja + + + + Delete + Esborra + + + + Variable from Selection + Fes una variable de la selecció + + + + Transpose + Transposa + + + + octave::webinfo + + + Type here and press 'Return' to search + Escriu aquí i fes clic a la tecla 'Enter' per cercar + + + + Global search + Cerca global + + + + &Close + T&anca + + + + Close &Other Tabs + Tanca les &altres pestanyes + + + + Error + Error + + + + The info file<p>%1<p>or compressed versions do not exist + El fitxer d'informació <p>%1<p> o les versions comprimides no existeixen + + + + octave::welcome_wizard + + + Welcome to GNU Octave + Benvingut al GNU Octave + + + + octave::workspace_model + + + Name + Nom + + + + Class + Classe + + + + Dimension + Dimensió + + + + Value + Valor + + + + Attribute + Atribut + + + + Right click to copy, rename, or display + Clic dret per copiar, reanomenar o mostrar + + + + + complex + complex + + + + octave::workspace_view + + + Workspace + Espai de treball + + + + View the variables in the active workspace. + Visualitza les variables de l'espai de treball actiu. + + + + Enter text to filter the workspace + Introdueix un text per filtrar l'espai de treball + + + + Filter + Filtra + + + + View the variables in the active workspace.<br> + Visualitza les variables de l'espai de treball actiu.<br> + + + + Colors for variable attributes: + Colors per als atributs de variable: + + + + Class + Classe + + + + Dimension + Dimensió + + + + Value + Valor + + + + Attribute + Atribut + + + + Open in Variable Editor + Obre a l'editor de variables + + + + Copy name + Copia nom + + + + Copy value + Copia valor + + + + Rename + Reanomena + + + + Only top-level symbols may be renamed + Sols els símbols del nivell superior poden ser reanomenats + + + + Hide filter + Oculta el filtre + + + + Show filter + Mostra el filtre + + + + settings_dialog + + + Settings + Configuració + + + + + General + General + + + + Octave logo only + Sols el logotip de l'Octave + + + + Letter icons + Icones de lletra + + + + Graphic icons + Icones de gràfic + + + + Dock widget title bar + Acobla el plafó de la barra de títol + + + + Small + Petit + + + + Large + Gran + + + + Custom style + Estil personalitzat + + + + These preferences are applied after any .octaverc startup files. + Aquestes configuracions s'apliquen després dels fitxers d'inici .octaverc. + + + + Restore working directory of previous session + Restaurar el directori de treball de la sessió anterior + + + + Editor + Editor + + + + Color + Color + + + + Show EOL characters + Mostrar el caràcter de fi de línia + + + + Wrap long lines at current window border + Ajusta les línies llargues a la vora de finestra actual + + + + Default EOL mode + Identificador de fi de línia per defecte + + + + Indent width + Amplada del sagnat + + + + Tab indents line + Sagna amb el tabulador + + + + Auto indentation + Sagnat automàtic + + + + Tab width + Amplada del tabulador + + + + Show indentation guides + Mostra els marcadors de sagnat + + + + Backspace unindents line + La tecla de retrocés elimina el sagnat de línia + + + + Match keywords + Coincidència de paraules clau + + + + Case sensitive + Distingir entre majúscules i minúscules + + + + Replace word by suggested one + Reemplaça la paraula pel suggeriment + + + + Match words in document + Coincidència de paraules al documento + + + + Use custom file editor + Utilitza un editor de fitxers personalitzat + + + + Editor Styles + Estils de l'editor + + + + Terminal Colors + + Colors del terminal + + + + + Font + Tipus de lletra + + + + Show line numbers + Mostra els números de línia + + + + Highlight current line + Ressalta la línia actual + + + + Show whitespace + Mostra els espais en blanc + + + + Do not show whitespace used for indentation + No mostres els espais del sagnat + + + + Number of characters before list is shown: + Nombre de caràcters a partir de la qual es mostra la llista: + + + + Create nonexistent files without prompting + Crea fitxers inexistents sense consultar + + + + command line (%f=file, %l=line): + línia d'ordres (%f=fitxer, %l=línia): + + + + Terminal + Terminal + + + + Cursor type: + Tipus de cursor: + + + + Cursor blinking + Cursor parpellejant + + + + Use foreground color + Utilitza el color de primer pla + + + + + Font size + Mida de la lletra + + + + Set focus to terminal when running a command from within another widget + Estableix el focus al Terminal quan s'executa una ordre des d'un altre plafó + + + + File Browser + Explorador de fitxers + + + + Interface + Interfície + + + + Confirm before exiting + Confirma abans de sortir + + + + + Show status bar + Mostra la barra d'estat + + + + Text inactive + Text inactiu + + + + + Active + Actiu + + + + Normal + Normal + + + + Background inactive + Fons inactivo + + + + 3D + 3D + + + + Octave Startup + Inici de l'Octave + + + + + Startup path + Camí de l'inici + + + + + Browse + Explora + + + + Tab width min. + + Extensió mínima del tabulador. + + + + max. + màx. + + + + + This works well for monospaced fonts. The line is drawn at a position based on the width of a space character in the default font. It may not work very well if styles use proportional fonts or if varied font sizes or bold, italic and normal texts are used. + Funciona bé amb lletres d'espaiat fix. La línia es dibuixa en una posició basada en l'amplada del caràcter espai de la lletra per defecte. Pot no funcionar bé si l'estil utilitza fonts proporcionals o si es combinen lletres de mides diferents, o lletra normal amb negreta i/o cursiva. + + + + Enable Code Folding + Activa el plegat del codi + + + + Windows (CRLF) + Windows (CRLF) + + + + Mac (CR) + Mac (CR) + + + + Unix (LF) + Unix (LF) + + + + Show horizontal scroll bar + Mostra la barra de desplaçament horitzontal + + + + Show complete path in title + Mostra el camí complet al títol + + + + Show tool bar + Mostra la barra d'eines + + + + Number size as difference to editor font + Mida relativa respecte a la lletra de l'editor + + + + Highlight all occurrences of a word selected by a double click + Ressalta totes les coincidències de la paraula seleccionada amb doble clic + + + + Comments (Octave) + Comentaris (Octave) + + + + Strings considered for uncommenting text + Cadenes de text considerades per a text sense comentari + + + + String used for commenting selected text + Cadena de text utilitzada per comentar el text seleccionat + + + + Long lines + Línies llargues + + + + Break long lines at line length + + Divideix les línies llargues a partir de la longitud de línia + + + + Break lines only in comments + Només divideix les línies als comentaris + + + + Line length + Longitud de línia + + + + Long line marker + Marcador de línia llarga + + + + Line + Línia + + + + Background + + Segon pla + + + + Indentation + Sagnat + + + + Indentation uses tabs + El sagnat utilitza el tabulador + + + + Auto insert after "if" etc. + Inserta automàticament després d'"if" etc. + + + + Nothing + Res + + + + "endif" etc. + "endif" etc. + + + + "end" + "end" + + + + Auto completion + Autocompleció + + + + With Octave builtins + Amb les funciones internes de l'Octave + + + + With Octave functions + Amb funcions de l'Octave + + + + Show completion list automatically + Mostra la llista d'ordres coincidents automàticament + + + + File handling + Comportament dels fitxers + + + + Reload externally changed files without prompt + Recarrega els fitxers modificats externament sense consultar + + + + Restore editor tabs from previous session on startup or when editor is shown again after closing + Restaurar les pestanyes de l'editor de la sessió anterior a l'inici o quan l'editor es mostra de nou després d'haver-lo tancat + + + + Text encoding used for loading and saving + Codificació del text utilitzat per carregar i desar + + + + Close all files when the editor widget is closed/hidden + Tanca tots els fitxers quan el plafó de l'editor estigui tancat/ocult + + + + <html><head/><body><p>Select font, font size (as a difference from the default size), font style (<b>b</b>old, <b>i</b>talic, <b>u</b>nderline), text color, and background color (for the latter, the color magenta (255,0,255) is a placeholder for the default background color).</p></body></html> + <html><head/><body><p>Selecciona el tipus de lletra, mida (relativa a la mida per defecte), estil (<b>n</b>egreta, <b>c</b>ursiva, <b>s</b>ubratllat), color i color de fons (per al color de fons, el color magenta (255,0,255) és el marcador de posició per defecte).</p></body></html> + + + + (Changing buffer size clears history) + (Canviar la mida de l'historial neteja el contingut) + + + + History buffer Size + Mida de l'historial + + + + Print debug location in terminal window in addition to the marker in the editor + Imprimeix la ubicació de depuració a la Finestra del Terminal a més a més de a l'editor + + + + Behavior + Comportament + + + + Restore last directory of previous session + Restaura l'últim directori de la sessió prèvia + + + + Extensions of files to be opened in the default text editor (separated by ";"): + Extensions de fitxers per obrir a l'editor de text per defecte (separades per ";"): + + + + Workspace + Espai de treball + + + + Colors for variable attributes + Colors per als atributs de variables + + + + Hide tool tips + Oculta els consells d'eines + + + + Import shortcut set + Importa el conjunto de dreceres + + + + Export current shortcut set + Exporta el conjunt de dreceres + + + + Reset shortcuts to their defaults + Restaura les dreceres als valors per defecte + + + + + Default + Per defecte + + + + Edit a shortcut by double-clicking in a cell + Edita una drecera fent doble clic en la cel·la corresponent + + + + Actual + Actual + + + + Network + Xarxa + + + + Allow Octave to connect to the Octave web site to display current news and information + Permet a l'Octave la connexió al seu lloc web per mostrar novetats en quant a notícies i informació + + + + Use proxy server + Utilitza un servidor intermediari + + + + Variable Editor + Editor de variables + + + + Default row height + Alçada de fila per defecte + + + + Default column width + Amplada de columna per defecte + + + + Use Terminal Font + Utilitza la lletra del Terminal + + + + Autofit + Ajust automàtic + + + + Plus font height + Augmenta la mida de la lletra + + + + By Column + Per columna + + + + Uniform + Uniform + + + + Variable Editor Colors + Colors de l'editor de variables + + + + Use alternating row colors + Alterna els colors de les files + + + + HttpProxy + HttpProxy + + + + Icon set for dock widgets + Conjunt d'icones per als plafons d'acoblament + + + + Language (requires restart) + Idioma (requereix reiniciar) + + + + Icon size + Mida de les icones + + + + Synchronize Octave working directory with file browser + Sincronitza el directori de treball de l'Octave amb l'explorador de fitxers + + + + Shortcuts + Dreceres + + + + Select this option to prevent conflicts with readline shortcuts + Selecciona aquesta opció per evitar conflictes amb les dreceres de la línia d'ordres + + + + Disable global shortcuts when terminal window has focus + Deshabilita les dreceres globals quan el focus és al Terminal + + + + Export + Exporta + + + + Import + Importa + + + + Action + Acció + + + + Socks5Proxy + "Socks5Proxy" + + + + Hostname: + Nom de la màquina: + + + + Proxy type: + Tipus de servidor intermediari: + + + + Port: + Port: + + + + Username: + Nom de l'usuari: + + + + Password: + Contrasenya: + + + + Octave Settings + Configuració de l'Octave + + + + Unable to save settings. Missing settings file or unknown directory. + No es pot desar la configuració. Falta el fitxer de configuració o directori desconegut. + + + + + + System setting + Configuració de sistema + + + + IBeam Cursor + Cursor en forma d'l + + + + Block Cursor + Cursor en forma de bloc + + + + Underline Cursor + Cursor en forma de subratllat + + + + Set Octave Startup Directory + Estableix el directori d'inici de l'Octave + + + + Set File Browser Startup Directory + Estableix el directori d'inici de l'explorador de fitxers + + + diff -r 3aed4f0ba3cd -r 512b68611097 libgui/languages/it_IT.ts --- a/libgui/languages/it_IT.ts Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/languages/it_IT.ts Sun Apr 08 19:53:57 2018 -0700 @@ -1,6 +1,6 @@ - + QObject @@ -54,14 +54,14 @@ cursore - + Difference to the default size Differenza rispetto alla dimensione di default Background color, pink (255, 0, 255) means default - Colore dello sfondo; rosa (255,0,255) indica default {255, 0, 255)?} + Colore dello sfondo; magenta (255,0,255) indica default @@ -105,12 +105,12 @@ Clear Window - Svuota finestra + Pulisci finestra Edit %1 at line %2 - Modifica %1 alla linea %2 + Modifica %1 alla riga %2 @@ -122,672 +122,6 @@ - QsciLexerBash - - - Default - Default - - - - Error - Errore - - - - Comment - - - - - Number - - - - - Keyword - - - - - Double-quoted string - - - - - Single-quoted string - - - - - Operator - - - - - Identifier - - - - - Scalar - - - - - Parameter expansion - - - - - Backticks - - - - - Here document delimiter - - - - - Single-quoted here document - - - - - QsciLexerBatch - - - Default - Default - - - - Comment - - - - - Keyword - - - - - Label - - - - - Hide command character - - - - - External command - - - - - Variable - - - - - Operator - - - - - QsciLexerCPP - - - Default - Default - - - - Inactive default - - - - - C comment - - - - - Inactive C comment - - - - - C++ comment - - - - - Inactive C++ comment - - - - - JavaDoc style C comment - - - - - Inactive JavaDoc style C comment - - - - - Number - - - - - Inactive number - - - - - Keyword - - - - - Inactive keyword - - - - - Double-quoted string - - - - - Inactive double-quoted string - - - - - Single-quoted string - - - - - Inactive single-quoted string - - - - - IDL UUID - - - - - Inactive IDL UUID - - - - - Pre-processor block - - - - - Inactive pre-processor block - - - - - Operator - - - - - Inactive operator - - - - - Identifier - - - - - Inactive identifier - - - - - Unclosed string - - - - - Inactive unclosed string - - - - - C# verbatim string - - - - - Inactive C# verbatim string - - - - - JavaScript regular expression - - - - - Inactive JavaScript regular expression - - - - - JavaDoc style C++ comment - - - - - Inactive JavaDoc style C++ comment - - - - - Secondary keywords and identifiers - - - - - Inactive secondary keywords and identifiers - - - - - JavaDoc keyword - - - - - Inactive JavaDoc keyword - - - - - JavaDoc keyword error - - - - - Inactive JavaDoc keyword error - - - - - Global classes and typedefs - - - - - Inactive global classes and typedefs - - - - - C++ raw string - - - - - Inactive C++ raw string - - - - - QsciLexerDiff - - - Default - Default - - - - Comment - - - - - Command - - - - - Header - - - - - Position - Posizione - - - - Removed line - - - - - Added line - - - - - Changed line - - - - - QsciLexerMatlab - - - Default - Default - - - - Comment - - - - - Command - - - - - Number - - - - - Keyword - - - - - Single-quoted string - - - - - Operator - - - - - Identifier - - - - - Double-quoted string - - - - - QsciLexerPerl - - - Default - Default - - - - Error - Errore - - - - Comment - - - - - POD - - - - - Number - - - - - Keyword - - - - - Double-quoted string - - - - - Single-quoted string - - - - - Operator - - - - - Identifier - - - - - Scalar - - - - - Array - - - - - Hash - - - - - Symbol table - - - - - Regular expression - - - - - Substitution - - - - - Backticks - - - - - Data section - - - - - Here document delimiter - - - - - Single-quoted here document - - - - - Double-quoted here document - - - - - Backtick here document - - - - - Quoted string (q) - - - - - Quoted string (qq) - - - - - Quoted string (qx) - - - - - Quoted string (qr) - - - - - Quoted string (qw) - - - - - POD verbatim - - - - - Subroutine prototype - - - - - Format identifier - - - - - Format body - - - - - Double-quoted string (interpolated variable) - - - - - Translation - - - - - Regular expression (interpolated variable) - - - - - Substitution (interpolated variable) - - - - - Backticks (interpolated variable) - - - - - Double-quoted here document (interpolated variable) - - - - - Backtick here document (interpolated variable) - - - - - Quoted string (qq, interpolated variable) - - - - - Quoted string (qx, interpolated variable) - - - - - Quoted string (qr, interpolated variable) - - - - - QsciScintilla - - - &Undo - - - - - &Redo - &Ripeti - - - - Cu&t - &Taglia - - - - &Copy - - - - - &Paste - - - - - Delete - - - - - Select All - Seleziona tutto - - - QtHandles::Figure @@ -807,7 +141,7 @@ Autoscale - Ridimensiona + Scala automaticamente @@ -848,7 +182,7 @@ Octave Figure File (*.ofig);;Vector Image Formats (*.eps *.epsc *.pdf *.svg *.ps *.tikz);;Bitmap Image Formats (*.gif *.jpg *.png *.tiff) - + Figure di octave (*.ofig);;Formati immagini vettoriali (*.eps *.epsc *.pdf *.svg *.ps *.tikz);;Formati mmagini rasterizzate (*.gif *.jpg *.png *.tiff) @@ -900,182 +234,213 @@ Open Link - + Apri collegamento Copy Link Address - + Copia l'indirizzo del collegamento Send Email To... - + Manda un'email a... Copy Email Address - + Copia l'indirizzo email Edit %1 at line %2 - Modifica %1 alla linea %2 + Modifica %1 alla riga %2 annotation_dialog + Annotation Annotazione + Text Testo + String Stringa + Font Carattere + bold grassetto + b See the comment on 'b' in QObject. g + italic corsivo + i See the comment on 'b' in QObject. c + color colore + Horz alignment Allineamento orizzontale + left sinistra + + middle centro + right destra + Vert alignment Allineamento verticale + top - alto + in alto + bottom - basso + in basso + Position Posizione + X X + Y Y + Width Larghezza + Height Altezza + units unità + normalized - normalizza + normalizzato + Fit to box Adatta al riquadro + Box Riquadro + Background Sfondo + Edge Bordo + Line style Stile linea + none nessuno + Line width Ampiezza linea @@ -1085,43 +450,61 @@ Select All - Seleziona tutto + Seleziona tutto octave::documentation - + + + Octave Documentation - - - - + Documentazione di Octave + + + + Could not copy help collection to temporary +file. Search capabilities may be affected. +%1 + Impossibile copiare la collezione di aiuto in un file temporaneo. +Le funzionalità di ricerca potrebbero risultarne compromesse. +%1 + + + Could not setup the data required for the documentation viewer. Only help texts in the Console Widget will be available. - - - - + Impossibile configurare i dati richiesti per visualizzatore la +documentazione. Soltanto il testo di +aiuto nel terminale sarà disponibile. + + + Contents - + Contenuti Enter text to search the indices - + Inserire il testo da cercare negli indici Search - + Cerca Index - + Indice + + + + Unable to register help file %1. + Impossibile registrare il file di aiuto %1. @@ -1129,12 +512,12 @@ Documentation - Documentazione + Documentazione See the documentation for help. - Si faccia riferimento alla documentazione per maggiori informazioni. + Si faccia riferimento alla documentazione per maggiori informazioni. @@ -1143,20 +526,21 @@ Octave Editor - Editor di Octave + Editor di Octave Could not start custom file editor %1 - Impossibile avviare l'editor di file personalizzato + Impossibile avviare l'editor di file personalizzato %1 There is no custom editor configured yet. Do you want to open the preferences? - + Nessun editor è stao configurato. +Si desidera aprire le impostazioni? @@ -1168,28 +552,28 @@ Octave Editor - Editor di Octave + Editor di Octave File not saved! A file with the selected name %1 is already open in the editor - File non salvato! Un file chiamato + File non salvato! Un file chiamato %1 è già aperto nell'editor The associated file editor tab has disappeared. - La scheda corrispondente nell'editor è scomparsa. + La scheda corrispondente nell'editor è scomparsa. Could not open file %1 for read: %2. - Impossibile aprire + Impossibile aprire il file %1 in lettura: %2. @@ -1198,403 +582,398 @@ File %1 does not exist. Do you want to create it? - Il file + Il file %1 non esiste. Si desidera crearlo? Create - Crea + Crea Cancel - Annulla + Annulla Could not open file %1 for write: %2. - Impossibile aprire + Impossibile aprire il file %1 in scrittura: %2. &File - &File + &File &Recent Editor Files - &Documenti recenti + &Documenti recenti &Edit Function - &Modifica funzione + &Modifica funzione &Save File - &Salva file + &Salva file Save File &As... - Salva &come... + S&alva come... &Close - &Chiudi + &Chiudi Close All - Chiudi tutto + Chiudi tutto Close Other Files - Chiudi gli altri file + Chiudi gli altri file Print... - Stampa... + Stampa... &Edit - &Modifica + &Modifica &Redo - &Ripeti + &Ripeti Cu&t - &Taglia + &Taglia &Find and Replace... - &Trova e sostituisci... + &Trova e sostituisci... Find &Next... - Trova &successivo... + Trova &successivo... Find &Previous... - Trova &precedente... + Trova &precedente... &Commands - Co&mandi + &Comandi Delete Line - Cancella riga + Elimina riga Copy Line - Copia riga + Copia riga Cut Line - Taglia riga + Taglia riga Delete to Start of Word - Cancella fino a inizio parola + Cancella fino a inizio parola Delete to End of Word - Cancella fino a fine parola + Cancella fino a fine parola Delete to Start of Line - Cancella fino a inizio riga + Cancella fino a inizio riga Delete to End of Line - Cancella fino a fine riga + Cancella fino a fine riga Duplicate Selection/Line - Duplica selezione/riga + Duplica selezione/riga Transpose Line - Trasponi riga + Trasponi riga &Show Completion List - Mostra &lista di completamento + Mostra &lista di completamento &Format - &Formatta + &Formattazione &Uppercase Selection - Rendi &maiuscola la selezione + Rendi &maiuscola la selezione &Lowercase Selection - Rendi mi&nuscola la selezione + Rendi mi&nuscola la selezione &Comment - &Commenta + &Commenta &Uncomment - &Decommenta + &Decommenta Comment (Choosing String) - + Commenta (scegliendo la stringa) &Indent Selection Rigidly - + &Indenta rigidamente la selezione &Unindent Selection Rigidly - + &Deindenta rigidamente selezione Indent Code - + Indenta il codice - convert line endings to &windows (crlf) - + Convert Line Endings to &Windows (CRLF) + Converti gli a capo a &Windows (CRLF) Convert Line Endings to &Unix (LF) - A capo in stile &Unix (LF) + A capo in stile &Unix (LF) Convert Line Endings to &Mac (CR) - A capo in stile &Mac (CR) + A capo in stile &Mac (CR) Navi&gation - Navi&gazione + Navi&gazione Go &to Line... - Vai &alla riga... + Vai &alla riga... Move to Matching Brace - Vai alla parentesi corrispondente + Vai alla parentesi corrispondente Select to Matching Brace - Seleziona fino alla parentesi corrispondente + Seleziona fino alla parentesi corrispondente &Next Bookmark - Segnalibro &successivo + Segnalibro &successivo Pre&vious Bookmark - Segnalibro &precedente + Segnalibro &precedente Toggle &Bookmark - Attiva/disattiva &segnalibro + Attiva/disattiva &segnalibro &Remove All Bookmarks - &Elimina tutti i segnalibri + &Elimina tutti i segnalibri &Preferences... - &Preferenze... + &Preferenze... &Styles Preferences... - &Preferenze di stile... + Preferenze di &stile... &View - &Vista + &Vista &Editor - &Editor + &Editor Show &Line Numbers - Mostra numeri di &riga + Mostra i &numeri di riga Show &Whitespace Characters - Mostra spazio &bianco + Mostra spazi &bianchi Show Line &Endings - Mostra a &capo + Mostra a &capo Show &Indentation Guides - Mostra guide &indentazione + Mostra guide di &indentazione Show Long Line &Marker - Mostra &marcatori di linea lunga + Mostra &marcatori di riga lunga Show &Toolbar - Mostra barra degli s&trumenti + Mostra barra degli s&trumenti Show &Statusbar - Mostra barra di &stato + Mostra barra di &stato Show &Horizontal Scrollbar - Mostra cursore &orizzontale + Mostra barra di scorrimento &orizzontale Zoom &In - &Ingrandisci + &Ingrandisci Zoom &Out - &Riduci + &Riduci &Normal Size - Dimensione &normale + Dimensione &normale &Debug - &Debug + &Debug Toggle &Breakpoint - Attiva/disattiva &breakpoint + Attiva/disattiva &breakpoint &Next Breakpoint - Breakpoint &successivo + Breakpoint &successivo Pre&vious Breakpoint - Breakpoint &precedente + Breakpoint &precedente &Remove All Breakpoints - &Rimuovi tutti i breakpoint + &Rimuovi tutti i breakpoint &Run - &Esegui + &Esegui Save File and Run - Salva ed esegui + Salva ed esegui Run &Selection - Esegui &selezione + Esegui &selezione &Help - + &Aiuto &Help on Keyword - &Aiuto su parola chiave + &Aiuto su parola chiave &Documentation on Keyword - &Documentazione sulla parola chiave + &Documentazione sulla parola chiave Recent Files - File recenti + File recenti Editor - Editor - - - - &%1 %2 - &%1 %2 + Editor @@ -1602,78 +981,78 @@ line: - riga: + riga: col: - col: + col: encoding: - codifica: + codifica: eol: - fine della riga: + fine riga: Breakpoint condition - Condizione breakpoint + Condizione di breakpoint - + Octave Editor - Editor di Octave - - - + Editor di Octave + + + Cannot add breakpoint to modified file. Save and add breakpoint, or cancel? - Non è possibile aggiungere un breakpoint ad un file modificato. -Salvare ed aggiungere, o annullare? + Non è possibile aggiungere un breakpoint ad un file modificato. +Si desidera salvare e aggiungere un breakpoint, o annullare? Goto line - Vai alla riga + Vai alla riga Line number - Numero riga + Numero riga Comment selected text - + Commenta testo selezionato Comment string to use: - + Stringa commento da utilizzare: <unnamed> - <senza nome> + <senza nome> Do you want to cancel closing, save or discard the changes? - Si desidera annullare l'operazione di chiusura, salvare o annullare le modifiche? + Si desidera annullare l'operazione di chiusura, salvare o annullare le modifiche? @@ -1682,7 +1061,7 @@ %1 is about to be closed but has been modified. %2 - Il file + Il file %1 @@ -1691,44 +1070,44 @@ Debug or Save - Debug o salvataggio + Debug o salvataggio This file is currently being executed. Quit debugging and save? - Questo file è in esecuzione. -Terminare il debugging e salvare? + Questo file è in esecuzione. +Uscire dal debug e salvare? Could not open file %1 for write: %2. - Impossibile aprire %1 in scrittura: + Impossibile aprire il file %1 in scrittura: %2. Line Endings: - Terminatori di riga: + A capo: File Encoding: - Codifica file: + Codifica file: Octave Files (*.m) - File di Octave (*.m) + File di Octave (*.m) All Files (*) - Tutti i file (*) - - - + Tutti i file (*) + + + "%1" is not a valid identifier. @@ -1736,46 +1115,49 @@ call your script using its name as an Octave command. Do you want to choose another name? - "%1" + "%1" non è un identificatore valido. -Tenendo questo nome del file, non sarà possibile +Se si mantiente questo nome del file, non sarà possibile chiamare lo script usando il suo nome come comando Octave. Si vuole scegliere un altro nome? - The current codec %1 + The current encoding %1 can not be applied. Please select another one or cancel saving! - + La codifica corrente %1 +non può essere applicata. + +Selezionarne un'altra o annullare il salvataggio! The current editor contents can not be encoded -with the selected codec %1. +with the selected encoding %1. Using it will result in data loss! -Do you want to chose another codec? - L'attuale contenuto dell'editor non può essere codificato -con il codec selezionato, %1. -Il suo uso causerà perdita di dati! +Do you want to choose another encoding? + Il contenuto corrente dell'editor non può essere codificato +con la codifica selezionata %1. +Il suo utilizzo comporterà la perdita di dati! -Si vuole scegliere un altro codec? +Si vuole scegliere un'altra codifica? It seems that '%1' has been modified by another application. Do you want to reload it? - Sembra che '%1' sia stato modificato da un'altra applicazione. Si desidera ricaricarlo? + Sembra che '%1' sia stato modificato da un'altra applicazione. Si desidera ricaricarlo? Warning: The contents in the editor is modified! - + Attenzione: il contenuto nell'editor è modificato! @@ -1784,7 +1166,7 @@ It seems that the file %1 has been deleted or renamed. Do you want to save it now?%2 - Sembra che il file + Sembra che il file %1 sia stato rinominato o rimosso. Si desidera salvarlo ora?%2 @@ -1794,228 +1176,228 @@ File Browser - + Gestore dei file Browse your files - Gestisci file + Gestisci file File size - Dimensione + Dimensione File type - Tipo + Tipo Date modified - Data ultima modifica + Data ultima modifica Show hidden - Mostra file nascosti + Mostra file nascosti Alternating row colors - Colori alternati per le righe - - - + Colori alternati per le righe + + + Enter the path or filename - Inserire il percorso o il nome del file + Inserire il percorso o il nome del file One directory up - Livello superiore + Livello superiore Show Octave directory - Mostra la cartella di Octave + Mostra la cartella di Octave Go to current Octave directory - Vai alla directory corrente di Octave + Vai alla cartella corrente di Octave Set Octave directory - Scegli la cartella di Octave + Imposta la cartella di Octave Set Octave directory to current browser directory - Impostare la cartella di Octave alla cartella corrente + Impostare la cartella corrente come cartella di Octave Actions on current directory - Azioni sulla cartella corrente + Azioni sulla cartella corrente Show Home Directory - Mostra la cartella personale + Mostra la cartella personale Set Browser Directory... - Scegliere la cartella del gestore... + Scegli la cartella del gestore di file... Find Files... - + Trova file... New File... - Nuovo file... + Nuovo file... New Directory... - Nuova cartella... + Nuova cartella... Activate to open in editor, right click for alternatives - Attiva per aprire nell'editor, tasto destro per le alternative + Attiva per aprire nell'editor, tasto destro per le alternative Open - Apri + Apri Open in System File Explorer - Apri nel gestore file di sistema + Apri nel gestore di file di sistema Open in Text Editor - Apri in editor di testo + Apri in editor di testo Copy Selection to Clipboard - Copia selezione negli appunti + Copia selezione negli appunti Run - Esegui + Esegui Load Data - Carica dati + Carica dati Set Current Directory - Seleziona la cartella corrente + Imposta la cartella corrente Rename... - Rinomina... + Rinomina... Delete... - Elimina... + Elimina... Rename file/directory - Rinomina file/cartella + Rinomina file/cartella Rename file/directory: - Rinomina file/cartella: + Rinomina file/cartella: to: - + a: Delete file/directory - Elimina file/cartella + Elimina file/cartella Are you sure you want to delete - Si è sicuri di voler eliminare + Si è sicuri di voler eliminare Can not delete a directory that is not empty - Impossibile eliminare una cartella non vuota + Impossibile eliminare una cartella non vuota Set directory of file browser - Seleziona la cartella del gestore di file + Imposta la cartella del gestore di file Create File - Nuovo file + Nuovo file Create file in String ends with \n! - Nuovo file in + Nuovo file in - + New File.txt - Nuovo.txt + Nuovo file.txt Create Directory - Nuova cartella + Nuova cartella Create folder in String ends with \n! - Nuova cartella in + Nuova cartella in - + New Directory - Nuova cartella + Nuova cartella @@ -2023,22 +1405,22 @@ Enjoy! - Buon lavoro! + Buon lavoro! Previous - Precedente + Precedente Finish - Finito + Concludi Cancel - Annulla + Annulla @@ -2047,10 +1429,10 @@ <p>If you encounter problems, there are a number of ways to get help, including commercial support options, a mailing list, a wiki, and other community-based support channels. You can find more information about each of these by visiting <a href="https://octave.org/support.html">https://octave.org/support.html</a> (opens in external browser).</p> </body></html> - <html><body> -<p>Ci auguriamo che troviate Octave un utile strumento.</p> -<p>Se incontraste problemi, ci sono vari modi di ottenere aiuto, tra cui supporto commerciale, una mailing list, una wiki ed altri canali di supporto gestiti dalla community. -Potete trovare ulteriori informazioni al riguardo visitando <a href="https://octave.org/support.html">https://octave.org/support.html</a> (si apre in un browser esterno).</p> + <html><body> +<p>Ci auguriamo che troviate Octave uno strumento utile.</p> +<p>Si dovessero incontrare problemi, ci sono vari modi di ottenere aiuto, tra cui supporto commerciale, una mailing list, una wiki ed altri canali di supporto gestiti dalla comunità. +Per ulteriori informazioni, si visiti il sito <a href="https://octave.org/support.html">https://octave.org/support.html</a> (si apre in un browser esterno).</p> </body></html> @@ -2067,7 +1449,7 @@ <li>Open the documentation browser of the Octave GUI with the help menu</li> </ul> </body></html> - <html><head> + <html><head> <style> a:link { text-decoration: underline; color: #0000ff; } </style> @@ -2086,107 +1468,107 @@ Find and Replace - Trova e sostituisci + Trova e sostituisci Find &what: - T&rova: + T&rova: Re&place with: - Sos&tituisci con: + Sos&tituisci con: Match &case - Maiuscole/&minuscole + Maiuscole/&minuscole Search from &start - Cerca dall'i&nizio + Cerca dall'i&nizio &Wrap while searching - &Evidenzia durante la ricerca + &Vai a capo durante la ricerca &Find Next - &Trova successivo + &Trova successivo Find &Previous - Trova &precedente + Trova &precedente &Replace - &Sostituisci + Sos&tituisci Replace &All - S&ostituisci tutti + S&ostituisci tutti &More... - &Avanzate... + &Avanzate... &Whole words - Paro&le intere + Paro&le intere Regular E&xpressions - Espressioni Re&golari + Espressioni Re&golari Search &backward - Cerca &indietro + Cerca &indietro Search se&lection - Cerca nella sele&zione + Cerca nella sele&zione Search from end - Cerca dalla fine + Cerca dalla fine Search from start - Cerca dall'inizio + Cerca dall'inizio Replace Result - Sostituisci risultato + Sostituisci risultato %1 items replaced - %1 occorrenze sostituite + %1 occorrenze sostituite Find Result - Trova risultato + Trova risultato No more matches found - Nessun'altra corrispondenza trovata + Nessun'altra corrispondenza trovata @@ -2194,147 +1576,147 @@ Find Files - Cerca file + Trova file Named: - Chiamato: + Chiamato: Enter the filename search expression - Inserire un'espressione da ricercare nel nome del file + Inserire un'espressione da ricercare nel nome del file Start in: - Comincia da: + Comincia da: Enter the start directory - Inserire la cartella di partenza + Inserire la cartella di partenza Browse... - Esplora... + Esplora... Browse for start directory - Seleziona la cartella di partenza + Seleziona la cartella di partenza Search subdirectories - Ricerca nelle sottocartelle + Ricerca nelle sottocartelle Search recursively through directories for matching files - Cerca ricorsivamente nella gerarchia di cartelle + Cerca ricorsivamente nella gerarchia di cartelle Include directory names - Includi i nomi di cartelle + Includi i nomi di cartelle Include matching directories in search results - Includi cartelle nei risultati di ricerca + Includi cartelle nei risultati di ricerca Name case insensitive - Nessuna distinzione maiuscole/minuscole nel nome + Nessuna distinzione maiuscole/minuscole nel nome Set matching name is case insensitive - Nessuna distinzione maiuscole/minuscole per le corrispendenze fra nomi + Nessuna distinzione maiuscole/minuscole per le corrispendenze fra nomi Contains text: - Contiene il testo: + Contiene il testo: Enter the file content search expression - Inserisci un'espressione da ricercare nel contenuto del file + Inserisci un'espressione da ricercare nel contenuto del file Text to match - Testo da trovare + Testo da trovare Text case insensitive - Testo senza distinzione maisucole/minuscole + Nessuna distinzione maisucole/minuscole nel testo Set text content is case insensitive - Nessuna distinzione maiuscole/minuscole nel contenuto del testo + Nessuna distinzione maiuscole/minuscole nel contenuto del testo Search results - Risultati della ricerca + Risultati della ricerca Idle. - Inattivo. + Inattivo. Find - Cerca + Trova Start search for matching files - Inizia la ricerca + Inizia la ricerca Stop - Interrompi + Interrompi Stop searching - Interrompi la ricerca + Interrompi la ricerca Filename/location - Nome file/posizione + Nome file/posizione File contents - Contenuti + Contenuti Searching... - Ricerca in corso... + Ricerca in corso... %1 match (es) - + %1 corrispondeze Set search directory - Scegli la cartella di ricerca + Scegli la cartella di ricerca @@ -2342,12 +1724,12 @@ Filename - Nome del file + Nome del file Directory - Cartella + Cartella @@ -2355,52 +1737,52 @@ Browse and search the command history. - Naviga nello storico dei comandi. + Sfoglia e cerca nella cronologia dei comandi. Copy - Copia + Copia Evaluate - Valuta + Valuta Create script - Crea script + Crea script Hide filter - Nascondi filtro + Nascondi filtro Show filter - Mostra filtro + Mostra filtro Double-click a command to transfer it to the terminal. - Fare doppio click su un comando per trasferirlo nel terminale. + Fare doppio click su un comando per trasferirlo nel terminale. Enter text to filter the command history - Inserire del testo per filtrare lo storico dei comandi + Inserire del testo per filtrare la cronologia dei comandi Filter - Filtra + Filtra Command History - Storico dei comandi + Cronologia dei comandi @@ -2408,17 +1790,17 @@ Welcome to Octave! - Benvenuto in Octave! + Benvenuto in Octave! Next - Successivo + Successivo Cancel - Annulla + Annulla @@ -2427,7 +1809,7 @@ Click 'Next' to create a configuration file and launch Octave.</p> <p>The configuration file is stored in<br>%1.</p> </body></html> - <html><body> + <html><body> <p>Sembra che si stia utilizzando l'interfaccia grafica di Octave per la prima volta su questo computer. Fare click su 'Successivo' per creare un file di configurazione e lanciare Octave.</p> <p>Il file di configurazione verrà salvato in<br>%1.</p> @@ -2439,12 +1821,12 @@ Undock widget - Rilascia widget + Rilascia widget Close widget - + Chiudi widget @@ -2452,376 +1834,377 @@ Save Workspace As - Salva lo spazio di lavoro come + Salva lo spazio di lavoro come Load Workspace - Carica lo spazio di lavoro + Carica lo spazio di lavoro The release notes file '%1' is empty. - Il file delle note di rilascio '%1' è vuoto. + Il file delle note di rilascio '%1' è vuoto. The release notes file '%1' cannot be read. - Il file delle note di rilascio '%1' non può essere letto. + Impossibile leggere il file delle note di rilascio '%1'. Octave Release Notes - Note di rilascio di Octave + Note di rilascio di Octave Octave Community News - Notizie dalla comunità di Octave + Notizie dalla comunità di Octave - + About Octave - A proposito di Octave - - - + A proposito di Octave + + + Octave - Octave + Octave Are you sure you want to exit Octave? - Si è sicuri di voler uscire da Octave? + Si è sicuri di voler uscire da Octave? - + Browse directories - Naviga cartelle - - - + Sfoglia cartelle + + + Octave Files (*.m);;All Files (*) - File di Octave (*.m);;Tutti i file (*) + File di Octave (*.m);;Tutti i file (*) File Encoding: - Codifica file: + Codifica file: New Function - Nuova funzione + Nuova funzione New function name: - Nome della nuova funzione: + Nome della nuova funzione: + %1 is a built-in function - %1 è una funzione built-in + %1 è una funzione built-in Can not find function %1 - Impossibile trovare la funzione %1 + Impossibile trovare la funzione %1 Octave Editor - Editor di Octave - - - + Editor di Octave + + + &File - &File + &File Open... - Apri... + Apri... Open an existing file in editor - Apri file esistente nell'editor + Apri file esistente nell'editor Load Workspace... - Apri spazio di lavoro... + Carica spazio di lavoro... Save Workspace As... - Salva spazio di lavoro come... + Salva spazio di lavoro come... Exit - Esci + Esci New - Nuovo + Nuovo New Script - Nuovo script + Nuovo script New Function... - Nuova funzione... + Nuova funzione... New Figure - Nuova figura + Nuova figura &Edit - &Modifica + &Modifica Undo - Annulla + Annulla Copy - Copia + Copia Paste - Incolla + Incolla Select All - Seleziona tutto + Seleziona tutto Clear Clipboard - Svuota appunti + Svuota appunti Find Files... - + Trova file... Clear Command Window - Svuota la finestra dei comandi + Svuota la finestra dei comandi Clear Command History - Svuota lo storico dei comandi + Svuota la cronologia dei comandi Clear Workspace - Svuota lo spazio di lavoro + Pulisci lo spazio di lavoro Preferences... - Preferenze... + Preferenze... De&bug - De&bug + De&bug Step - Un'istruzione alla volta + Un'istruzione alla volta Step In - Entra + Entra Step Out - + Esci Continue - Continua + Continua Quit Debug Mode - Esci dalla modalità di debug + Esci dalla modalità di debug &Window - &Finestra + Fines&tra Show Command Window - Mostra la finestra dei comandi + Mostra la finestra dei comandi Show Command History - Mostra lo storico dei comandi + Mostra la cronologia dei comandi Show File Browser - + Mostra gestore dei file Show Workspace - Mostra lo spazio di lavoro + Mostra lo spazio di lavoro Show Editor - Mostra l'editor + Mostra l'editor Show Documentation - Mostra la documentazione + Mostra la documentazione Show Variable Editor - + Mostra l'editor di variabili Command Window - Finestra dei comandi + Finestra dei comandi Command History - Storico dei comandi + Cronologia dei comandi File Browser - + Gestore dei file Workspace - Spazio di lavoro + Spazio di lavoro Editor - Editor + Editor Documentation - Documentazione + Documentazione Variable Editor - + Editor di variabili Reset Default Window Layout - Ripristina il layout della finestra + Ripristina il layout della finestra &Help - + &Aiuto Report Bug - Segnala un problema + Segnala un problema Octave Packages - Pacchetti Octave + Pacchetti Octave Contribute - Contribuisci + Contribuisci Donate to Octave - Dona a Octave + Fai una donazione a Octave On Disk - Su disco + Su disco Online - In linea + In linea &News - &Notizie + &Notizie Release Notes - + Note di rilascio Community News - + Notizie dalla comunità Toolbar - Barra degli strumenti + Barra degli strumenti Enter directory name - Inserisci nome cartella + Inserisci nome cartella Current Directory: - Cartella corrente: + Cartella corrente: One directory up - Livello superiore + Livello superiore @@ -2840,7 +2223,7 @@ </p> <p> <small><em>&mdash; The Octave Developers, - <html> + <html> <body> <p> Le notizie dalla comunità di Octave non sembrano essere disponibili. @@ -2868,7 +2251,7 @@ </p> <p> <small><em>&mdash; The Octave Developers, - <html> + <html> <body> <p> La connessione ad internet per mostrare le ultime notizie dalla comunità di Octave non è abilitata. @@ -2888,22 +2271,22 @@ Hide widget - Nascondi widget + Nascondi widget Use <Alt> + <Left Mouse Button> for moving the window - + Utilizzare <Alt>+<tasto sinistro del mouse> per spostare la finestra Dock widget - Ancora widget - - - + Ancora widget + + + Undock widget - Rilascia widget + Rilascia widget @@ -2911,27 +2294,27 @@ Help on - Aiuto su + Aiuto su Documentation on - Documentazione su + Documentazione su Edit - Modifica + Modifica dbstop if ... - dbstop se ... + dbstop se ... Press '%1' to replace all occurrences of '%2' with '%3'. - + Premere %1 per sostituire tutte le occorrenze di '%2' con '%3'. @@ -2941,52 +2324,52 @@ Create - Crea + Crea Cancel - Annulla + Annulla File %1 does not exist. Do you want to create it? - Il file + Il file %1 non esiste. Si desidera crearlo? Octave Editor - Editor di Octave + Editor di Octave The file %1 does not exist in the load path. To run or debug the function you are editing, you must either change to the directory %2 or add that directory to the load path. - Il file %1 non esiste nelle cartelle di esecuzione. Per lanciare o eseguire il debug della funzione in corso di modifica, è necessario passare alla cartella %2 o aggiungere tale cartella alle cartelle di esecuzione. + Il file %1 non esiste nelle cartelle di esecuzione. Per lanciare o eseguire il debug della funzione in corso di modifica, è necessario passare alla cartella %2 o aggiungere tale cartella alle cartelle di esecuzione. The file %1 is shadowed by a file with the same name in the load path. To run or debug the function you are editing, change to the directory %2. - Il file %1 è nascosto da un file con lo stesso nome presente nelle cartelle di esecuzione. Per lanciare o esguire il debug del file in corso di modifica, passare alla directory %2. + Il file %1 è nascosto da un file con lo stesso nome presente nelle cartelle di esecuzione. Per lanciare o esguire il debug del file in corso di modifica, passare alla directory %2. Change Directory or Add Directory to Load Path - Cambia cartella o aggiungi cartella alle cartelle di esecuzione + Cambia cartella o aggiungi cartella alle cartelle di esecuzione &Change Directory - + &Cambia cartella &Add Directory to Load Path - + &Aggiungi cartella ai percorsi di caricamento @@ -2994,7 +2377,7 @@ Default - Default + Default @@ -3008,7 +2391,7 @@ %2 Octave GUI must be closed now. - Il file di configurazione + Il file di configurazione %1 non esiste e non può essere creato. Assicurarsi di avere permesso di lettura e scrittura in @@ -3019,7 +2402,7 @@ Octave Critical Error - Errore critico di Octave + Errore critico di Octave @@ -3027,22 +2410,22 @@ Community News - + Notizie dalla comunità Previous - Precedente + Precedente Next - Successivo + Successivo Cancel - Annulla + Annulla @@ -3052,7 +2435,12 @@ <p>You may also view the news by selecting the "Community News" item in the "Help" menu, or by visiting <a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a>.</p> </body></html> - + <html><body> +<p>All'avvio, Octave può opzionalmente controllare il sito web per ottenere notizie ed informazione recenti dalla comunità.. +Questo controllo avviene non più di una volta al giorno e le notizie vengono mostrate soltanto se c'è qualcosa di nuovo rispetto all'ultima volta in cui sono state lette.</p> +<p>È possibile leggere le notizie anche selezionando "Notizie dalla comunità" dal menu "Aiuto" o visitando +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a>.</p> +</body></html> @@ -3063,12 +2451,12 @@ <head/><body> <p>Allow Octave to connect to the Octave web site when it starts to display current news and information about the Octave community.</p> </body></html> - <html><head> + <html><head> <style> a:link { text-decoration: underline; color: #0000ff; } </style> <head/><body> -<p>Permetti all'applicazione di connettersi all'avvio al sito web di Octave per mostrare notizie ed informazione recenti dalla comunità.</p> +<p>Permetti all'applicazione di connettersi al sito web di Octave per mostrare notizie ed informazione recenti dalla comunità.</p> </body></html> @@ -3077,7 +2465,7 @@ Double Shortcut - Doppia scorciatoia + Doppia scorciatoia @@ -3086,7 +2474,7 @@ is already used for the action "%2". Do you want to use the shortcut anyhow removing it from the previous action? - La scorciatoia + La scorciatoia "%1" è già utilizzata per l'azione "%2" @@ -3095,679 +2483,679 @@ New File - Nuovo file + Nuovo file New Function - Nuova funzione + Nuova funzione New Figure - Nuova figura + Nuova figura Open File - Apri file + Apri file Load Workspace - Carica lo spazio di lavoro + Carica lo spazio di lavoro Save Workspace As - Salva lo spazio di lavoro come + Salva lo spazio di lavoro come Exit Octave - Esci da Octave + Esci da Octave Copy - Copia + Copia Paste - Incolla + Incolla Undo - Annulla + Annulla Select All - Seleziona tutto + Seleziona tutto Clear Clipboard - Svuota appunti + Pulisci appunti Find in Files - Cerca nei file + Trova nei file Clear Command Window - Svuota la finestra dei comandi + Pulisci la finestra dei comandi Clear Command History - Svuota lo storico dei comandi + Pulisci lo storico dei comandi Clear Workspace - Svuota lo spazio di lavoro + Pulisci lo spazio di lavoro Preferences - Preferenze + Preferenze Step - Un'istruzione alla volta + Un'istruzione alla volta Step Into - Livello successivo + Livello successivo Step Out - + Esci Continue - Continua + Continua Quit Debug Mode - Esci dalla modalità di debug + Esci dalla modalità di debug Show Command Window - Mostra la finestra dei comandi + Mostra la finestra dei comandi Show Command History - Mostra lo storico dei comandi + Mostra lo storico dei comandi Show File Browser - + Mostra gestore dei file Show Workspace - Mostra lo spazio di lavoro + Mostra lo spazio di lavoro Show Editor - Mostra l'editor + Mostra l'editor Show Documentation - Mostra la documentazione + Mostra la documentazione Show Variable Editor - + Mostra editor di variabili Command Window - Finestra dei comandi + Finestra dei comandi Command History - Storico dei comandi + Storico dei comandi File Browser - + Gestore dei file Workspace - Spazio di lavoro + Spazio di lavoro Editor - Editor + Editor Documentation - Documentazione + Documentazione Variable Editor - + Editor di variabili Reset Default Window Layout - Ripristina il layout della finestra + Ripristina il layout della finestra Show Ondisk Documentation - Mostra la documentazione su disco + Mostra la documentazione su disco Show Online Documentation - Mostra la documentazione in linea + Mostra la documentazione in linea Report Bug - Segnala un problema + Segnala un problema Octave Packages - Pacchetti Octave + Pacchetti Octave Contribute to Octave - Contribuisci a Octave + Contribuisci a Octave Octave Developer Resources - Risorse per sviluppatori + Risorse per sviluppatori About Octave - A proposito di Octave + A proposito di Octave Release Notes - + Note di rilascio Community News - + Notizie dalla comunità Close Tab - + Chiudi scheda Close All Tabs - + Chiudi tutte le schede Close Other Tabs - + Chiudi le altre schede Switch to Left Tab - Usa scheda a sinistra + Vai alla scheda a sinistra Switch to Right Tab - Usa scheda a destra + Vai alla scheda a destra Move Tab Left - Sposta scheda a sinistra + Sposta scheda a sinistra Move Tab Right - Sposta scheda a destra + Sposta scheda a destra Edit Function - Modifica funzione + Modifica funzione Save File - Salva file + Salva file Save File As - Salva file come + Salva file come Print - Stampa + Stampa Redo - Ripeti + Ripeti Cut - Taglia + Taglia Find and Replace - Trova e sostituisci + Trova e sostituisci Find Next - Trova successivo + Trova successivo Find Previous - Trova precedente + Trova precedente Delete to Start of Word - Cancella fino a inizio parola + Cancella fino a inizio parola Delete to End of Word - Cancella fino a fine parola + Cancella fino a fine parola Delete to Start of Line - Cancella fino a inizio riga + Cancella fino a inizio riga Delete to End of Line - Cancella fino a fine riga + Cancella fino a fine riga Delete Line - Cancella riga + Elimina riga Copy Line - Copia riga + Copia riga Cut Line - Taglia riga + Taglia riga Duplicate Selection/Line - Duplica selezione/riga + Duplica selezione/riga Transpose Line - Trasponi riga + Trasponi riga Show Completion List - Mostra lista di completamenti + Mostra lista di completamento Comment Selection - Commenta selezione + Commenta selezione Uncomment Selection - Decommenta selezione + Decommenta selezione Comment Selection (Choosing String) - + Commenta selezione (scegliendo la stringa) Uppercase Selection - Rendi la selezione in maiuscolo + Rendi maiuscola la selezione Lowercase Selection - Rendi la selezione in minuscolo + Rendi minuscola la selezione Indent Selection Rigidly - + Indenta rigidamente la selezione Unindent Selection Rigidly - + Deindenta rigidamente la selezione Indent Code - + Indenta il codice Convert Line Endings to Windows - Converti terminatori di riga a Windows + Converti a capo a Windows Convert Line Endings to Unix - Converti terminatori di riga a Unix + Converti a capo a Unix Convert Line Endings to Mac - Converti terminatori di riga a Mac + Converti a capo a Mac Goto Line - Vai alla riga + Vai alla riga Move to Matching Brace - Vai alla parentesi corrispondente + Vai alla parentesi corrispondente Select to Matching Brace - Seleziona fino alla parentesi corrispondente + Seleziona fino alla parentesi corrispondente Toggle Bookmark - Attiva/disattiva segnalibro + Attiva/disattiva segnalibro Next Bookmark - Segnalibro successivo + Segnalibro successivo Previous Bookmark - Segnalibro precedente + Segnalibro precedente Remove All Bookmark - Elimina tutti i segnalibri + Elimina tutti i segnalibri Styles Preferences - Preferenze di stile + Preferenze di stile Show Line Numbers - Mostra numeri di riga + Mostra numeri di riga Show Whitespace Characters - Mostra spazio bianco + Mostra spazio bianco Show Line Endings - Mostra terminatori di riga + Mostra la fine della riga Show Indentation Guides - Mostra guide per l'indentazione + Mostra guide per l'indentazione Show Long Line Marker - Mostra marcatori linea lunga + Mostra marcatore di riga lunga Show Toolbar - Mostra barra degli strumenti + Mostra barra degli strumenti Show Statusbar - Mostra barra di stato + Mostra barra di stato Show Horizontal Scrollbar - Mostra cursore orizzontale + Mostra barra di scorrimento orizzontale Zoom In - Ingrandisci + Ingrandisci Zoom Out - Riduci + Riduci Zoom Normal - Dimensione normale + Dimensione normale Toggle Breakpoint - Attiva/disattiva breakpoint + Attiva/disattiva breakpoint Next Breakpoint - Breakpoint successivo + Breakpoint successivo Previous Breakpoint - Breakpoint precedente + Breakpoint precedente Remove All Breakpoints - Rimuovi tutti i breakpoint + Rimuovi tutti i breakpoint Run File - Esegui file + Esegui file Run Selection - Esegui selezione + Esegui selezione Help on Keyword - Aiuto su parola chiave + Aiuto su parola chiave Document on Keyword - Documentazione sulla parola chiave + Documentazione su parola chiave Global - Globale + Globale File Menu - + Menu file Edit Menu - + Menu modifica Debug Menu - + Menu debug Window Menu - + Menu finestra Help Menu - + Menu aiuto News Menu - + Menu notizie Tab Handling in Dock Widgets - + Gestione schede nel Dock Widget View Menu - + Menu vista Run Menu - + Menu esecuzione Import shortcuts from file ... - Importa scorciatoie da file ... + Importa scorciatoie da file... Octave Shortcut Files (*.osc);;All Files (*) - File di scorciatoie di Octave (*.osc);;Tutti i file (*) + File di scorciatoie di Octave (*.osc);;Tutti i file (*) Export shortcuts into file ... - Esporta scorciatoie su file ... + Esporta scorciatoie su file... Failed to open %1 as octave shortcut file - Impossibile aprire il file %1 come file di scorciatoie di Octave + Impossibile aprire %1 come file di scorciatoie di Octave Enter new Shortcut - Immetti nuova scorciatoia + Inserisci nuova scorciatoia Apply the desired shortcut or click on the right button to reset the shortcut to its default. - Applica la scorciatoia desiderata o clicca con il tasto destro del mouse per ripristinare la scorciatoia predefinita. + Applica la scorciatoia desiderata o clicca con il tasto destro del mouse per ripristinare la scorciatoia predefinita. Enter shortcut directly by performing it - Inserici una scorciatoia eseguendola direttamente + Inserici una scorciatoia eseguendola direttamente Actual shortcut - Scorciatoia attuale + Scorciatoia attuale Default shortcut - Scorciatoia predefinita + Scorciatoia predefinita Set to default - Imposta al valore predefinito + Imposta al valore predefinito Overwriting Shortcuts - Sovrascrittura scorciatoie + Sovrascrittura scorciatoie You are about to overwrite all shortcuts. Would you like to save the current shortcut set or cancel the action? - Stai per sovrascrivere tutte le scorciatoie. + Stai per sovrascrivere tutte le scorciatoie. Vorresti salvare le attuali scorciatoie o annullare l'azione? Don't save - Non salvare + Non salvare @@ -3775,7 +3163,7 @@ Command Window - Finestra dei comandi + Finestra dei comandi @@ -3783,173 +3171,168 @@ Dock widget - Ancora widget + Ancora widget Undock widget - Rilascia widget + Rilascia widget Restore geometry - + Ripristina geometria Redock - + Riancora octave::variable_editor - + Variable Editor - + Editor di variabili Edit variables. - - - - + Modifica variabili. + + + Variable Editor Toolbar - + Barra degli strumenti editor di variabili Save - + Salva Save variable to a file - + Salva variabile su file Cut - Taglia + Taglia Cut data to clipboard - + Taglia e metti negli appunti Copy - Copia + Copia Copy data to clipboard - + Copia negli appunti Paste - Incolla + Incolla Paste clipboard into variable data - + Incolla appunti nella variabile Paste Table - + Incolla tabella Another paste clipboard into variable data - + Incolla tabella dagli appunti nella variabile Plot - + Traccia grafico Plot Selected Data - + Grafico dati selezionati Plot selected data - + Grafico dati selezionati Up - + Su Go one level up in variable hierarchy - + Sali un livello nella gerarchia delle variabili octave::variable_editor_stack - + Save Variable %1 As - - - - - ./%1.txt - + Salva la variabile %1 come octave::variable_editor_view - + Cut - Taglia + Taglia Copy - Copia + Copia Paste - Incolla + Incolla Paste Table - + Incolla tabella Clear - + Pulisci Delete - + Elimina Variable from Selection - + Variabile dalla selezione Transpose - + Trasponi @@ -3957,32 +3340,32 @@ Type here and press 'Return' to search - Scrivi qui e premi 'Invio' per cercare + Scrivi qui e premi 'Invio' per cercare Global search - Ricerca globale + Ricerca globale &Close - &Chiudi + &Chiudi Close &Other Tabs - + Chiudi le &altre schede Error - Errore + Errore The info file<p>%1<p>or compressed versions do not exist - Non esistono né il file info<p>%1<p>né una sua versione compressa + Non esistono né il file info<p>%1<p>né una sua versione compressa @@ -3990,7 +3373,7 @@ Welcome to GNU Octave - Benvenuto in GNU Octave + Benvenuto in GNU Octave @@ -3998,38 +3381,38 @@ Name - Nome + Nome Class - Classe + Classe Dimension - Dimensione + Dimensione Value - Valore + Valore Attribute - Attributo + Attributo Right click to copy, rename, or display - Cliccare con il tasto destro del mouse per copiare, rinominare o mostrare + Cliccare con il tasto destro del mouse per copiare, rinominare o mostrare complex - complesso + complesso @@ -4037,802 +3420,939 @@ Workspace - Spazio di lavoro + Spazio di lavoro View the variables in the active workspace. - Mostra le variabili nello spazio di lavoro attivo. + Mostra le variabili nello spazio di lavoro attivo. Enter text to filter the workspace - Inserire del testo per filtrare l'area di lavoro + Inserire del testo per filtrare l'area di lavoro Filter - Filtra - - - + Filtra + + + View the variables in the active workspace.<br> - Mostra le variabili nello spazio di lavoro attivo.<br> + Mostra le variabili nello spazio di lavoro attivo.<br> Colors for variable attributes: - Colori per gli attributi delle variabili: + Colori per gli attributi delle variabili: Class - Classe + Classe Dimension - Dimensione + Dimensione Value - Valore + Valore Attribute - Attributo + Attributo Open in Variable Editor - + Apri nell'editor di variabili Copy name - Copia nome + Copia nome Copy value - Copia valore + Copia valore Rename - Rinomina + Rinomina Only top-level symbols may be renamed - Si possono rinominare solo i simboli di primo livello + Si possono rinominare solo i simboli di primo livello Hide filter - Nascondi filtro + Nascondi filtro Show filter - Mostra filtro + Mostra filtro settings_dialog + Settings Impostazioni + + General Generale + Octave logo only Logo di Octave solamente + Letter icons Icone testuali + Graphic icons Icone grafiche + Dock widget title bar Barra del titolo del lanciatore di widget + Confirm before exiting Conferma prima di uscire + Custom style Stile personalizzato + + Show status bar Mostra barra di stato + Text inactive Testo inattivo + + Active Attiva + Normal Normale + Background inactive Sfondo inattivo + These preferences are applied after any .octaverc startup files. Queste preferenze vengono applicate dopo tutti i file di avvio .octaverc. + Restore working directory of previous session Ripristina la cartella di lavoro della sessione precedente + Editor Editor + Color Colore + + This works well for monospaced fonts. The line is drawn at a position based on the width of a space character in the default font. It may not work very well if styles use proportional fonts or if varied font sizes or bold, italic and normal texts are used. Questa impostazione è adatta a caratteri monospaced. La linea è posta in una posizione basata sulla larghezza di uno spazio bianco del tipo di carattere predefinito. Può non funzionare bene se gli stili usano caratteri proporzionali o se diverse dimensioni di carattere, grassetto o corsivo sono utilizzati. + Enable Code Folding Attiva espansione del codice + Windows (CRLF) Windows (CRLF) + Mac (CR) Mac (CR) + Unix (LF) Unix (LF) + Show horizontal scroll bar Mostra barra di scorrimento orizzontale - + + + Wrap long lines at current window border + Spezza righe lunghe al marigne della finsetra corrente + + + + Indent width Ampiezza indentazione + Tab indents line Tab indenta la riga + Auto indentation Indentazione automatica + Tab width Ampiezza tabulazione + Show indentation guides Mostra guide per l'indentazione + Backspace unindents line Backspace rimuove l'indentazione + Indentation uses tabs Indenta con tabulazioni + Auto completion Completamento automatico + Match keywords Abbina parole chiave + Case sensitive Distinzione maiuscole/minuscole + Replace word by suggested one - Sostituisci una parola con quella suggerita + Sostituisci parola con quella suggerita + Match words in document Abbina parole nel documento + Use custom file editor Utilizza editor personalizzato + Editor Styles Stili dell'editor + Terminal Colors Colori del terminale - + + + Font Carattere - + + Show line numbers Mostra numeri di riga + Highlight current line Evidenzia la riga corrente + Show whitespace Mostra spazi + Do not show whitespace used for indentation Non mostrare gli spazi utilizzati per l'indentazione + Show EOL characters - Mostra terminatori di riga + Mostra carattere di fine riga + Default EOL mode - Modalità di default per i teminatori di riga + Modalità di default per i caratteri di fine riga + Number of characters before list is shown: Numero di caratteri prima che la lista sia mostrata: + Create nonexistent files without prompting Crea file inesistenti senza chiedere conferma + command line (%f=file, %l=line): linea di comando (%f=file, %l=riga): + Terminal Terminale + Cursor type: Tipo di cursore: + Cursor blinking - Lampeggiamento del cursore + Cursore lampeggiante + Use foreground color Usa colore di primo piano - + + + Font size Dimensione carattere - + + Set focus to terminal when running a command from within another widget Rendi il terminale la finestra attiva quando un comando è eseguito da un altro widget + File Browser Gestore dei file + Interface Interfaccia + Small - Piccolo + Piccola + Large Grande + 3D 3D + Octave Startup Avvio di Octave + + Startup path Percorso di avvio + + Browse Naviga + Show tool bar Mostra barra degli strumenti + Tab width min. Ampiezza tabulazione min. + max. max. + Show complete path in title - + Mostra percorso file nel titolo + Number size as difference to editor font - + Numera dimensione come differenza rispetto al carattere dell'editor + Highlight all occurrences of a word selected by a double click - + Evidenzia tutte le occorrenze di una parola selezionata con doppio click + Comments (Octave) - + Commenti (Octave) + Strings considered for uncommenting text - + Stringhe considerate per decommentare il testo + String used for commenting selected text - + Stringa utilizzata per commentare il testo selezionato + Long lines - + Righe lunghe + Break long lines at line length - + Spezza righe lunghe alla lunghezza di riga + Break lines only in comments - + Spezza righe soltanto nei commenti + Line length - + Lunghezza riga + Long line marker - - - - - Line - + Marcatore di riga lunga + + Line + Riga + + + + Background - Sfondo - - - - Wrap long lines at curent window border - - - - + Sfondo + + + + Indentation Indentazione + Auto insert after "if" etc. - + Inserimento automatico dopo "if" etc. + Nothing - + Nulla + "endif" etc. - + "endif" etc. + "end" - + "end" + With Octave builtins - Con built-in di Octave + Con comandi built-in di Octave + With Octave functions Con funzioni di Octave + Show completion list automatically Mostra lista di completamento automaticamente + File handling Gestione file + Reload externally changed files without prompt Ricarica file modificati esternamente senza chiedere + Restore editor tabs from previous session on startup or when editor is shown again after closing - + Ripristina schede della sessione precedente all'avvio o quando l'editor è riaperto dopo essere stato chiuso + Text encoding used for loading and saving Codifica testuale usata per caricare e salvare + Close all files when the editor widget is closed/hidden - + Chiudi tutti i file quando l'editor è chiuso/nascosto + <html><head/><body><p>Select font, font size (as a difference from the default size), font style (<b>b</b>old, <b>i</b>talic, <b>u</b>nderline), text color, and background color (for the latter, the color magenta (255,0,255) is a placeholder for the default background color).</p></body></html> <html><head/><body><p>Seleziona carattere, dimensione carattere (come differenza dispetto alla dimensione predefinita), stile di carattere (<b>g</b>rassetto, <b>c</b>orsivo, <b>s</b>ottolineato), colore del testo, e colore dello sfondo (per quest'ultimo, il colore magenta (255,0,255) indica il colore di default per lo sfondo).</p></body></html> + (Changing buffer size clears history) (Il cambio della dimensione della lista svuota lo storico comandi) + History buffer Size Dimensione storico comandi + Print debug location in terminal window in addition to the marker in the editor Stampa la posizione di debug nella finestra del terminale oltre al marcatore nell'editor + Behavior Comportamento + Restore last directory of previous session Ripristina l'ultima cartella della sessione precedente + Extensions of files to be opened in the default text editor (separated by ";"): Estensioni dei file da aprire nell'editor di testo di default (separate da ";"): + Workspace Spazio di lavoro + Colors for variable attributes Colori per gli attributi delle variabili + Hide tool tips Nascondi suggerimenti + Import shortcut set Importa scorciatoie + Export current shortcut set Esporta le attuali scorciatoie + Reset shortcuts to their defaults Reimposta le scorciatoie ai valori predefiniti + + Default Default + Edit a shortcut by double-clicking in a cell Modifica una scorciatoia facendo doppio click in una cella + Actual Attuale + Network Rete + Allow Octave to connect to the Octave web site to display current news and information - Pemetti ad Octave di connettersi al sito web di Octave per mostrare notizie ed informazioni aggiornate + Permetti all'applicazione di connettersi al sito web di Octave per mostrare notizie ed informazioni aggiornate + Use proxy server Usa server proxy + Variable Editor - - - - + Editor di variabili + + + + Default row height - + Altezza di default riga - 20 - 3D {20?} - - - + Default column width - + Larghezza di default colonna + Use Terminal Font - - - - - 2 - 3D {2?} - - - + Usa set di caratteri del terminale + + + + Autofit - - - - + Adatta automaticamente + + + + Plus font height - - - - + Più altezza del carattere + + + + By Column - + Per colonna + Uniform - - - - + Uniforme + + + + Variable Editor Colors - + Colori dell'editor di variabli + Use alternating row colors - - - - + Usa colori alternati per le righe + + + + HttpProxy HttpProxy + Icon set for dock widgets Icone per il lanciatore di widget + Language (requires restart) - Lingua (richiede riavvio) + Lingua (cambiarla richiede riavvio) + Icon size Dimensione icona + Synchronize Octave working directory with file browser Sincronizza la cartella di lavoro di Octave con il gestore dei file + Shortcuts Scorciatoie + Select this option to prevent conflicts with readline shortcuts Seleziona questa opzione per evitrare conflitti con le scorciatoie di readline + Disable global shortcuts when terminal window has focus Disabilita le scorciatoie globali quando il terminale è selezionato + Export Esporta + Import Importa + Action Azione + Socks5Proxy Socks5Proxy + Hostname: Nome host: + Proxy type: Tipo di proxy: + Port: Porta: + Username: Nome utente: + Password: Password: - + Octave Settings Impostazioni di Octave @@ -4846,7 +4366,7 @@ System setting - Parametri di sistema + Impostazioni di sistema @@ -4866,12 +4386,12 @@ Set Octave Startup Directory - Scegli la cartella di avvio di Octave + Scegli la cartella iniziale di Octave Set File Browser Startup Directory - Scegli la cartella di avvio del gestore di file + Scegli la cartella iniziale del gestore di file diff -r 3aed4f0ba3cd -r 512b68611097 libgui/languages/pt_BR.ts --- a/libgui/languages/pt_BR.ts Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/languages/pt_BR.ts Sun Apr 08 19:53:57 2018 -0700 @@ -56,30 +56,30 @@ Difference to the default size - Diferença com relação ao tamanho de fonte padrão + Diferença com relação ao tamanho padrão Background color, pink (255, 0, 255) means default - Cor de fundo rosa (255,0,255) significa padrão {255, 0, 255)?} + Cor de fundo, rosa (255,0,255) significa padrão b short form for bold - n + n i short form for italic - i + i u short form for underlined - s + s @@ -107,7 +107,7 @@ Edit %1 at line %2 - + Editar %1 na linha %2 @@ -128,17 +128,17 @@ Axes - + Eixos Grid - + Grade Autoscale - + Escala automática @@ -174,12 +174,12 @@ About Octave - Sobre o Octave + Sobre o Octave Octave Figure File (*.ofig);;Vector Image Formats (*.eps *.epsc *.pdf *.svg *.ps *.tikz);;Bitmap Image Formats (*.gif *.jpg *.png *.tiff) - + Arquivo de Figura do Octave (*.ofig);;Formatos de Imagem Vetoriais (*.eps *.epsc *.pdf *.svg *.ps *.tikz);;Formatos de Imagem Matriciais (*.gif *.jpg *.png *.tiff) @@ -231,28 +231,28 @@ Open Link - + Abrir Link Copy Link Address - + Copiar Endereço do Link Send Email To... - + Enviar Email Para... Copy Email Address - + Copiar Endereço de Email Edit %1 at line %2 - + Editar %1 na linha %2 @@ -260,153 +260,153 @@ Annotation - + Anotação Text - + Texto String - + Texto Font - Fonte + Fonte bold - + negrito b - n + n italic - + itálico i - i + i color - + cor Horz alignment - + Alinhamento horiz left - + esquerda middle - + meio right - + direita Vert alignment - + Alinhamento vert top - + superior bottom - + inferior Position - + Posição X - + X Y - + Y Width - + Largura Height - + Altura units - + unidade normalized - + normalizado Fit to box - + Encaixar no quadro Box - + Quadro Background - + Fundo Edge - + Borda Line style - + Estilo de linha none - + nenhum Line width - + Espessura de linha @@ -414,7 +414,7 @@ Select All - Selecionar Tudo + Selecionar Tudo @@ -422,35 +422,37 @@ Octave Documentation - + Documentação do Octave Could not setup the data required for the documentation viewer. Only help texts in the Console Widget will be available. - + Não foi possível configurar os dados necessários para o +visualizador da documentação. Apenas os textos de ajuda +na Janela de Comandos estarão disponíveis. Contents - + Conteúdo Enter text to search the indices - + Digite o texto a buscar nos índices Search - + Buscar Index - + Índice @@ -458,12 +460,12 @@ Documentation - Documentação + Documentação See the documentation for help. - Veja a documentação para obter ajuda. + Veja a documentação para obter ajuda. @@ -472,19 +474,20 @@ Octave Editor - Editor do Octave + Editor do Octave Could not start custom file editor %1 - Não foi possível iniciar editor de arquivo externo %1 + Não foi possível iniciar o editor de arquivo externo %1 There is no custom editor configured yet. Do you want to open the preferences? - + Não há um editor personalizado configurado ainda. +Gostaria de abrir a janela de preferências? @@ -496,26 +499,28 @@ Octave Editor - Editor do Octave + Editor do Octave File not saved! A file with the selected name %1 is already open in the editor - Arquivo não foi salvo! Um arquivo com o nome selecionado %1 já está aberto no editor + Arquivo não foi salvo! Um arquivo com o nome selecionado +%1 +já está aberto no editor The associated file editor tab has disappeared. - A aba do editor associada ao arquivo desapareceu. + A aba do editor associada ao arquivo desapareceu. Could not open file %1 for read: %2. - Não foi possível abrir aquivo + Não foi possível abrir aquivo %1 para leitura: %2. @@ -524,403 +529,403 @@ File %1 does not exist. Do you want to create it? - Arquivo + Arquivo %1 não existe. Deseja criá-lo? Create - Criar + Criar Cancel - Cancelar + Cancelar Could not open file %1 for write: %2. - Não foi possível abrir arquivo + Não foi possível abrir arquivo %1 para escrita: %2. &File - &Arquivo + &Arquivo &Recent Editor Files - Arquivos &Recentes + Arquivos &Recentes do Editor &Edit Function - &Editar Função + &Editar Função &Save File - &Salvar Arquivo + &Salvar Arquivo Save File &As... - Salvar Arquivo &Como... + Salvar Arquivo &Como... &Close - &Fechar + &Fechar Close All - Fechar Todos + Fechar Todos Close Other Files - Fechar Demais Arquivos + Fechar Demais Arquivos Print... - Imprimir... + Imprimir... &Edit - &Editar + &Editar &Redo - &Refazer + &Refazer Cu&t - Recor&tar + Recor&tar &Find and Replace... - &Localizar e Substituir... + &Localizar e Substituir... Find &Next... - + Localizar &Próxima... Find &Previous... - + Localizar &Anterior... &Commands - &Comandos + &Comandos Delete Line - Deletar Linha + Deletar Linha Copy Line - Copiar Linha + Copiar Linha Cut Line - Recortar Linha + Recortar Linha Delete to Start of Word - Deletar até Início da Palavra + Deletar até Início da Palavra Delete to End of Word - Deletar até Final da Palavra + Deletar até Final da Palavra Delete to Start of Line - Deletar até Início da Linha + Deletar até Início da Linha Delete to End of Line - Deletar até Final da Linha + Deletar até Final da Linha Duplicate Selection/Line - Duplicar Seleção/Linha + Duplicar Seleção/Linha Transpose Line - + Transpor Linha &Show Completion List - &Exibir Lista de Auto-completar + &Exibir Lista de Auto-preenchimento &Format - &Formatar + &Formatar &Uppercase Selection - Seleção em M&aiúsculas + Seleção em M&aiúsculas &Lowercase Selection - Seleção em M&inúsculas + Seleção em M&inúsculas &Comment - &Comentar + &Comentar &Uncomment - &Descomentar + &Descomentar Comment (Choosing String) - + Comentar (Escolhendo o Texto) &Indent Selection Rigidly - + &Indentar Seleção Rigidamente &Unindent Selection Rigidly - + &Remover Indentação Rigidamente Indent Code - + Indentar Código convert line endings to &windows (crlf) - + Converter Finais de Linha para &Windows (CRLF) Convert Line Endings to &Unix (LF) - Converter Finais de Linha para &Unix (LF) + Converter Finais de Linha para &Unix (LF) Convert Line Endings to &Mac (CR) - Converter Finais de Linha para &Mac (CR) + Converter Finais de Linha para &Mac (CR) Navi&gation - Nave&gação + Nave&gação Go &to Line... - Vá para &Linha... + Vá para &Linha... Move to Matching Brace - Mover para Parêntese/Chave/Colchete Correspondente + Mover para Parêntese/Chave/Colchete Correspondente Select to Matching Brace - Selecionar até Parêntese/Chave/Colchete Correspondente + Selecionar até Parêntese/Chave/Colchete Correspondente &Next Bookmark - Marcador &Seguinte + Marcador &Seguinte Pre&vious Bookmark - Marcardor &Anterior + Marcardor &Anterior Toggle &Bookmark - Habilitar/desabilitar &Marcador + Habilitar/desabilitar &Marcador &Remove All Bookmarks - &Remover Todos os Marcadores + &Remover Todos os Marcadores &Preferences... - &Preferências... + &Preferências... &Styles Preferences... - Preferências de &Estilo... + Preferências de &Estilo... &View - &Visualizar + &Visualizar &Editor - &Editor + &Editor Show &Line Numbers - Exibir &Números de Linha + Exibir &Números de Linha Show &Whitespace Characters - + Exibir Caracteres em &Branco Show Line &Endings - Exibir &Finais de Linha + Exibir &Finais de Linha Show &Indentation Guides - Exibir &Guias de Indentação (à Esquerda) + Exibir &Guias de Indentação (à Esquerda) Show Long Line &Marker - Exibir &Guia de Linhas Longas (à Direita) + Exibir &Guia de Linhas Longas (à Direita) Show &Toolbar - + Exibir Barra de &Ferramentas Show &Statusbar - + Exibir Barra de &Estado Show &Horizontal Scrollbar - + Exibir Barra de Rolagem &Horizontal Zoom &In - M&ais Zoom + M&ais Zoom Zoom &Out - M&enos Zoom + M&enos Zoom &Normal Size - Tamanho &Normal + Tamanho &Normal &Debug - &Depurar + &Depurar Toggle &Breakpoint - &Ativar/desativar Ponto de Parada + &Ativar/desativar Ponto de Parada &Next Breakpoint - Ponto de Parada &Seguinte + Ponto de Parada &Seguinte Pre&vious Breakpoint - Ponto de Parada &Anterior + Ponto de Parada &Anterior &Remove All Breakpoints - &Remover Todos os Pontos de Parada + &Remover Todos os Pontos de Parada &Run - &Executar + &Executar Save File and Run - Salvar Arquivo e Executá-lo + Salvar Arquivo e Executá-lo Run &Selection - Executar &Seleção + Executar &Seleção &Help - &Ajuda + &Ajuda &Help on Keyword - &Ajuda na Palavra-chave + &Ajuda na Palavra-chave &Documentation on Keyword - &Documentação da Palavra-chave + &Documentação da Palavra-chave Recent Files - + Arquivos Recentes Editor - Editor + Editor &%1 %2 - &%1 %2 + &%1 %2 @@ -928,27 +933,27 @@ line: - linha: + linha: col: - col: + col: encoding: - + codificação: eol: - fdl: + fdl: Breakpoint condition - + Condição de parada @@ -960,45 +965,47 @@ Octave Editor - Editor do Octave + Editor do Octave Cannot add breakpoint to modified file. Save and add breakpoint, or cancel? - + Não é possível adicionar ponto de parada ao arquivo modificado. +Salvar e adicionar ponto de parada ou cancelar? Goto line - Vá para linha + Vá para linha Line number - Número da linha + Número da linha Comment selected text - + Comentar texto selecionado Comment string to use: - + Comentar texto a usar: + <unnamed> - <sem_nome> + <sem_nome> Do you want to cancel closing, save or discard the changes? - Deseja cancelar o fechamento, salvar as alterações, ou descartá-las? + Deseja cancelar o fechamento, salvar as alterações, ou descartar as alterações? @@ -1007,49 +1014,50 @@ %1 is about to be closed but has been modified. %2 - O arquivo + O arquivo %1 -está para ser fechado mas foi modificado. %2 +está prestes a ser fechado mas foi modificado. %2 Debug or Save - + Depurar ou Salvar This file is currently being executed. Quit debugging and save? - + Este arquivo está sendo executado atualmente. +Abandonar depuração e salvar? Could not open file %1 for write: %2. - Não foi possível abrir arquivo %1 para escrita: + Não foi possível abrir arquivo %1 para escrita: %2. Line Endings: - Finais de Linha: + Finais de Linha: File Encoding: - + Codificação do Arquivo: Octave Files (*.m) - Arquivos Octave (*.m) + Arquivos do Octave (*.m) All Files (*) - Todos os Arquivos (*) + Todos os Arquivos (*) @@ -1060,7 +1068,13 @@ call your script using its name as an Octave command. Do you want to choose another name? - + %1 +não é um identificador válido. + +Se você mantiver esse nome de arquivo, não será possível +executar seu script usando o nome dele como um comando no Octave. + +Você deseja escolher outro nome? @@ -1068,7 +1082,10 @@ can not be applied. Please select another one or cancel saving! - + O codificador atual %1 +não pode ser aplicado + +Favor selecionar outro ou cancelar a gravação! @@ -1077,19 +1094,23 @@ Using it will result in data loss! Do you want to chose another codec? - + O conteúdo atual do editor não pode ser codificado +com o codificador selecionado %1. +Usá-lo resultará em perda de dados! + +Deseja escolher outro codificador? It seems that '%1' has been modified by another application. Do you want to reload it? - Parece que o arquivo '%1' foi modificado por outra aplicação. Deseja recarregá-lo? + O arquivo '%1' paree ter sido modificado por outra aplicação. Deseja recarregá-lo? Warning: The contents in the editor is modified! - + Alerta: O conteúdo aberto no editor foi modificado! @@ -1098,9 +1119,9 @@ It seems that the file %1 has been deleted or renamed. Do you want to save it now?%2 - Parece que o arquivo + O arquivo %1 -foi deletado ou renomeado. Gostaria de salvá-lo agora?%2 +parece ter sido deletado ou renomeado. Gostaria de salvá-lo agora?%2 @@ -1108,228 +1129,228 @@ File Browser - Gerenciador de Arquivos + Navegador de Arquivos Browse your files - + Navegar nos arquivos File size - Tamanho do arquivo + Tamanho do arquivo File type - Tipo do arquivo + Tipo do arquivo Date modified - Data de modificação + Data de modificação Show hidden - Exibir ocultos + Exibir ocultos Alternating row colors - Alternar cor das linhas + Cores de linhas alternantes Enter the path or filename - Digite o caminho ou nome de arquivo + Digite o caminho ou nome de arquivo One directory up - + Diretório acima Show Octave directory - Exibir o diretório do Octave + Exibir o diretório do Octave Go to current Octave directory - Vá para o diretório atual do Octave + Ir para o diretório atual do Octave Set Octave directory - Definir diretório do Octave + Definir diretório do Octave Set Octave directory to current browser directory - + Definir diretório do Octave para o diretório atual no navegador Actions on current directory - Ações no diretório atual + Ações no diretório atual Show Home Directory - Exibir Diretório Pessoal + Exibir Diretório Pessoal Set Browser Directory... - Definir Diretório a Gerenciar... + Definir Diretório a Navegar... Find Files... - + Localizar Arquivos... New File... - Novo Arquivo... + Novo Arquivo... New Directory... - Novo Diretório... + Novo Diretório... Activate to open in editor, right click for alternatives - Clique-duplo para ativar, clique com botão direito para alternativas + Ativar para abrir no editor, clique com botão direito para alternativas Open - Abrir + Abrir Open in System File Explorer - + Abrir no Navegador de Arquivos do Sistema Open in Text Editor - + Abrir no Editor de Texto Copy Selection to Clipboard - Copiar Seleção para Área de Transferência + Copiar Seleção para Área de Transferência Run - Executar + Executar Load Data - Carregar Dados + Carregar Dados Set Current Directory - Definir como Diretório Atual + Definir Diretório Atual Rename... - Renomear... + Renomear... Delete... - Deletar... + Deletar... Rename file/directory - Renomear arquivo/diretório + Renomear arquivo/diretório Rename file/directory: - Renomear arquivo/diretório: + Renomear arquivo/diretório: to: - -para: + + para: Delete file/directory - Deletar arquivo/diretório + Deletar arquivo/diretório Are you sure you want to delete - Você tem certeza que deseja deletar + Você tem certeza que deseja deletar Can not delete a directory that is not empty - Não é possível deletar um diretório que não está vázio + Não é possível deletar um diretório que não está vázio Set directory of file browser - Definir diretório do gerenciador de arquivos + Definir diretório do navegador de arquivos Create File - Criar Arquivo + Criar Arquivo Create file in String ends with \n! - Criar arquivo em + Criar arquivo em New File.txt - Novo Arquivo.txt + Novo Arquivo.txt Create Directory - Criar Diretório + Criar Diretório Create folder in String ends with \n! - Criar diretório em + Criar diretório em New Directory - Novo Diretório + Novo Diretório @@ -1337,22 +1358,22 @@ Enjoy! - Aproveite! + Aproveite! Previous - Anterior + Anterior Finish - Finalizar + Finalizar Cancel - Cancelar + Cancelar @@ -1361,7 +1382,11 @@ <p>If you encounter problems, there are a number of ways to get help, including commercial support options, a mailing list, a wiki, and other community-based support channels. You can find more information about each of these by visiting <a href="https://octave.org/support.html">https://octave.org/support.html</a> (opens in external browser).</p> </body></html> - + <html><body> +<p>Esperamos que você conclua que o Octave é uma ferramenta útil.</p> +<p>Se encontrar problemas, há vários meios de obter ajuda, incluindo opções de suporte comercial, uma lista de discussão, um wiki e outos canais de suporte comunitários. +Você pode encontrar mais informações sobre cada um desses meios visitando <a href="https://octave.org/support.html">https://octave.org/support.html</a> (abre em navegador externo).</p> +</body></html> @@ -1377,7 +1402,7 @@ <li>Open the documentation browser of the Octave GUI with the help menu</li> </ul> </body></html> - <html><head> + <html><head> <style> a:link { text-decoration: underline; color: #0000ff; } </style> @@ -1385,7 +1410,7 @@ <p>Para mais informações sobre o Octave:</p> <ul> <li>Visite <a href="https://octave.org">https://octave.org</a> (abre em navegador externo)</li> -<li>Acesse a documentação online em formator <a href="https://www.gnu.org/software/octave/doc/interpreter/index.html">HTML</a>- ou <a href="https://www.gnu.org/software/octave/octave.pdf">PDF</span></a> (abre em navegador externo)</li> +<li>Acesse a documentação online em formato <a href="https://www.gnu.org/software/octave/doc/interpreter/index.html">HTML</a>- ou <a href="https://www.gnu.org/software/octave/octave.pdf">PDF</span></a> (abre em navegador externo)</li> <li>Abra a documentação dentro do próprio Octave através do menu Ajuda</li> </ul> </body></html> @@ -1396,107 +1421,107 @@ Find and Replace - Localizar e Substituir + Localizar e Substituir Find &what: - &Localizar texto: + &Localizar texto: Re&place with: - &Substituir por: + &Substituir por: Match &case - Considerar &maiúsculas/minúsculas + Considerar &maiúsculas/minúsculas Search from &start - Localizar a partir do &início + Localizar a partir do &início &Wrap while searching - Retornar ao início se alcançar o &final durante a busca + Retornar ao início se alcançar o &final durante a busca &Find Next - Localizar &Próximo + Localizar &Próximo Find &Previous - Localizar &Anterior + Localizar &Anterior &Replace - &Substituir + &Substituir Replace &All - Substituir &Todos(as) + Substituir &Todos(as) &More... - &Mais opções... + &Mais opções... &Whole words - Palavras &inteiras + Palavras &inteiras Regular E&xpressions - Expressões &Regulares + Expressões &Regulares Search &backward - Localizar para &trás + Localizar para &trás Search se&lection - Localizar dentro do texto &selecionado + Localizar no texto &selecionado Search from end - Localizar a partir do final + Localizar a partir do final Search from start - Localizar a partir do início + Localizar a partir do início Replace Result - Substituir Resultado + Substituir Resultado %1 items replaced - %1 itens substituidos + %1 itens substituidos Find Result - Localizar Resultado + Localizar Resultado No more matches found - Sem mais ocorrências + Sem mais ocorrências @@ -1504,147 +1529,147 @@ Find Files - Localizar Arquivos + Localizar Arquivos Named: - Nome de arquivo: + Nome: Enter the filename search expression - Entre a expressão de busca para nomes de arquivo + Digite a expressão de busca para nomes de arquivo Start in: - Diretório inicial: + Diretório inicial: Enter the start directory - Digite o diretório inicial + Digite o diretório inicial Browse... - Escolher... + Navegar... Browse for start directory - Escolha o diretório inicial + Escolha o diretório inicial Search subdirectories - Procurar em subdiretórios + Procurar em subdiretórios Search recursively through directories for matching files - Buscar recursivamente nos sub-diretórios por arquivos correspondentes + Buscar recursivamente nos sub-diretórios por arquivos correspondentes Include directory names - Incluir nomes de diretórios + Incluir nomes de diretórios Include matching directories in search results - Incluir diretórios correspondentes no resultado da busca + Incluir diretórios encontrados no resultado da busca Name case insensitive - Não diferenciar maiúsculas/minúsculas no nome + Não diferenciar maiúsculas/minúsculas no nome Set matching name is case insensitive - Definir se nome é insensível a maúscula/minúscula + Definir se nome é insensível a maúscula/minúscula Contains text: - Contém texto: + Contém texto: Enter the file content search expression - Entre a expressão de busca para conteúdo de arquivos + Digite a expressão de busca para o conteúdo de arquivos Text to match - Texto a buscar + Texto a buscar Text case insensitive - Não diferenciar maiúsculas/minúsculas no texto + Não diferenciar maiúsculas/minúsculas no texto Set text content is case insensitive - Definir se texto é insensível a maiúscula/minúscula + Definir se texto é insensível a maiúscula/minúscula Search results - Resultados da busca + Resultados da busca Idle. - Aguardando. + Aguardando. Find - Localizar + Localizar Start search for matching files - Iniciar busca por arquivos correspondentes + Iniciar busca por arquivos correspondentes Stop - Parar + Parar Stop searching - Parar busca + Parar a busca Filename/location - + Nome de arquivo/localização File contents - Conteúdo do arquivo + Conteúdo do arquivo Searching... - Buscando... + Buscando... %1 match (es) - + %1 encontrada(s) Set search directory - Definir diretório de busca + Definir diretório de busca @@ -1652,12 +1677,12 @@ Filename - Nome do Arquivo + Nome do Arquivo Directory - Diretório + Diretório @@ -1665,52 +1690,52 @@ Browse and search the command history. - Navegar e buscar no histórico de comandos. + Navegar e buscar no histórico de comandos. Copy - Copiar + Copiar Evaluate - Executar + Executar Create script - Criar script + Criar script Hide filter - + Ocultar filtro Show filter - + Exibir filtro Double-click a command to transfer it to the terminal. - Clique duas vezes em um comando para transferi-lo ao terminal. + Clique duas vezes em um comando para transferi-lo ao terminal. Enter text to filter the command history - Digite para filtrar o histórico de comandos + Digite para filtrar o histórico de comandos Filter - Filtrar + Filtrar Command History - Histórico de Comandos + Histórico de Comandos @@ -1718,17 +1743,17 @@ Welcome to Octave! - Bem-vindo(a) ao Octave! + Bem-vindo(a) ao Octave! Next - Avançar + Avançar Cancel - Cancelar + Cancelar @@ -1737,7 +1762,7 @@ Click 'Next' to create a configuration file and launch Octave.</p> <p>The configuration file is stored in<br>%1.</p> </body></html> - <html><body> + <html><body> <p>Parece que você está usando a interface gráfica do Octave pela primeira vez neste computador. Clique em 'Avançar' para criar um arquivo de configuração e iniciar o Octave.</p> <p>O arquivo de configuração é armazenado em<br>%1.</p> @@ -1749,12 +1774,12 @@ Undock widget - Desacoplar painel + Desacoplar painel Close widget - + Fechar painel @@ -1762,376 +1787,377 @@ Save Workspace As - Salvar Ambiente de Trabalho Como + Salvar Ambiente de Trabalho Como Load Workspace - Carregar Ambiente de Trabalho + Carregar Ambiente de Trabalho The release notes file '%1' is empty. - O arquivo de notas da versão '%1' está vazio. + O arquivo de notas da versão '%1' está vazio. The release notes file '%1' cannot be read. - O arquivo de notas da versão '%1' não pode ser lido. + O arquivo de notas da versão '%1' não pode ser lido. Octave Release Notes - Notas da Versão do Octave + Notas da Versão do Octave Octave Community News - Novidades da Comunidade + Novidades da Comunidade About Octave - Sobre o Octave + Sobre o Octave Octave - Octave + Octave Are you sure you want to exit Octave? - Tem certeza que deseja sair do Octave? + Tem certeza que deseja sair do Octave? Browse directories - Escolher diretório + Navegar pelos diretórios Octave Files (*.m);;All Files (*) - Arquivos do Octave (*.m);;Todos os Arquivos (*) + Arquivos do Octave (*.m);;Todos os Arquivos (*) File Encoding: - + Codificação do Arquivo: New Function - Nova Função + Nova Função New function name: - Nome da nova função: + Nome da nova função: + %1 is a built-in function - %1 é uma função interna + %1 é uma função interna Can not find function %1 - Não foi possível encontrar função %1 + Não foi possível encontrar a função %1 Octave Editor - Editor do Octave + Editor do Octave &File - &Arquivo + &Arquivo Open... - Abrir... + Abrir... Open an existing file in editor - Abrir um arquivo existente no editor + Abrir um arquivo existente no editor Load Workspace... - Carregar Ambiente de Trabalho... + Carregar Ambiente de Trabalho... Save Workspace As... - Salvar Ambiente de Trabalho Como... + Salvar Ambiente de Trabalho Como... Exit - Sair + Sair New - Novo + Novo New Script - Novo Script + Novo Script New Function... - Nova Função... + Nova Função... New Figure - Nova Figura + Nova Figura &Edit - &Editar + &Editar Undo - Desfazer + Desfazer Copy - Copiar + Copiar Paste - Colar + Colar Select All - Selecionar Tudo + Selecionar Tudo Clear Clipboard - Limpar Área de Transferência + Limpar Área de Transferência Find Files... - + Buscar Arquivos... Clear Command Window - Limpar Janela de Comandos + Limpar Janela de Comandos Clear Command History - Limpar Histórico de Comandos + Limpar Histórico de Comandos Clear Workspace - Limpar Ambiente de Trabalho + Limpar Ambiente de Trabalho Preferences... - Preferências... + Preferências... De&bug - De&purar + De&purar Step - Passo-a-passo + Passo-a-passo Step In - Passo adentro + Passo adentro Step Out - Passo afora + Passo afora Continue - Prosseguir + Prosseguir Quit Debug Mode - Sair do Modo Depuração + Sair do Modo de Depuração &Window - &Janela + &Janela Show Command Window - Exibir Janela de Comandos + Exibir Janela de Comandos Show Command History - Exibir Histórico de Comandos + Exibir Histórico de Comandos Show File Browser - Exibir Gerenciador de Arquivos + Exibir Navegador de Arquivos Show Workspace - Exibir Ambiente de Trabalho + Exibir Ambiente de Trabalho Show Editor - Exibir Editor + Exibir Editor Show Documentation - Exibir Documentação + Exibir Documentação Show Variable Editor - + Exibir Editor de Variáveis Command Window - Janela de Comandos + Janela de Comandos Command History - Histórico de Comandos + Histórico de Comandos File Browser - Gerenciador de Arquivos + Navegador de Arquivos Workspace - Ambiente de Trabalho + Ambiente de Trabalho Editor - Editor + Editor Documentation - Documentação + Documentação Variable Editor - + Editor de Variáveis Reset Default Window Layout - Restaurar Layout Padrão das Janelas + Restaurar Layout Padrão das Janelas &Help - &Ajuda + &Ajuda Report Bug - Reportar Defeito + Relatar Defeito Octave Packages - Pacotes do Octave + Pacotes do Octave Contribute - + Contribuir Donate to Octave - + Doações para o Octave On Disk - No Disco (Em Seu Computador) + No Disco (Em Seu Computador) Online - Online (na Internet) + Online (na Internet) &News - &Novidades + &Novidades Release Notes - Notas da Versão + Notas da Versão Community News - Novidades da Comunidade + Novidades da Comunidade Toolbar - + Barra de Ferramentas Enter directory name - Digite o nome do diretório + Digite o nome do diretório Current Directory: - Diretório Atual: + Diretório Atual: One directory up - + Nível de diretório acima @@ -2150,15 +2176,15 @@ </p> <p> <small><em>&mdash; The Octave Developers, - <html> + <html> <body> <p> -A fonte de notícias da comunidade parece estar indisponível. +A fonte de notícias da comunidade Octave parece estar indisponível. </p> <p> -Para ver as novidades, por favor acesse +Para ver as últimas novidades, favor acessar <a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a> -quando tiver conexão com a Internet (abre em navegador externo). +quando estiver conectado à Internet (abre em navegador externo). </p> <p> <small><em>&mdash; Os Desenvolvdores do Octave, @@ -2178,15 +2204,15 @@ </p> <p> <small><em>&mdash; The Octave Developers, - <html> + <html> <body> <p> A conexão à Internet está desativada para exibir as novidades da comunidade Octave. </p> <p> -Para ver as novidades, por favor acesse +Para ver as novidades, favor acessar <a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a> -quando tiver conexão com a Internet (abre em navegador externo) +quando estiver conectar à Internet (abre em navegador externo) ou habilite a conexão à Internet nas preferências de rede do Octave. </p> <p> @@ -2198,22 +2224,22 @@ Hide widget - Esconder painel + Ocultar painel Use <Alt> + <Left Mouse Button> for moving the window - + Use <Alt>+<Botão Esquerdo do Mouse> para mover a janela Dock widget - Acoplar painel + Acoplar painel Undock widget - Desacoplar painel + Desacoplar painel @@ -2221,27 +2247,27 @@ Help on - Ajuda sobre + Ajuda sobre Documentation on - Documentação sobre + Documentação sobre Edit - Editar + Editar dbstop if ... - + dbstop se... Press '%1' to replace all occurrences of '%2' with '%3'. - + Pressione %1 para substituir todas as ocorrências de '%2' por '%3'. @@ -2251,52 +2277,52 @@ Create - Criar + Criar Cancel - Cancelar + Cancelar File %1 does not exist. Do you want to create it? - Arquivo + O arquivo %1 não existe. Deseja criá-lo? Octave Editor - Editor do Octave + Editor do Octave The file %1 does not exist in the load path. To run or debug the function you are editing, you must either change to the directory %2 or add that directory to the load path. - O arquivo %1 não existe no caminho de busca. Para executar ou depurar a função que você está editando, é preciso definir o diretório atual como %2 ou adicionar aquele diretório ao caminho de busca. + O arquivo %1 não existe no caminho de busca. Para executar ou depurar a função que você está editando, é preciso trocar o diretório atual para %2 ou adicioná-lo ao caminho de busca. The file %1 is shadowed by a file with the same name in the load path. To run or debug the function you are editing, change to the directory %2. - O arquivo %1 é ocultado por um arquivo com o mesmo nome no caminho de busca. Para executar ou deputar a função que você está editando, defina o diretório atual como %2. + O arquivo %1 é sobreposto por um arquivo com o mesmo nome no caminho de busca. Para executar ou deputar a função que você está editando, defina o diretório atual como %2. Change Directory or Add Directory to Load Path - Definir Diretório Atual ou Adicionar Diretório ao Caminho de Busca + Trocar Diretório Atual ou Adicionar Diretório ao Caminho de Busca &Change Directory - + &Trocar Diretório &Add Directory to Load Path - + &Adicionar Diretório ao Caminho de Busca @@ -2304,7 +2330,7 @@ Default - Padrão + Padrão @@ -2318,7 +2344,7 @@ %2 Octave GUI must be closed now. - O arquivo de configuração + O arquivo de configuração %1 não existe e não pode ser criado. Certifique-se que você tem permissão de leitura e escrita em @@ -2329,7 +2355,7 @@ Octave Critical Error - Erro Crítico no Octave + Erro Crítico no Octave @@ -2337,22 +2363,22 @@ Community News - Novidades da Comunidade + Novidades da Comunidade Previous - Anterior + Anterior Next - Avançar + Próximo Cancel - Cancelar + Cancelar @@ -2362,7 +2388,12 @@ <p>You may also view the news by selecting the "Community News" item in the "Help" menu, or by visiting <a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a>.</p> </body></html> - + <html><body> +<p>Quando o Octave inicia, opcionalmente ele tentará verificar no seu site por novidades e informações sobre a comunidade. +A verificação ocorrerá no máximo uma vez por dia e as novidades só serão exibidas se houver algo de novo desede a última vez que você viu.</p> +<p>Você também pode ver as novidades selecionando esse item no menu "Ajuda" ou visitando +<a href="https://octave.org/community-news.html">https://octave.org/community-news.html</a>.</p> +</body></html> @@ -2373,7 +2404,7 @@ <head/><body> <p>Allow Octave to connect to the Octave web site when it starts to display current news and information about the Octave community.</p> </body></html> - <html><head> + <html><head> <style> a:link { text-decoration: underline; color: #0000ff; } </style> @@ -2387,7 +2418,7 @@ Double Shortcut - Tecla de Atalho Dupla + Tecla de Atalho Dupla @@ -2396,687 +2427,688 @@ is already used for the action "%2". Do you want to use the shortcut anyhow removing it from the previous action? - A tecla de atalho escolhida + A tecla de atalho escolhida "%1 já é usada para a ação -"%2" -Você quer usar a tecla de atalho de qualquer forma, removendo-a da outra ação? +"%2". +Você deseja usar a tecla de atalho mesmo assim, removendo-a da outra ação? New File - Novo Arquivo + Novo Arquivo New Function - Nova Função + Nova Função New Figure - Nova Figura + Nova Figura Open File - Abrir Arquivo + Abrir Arquivo Load Workspace - Carregar Ambiente de Trabalho + Carregar Ambiente de Trabalho Save Workspace As - Salvar Ambiente de Trabalho Como + Salvar Ambiente de Trabalho Como Exit Octave - Sair do Octave + Sair do Octave Copy - Copiar + Copiar Paste - Colar + Colar Undo - Desfazer + Desfazer Select All - Selecionar Tudo + Selecionar Tudo Clear Clipboard - Limpar Área de Transferência + Limpar Área de Transferência Find in Files - Localizar Arquivos + Localizar Arquivos Clear Command Window - Limpar Janela de Comandos + Limpar Janela de Comandos Clear Command History - Limpar Histórico de Comandos + Limpar Histórico de Comandos Clear Workspace - Limpar Ambiente de Trabalho + Limpar Ambiente de Trabalho Preferences - Preferências + Preferências Step - Passo-a-passo + Passo-a-passo Step Into - Passo adentro + Passo adentro Step Out - Passo afora + Passo afora Continue - Prosseguir + Prosseguir Quit Debug Mode - Sair do Modo Depuração + Abandonar Modo de Depuração Show Command Window - Exibir Janela de Comandos + Exibir Janela de Comandos Show Command History - Exibir Histórico de Comandos + Exibir Histórico de Comandos Show File Browser - Exibir Gerenciador de Arquivos + Exibir Navegador de Arquivos Show Workspace - Exibir Ambiente de Trabalho + Exibir Ambiente de Trabalho Show Editor - Exibir Editor + Exibir Editor Show Documentation - Exibir Documentação + Exibir Documentação Show Variable Editor - + Exibir Editor de Variáveis Command Window - Janela de Comandos + Janela de Comandos Command History - Histórico de Comandos + Histórico de Comandos File Browser - Gerenciador de Arquivos + Navegador de Arquivos Workspace - Ambiente de Trabalho + Ambiente de Trabalho Editor - Editor + Editor Documentation - Documentação + Documentação Variable Editor - + Editor de Variáveis Reset Default Window Layout - Restaurar Layout Padrão das Janelas + Restaurar Layout Padrão das Janelas Show Ondisk Documentation - Exibir Documentação em Disco (no Computador) + Exibir Documentação em Disco (no Computador) Show Online Documentation - Exibir Documentação Online (na Internet) + Exibir Documentação Online (na Internet) Report Bug - Reportar Defeito + Relatar Defeito Octave Packages - Pacotes do Octave + Pacotes do Octave Contribute to Octave - Contribuir com o Octave + Contribuir com o Octave Octave Developer Resources - Recursos para Desenvolvedores + Recursos para Desenvolvedores About Octave - Sobre o Octave + Sobre o Octave Release Notes - Notas da Versão + Notas da Versão Community News - Novidades da Comunidade + Novidades da Comunidade Close Tab - + Fechar Aba Close All Tabs - + Fechar Todas as Abas Close Other Tabs - + Fechar as Demais Abas Switch to Left Tab - + Alternar para Aba à Esquerda Switch to Right Tab - + Alternar para Aba à Direita Move Tab Left - + Mover Aba Esquerda Move Tab Right - + Mover Aba Direita Edit Function - Editar Função + Editar Função Save File - Salvar Arquivo + Salvar Arquivo Save File As - Salvar Arquivo Como + Salvar Arquivo Como Print - Imprimir + Imprimir Redo - Refazer + Refazer Cut - Recortar + Recortar Find and Replace - Localizar e Substituir + Localizar e Substituir Find Next - + Localizar Próximo Find Previous - + Localizar Anterior Delete to Start of Word - Deletar até Início da Palavra + Deletar até Início da Palavra Delete to End of Word - Deletar até Final da Palavra + Deletar até Final da Palavra Delete to Start of Line - Deletar até Início da Linha + Deletar até Início da Linha Delete to End of Line - Deletar até Final da Linha + Deletar até Final da Linha Delete Line - Deletar Linha + Deletar Linha Copy Line - Copiar Linha + Copiar Linha Cut Line - Recortar Linha + Recortar Linha Duplicate Selection/Line - Duplicar Seleção/Linha + Duplicar Seleção/Linha Transpose Line - + Transpor Linha Show Completion List - + Exibir Lista de Autopreenchimento Comment Selection - Comentar Seleção + Comentar Seleção Uncomment Selection - Descomentar Seleção + Descomentar Seleção Comment Selection (Choosing String) - + Comentar Seleção (Escolhendo o Texto) Uppercase Selection - Seleção em Maiúsculas + Seleção em Maiúsculas Lowercase Selection - Seleção em Minúsculas + Seleção em Minúsculas Indent Selection Rigidly - + Indentar Seleção Rigidamente Unindent Selection Rigidly - + Remover Indentação da Seleção Rigidamente Indent Code - + Indentar Código Convert Line Endings to Windows - + Converter Finais de Linha para Windows Convert Line Endings to Unix - + Converter Finais de Linha para Unix Convert Line Endings to Mac - + Converter Finais de Linha para Mac Goto Line - Vá para Linha + Vá para Linha Move to Matching Brace - Mover para Parêntese/Chave/Colchete Correspondente + Mover para Parêntese/Chave/Colchete Correspondente Select to Matching Brace - Selecionar até Parêntese/Chave/Colchete Correspondente + Selecionar até Parêntese/Chave/Colchete Correspondente Toggle Bookmark - Habilitar/desabilitar Marcador + Habilitar/desabilitar Marcador Next Bookmark - Marcador Seguinte + Marcador Seguinte Previous Bookmark - Marcador Anterior + Marcador Anterior Remove All Bookmark - Remover Todos os Marcadores + Remover Todos os Marcadores Styles Preferences - Preferências de Estilo + Preferências de Estilo Show Line Numbers - Exibir Números de Linha + Exibir Números de Linha Show Whitespace Characters - + Exibir Caracteres em Branco Show Line Endings - Exibir Finais de Linha + Exibir Finais de Linha Show Indentation Guides - Exibir Guias de Indentação + Exibir Guias de Indentação Show Long Line Marker - Exibir Guia de Linhas Longas + Exibir Guia de Linhas Longas Show Toolbar - + Exibir Barra de Ferramentas Show Statusbar - + Exibir Barra de Estado Show Horizontal Scrollbar - + Exibir Barra de Rolagem Horizontal Zoom In - Mais Zoom + Mais Zoom Zoom Out - Menos Zoom + Menos Zoom Zoom Normal - Zoom Normal + Zoom Normal Toggle Breakpoint - Ativar/desativar Ponto de Parada + Ativar/desativar Ponto de Parada Next Breakpoint - Ponto de Parada Seguinte + Ponto de Parada Seguinte Previous Breakpoint - Ponto de Parada Anterior + Ponto de Parada Anterior Remove All Breakpoints - Remover Todos Pontos de Parada + Remover Todos Pontos de Parada Run File - Executar Arquivo + Executar Arquivo Run Selection - Executar Seleção + Executar Seleção Help on Keyword - Ajuda na Palavra-chave + Ajuda na Palavra-chave Document on Keyword - Documentação na Palavra-chave + Documentação sobre Palavra-chave Global - + Global File Menu - + Menu Arquivo Edit Menu - + Menu Edição Debug Menu - + Menu de Depuração Window Menu - + Menu Janela Help Menu - + Menu Ajuda News Menu - + Menu Novidades Tab Handling in Dock Widgets - + Manuseio de Abas no Acoplamento de Paineis View Menu - + Menu Exibir Run Menu - + Menu Executar Import shortcuts from file ... - + Importar teclas de atalho de arquivo... Octave Shortcut Files (*.osc);;All Files (*) - Arquivos de teclas de atalho do Octave (*.osc);; Todos Arquivos (*) + Arquivos de Teclas de Atalho do Octave (*.osc);;Todos Arquivos (*) Export shortcuts into file ... - + Exportar teclas de atalho para arquivo... Failed to open %1 as octave shortcut file - Falha ao abrir %1 como arquivo de teclas de atalho do Octave + Falha ao abrir %1 como arquivo de teclas de atalho do Octave Enter new Shortcut - + Digite nova Tecla de Atalho Apply the desired shortcut or click on the right button to reset the shortcut to its default. - Aplicar tecla de atalho desejada ou clique no botão à direita para resetá-la para o padrão. + Aplicar tecla de atalho desejada ou clique no botão à direita para resetá-la para o padrão. Enter shortcut directly by performing it - Digite as teclas de atalho pressionando-as diretamente + Digite a tecla de atalho diretamente Actual shortcut - Tecla de atalho atual + Tecla de atalho atual Default shortcut - Tecla de atalho padrão + Tecla de atalho padrão Set to default - Usar padrão + Usar padrão Overwriting Shortcuts - + Sobrescrever Teclas de Atalho You are about to overwrite all shortcuts. Would you like to save the current shortcut set or cancel the action? - + Você está prestres a sobreescrever todas as teclas de atalho. +Gostaria de salvar o conjunto atual de teclas de atalho ou cancelar a ação? Don't save - + Não salvar @@ -3084,7 +3116,7 @@ Command Window - Janela de Comandos + Janela de Comandos @@ -3092,22 +3124,22 @@ Dock widget - Acoplar painel + Acoplar painel Undock widget - Desacoplar painel + Desacoplar painel Restore geometry - + Restaurar geometria Redock - + Reacoplar @@ -3115,94 +3147,94 @@ Variable Editor - + Editor de Variáveis Edit variables. - + Editar variáveis. Variable Editor Toolbar - + Barra de Ferramentas do Editor de Variáveis Save - + Salvar Save variable to a file - + Salvar variável para arquivo Cut - Recortar + Recortar Cut data to clipboard - + Recortar dados para área de transferência Copy - Copiar + Copiar Copy data to clipboard - + Copiar datos para área de transferência Paste - Colar + Colar Paste clipboard into variable data - + Colar área de transferência nos dados da variável Paste Table - + Colar Tabela Another paste clipboard into variable data - + Novamente colar área de transferência nos dados da variável Plot - + Plotar Plot Selected Data - + Plotar Dados Selecionados Plot selected data - + Plotar dados selecionados Up - + Acima Go one level up in variable hierarchy - + Subir um nível na hierarquia de variáveis @@ -3210,12 +3242,12 @@ Save Variable %1 As - + Salvar Variável %1 Como ./%1.txt - + ./%1.txt @@ -3223,42 +3255,42 @@ Cut - Recortar + Recortar Copy - Copiar + Copiar Paste - Colar + Colar Paste Table - + Colar Tabela Clear - + Limpar Delete - + Deletar Variable from Selection - + Variável a partir da Seleção Transpose - + Transpor @@ -3266,32 +3298,32 @@ Type here and press 'Return' to search - Digite aqui e pressione 'Enter' para buscar + Digite aqui e pressione 'Enter' para buscar Global search - Busca global + Busca global &Close - &Fechar + &Fechar Close &Other Tabs - + Fechar &Demais Abas Error - Erro + Erro The info file<p>%1<p>or compressed versions do not exist - O arquivo de informação <p>%1<p> ou versões comprimidas não existem + O arquivo de informação <p>%1<p> ou suas versões comprimidas não existem @@ -3299,7 +3331,7 @@ Welcome to GNU Octave - Bem-vindo ao GNU Octave + Bem-vindo ao GNU Octave @@ -3307,38 +3339,38 @@ Name - Nome + Nome Class - Classe + Classe Dimension - Dimensão + Dimensão Value - Valor + Valor Attribute - Atributo + Atributo Right click to copy, rename, or display - Clique com botão direito para copiar, renomear ou exibir + Clique com botão direito para copiar, renomear ou exibir complex - complexo + complexo @@ -3346,87 +3378,87 @@ Workspace - Ambiente de Trabalho + Ambiente de Trabalho View the variables in the active workspace. - Visualizar variáveis no Ambiente de Trabalho ativo. + Visualizar variáveis no Ambiente de Trabalho ativo. Enter text to filter the workspace - Digite para filtrar o Ambiente de Trabalho + Digite para filtrar o Ambiente de Trabalho Filter - Filtrar + Filtrar View the variables in the active workspace.<br> - Visualizar as variáveis no Ambiente de Trabalho ativo.<br> + Visualizar as variáveis no Ambiente de Trabalho ativo.<br> Colors for variable attributes: - Cores de atributos de variáveis: + Cores de atributos de variáveis: Class - Classe + Classe Dimension - Dimensão + Dimensão Value - Valor + Valor Attribute - Atributo + Atributo Open in Variable Editor - + Abrir no Editor de Variáveis Copy name - Copiar nome + Copiar nome Copy value - Copiar valor + Copiar valor Rename - Renomear + Renomear Only top-level symbols may be renamed - + Somente símbolos de alto nível podem ser renomeados Hide filter - + Ocultar filtro Show filter - + Exibir filtro @@ -3465,7 +3497,7 @@ Normal - + Normal @@ -3642,7 +3674,7 @@ File Browser - Gerenciador de Arquivos + Navegador de Arquivos @@ -3752,77 +3784,77 @@ Show complete path in title - + Exibir caminho completo no título Show tool bar - + Exibir barra de ferramentas Number size as difference to editor font - + Tamanho na forma de diferença com relação à fonte do editor Highlight all occurrences of a word selected by a double click - + Destacar todas as ocorrências de uma palavra selecionada com clique duplo Comments (Octave) - + Comentários (Octave) Strings considered for uncommenting text - + Textos a serem considerados quando descomentando texto String used for commenting selected text - + Texto usado para comentar texto selecionado Long lines - + Linhas longas Break long lines at line length - + Quebrar linhas longas no comprimento Break lines only in comments - + Quebrar linhas apenas em comentários Line length - + Comprimento de linha Long line marker - + Guia de linhas longas Line - + Linha Background - + Fundo Wrap long lines at curent window border - + Quebrar linhas longas na borda atual da janela @@ -3837,22 +3869,22 @@ Auto insert after "if" etc. - + Auto inserir após "if" etc. Nothing - + Nada "endif" etc. - + "endif" etc. "end" - + "end" @@ -3887,17 +3919,17 @@ Restore editor tabs from previous session on startup or when editor is shown again after closing - + Restaurar abas no editor da sessão anterior durante a inicialização ou quando o editor é exibido novamente após ser fechado Text encoding used for loading and saving - + Codificação de texto utilizada para abrir e salvar Close all files when the editor widget is closed/hidden - + Fechar todos os arquivos quando a janela do editor é fechada/ocultada @@ -3917,7 +3949,7 @@ Print debug location in terminal window in addition to the marker in the editor - Exibir posição de depuração no terminal além de ressaltar no editor + Exibir posição de depuração no terminal além de ressaltá-la no editor @@ -3932,7 +3964,7 @@ Extensions of files to be opened in the default text editor (separated by ";"): - + Extensões de arquivos a serem abertas no editor de texto padrão (separadas por ";"): @@ -3942,7 +3974,7 @@ Colors for variable attributes - + Cores para atributos de variáveis @@ -3952,23 +3984,23 @@ Import shortcut set - + Importar conjunto de teclas de atalho Export current shortcut set - + Exportar conjunto de atalhos atual Reset shortcuts to their defaults - + Redefinir teclas de atalho para o padrão Default - Padrão + Padrão @@ -3978,7 +4010,7 @@ Actual - + Real @@ -3998,62 +4030,62 @@ Variable Editor - + Editor de Variáveis Default row height - + Altura de linha padrão 20 - 3D {20?} + 20 Default column width - + Largura de coluna padrão Use Terminal Font - + Usar Fonte de Terminal 2 - 3D {2?} + 2 Autofit - + Auto ajustar Plus font height - + Altura da fonte adicional By Column - + Por Coluna Uniform - + Uniforme Variable Editor Colors - + Cores do Editor de Variáveis Use alternating row colors - + Usar cores de linha alternadas @@ -4078,7 +4110,7 @@ Synchronize Octave working directory with file browser - Manter diretório de trabalho sincronizado com o Gerenciador de Arquivos + Manter diretório de trabalho do Octave sincronizado com o Navegador de Arquivos @@ -4143,12 +4175,12 @@ Octave Settings - + Configurações do Octave Unable to save settings. Missing settings file or unknown directory. - + Não é possível save configurações. Arquivo de configurações faltando ou diretório desconhecido. @@ -4180,7 +4212,7 @@ Set File Browser Startup Directory - Alterar Diretório de Inicialização do Gerenciador de Arquivos + Alterar Diretório de Inicialização do Navegador de Arquivos diff -r 3aed4f0ba3cd -r 512b68611097 libgui/module.mk --- a/libgui/module.mk Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/module.mk Sun Apr 08 19:53:57 2018 -0700 @@ -17,6 +17,7 @@ TRANSLATIONS = \ %reldir%/languages/be_BY.ts \ + %reldir%/languages/ca_ES.ts \ %reldir%/languages/de_DE.ts \ %reldir%/languages/en_US.ts \ %reldir%/languages/es_ES.ts \ diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/documentation.cc --- a/libgui/src/documentation.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/documentation.cc Sun Apr 08 19:53:57 2018 -0700 @@ -98,12 +98,16 @@ // The browser QWidget *browser_find = new QWidget (this); m_doc_browser = new documentation_browser (m_help_engine, browser_find); + connect (m_doc_browser, SIGNAL (cursorPositionChanged (void)), + this, SLOT(handle_cursor_position_change (void))); QWidget *find_footer = new QWidget (browser_find); QLabel *find_label = new QLabel (tr ("Find:"), find_footer); m_find_line_edit = new QLineEdit (find_footer); connect (m_find_line_edit, SIGNAL (returnPressed (void)), this, SLOT(find_forward (void))); + connect (m_find_line_edit, SIGNAL (textEdited (const QString&)), + this, SLOT(find_forward_from_anchor (const QString&))); QToolButton *forward_button = new QToolButton (find_footer); forward_button->setText (tr ("Search forward")); forward_button->setToolTip (tr ("Search forward")); @@ -129,11 +133,30 @@ v_box_browser_find->addWidget (find_footer); browser_find->setLayout (v_box_browser_find); - QShortcut *shortcut = new QShortcut(QKeySequence(tr("Ctrl+F")), browser_find); - shortcut->setContext(Qt::WidgetWithChildrenShortcut); - connect (shortcut, SIGNAL (activated (void)), - this, SLOT(toggle_hidden_find (void))); + QShortcut *show_shortcut = new QShortcut (QKeySequence (QKeySequence::Find), browser_find); + show_shortcut->setContext(Qt::WindowShortcut); + connect (show_shortcut, SIGNAL (activated (void)), + m_find_line_edit->parentWidget (), SLOT (show (void))); + connect (show_shortcut, SIGNAL (activated (void)), + m_find_line_edit, SLOT (selectAll (void))); + connect (show_shortcut, SIGNAL (activated (void)), + m_find_line_edit, SLOT (setFocus (void))); + QShortcut *hide_shortcut = new QShortcut (QKeySequence (tr ("Escape")), m_find_line_edit); + hide_shortcut->setContext(Qt::WindowShortcut); + connect (hide_shortcut, SIGNAL (activated (void)), + m_find_line_edit->parentWidget (), SLOT(hide (void))); + connect (hide_shortcut, SIGNAL (activated (void)), + m_doc_browser, SLOT (setFocus (void))); + QShortcut *findnext_shortcut = new QShortcut (QKeySequence (QKeySequence::FindNext), browser_find); + findnext_shortcut->setContext(Qt::WindowShortcut); + connect (findnext_shortcut, SIGNAL (activated (void)), + this, SLOT(find_forward (void))); + QShortcut *findprev_shortcut = new QShortcut (QKeySequence (QKeySequence::FindPrevious), browser_find); + findprev_shortcut->setContext(Qt::WindowShortcut); + connect (findprev_shortcut, SIGNAL (activated (void)), + this, SLOT(find_backward (void))); find_footer->hide (); + m_search_anchor_position = 0; // Layout contents, index and search QTabWidget *navi = new QTabWidget (this); @@ -321,6 +344,7 @@ return; m_doc_browser->find (m_find_line_edit->text ()); + record_anchor_position (); } void documentation::find_backward (void) @@ -329,19 +353,35 @@ return; m_doc_browser->find (m_find_line_edit->text (), QTextDocument::FindBackward); + record_anchor_position (); } - void documentation::toggle_hidden_find (void) + void documentation::find_forward_from_anchor (const QString& text) { if (! m_help_engine) return; - m_find_line_edit->parentWidget ()-> - setHidden (! m_find_line_edit->parentWidget ()->isHidden ()); - if (m_find_line_edit->parentWidget ()->isHidden ()) - m_doc_browser->setFocus (); - else - m_find_line_edit->setFocus (); + QTextCursor textcur = m_doc_browser->textCursor (); + textcur.setPosition (m_search_anchor_position); + m_doc_browser->setTextCursor (textcur); + m_doc_browser->find (text); + } + + void documentation::record_anchor_position (void) + { + if (! m_help_engine) + return; + + m_search_anchor_position = m_doc_browser->textCursor ().position (); + } + + void documentation::handle_cursor_position_change (void) + { + if (! m_help_engine) + return; + + if (m_doc_browser->hasFocus ()) + record_anchor_position (); } void documentation::registerDoc (const QString& qch) diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/documentation.h --- a/libgui/src/documentation.h Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/documentation.h Sun Apr 08 19:53:57 2018 -0700 @@ -88,13 +88,16 @@ void filter_update_history (void); void find_forward (void); void find_backward (void); - void toggle_hidden_find (void); + void find_forward_from_anchor (const QString& text); + void record_anchor_position (void); + void handle_cursor_position_change (void); private: QHelpEngine *m_help_engine; documentation_browser *m_doc_browser; QLineEdit *m_find_line_edit; + int m_search_anchor_position; QComboBox *m_filter; QString m_collection; diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/qtinfo/texinfo-parser.cc --- a/libgui/src/qtinfo/texinfo-parser.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/qtinfo/texinfo-parser.cc Sun Apr 08 19:53:57 2018 -0700 @@ -1,7 +1,7 @@ /* +Copyright (C) 2012-2018 Jacob Dawid Copyright (C) 2009 P. L. Lucas -Copyright (C) 2012-2018 Jacob Dawid This file is part of Octave. diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/qtinfo/texinfo-parser.h --- a/libgui/src/qtinfo/texinfo-parser.h Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/qtinfo/texinfo-parser.h Sun Apr 08 19:53:57 2018 -0700 @@ -1,7 +1,7 @@ /* +Copyright (C) 2012-2018 Jacob Dawid Copyright (C) 2009 P.L. Lucas -Copyright (C) 2012-2018 Jacob Dawid This file is part of Octave. diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/qtinfo/webinfo.cc --- a/libgui/src/qtinfo/webinfo.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/qtinfo/webinfo.cc Sun Apr 08 19:53:57 2018 -0700 @@ -1,7 +1,7 @@ /* +Copyright (C) 2012-2018 Jacob Dawid Copyright (C) 2009 P. L. Lucas -Copyright (C) 2012-2018 Jacob Dawid This file is part of Octave. diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/qtinfo/webinfo.h --- a/libgui/src/qtinfo/webinfo.h Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/qtinfo/webinfo.h Sun Apr 08 19:53:57 2018 -0700 @@ -1,7 +1,7 @@ /* +Copyright (C) 2012-2018 Jacob Dawid Copyright (C) 2009 P. L. Lucas -Copyright (C) 2012-2018 Jacob Dawid This file is part of Octave. diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/variable-editor.cc --- a/libgui/src/variable-editor.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/variable-editor.cc Sun Apr 08 19:53:57 2018 -0700 @@ -176,8 +176,8 @@ m_dock_action->setIcon (QIcon (":/actions/icons/widget-dock.png")); m_dock_action->setToolTip (tr ("Dock widget")); + activateWindow(); setFocus (Qt::OtherFocusReason); - activateWindow(); } else { @@ -1079,11 +1079,11 @@ } // Put existing variable in focus and raise - QFocusEvent event (QEvent::FocusIn, Qt::OtherFocusReason); - QApplication::sendEvent (existing_qdw, &event); existing_qdw->show (); existing_qdw->raise (); existing_qdw->activateWindow (); + tab_to_front (); + existing_qdw->setFocus (); return; } @@ -1184,6 +1184,29 @@ page->show (); page->raise (); page->activateWindow (); + tab_to_front (); + page->setFocus (); + } + + void + variable_editor::tab_to_front (void) + { + if (parent () != nullptr) + { + QList barlist = main_win ()->findChildren (); + + foreach (QTabBar *tbar, barlist) + { + for (int i=0; i < tbar->count (); i++) + { + if ((QWidget *) tbar->tabData (i).toULongLong () == this) + { + tbar->setCurrentIndex (i); + return; + } + } + } + } } void diff -r 3aed4f0ba3cd -r 512b68611097 libgui/src/variable-editor.h --- a/libgui/src/variable-editor.h Sun Apr 08 18:04:48 2018 -0700 +++ b/libgui/src/variable-editor.h Sun Apr 08 19:53:57 2018 -0700 @@ -270,6 +270,8 @@ static QStringList color_names (void); + void tab_to_front (void); + public slots: void callUpdate (const QModelIndex&, const QModelIndex&); diff -r 3aed4f0ba3cd -r 512b68611097 libinterp/corefcn/__luinc__.cc --- a/libinterp/corefcn/__luinc__.cc Sun Apr 08 18:04:48 2018 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,285 +0,0 @@ -/* - -Copyright (C) 2005-2018 David Bateman - -This file is part of Octave. - -Octave is free software: you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Octave is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -. - -*/ - -#if defined (HAVE_CONFIG_H) -# include "config.h" -#endif - -#include "defun.h" -#include "error.h" -#include "errwarn.h" -#include "ovl.h" -#include "utils.h" -#include "oct-map.h" - -#include "MatrixType.h" -#include "sparse-lu.h" -#include "ov-re-sparse.h" -#include "ov-cx-sparse.h" - -// FIXME: Deprecated in 4.0 and should be removed in 4.4. -DEFUN (__luinc__, args, nargout, - doc: /* -*- texinfo -*- -@deftypefn {} {[@var{L}, @var{U}, @var{P}, @var{Q}] =} __luinc__ (@var{A}, '0') -@deftypefnx {} {[@var{L}, @var{U}, @var{P}, @var{Q}] =} __luinc__ (@var{A}, @var{droptol}) -@deftypefnx {} {[@var{L}, @var{U}, @var{P}, @var{Q}] =} __luinc__ (@var{A}, @var{opts}) -Internal implementation of @code{luinc}. - -See documentation for @code{luinc}. -@seealso{luinc} -@end deftypefn */) -{ - int nargin = args.length (); - - if (nargin < 2 || nargin > 3) - print_usage (); - - if (! args(0).issparse ()) - error ("luinc: matrix A must be sparse"); - - bool zero_level = false; - bool milu = false; - bool udiag = false; - Matrix thresh; - double droptol = -1.0; - bool vecout = false; - - if (args(1).is_string ()) - { - if (args(1).string_value () == "0") - zero_level = true; - else - error ("luinc: unrecognized string argument"); - } - else if (args(1).isstruct ()) - { - octave_scalar_map map - = args(1).xscalar_map_value ("luinc: OPTS must be a scalar structure"); - - octave_value tmp; - - tmp = map.getfield ("droptol"); - if (tmp.is_defined ()) - droptol = tmp.double_value (); - - tmp = map.getfield ("milu"); - if (tmp.is_defined ()) - { - double val = tmp.double_value (); - - milu = (val == 0.0 ? false : true); - } - - tmp = map.getfield ("udiag"); - if (tmp.is_defined ()) - { - double val = tmp.double_value (); - - udiag = (val == 0.0 ? false : true); - } - - tmp = map.getfield ("thresh"); - if (tmp.is_defined ()) - { - thresh = tmp.matrix_value (); - - if (thresh.numel () == 1) - { - thresh.resize (1, 2); - thresh(1) = thresh(0); - } - else if (thresh.numel () != 2) - error ("luinc: THRESH must be a 1 or 2-element vector"); - } - } - else - droptol = args(1).double_value (); - - if (nargin == 3) - { - std::string tmp = args(2).string_value (); - - if (tmp == "vector") - vecout = true; - else - error ("luinc: unrecognized string argument"); - } - - // FIXME: Add code for zero-level factorization - if (zero_level) - error ("luinc: zero-level factorization not implemented"); - - octave_value_list retval; - - if (args(0).isreal ()) - { - SparseMatrix sm = args(0).sparse_matrix_value (); - octave_idx_type sm_nr = sm.rows (); - octave_idx_type sm_nc = sm.cols (); - ColumnVector Qinit (sm_nc); - - for (octave_idx_type i = 0; i < sm_nc; i++) - Qinit(i) = i; - - switch (nargout) - { - case 0: - case 1: - case 2: - { - octave::math::sparse_lu fact - (sm, Qinit, thresh, false, true, droptol, milu, udiag); - - SparseMatrix P = fact.Pr (); - SparseMatrix L = P.transpose () * fact.L (); - - retval(1) - = octave_value (fact.U (), MatrixType (MatrixType::Upper)); - - retval(0) - = octave_value (L, MatrixType (MatrixType::Permuted_Lower, - sm_nr, fact.row_perm ())); - } - break; - - case 3: - { - octave::math::sparse_lu fact - (sm, Qinit, thresh, false, true, droptol, milu, udiag); - - if (vecout) - retval(2) = fact.Pr_vec (); - else - retval(2) = fact.Pr_mat (); - - retval(1) - = octave_value (fact.U (), MatrixType (MatrixType::Upper)); - - retval(0) - = octave_value (fact.L (), MatrixType (MatrixType::Lower)); - } - break; - - case 4: - default: - { - octave::math::sparse_lu fact - (sm, Qinit, thresh, false, false, droptol, milu, udiag); - - if (vecout) - { - retval(3) = fact.Pc_vec (); - retval(2) = fact.Pr_vec (); - } - else - { - retval(3) = fact.Pc_mat (); - retval(2) = fact.Pr_mat (); - } - - retval(1) - = octave_value (fact.U (), MatrixType (MatrixType::Upper)); - - retval(0) - = octave_value (fact.L (), MatrixType (MatrixType::Lower)); - } - break; - } - } - else - { - SparseComplexMatrix sm = args(0).sparse_complex_matrix_value (); - octave_idx_type sm_nr = sm.rows (); - octave_idx_type sm_nc = sm.cols (); - ColumnVector Qinit (sm_nc); - - for (octave_idx_type i = 0; i < sm_nc; i++) - Qinit(i) = i; - - switch (nargout) - { - case 0: - case 1: - case 2: - { - octave::math::sparse_lu fact - (sm, Qinit, thresh, false, true, droptol, milu, udiag); - - SparseMatrix P = fact.Pr (); - SparseComplexMatrix L = P.transpose () * fact.L (); - - retval(1) - = octave_value (fact.U (), MatrixType (MatrixType::Upper)); - - retval(0) - = octave_value (L, MatrixType (MatrixType::Permuted_Lower, - sm_nr, fact.row_perm ())); - } - break; - - case 3: - { - octave::math::sparse_lu fact - (sm, Qinit, thresh, false, true, droptol, milu, udiag); - - if (vecout) - retval(2) = fact.Pr_vec (); - else - retval(2) = fact.Pr_mat (); - - retval(1) - = octave_value (fact.U (), MatrixType (MatrixType::Upper)); - - retval(0) - = octave_value (fact.L (), MatrixType (MatrixType::Lower)); - } - break; - - case 4: - default: - { - octave::math::sparse_lu fact - (sm, Qinit, thresh, false, false, droptol, milu, udiag); - - if (vecout) - { - retval(3) = fact.Pc_vec (); - retval(2) = fact.Pr_vec (); - } - else - { - retval(3) = fact.Pc_mat (); - retval(2) = fact.Pr_mat (); - } - - retval(1) - = octave_value (fact.U (), MatrixType (MatrixType::Upper)); - - retval(0) - = octave_value (fact.L (), MatrixType (MatrixType::Lower)); - } - break; - } - } - - return retval; -} diff -r 3aed4f0ba3cd -r 512b68611097 libinterp/corefcn/error.cc --- a/libinterp/corefcn/error.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/libinterp/corefcn/error.cc Sun Apr 08 19:53:57 2018 -0700 @@ -2140,41 +2140,6 @@ return ovl (); } -// FIXME: Deprecated in 4.0 and scheduled for removal in 4.4. - -DEFUN (__usage__, args, , - doc: /* -*- texinfo -*- -@deftypefn {} {} usage (@var{msg}) -Print the message @var{msg}, prefixed by the string @samp{usage: }, and -set Octave's internal error state such that control will return to the -top level without evaluating any more commands. This is useful for -aborting from functions. - -After @code{usage} is evaluated, Octave will print a traceback of all -the function calls leading to the usage message. - -You should use this function for reporting problems errors that result -from an improper call to a function, such as calling a function with an -incorrect number of arguments, or with arguments of the wrong type. For -example, most functions distributed with Octave begin with code like -this - -@example -@group -if (nargin != 2) - usage ("foo (a, b)"); -endif -@end group -@end example - -@noindent -to check for the proper number of arguments. -@end deftypefn */) -{ - handle_message (usage_with_id, "", "unknown", args, true); - return ovl (); -} - DEFUN (beep_on_error, args, nargout, doc: /* -*- texinfo -*- @deftypefn {} {@var{val} =} beep_on_error () diff -r 3aed4f0ba3cd -r 512b68611097 libinterp/corefcn/module.mk --- a/libinterp/corefcn/module.mk Sun Apr 08 18:04:48 2018 -0700 +++ b/libinterp/corefcn/module.mk Sun Apr 08 19:53:57 2018 -0700 @@ -114,7 +114,6 @@ %reldir%/__ichol__.cc \ %reldir%/__ilu__.cc \ %reldir%/__lin_interpn__.cc \ - %reldir%/__luinc__.cc \ %reldir%/__magick_read__.cc \ %reldir%/__pchip_deriv__.cc \ %reldir%/__qp__.cc \ diff -r 3aed4f0ba3cd -r 512b68611097 libinterp/corefcn/spparms.cc --- a/libinterp/corefcn/spparms.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/libinterp/corefcn/spparms.cc Sun Apr 08 19:53:57 2018 -0700 @@ -129,17 +129,8 @@ for (int i = 0; i < len; i++) str[i] = tolower (str[i]); - if (str == "defaults" || str == "default") - { - // FIXME: deprecated in 4.0, remove "defaults" for 4.4 release - static bool warned = false; - if (! warned && str == "defaults") - { - warning (R"(spparms: use "default" instead of "defaults")"); - warned = true; - } - octave_sparse_params::defaults (); - } + if (str == "default") + octave_sparse_params::defaults (); else if (str == "tight") octave_sparse_params::tight (); else diff -r 3aed4f0ba3cd -r 512b68611097 liboctave/util/lo-regexp.cc --- a/liboctave/util/lo-regexp.cc Sun Apr 08 18:04:48 2018 -0700 +++ b/liboctave/util/lo-regexp.cc Sun Apr 08 19:53:57 2018 -0700 @@ -1,8 +1,8 @@ /* -Copyright (C) 2012 John W. Eaton Copyright (C) 2005-2018 David Bateman Copyright (C) 2002-2005 Paul Kienzle +Copyright (C) 2012 John W. Eaton This file is part of Octave. diff -r 3aed4f0ba3cd -r 512b68611097 liboctave/util/lo-regexp.h --- a/liboctave/util/lo-regexp.h Sun Apr 08 18:04:48 2018 -0700 +++ b/liboctave/util/lo-regexp.h Sun Apr 08 19:53:57 2018 -0700 @@ -1,7 +1,7 @@ /* +Copyright (C) 2005-2018 David Bateman Copyright (C) 2012 John W. Eaton -Copyright (C) 2005-2018 David Bateman This file is part of Octave. diff -r 3aed4f0ba3cd -r 512b68611097 scripts/image/cmpermute.m --- a/scripts/image/cmpermute.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/image/cmpermute.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 2012-2018 Rik Wehbring ## Copyright (C) 2004 Josep Mones i Teixidor -## Copyright (C) 2012-2018 Rik Wehbring ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/image/cmunique.m --- a/scripts/image/cmunique.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/image/cmunique.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 2012-2018 Rik Wehbring ## Copyright (C) 2004 Josep Mones i Teixidor -## Copyright (C) 2012-2018 Rik Wehbring ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/optimization/fzero.m --- a/scripts/optimization/fzero.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/optimization/fzero.m Sun Apr 08 19:53:57 2018 -0700 @@ -149,14 +149,15 @@ fb = fun (b); nfev += 1; else - ## Try to get b. - if (a == 0) - aa = 1; - else - aa = a; - endif - for b = [0.9*aa, 1.1*aa, aa-1, aa+1, 0.5*aa 1.5*aa, -aa, 2*aa, -10*aa, 10*aa] - fb = fun (b); nfev += 1; + ## Try to find a value for b which brackets a zero-crossing + + ## For very small values, switch to absolute rather than relative search + ifelse (abs (a) < .001, aa = sign (a) * 0.1, aa = a); + ## Search in an ever-widening range around the initial point. + for srch = [-.01 +.025 -.05 +.10 -.25 +.50 -1 +2.5 -5 +10 -50 +100 -500 +1000] + b = aa + aa*srch; + fb = fun (b); + nfev += 1; if (sign (fa) * sign (fb) <= 0) break; endif diff -r 3aed4f0ba3cd -r 512b68611097 scripts/plot/appearance/camlookat.m --- a/scripts/plot/appearance/camlookat.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/plot/appearance/camlookat.m Sun Apr 08 19:53:57 2018 -0700 @@ -277,7 +277,7 @@ %! close (hf); %! end_unwind_protect -## compare to matlab2014a output +## compare to Matlab R2016a output %!test %! hf = figure ("visible", "off"); %! unwind_protect @@ -291,16 +291,16 @@ %! axis tight %! camlookat (s1); %! assert (camtarget (), [-4 0 -1], -eps); -%! assert (campos (), [-22.806319527016 -24.5088727773662 16.8359421671461], -1e-7); +%! assert (campos (), [-22.806319527015962 -24.508872777366225 16.835942167146133], -1e-7); %! camlookat (s2); %! assert (camtarget (), [0 1.5 2], -eps); -%! assert (campos (), [-5.82093528266174 -6.08599055403138 7.52058391388657], -1e-7); +%! assert (campos (), [-5.8209352826617424 -6.0859905540313779 7.5205839138865720], -1e-7); %! camlookat (s3); -%! assert (camtarget (), [0 0 0.1528529020838], 1e-10); -%! assert (campos (), [-30.3728392082653 -39.5826547014375 28.9585000034444], -1e-7); +%! assert (camtarget (), [0 0 0.15285290208388014], 1e-10); +%! assert (campos (), [-30.372839208265287 -39.582654701437512 28.958500003444449], -1e-7); %! camlookat (); %! assert (camtarget (), [-0.75 0 0.5], -eps); -%! assert (campos (), [-35.7955620339723 -45.6722656481532 33.7372645671114], -1e-7); +%! assert (campos (), [-35.795562033972338 -45.672265648153193 33.737264567111389], -1e-7); %! unwind_protect_cleanup %! close (hf); %! end_unwind_protect diff -r 3aed4f0ba3cd -r 512b68611097 scripts/plot/appearance/camorbit.m --- a/scripts/plot/appearance/camorbit.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/plot/appearance/camorbit.m Sun Apr 08 19:53:57 2018 -0700 @@ -216,8 +216,8 @@ %! p = campos (); %! u = camup (); %! ## Matlab 2008a -%! pm = [-0.724972932190484 -9.37224596596009 14.5476946558943]; -%! um = [0.375634339316796 0.77045096344497 0.515076844803523]; +%! pm = [-0.72497293219048453 -9.3722459659600944 14.547694655894309]; +%! um = [ 0.37563433931679546 0.77045096344496944 0.51507684480352300]; %! assert (p, pm, -5e-15); %! assert (u, um, -5e-15); %! unwind_protect_cleanup @@ -232,8 +232,8 @@ %! p = campos (); %! u = camup (); %! ## Matlab 2014a -%! pm = [-0.215772672525099 -9.04926615428815 14.7669978066852]; -%! um = [0.413058199972826 0.773801198226611 0.48022351989284]; +%! pm = [-0.21577267252509916 -9.0492661542881496 14.766997806685227]; +%! um = [ 0.41305819997282633 0.77380119822661142 0.48022351989284007]; %! assert (p, pm, -2e-14); # FIXME: looser tolerance needed on i386 %! assert (u, um, -5e-15); %! unwind_protect_cleanup @@ -248,10 +248,10 @@ %! p = campos (); %! u = camup (); %! va = camva (); -%! ## Matlab 2014a -%! pm = [1.92211976102821 -6.48896756467585 15.9436117479337]; -%! um = [-0.261437503254928 0.882598219532154 0.390731128489274]; -%! vam = 10.1274850414735; +%! ## Matlab 2016a +%! pm = [ 1.92211976102821500 -6.48896756467585330 15.943611747933700]; +%! um = [-0.26143750325492854 0.88259821953215356 0.39073112848927383]; +%! vam = 10.127485041473481; %! assert (p, pm, -5e-15); %! assert (u, um, -5e-15); %! assert (va, vam, -5e-15); diff -r 3aed4f0ba3cd -r 512b68611097 scripts/plot/appearance/camroll.m --- a/scripts/plot/appearance/camroll.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/plot/appearance/camroll.m Sun Apr 08 19:53:57 2018 -0700 @@ -79,17 +79,20 @@ hax = hax(1); endif - view_ax = camtarget (hax) - campos (hax); + dar = get (hax, "dataaspectratio"); + + view_ax = (camtarget (hax) - campos (hax)) ./ dar; view_ax /= norm (view_ax); ## orthogonalize the camup vector - up = camup (hax) - view_ax*dot (camup (hax), view_ax); + up = camup (hax) ./ dar; + up = up - view_ax * dot (up, view_ax); up /= norm (up); ## rotate the modified camup vector around the view axis up = num2cell (up); [up{:}] = __rotate_around_axis__ (up{:}, a, view_ax, [0 0 0]); - up = [up{:}]; - camup (hax, up) + up = [up{:}] .* dar; + camup (hax, up / norm (up)) endfunction @@ -116,19 +119,24 @@ %!test %! hf = figure ("visible", "off"); %! unwind_protect +%! hax = axes ("parent", hf); %! peaks (); -%! p = camup (); +%! p = camup (hax); %! assert (p, [0 0 1], eps); -%! camroll (30); -%! p = camup (); -%! ## from Matlab R2014a -%! q = [0.826398839602911 0.255644120004753 0.50170812412194]; +%! camroll (hax, 30); +%! p = camup (hax); +%! ## from Matlab R2017b +%! q = [0.33969638129660373 0.02014238382998192 0.94031944194919104]; %! assert (p, q, 10*eps); -%! camroll (-30); -%! ## note it does not go back to [0 0 1]: instead orthog to camera view: -%! p = camup (); -%! assert (dot (p, camtarget () - campos ()), 0, 32*eps); # FIXME: looser tolerance needed on i386 -%! q = [0.496200420425837 0.646660977913424 0.57932264103285]; +%! camroll (hax, -30); +%! ## Note: It does not go back to [0 0 1]: instead orthog to camera view: +%! p = camup (hax); +%! ## The "cameraupvector" is now perpendicular to the viewing vector +%! dar = get (hax, "dataaspectratio"); +%! ## FIXME: looser tolerance needed on i386 for assert below +%! assert (dot (p./dar, (camtarget (hax) - campos (hax))./dar), 0, 32*eps); +%! ## from Matlab R2017b +%! q = [0.14033891839365262 0.18289323924769943 0.97306477226420207]; %! assert (p, q, 10*eps); %! unwind_protect_cleanup %! close (hf); @@ -145,8 +153,10 @@ %! camroll (hax1, 30); %! x = camup (hax1); %! y = camup (hax2); -%! assert (x, [0.660278 0.039151 0.750000], -1e-5) -%! assert (y, [0 0 1]) +%! ## from Matlab R2016a +%! assert (x, [0.66027810132845211 0.03915135893036471 0.75000000000000022], +%! -1e-5); +%! assert (y, [0 0 1]); %! unwind_protect_cleanup %! close (hf); %! end_unwind_protect diff -r 3aed4f0ba3cd -r 512b68611097 scripts/plot/appearance/camzoom.m --- a/scripts/plot/appearance/camzoom.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/plot/appearance/camzoom.m Sun Apr 08 19:53:57 2018 -0700 @@ -111,9 +111,9 @@ %! x = camva (); %! camzoom (2); %! y = camva (); -%! ## Matlab 2014a -%! xm = 10.339584907202; -%! ym = 5.18033628450948; +%! ## Matlab 2016a +%! xm = 10.339584907201974; +%! ym = 5.1803362845094822; %! assert (tand (x/2) / tand (y/2), tand (xm/2) / tand (ym/2), 2e-14) %! unwind_protect_cleanup %! close (hf); @@ -129,8 +129,8 @@ %! camzoom (5); %! y = camva (); %! ## Matlab 2014a -%! xm = 13.0746680295069; -%! ym = 2.62588066987212; +%! xm = 13.074668029506947; +%! ym = 2.6258806698721222; %! assert (tand (x/2) / tand (y/2), tand (xm/2) / tand (ym/2), 2e-14) %! unwind_protect_cleanup %! close (hf); diff -r 3aed4f0ba3cd -r 512b68611097 scripts/plot/draw/camlight.m --- a/scripts/plot/draw/camlight.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/plot/draw/camlight.m Sun Apr 08 19:53:57 2018 -0700 @@ -250,13 +250,13 @@ %! set (gca (), "cameratarget", [0.5 -0.3 -0.3]); %! h = camlight (45, 20); %! A = get (h, "position"); -%! ## From maillist, someone tested on Matlab R2015b for OSX: -%! B = [-3.301207088157029 15.474861455795917 1.115828634895176]; +%! ## From Matlab R2016a for Windows: +%! B = [-3.3012070881570281 15.474861455795915 1.1158286348951763]; %! assert (A, B, -20*eps); %! %! h = camlight (300, -190); %! A = get (h, "position"); -%! B = [-11.054849015640563 2.931330143100648 -11.315623892092518]; +%! B = [-11.054849015640565 2.9313301431006460 -11.315623892092516]; %! assert (A, B, -20*eps); %! unwind_protect_cleanup %! close (hf); diff -r 3aed4f0ba3cd -r 512b68611097 scripts/plot/util/findfigs.m --- a/scripts/plot/util/findfigs.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/plot/util/findfigs.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 2012-2018 Carnë Draug ## Copyright (C) 2008 Bill Denney -## Copyright (C) 2012-2018 Carnë Draug ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/sparse/bicg.m --- a/scripts/sparse/bicg.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/sparse/bicg.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,6 +1,6 @@ +## Copyright (C) 2016-2018 Cristiano Dorigo, Octave Arena ## Copyright (C) 2006 Sylvain Pelissier ## Copyright (C) 2012-2018 Carlo de Falco -## Copyright (C) 2016-2018 Cristiano Dorigo, Octave Arena ## ## This file is part of Octave. ## @@ -19,23 +19,31 @@ ## . ## -*- texinfo -*- -## @deftypefn {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M1}, @var{M2}, @var{x0}, @dots{}) +## @deftypefn {} {@var{x} =} bicg (@var{A}, @var{b}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M1}, @var{M2}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}, [], @var{x0}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M1}, @var{M2}, @var{x0}) ## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}, [], @var{x0}, @dots{}) +## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M1}, @var{M2}, @var{x0}, @dots{}) ## @deftypefnx {} {[@var{x}, @var{flag}, @var{relres}, @var{iter}, @var{resvec}] =} bicg (@var{A}, @var{b}, @dots{}) -## Solve @code{A x = b} using the Bi-conjugate gradient iterative method. -## -## The input parameters are: -## -## @itemize @minus +## Solve the linear system of equations @w{@code{@var{A} * @var{x} = @var{b}}} +## by means of the Bi-Conjugate Gradient iterative method. ## -## @item @var{A} it is a square matrix. @var{A} can be passed as a matrix or -## as a function handle or inline function -## @code{Afun} such that @code{Afun (x, "notransp") = A * x} and -## @code{Afun (x, "transp") = A' * x}. Additional parameters to -## @code{Afun} are passed after @var{x0}. +## The input arguments are: +## +## @itemize ## -## @item @var{b} is the right hand side vector. It must be a column vector -## with same number of rows of @var{A}. +## @item @var{A} is the matrix of the linear system and it must be square. +## @var{A} can be passed as a matrix, function handle, or inline function +## @code{Afun} such that @w{@code{Afun (x, "notransp") = A * x}} and +## @w{@code{Afun (x, "transp") = A' * x}}. Additional parameters to +## @code{Afun} may be passed after @var{x0}. +## +## @item @var{b} is the right-hand side vector. It must be a column vector +## with the same number of rows as @var{A}. ## ## @item ## @var{tol} is the required relative tolerance for the residual error, @@ -44,77 +52,87 @@ ## @w{@code{@var{tol} * norm (@var{b})}}}. ## If @var{tol} is omitted or empty, then a tolerance of 1e-6 is used. ## -## @item @var{maxit} the maximum number of outer iterations, if not given or -## set to [] the default value @code{min (20, numel (b))} is used. +## @item +## @var{maxit} is the maximum allowed number of iterations; if @var{maxit} +## is omitted or empty then a value of 20 is used. ## -## @item @var{M1}, @var{M2} are the preconditioners. The -## preconditioner @var{M} is given as @code{@var{M} = @var{M1} * @var{M2}}. -## Both @var{M1} and @var{M2} can be passed as a matrix or as a -## function handle or inline -## function @code{g} such that @code{g(@var{x}, "notransp") = -## @var{M1} \ @var{x}} or -## @code{g(@var{x}, "notransp") = @var{M2} \ @var{x}} -## and @code{g(@var{x}, "transp") = @var{M1}' \ @var{x}} or -## @code{g(@var{x}, "transp") = @var{M2}' \ @var{x}}. -## If @var{M1} is empty or not passed, then preconditioning is not applied. -## The preconditioned system is theoretically equivalent to apply the -## @code{bicg} method to the linear systems +## @item +## @var{M1}, @var{M2} are the preconditioners. The preconditioner @var{M} is +## given as @code{@var{M} = @var{M1} * @var{M2}}. Both @var{M1} and @var{M2} +## can be passed as a matrix or as a function handle or inline function +## @code{g} such that @w{@code{g (@var{x}, "notransp") = @var{M1} \ @var{x}}} +## or @w{@code{g (@var{x}, "notransp") = @var{M2} \ @var{x}}} and +## @w{@code{g (@var{x}, "transp") = @var{M1}' \ @var{x}}} or +## @w{@code{g (@var{x}, "transp") = @var{M2}' \ @var{x}}}. +## If @var{M1} is omitted or empty, then preconditioning is not applied. +## The preconditioned system is theoretically equivalent to applying the +## @code{bicg} method to the linear system ## @code{inv (@var{M1}) * A * inv (@var{M2}) * @var{y} = inv ## (@var{M1}) * @var{b}} and ## @code{inv (@var{M2'}) * A' * inv (@var{M1'}) * @var{z} = -## inv (@var{M2'}) * @var{b}} and then set +## inv (@var{M2'}) * @var{b}} and then setting ## @code{@var{x} = inv (@var{M2}) * @var{y}}. ## -## @item @var{x0} the initial guess, if not given or set to [] the default -## value @code{zeros (size (b))} is used. +## @item +## @var{x0} is the initial guess. If @var{x0} is omitted or empty then the +## function sets @var{x0} to a zero vector by default. ## @end itemize ## -## The arguments which follow @var{x0} are treated as parameters, and passed in -## a proper way to any of the functions (@var{A} or @var{M}) which are passed -## to @code{bicg}. +## Any arguments which follow @var{x0} are treated as parameters, and passed in +## an appropriate manner to any of the functions (@var{Afun} or @var{Mfun}) or +## that have been given to @code{bicg}. ## ## The output parameters are: ## ## @itemize ## -## @item @var{x} is the approximation computed. If the method doesn't -## converge then it is the iterated with the minimum residual. +## @item +## @var{x} is the computed approximation to the solution of +## @w{@code{@var{A} * @var{x} = @var{b}}}. If the algorithm did not converge, +## then @var{x} is the iteration which has the minimum residual. ## -## @item @var{flag} indicates the exit status: +## @item +## @var{flag} indicates the exit status: ## -## @itemize @minus -## @item 0: iteration converged to the within the chosen tolerance +## @itemize +## @item 0: The algorithm converged to within the prescribed tolerance. ## -## @item 1: the maximum number of iterations was reached before convergence +## @item 1: The algorithm did not converge and it reached the maximum number of +## iterations. ## -## @item 2: the preconditioner matrix is singular +## @item 2: The preconditioner matrix is singular. ## -## @item 3: the algorithm reached stagnation +## @item 3: The algorithm stagnated, i.e., the absolute value of the +## difference between the current iteration @var{x} and the previous is less +## than @code{eps * norm (@var{x},2)}. ## -## @item 4: the algorithm can't continue due to a division by zero +## @item 4: The algorithm can't continue due to a division by zero. ## @end itemize ## -## @item @var{relres} is the relative residual obtained as -## @code{(@var{A}*@var{x}-@var{b}) / @code{norm(@var{b})}}. +## @item +## @var{relres} is the ratio of the final residual to its initial value, +## measured in the Euclidean norm. ## -## @item @var{iter} is the iteration which @var{x} is computed. +## @item +## @var{iter} is the iteration which @var{x} is computed. ## -## @item @var{resvec} is a vector containing the residual at each iteration. -## Doing @code{length(@var{resvec}) - 1} is possible to see the total number -## of iterations performed. +## @item +## @var{resvec} is a vector containing the residual at each iteration. +## The total number of iterations performed is given by +## @code{length (@var{resvec}) - 1}. ## @end itemize ## -## Let us consider a trivial problem with a tridiagonal matrix +## Consider a trivial problem with a tridiagonal matrix ## ## @example ## @group ## n = 20; -## A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... +## A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... ## toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... -## sparse (1, 2, 1, 1, n) * n / 2); +## sparse (1, 2, 1, 1, n) * n / 2); ## b = A * ones (n, 1); ## restart = 5; -## [M1, M2] = ilu (A); # in this tridiag case, it corresponds to lu (A) +## [M1, M2] = ilu (A); # in this tridiag case, it corresponds to lu (A) ## M = M1 * M2; ## Afun = @@(x, string) strcmp (string, "notransp") * (A * x) + ... ## strcmp (string, "transp") * (A' * x); @@ -130,11 +148,11 @@ ## @sc{Example 1:} simplest usage of @code{bicg} ## ## @example -## x = bicg (A, b, [], n) +## x = bicg (A, b) ## @end example ## -## @sc{Example 2:} @code{bicg} with a function which computes -## @code{@var{A} * @var{x}} and @code{@var{A'} * @var{x}} +## @sc{Example 2:} @code{bicg} with a function that computes +## @code{@var{A}*@var{x}} and @code{@var{A'}*@var{x}} ## ## @example ## x = bicg (Afun, b, [], n) @@ -143,7 +161,7 @@ ## @sc{Example 3:} @code{bicg} with a preconditioner matrix @var{M} ## ## @example -## x = bicg (A, b, [], 1e-06, n, M) +## x = bicg (A, b, 1e-6, n, M) ## @end example ## ## @sc{Example 4:} @code{bicg} with a function as preconditioner @@ -156,7 +174,7 @@ ## and @var{M2} ## ## @example -## x = bicg (A, b, [], 1e-6, n, M1, M2) +## x = bicg (A, b, 1e-6, n, M1, M2) ## @end example ## ## @sc{Example 6:} @code{bicg} with functions as preconditioners @@ -169,18 +187,20 @@ ## ## @example ## @group -## function y = Ap (A, x, string, z) # compute A^z * x or (A^z)' * x -## y = x; -## if (strcmp (string, "notransp")) -## for i = 1:z -## y = A * y; -## endfor -## elseif (strcmp (string, "transp")) -## for i = 1:z -## y = A' * y; -## endfor -## endif -## endfunction +## function y = Ap (A, x, string, z) +## ## compute A^z * x or (A^z)' * x +## y = x; +## if (strcmp (string, "notransp")) +## for i = 1:z +## y = A * y; +## endfor +## elseif (strcmp (string, "transp")) +## for i = 1:z +## y = A' * y; +## endfor +## endif +## endfunction +## ## Apfun = @@(x, string, p) Ap (A, x, string, p); ## x = bicg (Apfun, b, [], [], [], [], [], 2); ## @end group @@ -190,13 +210,12 @@ ## ## @enumerate ## -## @item @nospell{Y. Saad}, @cite{Iterative Methods for Sparse Linear -## Systems}, Second edition, 2003, SIAM +## @item @nospell{Y. Saad}, @cite{Iterative Methods for Sparse Linear Systems}, +## Second edition, 2003, SIAM. ## ## @end enumerate ## ## @seealso{bicgstab, cgs, gmres, pcg, qmr, tfqmr} -## ## @end deftypefn function [x_min, flag, relres, iter_min, resvec] = ... @@ -215,9 +234,9 @@ endif norm_b = norm (b, 2); - if (norm_b == 0) # the only (only iff det(A) == 0) solution is x = 0 + if (norm_b == 0) # the only (only iff det(A) == 0) solution is x = 0 if (nargout < 2) - printf("The right hand side vector is all zero so bicg \n") + printf ("The right hand side vector is all zero so bicg\n") printf ("returned an all zero solution without iterating.\n") endif x_min = zeros (numel (b), 1); @@ -225,33 +244,32 @@ relres = 0; iter_min = 0; resvec = 0; - return + return; endif x = x_min = x_pr = x0; iter = iter_min = 0; - flag = 1; # Default flag is "maximum number of iterations reached" + flag = 1; # Default flag is "maximum number of iterations reached" resvec = zeros (maxit + 1, 1); - r0 = b - feval (Afun, x, "notransp", varargin{:}); # Residual of the sytem - s0 = c - feval (Afun, x, "transp", varargin{:}); # Res. of the "dual system" - resvec (1) = norm (r0, 2); + r0 = b - Afun (x, "notransp", varargin{:}); # Residual of the sytem + s0 = c - Afun (x, "transp", varargin{:}); # Res. of the "dual system" + resvec(1) = norm (r0, 2); try - warning("error", "Octave:singular-matrix", "local") - prec_r0 = feval (M1fun, r0, "notransp", varargin{:}); # r0 preconditioned + warning ("error", "Octave:singular-matrix", "local") + prec_r0 = M1fun (r0, "notransp", varargin{:}); # r0 preconditioned prec_s0 = s0; - prec_r0 = feval (M2fun, prec_r0, "notransp", varargin{:}); - prec_s0 = feval (M2fun, prec_s0, "transp", varargin{:}); - prec_s0 = feval (M1fun, prec_s0, "transp", varargin{:}); # s0 preconditioned - p = prec_r0; # Direction of the system - q = prec_s0; # Direction of the "dual system" + prec_r0 = M2fun (prec_r0, "notransp", varargin{:}); + prec_s0 = M2fun (prec_s0, "transp", varargin{:}); + prec_s0 = M1fun (prec_s0, "transp", varargin{:}); # s0 preconditioned + p = prec_r0; # Direction of the system + q = prec_s0; # Direction of the "dual system" catch flag = 2; end_try_catch - while ((flag != 2) && (iter < maxit) && ... - (resvec (iter + 1) >= norm_b * tol)) - v = feval (Afun, p, "notransp", varargin{:}); + while ((flag != 2) && (iter < maxit) && (resvec(iter+1) >= norm_b * tol)) + v = Afun (p, "notransp", varargin{:}); prod_qv = q' * v; if (prod_qv == 0) flag = 4; @@ -259,17 +277,17 @@ endif alpha = (s0' * prec_r0) / prod_qv; x += alpha * p; - prod_rs = (s0' * prec_r0); # Product between r0 and s0 + prod_rs = (s0' * prec_r0); # Product between r0 and s0 r0 -= alpha * v; - s0 -= conj (alpha) * feval (Afun, q, "transp", varargin{:}); - prec_r0 = feval (M1fun, r0, "notransp", varargin{:}); + s0 -= conj (alpha) * Afun (q, "transp", varargin{:}); + prec_r0 = M1fun (r0, "notransp", varargin{:}); prec_s0 = s0; - prec_r0 = feval (M2fun, prec_r0, "notransp", varargin{:}); - prec_s0 = feval (M2fun, prec_s0, "transp", varargin{:}); - prec_s0 = feval (M1fun, prec_s0, "transp", varargin{:}); + prec_r0 = M2fun (prec_r0, "notransp", varargin{:}); + prec_s0 = M2fun (prec_s0, "transp", varargin{:}); + prec_s0 = M1fun (prec_s0, "transp", varargin{:}); iter += 1; - resvec (iter + 1) = norm (r0); - if (resvec (iter + 1) <= resvec (iter_min + 1)) + resvec(iter+1) = norm (r0); + if (resvec(iter+1) <= resvec(iter_min+1)) x_min = x; iter_min = iter; endif @@ -285,12 +303,12 @@ p = prec_r0 + beta*p; q = prec_s0 + conj (beta) * q; endwhile - resvec = resvec (1:iter+1,1); + resvec = resvec(1:iter+1,1); if (flag == 2) relres = 1; else - relres = resvec (iter_min + 1) / norm_b; + relres = resvec(iter_min+1) / norm_b; endif if ((flag == 1) && (relres <= tol)) @@ -299,28 +317,28 @@ if (nargout < 2) switch (flag) - case {0} + case 0 printf ("bicg converged at iteration %i ", iter_min); printf ("to a solution with relative residual %e\n", relres); - case {1} + case 1 printf ("bicg stopped at iteration %i ", iter); printf ("without converging to the desired tolerance %e\n", tol); printf ("because the maximum number of iterations was reached. "); printf ("The iterate returned (number %i) has ", iter_min); printf ("relative residual %e\n", relres); - case {2} + case 2 printf ("bicg stopped at iteration %i ", iter); printf ("without converging to the desired tolerance %e\n", tol); printf ("because the preconditioner matrix is singular.\n"); printf ("The iterate returned (number %i) ", iter_min); printf ("has relative residual %e\n", relres); - case {3} + case 3 printf ("bicg stopped at iteration %i ", iter); printf ("without converging to the desired tolerance %e\n", tol); printf ("because the method stagnated.\n"); printf ("The iterate returned (number %i) ", iter_min); printf ("has relative residual %e\n", relres); - case {4} + case 4 printf ("bicg stopped at iteration %i ", iter); printf ("without converging to the desired tolerance %e\n", tol); printf ("because the method can't continue.\n"); @@ -331,9 +349,55 @@ endfunction + +%!demo +%! ## simplest use case +%! n = 20; +%! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... +%! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... +%! sparse (1, 2, 1, 1, n) * n / 2); +%! b = A * ones (n, 1); +%! [M1, M2] = ilu (A + 0.1 * eye (n)); +%! M = M1 * M2; +%! x = bicg (A, b, [], n); +%! function y = Ap (A, x, string, z) +%! ## compute A^z * x or (A^z)' * x +%! y = x; +%! if (strcmp (string, "notransp")) +%! for i = 1:z +%! y = A * y; +%! endfor +%! elseif (strcmp (string, "transp")) +%! for i = 1:z +%! y = A' * y; +%! endfor +%! endif +%! endfunction +%! +%! Afun = @(x, string) Ap (A, x, string, 1); +%! x = bicg (Afun, b, [], n); +%! x = bicg (A, b, 1e-6, n, M); +%! x = bicg (A, b, 1e-6, n, M1, M2); +%! function y = Mfun (M, x, string) +%! if (strcmp (string, "notransp")) +%! y = M \ x; +%! else +%! y = M' \ x; +%! endif +%! endfunction +%! +%! M1fun = @(x, string) Mfun (M, x, string); +%! x = bicg (Afun, b, 1e-6, n, M1fun); +%! M1fun = @(x, string) Mfun (M1, x, string); +%! M2fun = @(x, string) Mfun (M2, x, string); +%! x = bicg (Afun, b, 1e-6, n, M1fun, M2fun); +%! Afun = @(x, string, p) Ap (A, x, string, p); +%! ## Solution of A^2 * x = b +%! x = bicg (Afun, b, [], 2*n, [], [], [], 2); + %!test %! ## Check that all type of inputs work -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = A * ones (5, 1); %! M1 = diag (sqrt (diag (A))); %! M2 = M1; @@ -373,7 +437,7 @@ %! M1 = spdiags ([ones(n,1)/(-2) ones(n,1)],-1:0, n, n); %! M2 = spdiags ([4*ones(n,1) -ones(n,1)], 0:1, n, n); %! [x, flag, relres, iter, resvec] = bicg (A, b, tol, maxit, M1, M2); -%! assert (x, ones (size (b)), 1e-7); +%! assert (norm (b - A*x) / norm (b), 0, tol); %!function y = afun (x, t, a) %! switch (t) @@ -408,110 +472,73 @@ %!test %! ## Check that if the preconditioner is singular, the method doesn't work -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); -%! b = ones(5,1); +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); +%! b = ones (5,1); %! M = ones (5); %! [x, flag] = bicg (A, b, [], [], M); -%! assert (flag, 2) +%! assert (flag, 2); %!test %! ## If A singular, the algorithm doesn't work due to division by zero %! A = ones (5); %! b = [1:5]'; %! [x, flag] = bicg (A, b); -%! assert (flag, 4) +%! assert (flag, 4); %!test %! ## test for a complex linear system -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])) + ... -%! 1i * toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0]) + ... +%! 1i * toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = sum (A, 2); %! [x, flag] = bicg (A, b); -%! assert (flag, 0) +%! assert (flag, 0); %!test %! A = single (1); %! b = 1; %! [x, flag] = bicg (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %! A = 1; %! b = single (1); %! [x, flag] = bicg (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %! A = single (1); %! b = single (1); %! [x, flag] = bicg (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %!function y = Afun (x, trans) -%! A = toeplitz (sparse ([2, 1, 0, 0]), sparse ([2, -1, 0, 0]) ); -%! if (strcmp (trans, "notransp")) -%! y = A * x; -%! else -%! y = A' * x; -%! endif +%! A = sparse (toeplitz ([2, 1, 0, 0], [2, -1, 0, 0])); +%! if (strcmp (trans, "notransp")) +%! y = A * x; +%! else +%! y = A' * x; +%! endif %!endfunction +%! %! [x, flag] = bicg ("Afun", [1; 2; 2; 3]); -%! assert (x, ones(4, 1), 1e-6) +%! assert (x, ones (4, 1), 1e-6); -%!test # unpreconditioned residual -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%!test +%! ## unpreconditioned residual +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = sum (A, 2); %! M = magic (5); %! [x, flag, relres] = bicg (A, b, [], 2, M); -%! assert (relres, norm (b - A * x) / norm (b), 8 * eps) - -%!demo # simplest use -%! n = 20; -%! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... -%! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... -%! sparse (1, 2, 1, 1, n) * n / 2); -%! b = A * ones (n, 1); -%! [M1, M2] = ilu (A + 0.1 * eye (n)); -%! M = M1 * M2; -%! x = bicg (A, b, [], n); -%! function y = Ap (A, x, string, z) # compute A^z * x or (A^z)' * x -%! y = x; -%! if (strcmp (string, "notransp")) -%! for i = 1:z -%! y = A * y; -%! endfor -%! elseif (strcmp (string, "transp")) -%! for i = 1:z -%! y = A' * y; -%! endfor -%! endif -%! endfunction -%! Afun = @(x, string) Ap (A, x, string, 1); -%! x = bicg (Afun, b, [], n); -%! x = bicg (A, b, 1e-6, n, M); -%! x = bicg (A, b, 1e-6, n, M1, M2); -%! function y = Mfun(M, x, string) -%! if (strcmp (string, "notransp")) -%! y = M \ x; -%! else -%! y = M' \ x; -%! endif -%! endfunction -%! M1fun = @(x, string) Mfun (M, x, string); -%! x = bicg (Afun, b, 1e-6, n, M1fun); -%! M1fun = @(x, string) Mfun (M1, x, string); -%! M2fun = @(x, string) Mfun (M2, x, string); -%! x = bicg (Afun, b, 1e-6, n, M1fun, M2fun); -%! Afun = @(x, string, p) Ap (A, x, string, p); -%! x = bicg (Afun, b, [], 2*n, [], [], [], 2); # solution of A^2 * x = b +%! assert (norm (b - A * x) / norm (b), 0, relres); ## Preconditioned technique %!testif HAVE_UMFPACK -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = sum (A, 2); +%! warning ("off", "Octave:lu:sparse_input", "local"); %! [M1, M2] = lu (A + eye (5)); %! [x, flag] = bicg (A, b, [], 1, M1, M2); %! ## b has two columns! %! [y, flag] = bicg (M1 \ A / M2, [M1 \ b, M2' \ b], [], 1); -%! assert (x, M2 \ y, 8 * eps) +%! assert (x, M2 \ y, 8 * eps); diff -r 3aed4f0ba3cd -r 512b68611097 scripts/sparse/bicgstab.m --- a/scripts/sparse/bicgstab.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/sparse/bicgstab.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,6 +1,6 @@ +## Copyright (C) 2016-2018 Cristiano Dorigo, Octave Arena ## Copyright (C) 2008-2018 Radek Salac ## Copyright (C) 2012 Carlo de Falco -## Copyright (C) 2016-2018 Cristiano Dorigo, Octave Arena ## ## This file is part of Octave. ## @@ -351,6 +351,53 @@ endfunction + +%!demo # simplest use +%! n = 20; +%! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... +%! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... +%! sparse (1, 2, 1, 1, n) * n / 2); +%! b = A * ones (n, 1); +%! [M1, M2] = ilu (A + 0.1 * eye (n)); +%! M = M1 * M2; +%! x = bicgstab (A, b, [], n); +%! Afun = @(x) A * x; +%! x = bicgstab (Afun, b, [], n); +%! x = bicgstab (A, b, 1e-6, n, M); +%! x = bicgstab (A, b, 1e-6, n, M1, M2); +%! Mfun = @(z) M \ z; +%! x = bicgstab (Afun, b, 1e-6, n, Mfun); +%! M1fun = @(z) M1 \ z; +%! M2fun = @(z) M2 \ z; +%! x = bicgstab (Afun, b, 1e-6, n, M1fun, M2fun); +%! function y = Ap (A, x, z) +%! ## compute A^z * x or (A^z)' * x +%! y = x; +%! for i = 1:z +%! y = A * y; +%! endfor +%! endfunction +%! Afun = @(x, p) Ap (A, x, p); +%! x = bicgstab (Afun, b, [], 2 * n, [], [], [], 2); # solution of A^2 * x = b + +%!demo +%! n = 10; +%! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... +%! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... +%! sparse (1, 2, 1, 1, n) * n / 2); +%! b = A * ones (n, 1); +%! [M1, M2] = ilu (A + 0.3 * eye (n)); # factorization of A perturbed +%! M = M1 * M2; +%! +%! ## Reference solution computed by bicgstab after one iteration +%! [x_ref, fl] = bicgstab (A, b, [], 1, M); +%! x_ref +%! +%! ## right preconditioning +%! [y, fl] = bicgstab (A / M, b, [], 1); +%! ## Compare x and x_ref +%! x = M \ y + %!test %! ## Check that all type of inputs work %! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); @@ -382,9 +429,7 @@ %! [x, flag] = bicgstab (Afun, b, [], maxit, M1_fun, M2_fun); %! assert (flag, 0); -%!shared A, b, n, M1, M2 -%! -%!test +%!shared n, A, b, tol, maxit, M1, M2 %! n = 100; %! A = spdiags ([-2*ones(n,1) 4*ones(n,1) -ones(n,1)], -1:1, n, n); %! b = sum (A, 2); @@ -392,124 +437,82 @@ %! maxit = 15; %! M1 = spdiags ([ones(n,1)/(-2) ones(n,1)],-1:0, n, n); %! M2 = spdiags ([4*ones(n,1) -ones(n,1)], 0:1, n, n); + +%!test %! [x, flag, relres, iter, resvec] = bicgstab (A, b, tol, maxit, M1, M2); -%! assert (x, ones (size (b)), 1e-7); -%! -%!test +%! assert (norm (b - A*x) / norm (b), 0, tol); + %!function y = afun (x, a) %! y = a * x; %!endfunction %! -%! tol = 1e-8; -%! maxit = 15; -%! +%!test %! [x, flag, relres, iter, resvec] = bicgstab (@(x) afun (x, A), b, %! tol, maxit, M1, M2); -%! assert (x, ones (size (b)), 1e-7); +%! assert (norm (b - A*x) / norm (b), 0, tol); %!test -%! n = 100; -%! tol = 1e-8; %! a = sprand (n, n, .1); -%! A = a'*a + 100 * eye (n); +%! A = a'*a + 100 * speye (n); %! b = sum (A, 2); %! [x, flag, relres, iter, resvec] = bicgstab (A, b, tol, [], diag (diag (A))); -%! assert (x, ones (size (b)), 1e-7); +%! assert (norm (b - A*x) / norm (b), 0, tol); %!test %! ## bicgstab solves complex linear systems %! A = [1 + 1i, 1 + 1i; 2 - 1i, 2 + 1i]; %! b = A * [1; 1]; %! [x, flag, relres, iter, resvec] = bicgstab (A, b); -%! assert (x, [1; 1], 1e-6); +%! assert (norm (b - A*x) / norm (b), 0, 1e-6); %!test -%! ## test with a non symmetric matrix -%! A = diag(1:50); -%! A (1,50) = 10000; +%! ## test with a non-symmetric matrix +%! A = diag (1:50); +%! A(1,50) = 10000; %! b = ones (50,1); %! [x, flag, relres, iter, resvec] = bicgstab (A, b, [], 100); -%! assert (flag, 0) -%! assert (x, A \ b, 1e-05) +%! assert (flag, 0); +%! assert (norm (b - A*x) / norm (b), 0, 1e-6); + +%!test %! ## test that bicgstab detects a singular preconditioner %! M = ones (50); %! M(1,1) = 0; %! [x, flag] = bicgstab (A, b, [], 100, M); -%! assert(flag, 2) +%! assert (flag, 2); %!test %! A = single (1); %! b = 1; %! [x, flag] = bicgstab (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %! A = 1; %! b = single (1); %! [x, flag] = bicgstab (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %! A = single (1); %! b = single (1); %! [x, flag] = bicgstab (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %!function y = Afun (x) -%! A = toeplitz ([2, 1, 0, 0], [2, -1, 0, 0]); -%! y = A * x; +%! A = sparse (toeplitz ([2, 1, 0, 0], [2, -1, 0, 0])); +%! y = A * x; %!endfunction -%! [x, flag] = bicgstab ("Afun", [1; 2; 2; 3]); -%! assert (x, ones(4, 1), 1e-6) +%! +%! b = [1; 2; 2; 3]; +%! [x, flag] = bicgstab ("Afun", b); +%! assert (norm (b - A*x) / norm (b), 0, 1e-6); -%!test # unpreconditioned residual -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%!test +%! ## unpreconditioned residual +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = sum (A, 2); %! M = magic (5); %! [x, flag, relres] = bicgstab (A, b, [], 2, M); -%! assert (relres, norm (b - A * x) / norm (b), 8 * eps) - -%!demo # simplest use -%! n = 20; -%! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... -%! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... -%! sparse (1, 2, 1, 1, n) * n / 2); -%! b = A * ones (n, 1); -%! [M1, M2] = ilu (A + 0.1 * eye (n)); -%! M = M1 * M2; -%! x = bicgstab (A, b, [], n); -%! Afun = @(x) A * x; -%! x = bicgstab (Afun, b, [], n); -%! x = bicgstab (A, b, 1e-6, n, M); -%! x = bicgstab (A, b, 1e-6, n, M1, M2); -%! Mfun = @(z) M \ z; -%! x = bicgstab (Afun, b, 1e-6, n, Mfun); -%! M1fun = @(z) M1 \ z; -%! M2fun = @(z) M2 \ z; -%! x = bicgstab (Afun, b, 1e-6, n, M1fun, M2fun); -%! function y = Ap (A, x, z) # compute A^z * x or (A^z)' * x -%! y = x; -%! for i = 1:z -%! y = A * y; -%! endfor -%! endfunction -%! Afun = @(x, p) Ap (A, x, p); -%! x = bicgstab (Afun, b, [], 2 * n, [], [], [], 2); # solution of A^2 * x = b - -%!demo -%! n = 10; -%! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... -%! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... -%! sparse (1, 2, 1, 1, n) * n / 2); -%! b = A * ones (n, 1); -%! [M1, M2] = ilu (A + 0.3 * eye (n)); # factorization of A perturbed -%! M = M1 * M2; -%! -%! ## reference solution computed by bicgstab after one iteration -%! [x_ref, fl] = bicgstab (A, b, [], 1, M); -%! x_ref -%! -%! ## right preconditioning -%! [y, fl] = bicgstab (A / M, b, [], 1); -%! x = M \ y # compare x and x_ref +%! assert (norm (b - A * x) / norm (b), relres, 8*eps); diff -r 3aed4f0ba3cd -r 512b68611097 scripts/sparse/cgs.m --- a/scripts/sparse/cgs.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/sparse/cgs.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,6 +1,6 @@ +## Copyright (C) 2016-2018 Cristiano Dorigo, Octave Arena ## Copyright (C) 2008-2018 Radek Salac ## Copyright (C) 2012 Carlo de Falco -## Copyright (C) 2016-2018 Cristiano Dorigo, Octave Arena ## ## This file is part of Octave. ## @@ -313,17 +313,19 @@ endfunction + %!demo -%! % Solve system of A*x=b +%! ## Solve system of A*x=b %! A = [5 -1 3;-1 2 -2;3 -2 3]; %! b = [7;-1;4]; %! [a,b,c,d,e] = cgs (A,b) -%!demo # simplest use +%!demo +%! ## simplest use case %! n = 20; %! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... %! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... -%! sparse (1, 2, 1, 1, n) * n / 2); +%! sparse (1, 2, 1, 1, n) * n / 2); %! b = A * ones (n, 1); %! [M1, M2] = ilu (A + 0.1 * eye (n)); %! M = M1 * M2; @@ -337,12 +339,13 @@ %! M1fun = @(z) M1 \ z; %! M2fun = @(z) M2 \ z; %! x = cgs (Afun, b, 1e-6, n, M1fun, M2fun); -%! function y = Ap (A, x, z) # compute A^z * x or (A^z)' * x -%! y = x; -%! for i = 1:z -%! y = A * y; -%! endfor -%! endfunction +%! function y = Ap (A, x, z) +%! ## compute A^z * x or (A^z)' * x +%! y = x; +%! for i = 1:z +%! y = A * y; +%! endfor +%! endfunction %! Afun = @(x, p) Ap (A, x, p); %! x = cgs (Afun, b, [], 2*n, [], [], [], 2); # solution of A^2 * x = b @@ -350,22 +353,23 @@ %! n = 10; %! A = toeplitz (sparse ([1, 1], [1, 2], [2, 1] * n ^ 2, 1, n)) + ... %! toeplitz (sparse (1, 2, -1, 1, n) * n / 2, ... -%! sparse (1, 2, 1, 1, n) * n / 2); +%! sparse (1, 2, 1, 1, n) * n / 2); %! b = A * ones (n, 1); -%! [M1, M2] = ilu (A + 0.3 * eye (n)); # factorization of A perturbed +%! [M1, M2] = ilu (A + 0.3 * speye (n)); # factorization of A perturbed %! M = M1 * M2; %! -%! ## reference solution computed by cgs after one iteration +%! ## Reference solution computed by cgs after one iteration %! [x_ref, fl] = cgs (A, b, [], 1, M); %! x_ref %! %! ## right preconditioning %! [y, fl] = cgs (A / M, b, [], 1); -%! x = M \ y # compare x and x_ref +%! ## Compare x and x_ref +%! x = M \ y %!test %! ## Check that all type of inputs work -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = sum (A, 2); %! M1 = diag (sqrt (diag (A))); %! M2 = M1; @@ -394,7 +398,7 @@ %! [x, flag] = cgs (Afun, b, [], maxit, M1_fun, M2_fun); %! assert (flag, 0); -%!shared A, b, n, M +%!shared n, A, b, tol, maxit, M %! %!test %! n = 100; @@ -404,68 +408,67 @@ %! maxit = 1000; %! M = 4 * eye (n); %! [x, flag, relres, iter, resvec] = cgs (A, b, tol, maxit, M); -%! assert (x, ones (size (b)), 1e-7); +%! assert (norm (b - A*x) / norm (b), 0, tol); + %! %!test -%! tol = 1e-8; %! maxit = 15; %! [x, flag, relres, iter, resvec] = cgs (@(x) A * x, b, tol, maxit, M); -%! assert (x, ones (size (b)), 1e-7); +%! assert (norm (b - A*x) / norm (b), 0, tol); %!test -%! n = 100; -%! tol = 1e-8; %! a = sprand (n, n, .1); %! A = a'*a + 100 * eye (n); %! b = sum (A, 2); %! [x, flag, relres, iter, resvec] = cgs (A, b, tol, [], diag (diag (A))); -%! assert (x, ones (size (b)), 1e-7); +%! assert (norm (b - A*x) / norm (b), 0, tol); %!test %! n = 5; -%! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); +%! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0])); %! b = sum (A, 2); -%! M = ones(n); +%! M = ones (n); %! [x, flag] = cgs (A, b, [], [], M); -%! assert (flag, 2) +%! assert (flag, 2); %!test %! A = single (1); %! b = 1; %! [x, flag] = cgs (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %! A = 1; %! b = single (1); %! [x, flag] = cgs (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %! A = single (1); %! b = single (1); %! [x, flag] = cgs (A, b); -%! assert (class (x), "single") +%! assert (class (x), "single"); %!test %!function y = Afun (x) -%! A = toeplitz ([2, 1, 0, 0], [2, -1, 0, 0]); -%! y = A * x; +%! A = toeplitz ([2, 1, 0, 0], [2, -1, 0, 0]); +%! y = A * x; %!endfunction %! [x, flag] = cgs ("Afun", [1; 2; 2; 3]); -%! assert (x, ones(4, 1), 1e-6) +%! assert (norm (b - A*x) / norm (b), 0, 1e-6); %!test -%! ## test for a complex linear system +%! ## test a complex linear system %! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])) + ... %! 1i * toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); %! b = sum (A, 2); %! [x, flag] = cgs (A, b); -%! assert (flag, 0) +%! assert (flag, 0); -%!test # unpreconditioned residual +%!test +%! ## unpreconditioned residual %! A = toeplitz (sparse ([2, 1, 0, 0, 0]), sparse ([2, -1, 0, 0, 0])); %! b = sum (A, 2); %! M = magic (5); %! [x, flag, relres] = cgs (A, b, [], 3, M); -%! assert (relres, norm (b - A * x) / norm (b), 8 * eps) +%! assert (norm (b - A * x) / norm (b), relres, 8 * eps); diff -r 3aed4f0ba3cd -r 512b68611097 scripts/sparse/pcg.m --- a/scripts/sparse/pcg.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/sparse/pcg.m Sun Apr 08 19:53:57 2018 -0700 @@ -29,13 +29,13 @@ ## ## @itemize ## @item @var{A} is the matrix of the linear system and it must be square. -## @var{A} can be passed as a matrix, function handle, or inline -## function @code{Afun} such that @code{Afun(x) = A * x}. Additional -## parameters to @code{Afun} are passed after @var{x0}. +## @var{A} can be passed as a matrix, function handle, or inline function +## @code{Afun} such that @code{Afun(x) = A * x}. Additional parameters to +## @code{Afun} may be passed after @var{x0}. ## ## @var{A} has to be Hermitian and Positive Definite (@nospell{HPD})@. If -## @code{pcg} detects @var{A} not to be positive definite, a warning -## is printed and the @var{flag} output is set. +## @code{pcg} detects @var{A} not to be positive definite, a warning is printed +## and the @var{flag} output is set. ## ## @item ## @var{b} is the right-hand side vector. @@ -54,7 +54,7 @@ ## @item ## @var{m} is a @nospell{HPD} preconditioning matrix. For any decomposition ## @code{@var{m} = @var{p1} * @var{p2}} such that -## @w{@code{inv (@var{p1}) * @var{A} * inv (@var{p2})}} is @nospell{HPD,} the +## @w{@code{inv (@var{p1}) * @var{A} * inv (@var{p2})}} is @nospell{HPD}, the ## conjugate gradient method is formally applied to the linear system ## @w{@code{inv (@var{p1}) * @var{A} * inv (@var{p2}) * @var{y} = inv ## (@var{p1}) * @var{b}}}, @@ -81,8 +81,8 @@ ## @end itemize ## ## The arguments which follow @var{x0} are treated as parameters, and passed in -## a proper way to any of the functions (@var{A} or @var{m1} or -## @var{m2}) which are passed to @code{pcg}. +## an appropriate manner to any of the functions (@var{A} or @var{m1} or +## @var{m2}) that have been given to @code{pcg}. ## See the examples below for further details. ## ## The output arguments are: @@ -91,13 +91,13 @@ ## @item ## @var{x} is the computed approximation to the solution of ## @w{@code{@var{A} * @var{x} = @var{b}}}. If the algorithm did not converge, -## then @var{x} is the iterated which has the minimum residual. +## then @var{x} is the iteration which has the minimum residual. ## ## @item ## @var{flag} reports on the convergence: ## ## @itemize -## @item 0: The algorithm converged at the prescribed tolerance. +## @item 0: The algorithm converged to within the prescribed tolerance. ## ## @item 1: The algorithm did not converge and it reached the maximum ## number of iterations. @@ -105,9 +105,8 @@ ## @item 2: The preconditioner matrix is singular. ## ## @item 3: The algorithm stagnated, i.e., the absolute value of the -## difference between -## the actual iteration @var{x} and the previous is less than -## @code{@var{eps} * norm (@var{x},2)}. +## difference between the current iteration @var{x} and the previous is less +## than @code{@var{eps} * norm (@var{x},2)}. ## ## @item 4: The algorithm detects that the input (preconditioned) matrix is not ## @nospell{HPD}. diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/discrete_cdf.m --- a/scripts/statistics/discrete_cdf.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/discrete_cdf.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 2010-2018 David Bateman ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 2010-2018 David Bateman ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/discrete_inv.m --- a/scripts/statistics/discrete_inv.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/discrete_inv.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/discrete_pdf.m --- a/scripts/statistics/discrete_pdf.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/discrete_pdf.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/discrete_rnd.m --- a/scripts/statistics/discrete_rnd.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/discrete_rnd.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/empirical_cdf.m --- a/scripts/statistics/empirical_cdf.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/empirical_cdf.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/empirical_inv.m --- a/scripts/statistics/empirical_inv.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/empirical_inv.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/empirical_pdf.m --- a/scripts/statistics/empirical_pdf.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/empirical_pdf.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/statistics/empirical_rnd.m --- a/scripts/statistics/empirical_rnd.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/statistics/empirical_rnd.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 1996-2018 Kurt Hornik ## Copyright (C) 2012 Rik Wehbring -## Copyright (C) 1996-2018 Kurt Hornik ## ## This file is part of Octave. ## diff -r 3aed4f0ba3cd -r 512b68611097 scripts/strings/strjoin.m --- a/scripts/strings/strjoin.m Sun Apr 08 18:04:48 2018 -0700 +++ b/scripts/strings/strjoin.m Sun Apr 08 19:53:57 2018 -0700 @@ -1,5 +1,5 @@ +## Copyright (C) 2013-2018 Ben Abbott ## Copyright (C) 2007 Muthiah Annamalai -## Copyright (C) 2013-2018 Ben Abbott ## ## This file is part of Octave. ##