From: <cod...@go...> - 2008-09-23 17:50:14
|
Author: m0e.lnx Date: Tue Sep 23 10:48:48 2008 New Revision: 175 Added: branches/iVL/.lang/es.mo (contents, props changed) branches/iVL/.lang/es.po branches/iVL/FrmLangSel.class branches/iVL/FrmLangSel.form Modified: branches/iVL/.lang/FMain.pot branches/iVL/.project branches/iVL/FMain.class branches/iVL/MdlCore.module branches/iVL/installer.gambas Log: - Began working on Language Selection Window Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 23 10:48:48 2008 @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:341 +#: FMain.class:348 msgid "Process Overview" msgstr "" -#: FMain.class:361 +#: FMain.class:368 msgid "Next" msgstr "" -#: FMain.class:367 +#: FMain.class:374 msgid "Back" msgstr "" -#: FMain.class:373 +#: FMain.class:380 msgid "Exit" msgstr "" Added: branches/iVL/.lang/es.mo ============================================================================== Binary file. No diff available. Added: branches/iVL/.lang/es.po ============================================================================== --- (empty file) +++ branches/iVL/.lang/es.po Tue Sep 23 10:48:48 2008 @@ -0,0 +1,280 @@ +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2002-11-01 04:27+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL...@li...>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: FrmNetConf.class:120 +msgid " Network Interfaces" +msgstr "Adaptadores de Red" + +#: FrmNetConf.class:145 +msgid "192.168.1.254" +msgstr "" + +#: FrmUserAdd.class:112 +msgid "Add Users" +msgstr "Agregar Usuarios" + +#: FMain.class:367 +msgid "Back" +msgstr "Regreso" + +#: FrmLilo.class:251 +msgid "Boot Default" +msgstr "" + +#: FrmLilo.class:229 +msgid "Bootsplash Extra high" +msgstr "" + +#: FrmLilo.class:229 +msgid "Bootsplash High" +msgstr "" + +#: FrmLilo.class:229 +msgid "Bootsplash Med" +msgstr "" + +#: FrmPartSel.class:177 +msgid "Check this box if you have a Windows installation on your system or any other windows partition (FAT, FAT32, NTFS) that you want auto-mounted as soon as your computer starts" +msgstr "Haz 'tick' aqui si tienes windows instalado en esta maquina y deseas poder acceder sus archivos desde Linux" + +#: FrmRootPass.class:55 +msgid "Choose a password for the root account. You must enter the Root Password twice to ensure accuracy." +msgstr "Elige una contrasena para la cuenta del administrador." + +#: FrmUserAdd.class:116 +msgid "Choose a unique name for each user. Enter the password for twice for accuracy. You can make as many users as you want, and when you are finished click next to continue." +msgstr "Elige un nombre unico para cada usuario. Es necesario ingresar las contrasenas dos veces. Puedes crear todas las cuentas de usuarios que desees" + +#: FrmZoneSet.class:87 +msgid "Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way." +msgstr "Elige como funciona el reloj de esta maquina. Si tienes dudas elige UTC/GMT" + +#: FrmZoneSet.class:92 +msgid "Choose the correct timezone for the area in which you live." +msgstr "Selecciona la zona correctoa del area donde vives" + +#: FrmZoneSet.class:101 +msgid "ComboBox1" +msgstr "" + +#: FrmNetConf.class:109 +msgid "Computer Name" +msgstr "Nombre Local" + +#: FrmLilo.class:186 +msgid "Configure and install lilo (Linux Boot Loader)" +msgstr "Confuguracion de LILO" + +#: FrmUserAdd.class:153 +msgid "Create User" +msgstr "Agregar Usuario" + +#: FrmHostPrep.class:135 +msgid "Current Status" +msgstr "Estado Actual" + +#: FrmInstallSys.class:211 +msgid "Current Step " +msgstr "Ahora procesando" + +#: FrmPkgSel.class:110 +msgid "Custom Install" +msgstr "Instalacion Detallada" + +#: FrmPartSel.class:178 +msgid "Detect and Setup Windows partitions for auto-mounting at boot" +msgstr "Detectar volumenes con systemas Windows" + +#: FrmDiskPart.class:115 +msgid "Disk Partitioning:" +msgstr "Particiones" + +#: FrmLilo.class:191 +msgid "Don't Install Lilo" +msgstr "No quiero instalar LILO" + +#: FrmRootPass.class:50 FrmUserAdd.class:131 +msgid "Enter Password" +msgstr "Ingresa contrasena" + +#: FMain.class:373 +msgid "Exit" +msgstr "Salir" + +#: FrmPkgSel.class:105 +msgid "Full Install" +msgstr "Instalacion Completa" + +#: .project:2 +msgid "GUI installer for Vector linux" +msgstr "Instaladaor Grafico de VectorLinux" + +#: FrmPartSel.class:183 +msgid "Help" +msgstr "Ayuda" + +#: FrmInstallSys.class:192 +msgid "Installing ..." +msgstr "Instalando..." + +#: FrmLicense.class:99 +msgid "LICENSE AGREEMENT" +msgstr "" + +#: FrmZoneSet.class:103 +msgid "LocalTime" +msgstr "" + +#: FrmNetConf.class:132 +msgid "Manual DNS Server Specification" +msgstr "" + +#: FrmPartScheme.class:115 +msgid "Modify my disk partitions to make room for new installation" +msgstr "" + +#: FrmNetConf.class:163 +msgid "NETWORK CONFIGURATION" +msgstr "" + +#: FrmEmbUsrAdd.class:105 +msgid "New User Account" +msgstr "" + +#: FMain.class:361 +msgid "Next" +msgstr "" + +#: FrmSelISO.class:219 +msgid "No installable images found." +msgstr "" + +#: FrmLicense.class:115 +msgid "No, I Do Not Agree" +msgstr "" + +#: FrmPartSel.class:168 +msgid "Please select the partitions you wish to use and how to use them" +msgstr "" + +#: FrmNetConf.class:137 +msgid "Primary DNS Server" +msgstr "" + +#: FMain.class:341 +msgid "Process Overview" +msgstr "" + +#: FrmLilo.class:234 +msgid "Prompt Timeout" +msgstr "" + +#: FrmRootPass.class:60 +msgid "Re-Enter Password" +msgstr "" + +#: FrmUserAdd.class:142 +msgid "ReEnter Password" +msgstr "" + +#: FrmSelISO.class:235 +msgid "Search Again" +msgstr "" + +#: FrmNetConf.class:150 +msgid "Secondary DNS Server" +msgstr "" + +#: FrmLilo.class:245 +msgid "Seconds" +msgstr "" + +#: FrmWinDrives.class:69 +msgid "Select the windows partitions you would like to mount during boot" +msgstr "" + +#: FrmSelISO.class:225 +msgid "Select which VectorLinux version you wish to install from the list below" +msgstr "" + +#: FrmPartScheme.class:105 +msgid "Select your disk partition option" +msgstr "" + +#: FrmRootPass.class:76 +msgid "Set Password" +msgstr "" + +#: FrmRootPass.class:46 +msgid "Set Root Password" +msgstr "" + +#: FrmZoneSet.class:109 +msgid "Set TimeZone" +msgstr "" + +#: FrmLilo.class:229 +msgid "Standard" +msgstr "" + +#: FrmLilo.class:197 FrmNetConf.class:125 +msgid "Tab 0" +msgstr "" + +#: FrmLilo.class:215 +msgid "Target" +msgstr "" + +#: FrmLicense.class:104 +msgid "TextArea1" +msgstr "" + +#: FrmSelISO.class:230 FrmSummary.class:87 +msgid "TextLabel1" +msgstr "" + +#: FrmInstallSys.class:206 +msgid "Total progress" +msgstr "" + +#: FrmZoneSet.class:103 +msgid "UTC" +msgstr "" + +#: FrmPartScheme.class:110 +msgid "Use existing disk partitions" +msgstr "" + +#: FrmUserAdd.class:121 +msgid "Username" +msgstr "" + +#: .project:1 +msgid "VectorLinux Installer" +msgstr "" + +#: FrmInstallSys.class:183 +msgid "Vectorlinux is currently being installed to your system... Please wait" +msgstr "" + +#: FrmHostPrep.class:130 +msgid "Vectorlinux is preparing your system for installation. Please wait." +msgstr "" + +#: FrmLilo.class:221 +msgid "Video Resolution" +msgstr "" + +#: FrmLicense.class:110 +msgid "Yes, I Agree to the License Agreement" +msgstr "" + Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 23 10:48:48 2008 @@ -1,7 +1,7 @@ # Gambas Project File 2.0 Title=VectorLinux Installer Startup=MdlCore -Version=0.0.54 +Version=0.0.62 Library=gb.gtk Library=gb.form Library=gb.debug @@ -16,7 +16,6 @@ Language=en_US ControlPublic=1 ModulePublic=1 -ExecPath=/home/uel/svn-installer/installer.gambas Maintainer=M0E-lnx Vendor=VectorLinux Address=M0...@gm... Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Tue Sep 23 10:48:48 2008 @@ -21,7 +21,7 @@ PUBLIC FrmCurr AS Form ' assigned when a form is opened PUBLIC frmLast AS Form ' assigned when a form is hidden PUBLIC frmNext AS Form ' assined next form for the "next" button in fmain" - +PUBLIC frmInit AS Form = MdlCore.frmInit ' initial form (set by the LANG environment) PUBLIC SUB _new() END @@ -36,10 +36,13 @@ ClsGlobal.sSourceMnt = "/mnt/cdrom" 'ClsGlobal.sSourceMnt = "/mnt" &/ "source" 'FOR TESTING ONLY '/ THE FOLLOWING LINES HAVE BEEN COMMENTED FOR TESTING ONLY - -FrmSelISO.Reparent(ME.pnlWinHost) -FrmSelISO.Width = pnlWinHost.Width -FrmSelISO.Height = pnlWinHost.Height +frmInit.Reparent(ME.pnlwinhost) +frmInit.width = pnlwinhost.Width +frmInit.height = pnlwinhost.Height + +' FrmSelISO.Reparent(ME.pnlWinHost) +' FrmSelISO.Width = pnlWinHost.Width +' FrmSelISO.Height = pnlWinHost.Height iImg = Image.Load("images/installer.png").Stretch(400, 50) 'iImg.Resize(600, 80) @@ -167,6 +170,10 @@ DIM sDev AS String SELECT CASE FrmCurr.Name ' very nice navigation algoritm + CASE "FrmLangSel" + SHELL "export LANG=" & Trim(FrmLangSel.ListBox1.text) & "; ./" & Application.Args[0] & Space(1) & Trim(FrmLangSel.ListBox1.Text) ' this will set the LANG environment to what the user selects and restart the application. + QUIT + CASE "FrmSelISO" sDev = Right(FrmSelISO.lstInstallableImg.Text, Len(FrmSelISO.lstInstallableImg.Text) - InStr(FrmSelISO.lstInstallableImg.text, "/") + 1) IF InStr(FrmSelISO.lstInstallableImg.text, ".iso") OR InStr(FrmSelISO.lstInstallableImg.text, ".ISO") THEN Added: branches/iVL/FrmLangSel.class ============================================================================== --- (empty file) +++ branches/iVL/FrmLangSel.class Tue Sep 23 10:48:48 2008 @@ -0,0 +1,24 @@ +' Gambas class file + +' This file is part of vinstall-ng + +' vinstall-ng 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 2 of the License, or +' (at your option) any later version. + +' vinstall-ng 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 vinstall-ng. If not, see <http://www.gnu.org/licenses/>. + + + +PUBLIC SUB Form_Open() + + FMain.FrmCurr = ME + +END Added: branches/iVL/FrmLangSel.form ============================================================================== --- (empty file) +++ branches/iVL/FrmLangSel.form Tue Sep 23 10:48:48 2008 @@ -0,0 +1,10 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,64) + Text = ("") + { ListBox1 ListBox + MoveScaled(8,9,32,15) + List = [("en_US"), ("es_ES")] + } +} Modified: branches/iVL/MdlCore.module ============================================================================== --- branches/iVL/MdlCore.module (original) +++ branches/iVL/MdlCore.module Tue Sep 23 10:48:48 2008 @@ -24,7 +24,7 @@ PUBLIC sNowPic AS picture = Picture["images/arrow.png"] PUBLIC sDonePic AS Picture = Picture["images/check.png"] PUBLIC iLeftWidth AS Integer - +PUBLIC frmInit AS Form PUBLIC SUB FIND_ISO_ON_DRIVE(sDrive AS String) @@ -201,6 +201,18 @@ PUBLIC SUB main() + + + +IF Application.Args[1] THEN +' Message(Application.Args[1]) + frmInit = FrmSelISO + +ELSE + frmInit = FrmLangSel + +END IF + 'MdlInstallCustom.INSTALL_KERNELS() 'RETURN FMain.Show Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |